@zealicsolutions/web-ui 0.4.21 → 0.4.23

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 (38) hide show
  1. package/dist/cjs/index.css +246 -246
  2. package/dist/cjs/index.js +4 -4
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/src/atoms/Buttons/Buttons.stories.d.ts +1 -1
  5. package/dist/cjs/src/atoms/Buttons/TextButton.d.ts +1 -1
  6. package/dist/cjs/src/atoms/Input/Input.stories.d.ts +3 -7
  7. package/dist/cjs/src/atoms/Input/helpers.d.ts +10 -13
  8. package/dist/cjs/src/containers/MoleculeItem.d.ts +1 -8
  9. package/dist/cjs/src/containers/hooks/useSetFormData.d.ts +1 -4
  10. package/dist/cjs/src/containers/types/moleculeTypes.d.ts +11 -1
  11. package/dist/cjs/src/fieldsConfiguration/types.d.ts +1 -1
  12. package/dist/cjs/src/helpers/utils.d.ts +11 -0
  13. package/dist/cjs/src/helpers/validations.d.ts +5 -0
  14. package/dist/cjs/src/molecules/CheckboxField/CheckboxField.stories.d.ts +1 -1
  15. package/dist/cjs/src/molecules/Columns/styles.d.ts +1 -1
  16. package/dist/cjs/src/molecules/InputField/InputField.stories.d.ts +2 -7
  17. package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +1 -1
  18. package/dist/cjs/src/molecules/SelectField/SelectField.stories.d.ts +1 -1
  19. package/dist/esm/index.css +246 -246
  20. package/dist/esm/index.js +4 -4
  21. package/dist/esm/index.js.map +1 -1
  22. package/dist/esm/src/atoms/Buttons/Buttons.stories.d.ts +1 -1
  23. package/dist/esm/src/atoms/Buttons/TextButton.d.ts +1 -1
  24. package/dist/esm/src/atoms/Input/Input.stories.d.ts +3 -7
  25. package/dist/esm/src/atoms/Input/helpers.d.ts +10 -13
  26. package/dist/esm/src/containers/MoleculeItem.d.ts +1 -8
  27. package/dist/esm/src/containers/hooks/useSetFormData.d.ts +1 -4
  28. package/dist/esm/src/containers/types/moleculeTypes.d.ts +11 -1
  29. package/dist/esm/src/fieldsConfiguration/types.d.ts +1 -1
  30. package/dist/esm/src/helpers/utils.d.ts +11 -0
  31. package/dist/esm/src/helpers/validations.d.ts +5 -0
  32. package/dist/esm/src/molecules/CheckboxField/CheckboxField.stories.d.ts +1 -1
  33. package/dist/esm/src/molecules/Columns/styles.d.ts +1 -1
  34. package/dist/esm/src/molecules/InputField/InputField.stories.d.ts +2 -7
  35. package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +1 -1
  36. package/dist/esm/src/molecules/SelectField/SelectField.stories.d.ts +1 -1
  37. package/dist/index.d.ts +1008 -999
  38. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6,18 +6,18 @@ import { CSSProperties, DefaultTheme } from 'styled-components';
6
6
  import * as theme from 'theme';
7
7
  import { ThemeColors as ThemeColors$1, SizesTypes as SizesTypes$1, FontSizesTypes as FontSizesTypes$2 } from 'theme';
8
8
  import * as typescript from 'typescript';
9
- import { StylesType, AnyObject as AnyObject$1, Callback as Callback$1, OverrideStyles, StyledTransientProps, Nullable, StrictUnion } from 'typescript';
9
+ import { StylesType, AnyObject as AnyObject$1, Callback as Callback$1, Nullable, StrictUnion, OverrideStyles, StyledTransientProps } from 'typescript';
10
10
  import { RefCallBack, Control as Control$1, ControllerProps as ControllerProps$1 } from 'react-hook-form/dist/types';
11
11
  import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
12
12
  import * as containers from 'containers';
13
- import { FormStateType as FormStateType$1, ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1, StateConfigType as StateConfigType$1, ConditionConfig as ConditionConfig$1, MetadataStateConfig as MetadataStateConfig$1 } from 'containers';
13
+ import { ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1, FormStateType as FormStateType$1, StateConfigType as StateConfigType$1, ConditionConfig as ConditionConfig$1, MetadataStateConfig as MetadataStateConfig$1 } from 'containers';
14
14
  import { FieldTypes as FieldTypes$1, UIFields as UIFields$1, InputFieldTypes as InputFieldTypes$1 } from 'fieldsConfiguration/types';
15
15
  import { ThemeColors as ThemeColors$2, FontSizesTypes as FontSizesTypes$1, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
16
16
  import * as atoms from 'atoms';
17
- import { SelectOption as SelectOption$1, TextProps as TextProps$1, IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, AvatarProps as AvatarProps$1, TabProps as TabProps$1, InputProps as InputProps$1, SelectProps as SelectProps$1, RegularImageProps as RegularImageProps$1, TextButtonProps as TextButtonProps$1, TabTheme as TabTheme$1, RadioButtonsProps as RadioButtonsProps$1, RadioButtonInternalConfigProps as RadioButtonInternalConfigProps$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1, LinkVariant as LinkVariant$1 } from 'atoms';
18
- import { InputFieldProps as InputFieldProps$1, SelectFieldProps as SelectFieldProps$1, FieldSectionProps as FieldSectionProps$1, BaseButtonProps as BaseButtonProps$1, MenuItem as MenuItem$1, ConsentProps as ConsentProps$1, 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, ButtonProps as ButtonProps$1, MenuItemsProps as MenuItemsProps$1, ImageProps as ImageProps$1, TextMoleculeProps as TextMoleculeProps$1, AdditionalTabContainerProps as AdditionalTabContainerProps$1, RadioButtonFieldProps as RadioButtonFieldProps$1, CheckboxFieldProps as CheckboxFieldProps$1, ConsentType as ConsentType$1, LinkProps as LinkProps$1, AvatarDropdownMenuConfigType as AvatarDropdownMenuConfigType$1 } from 'molecules';
17
+ import { SelectOption as SelectOption$1, LinkVariant as LinkVariant$1, TextProps as TextProps$1, IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, AvatarProps as AvatarProps$1, TabProps as TabProps$1, InputProps as InputProps$1, SelectProps as SelectProps$1, RegularImageProps as RegularImageProps$1, TextButtonProps as TextButtonProps$1, TabTheme as TabTheme$1, RadioButtonsProps as RadioButtonsProps$1, RadioButtonInternalConfigProps as RadioButtonInternalConfigProps$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1 } from 'atoms';
18
+ import { ImageProps as ImageProps$1, TextMoleculeProps as TextMoleculeProps$1, ButtonProps as ButtonProps$1, TabGroupProps as TabGroupProps$1, AdditionalTabContainerProps as AdditionalTabContainerProps$1, InputFieldProps as InputFieldProps$1, SelectFieldProps as SelectFieldProps$1, RadioButtonFieldProps as RadioButtonFieldProps$1, CheckboxFieldProps as CheckboxFieldProps$1, ConsentType as ConsentType$1, LinkProps as LinkProps$1, AvatarDropdownProps as AvatarDropdownProps$1, AvatarDropdownMenuConfigType as AvatarDropdownMenuConfigType$1, FieldSectionProps as FieldSectionProps$1, BaseButtonProps as BaseButtonProps$1, MenuItem as MenuItem$1, ConsentProps as ConsentProps$1, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1, MenuItemsProps as MenuItemsProps$1 } from 'molecules';
19
19
  import * as react_hook_form from 'react-hook-form';
20
- import { ControllerProps, DeepPartial, FieldValues, FormState, Control, UseFormReturn, ValidationMode } from 'react-hook-form';
20
+ import { UseFormReturn, ValidationMode, ControllerProps, DeepPartial, FieldValues, FormState, Control } from 'react-hook-form';
21
21
  import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
22
22
  import { WithGoogleMapProps } from 'react-google-maps/lib/withGoogleMap';
23
23
  import { WithScriptjsProps } from 'react-google-maps/lib/withScriptjs';
@@ -118,148 +118,622 @@ declare type SelectProps = Partial<{
118
118
  }>;
119
119
  declare const Select: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, isEditMode, selectInternalConfig, isRichText, }: SelectProps) => JSX.Element;
120
120
 
121
- declare type Callback = () => void;
122
- declare type AnyObject = Record<string, unknown>;
123
-
124
- declare const getFieldPlaceholder: (type: FieldTypes$1, title?: string) => string;
125
-
126
- declare type InputFieldTypes = 'phone_number' | 'text' | 'email' | 'password' | 'numerical' | 'month_year_date' | 'day_month_year_date' | 'month_day_year_date' | 'us_zip_code' | 'username' | 'any';
127
- declare type FieldTypes = 'input' | 'select' | 'checkbox';
128
- declare type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
129
- name: T;
130
- type: FieldTypes;
131
- value?: string;
132
- label?: string;
133
- placeholder?: string;
134
- required?: boolean;
135
- tooltip?: string;
136
- rules?: ControllerProps['rules'];
137
- order?: number;
138
- };
139
- declare type UIInputField = {
140
- inputType?: InputFieldTypes;
141
- maxLength?: number;
142
- onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
143
- } & InputFieldProps$1;
144
- declare type UISelectField = {
145
- options?: SelectOption$1[];
146
- } & SelectFieldProps$1;
147
- declare type UICheckboxField = {
148
- checkboxLabel?: string;
149
- };
150
- declare type UIFields<T extends object> = UIField<keyof T>[];
151
-
152
- declare const getInitialValuesFromFields: <T extends object>(fields: UIFields$1<T>) => DeepPartial<T>;
153
- declare const isFormValid: <T extends FieldValues>(formState: FormState<T>) => boolean;
154
- declare const getFieldsFromFieldSections: <T extends object>(sections: Pick<FieldSectionProps$1<T>, "fields">[]) => UIFields$1<T>;
155
-
156
- declare const acquisitionFormMockFields: UIFields$1<Record<string, string>>;
157
- declare const setPasswordMockFields: UIFields$1<SetPasswordFields>;
158
- declare const passwordMockFields: UIFields$1<PasswordFields>;
159
- declare const loginMockFields: UIFields$1<LoginFields$1>;
160
- declare const sectionMockFields: UIFields$1<Record<string, string>>;
161
- declare const profileInformationMockForm: {
162
- label: string;
163
- fields: UIFields$1<Record<string, string>>;
164
- }[];
165
-
166
- declare type MaskConfig = Partial<{
167
- maskPlaceholder: string;
168
- dataModelFieldType: InputFieldTypes;
169
- maskPattern: Array<string | RegExp>;
170
- }>;
121
+ declare const Container: ({ children, wide, compact, type, props, id, metadata, isMobile, }: Partial<{
122
+ type: containers.ContainerType;
123
+ containerTemplateType: "row_content_container";
124
+ wide: Partial<{
125
+ containerStyle: styled_components.CSSProperties;
126
+ containerProps: Partial<{
127
+ position: containers.ContainerPositionType;
128
+ scrollBehaviour: containers.ContainerScrollBehaviourType;
129
+ cornerRadius: number | theme.SizesTypes;
130
+ gap: theme.SizesTypes;
131
+ styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
132
+ sliderProps: containers.SliderProps;
133
+ formProps: containers.FormContainerProps;
134
+ formStepProps: containers.FormStepContainerProps;
135
+ padding: containers.Padding;
136
+ border: string;
137
+ activeChildrenIds: string[];
138
+ activeOrganismIds: string[];
139
+ }>;
140
+ }>;
141
+ compact: Partial<{
142
+ containerStyle: styled_components.CSSProperties;
143
+ containerProps: Partial<{
144
+ position: containers.ContainerPositionType;
145
+ scrollBehaviour: containers.ContainerScrollBehaviourType;
146
+ cornerRadius: number | theme.SizesTypes;
147
+ gap: theme.SizesTypes;
148
+ styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
149
+ sliderProps: containers.SliderProps;
150
+ formProps: containers.FormContainerProps;
151
+ formStepProps: containers.FormStepContainerProps;
152
+ padding: containers.Padding;
153
+ border: string;
154
+ activeChildrenIds: string[];
155
+ activeOrganismIds: string[];
156
+ }>;
157
+ }>;
158
+ props: Partial<{
159
+ position: containers.ContainerPositionType;
160
+ scrollBehaviour: containers.ContainerScrollBehaviourType;
161
+ cornerRadius: number | theme.SizesTypes;
162
+ gap: theme.SizesTypes;
163
+ styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
164
+ sliderProps: containers.SliderProps;
165
+ formProps: containers.FormContainerProps;
166
+ formStepProps: containers.FormStepContainerProps;
167
+ padding: containers.Padding;
168
+ border: string;
169
+ activeChildrenIds: string[];
170
+ activeOrganismIds: string[];
171
+ }>;
172
+ metadata: containers.MetadataType;
173
+ isMobile: boolean;
174
+ }> & {
175
+ children?: ReactNode;
176
+ } & {
177
+ id: string;
178
+ }) => JSX.Element | null;
179
+ declare const ContainerComponent: ({ config, tabsProps, id, type, items, metadata, formData, setFormData, isMobile, }: ContainerComponentProps$1 & {
180
+ formData?: AnyObject$1 | undefined;
181
+ setFormData?: Dispatch<SetStateAction<AnyObject$1>> | undefined;
182
+ }) => JSX.Element | null;
171
183
 
172
- declare type InputFieldInternalConfigProps = Partial<{
173
- textColor: ThemeColors$2 | string;
174
- textFontSize: number;
175
- placeholderTextColor: ThemeColors$2 | string;
176
- placeholderTextFontSize: number;
177
- verticalPadding: number;
178
- horizontalPadding: number;
179
- styles: StylesType;
180
- wrapperStyles: StylesType;
181
- }>;
182
- declare type InputIconProps = {
183
- name: IconNames$1;
184
- onClick?: Callback$1;
184
+ declare type ActionTypes = 'link' | 'popup' | 'drawer' | 'download' | 'submit' | 'reset' | 'destroy';
185
+ declare type DataModelFieldFormatCodeTypes = 'date' | 'email' | 'string' | 'integer' | 'boolean' | 'numeric' | 'zip_code' | 'phone_number';
186
+ declare type DataModelFieldFormatValueTypes = 'any' | 'text' | 'email' | 'integer' | 'numerical' | 'us_zip_code' | 'phone_number' | 'month_year_date' | 'day_month_year_date' | 'month_day_year_date' | 'year_month_day_date';
187
+ declare type DownloadFile = {
188
+ url: string;
189
+ name: string;
185
190
  };
186
- declare type InputProps = Partial<{
187
- value: string;
188
- leftIcon: InputIconProps;
189
- rightIcon: InputIconProps;
190
- onBlur: Callback$1;
191
- type: InputFieldTypes$1;
192
- placeholder: string;
193
- disabled: boolean;
194
- isEditMode: boolean;
195
- isError: boolean;
196
- maxLength: number;
197
- onChange: (value: string) => void;
198
- onKeyDown: (event: react__default.KeyboardEvent<HTMLInputElement>) => void;
199
- internalConfig: InputFieldInternalConfigProps;
200
- config?: MaskConfig;
201
- state: FormStateType$1;
191
+ declare type LinkAction = LinkAttributes;
192
+ declare type PopupDrawerAction = ContainerComponentProps;
193
+ declare type DownloadAction = DownloadFile;
194
+ declare type SubmitAction = AnyObject$1;
195
+ declare type CancelAction = AnyObject$1;
196
+ declare type ResetAction = AnyObject$1;
197
+ declare type DestroyAction = AnyObject$1;
198
+ declare type Action = {
199
+ type: ActionTypes;
200
+ } & Partial<{
201
+ link: LinkAction;
202
+ popup: PopupDrawerAction;
203
+ drawer: PopupDrawerAction;
204
+ download: DownloadAction;
205
+ submit: SubmitAction;
206
+ cancel: CancelAction;
207
+ reset: ResetAction;
208
+ destroy: DestroyAction;
202
209
  }>;
203
- declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, internalConfig, config, ...rest }: InputProps) => JSX.Element;
204
-
205
- declare type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
206
- declare type TextAlign = 'center' | 'right' | 'left';
207
- declare type SeoTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
208
- declare type TextProps = {
209
- variant: FontSizesTypes$1;
210
- layout?: 'div' | 'span';
211
- type?: TextTypes;
212
- styles?: StylesType;
213
- color?: ThemeColors$2 | string;
214
- numberOfLines?: number;
215
- textAlign?: TextAlign;
216
- behaveAs?: 'text' | 'button';
217
- seoTag?: SeoTags;
218
- htmlElementId?: string;
210
+ declare type FormStateType = 'default' | 'success' | 'error' | 'format_error' | 'field_error' | 'open_dropdown' | 'match_error';
211
+ declare type ImageAttributes = {
212
+ attributeType: 'image';
213
+ imageSource: string;
219
214
  };
220
- declare type TextWrapperProps = PropsWithChildren<TextProps>;
221
- declare const TextWrapper: ({ children, seoTag, ...textProps }: TextWrapperProps) => JSX.Element;
222
- declare const ErrorText: ({ text }: {
215
+ interface TextAttributes {
216
+ id?: string;
217
+ attributeType: 'text';
218
+ isRichText?: boolean;
223
219
  text: string;
224
- }) => JSX.Element;
225
-
226
- declare type IconProps = {
227
- name: IconNames;
228
- size?: number;
229
- color?: ThemeColors$1 | string;
230
- fill?: ThemeColors$1 | string;
231
- pointerEvents?: 'auto' | 'none';
232
- style?: CSSProperties;
233
- };
234
- declare const availableIcons: {
235
- ArrowRight: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
236
- Bell: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
237
- Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
238
- CaretDown: ({ color, size, }: Omit<IconProps, "name">) => JSX.Element;
239
- CaretLeft: ({ color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
240
- CaretRight: ({ color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
241
- CaretUp: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
242
- Check: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
243
- Close: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
244
- Edit: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
245
- Filter: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
246
- Hide: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
247
- Info: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
248
- InfoBoxIcon: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
249
- Mail: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
250
- Menu: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
251
- Minus: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
252
- Mobile: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
253
- Play: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
254
- Save: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
255
- Search: ({ size, color, ...props }: Omit<IconProps, "name">) => JSX.Element;
256
- View: ({ color, size, }: Omit<IconProps, "name">) => JSX.Element;
257
- Warning: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
220
+ }
221
+ interface VideoAttributes {
222
+ attributeType: 'video';
223
+ videoSource: string;
224
+ }
225
+ interface ActionAttributes {
226
+ attributeType: 'action';
227
+ action: Action;
228
+ }
229
+ interface LinkAttributes {
230
+ id: string;
231
+ attributeType: 'link';
232
+ type: 'internalLink' | 'externalLink';
233
+ internalLink: Nullable<string>;
234
+ externalLink: Nullable<string>;
235
+ name: string;
236
+ }
237
+ interface SelectAttributes {
238
+ id?: string;
239
+ attributeType: 'select';
240
+ value: string;
241
+ options: SelectOption$1[];
242
+ }
243
+ interface BooleanAttributes {
244
+ attributeType: 'boolean';
245
+ value: boolean;
246
+ }
247
+ interface IterableAttributes {
248
+ attributeType: 'iterable';
249
+ options: SelectOption$1[];
250
+ }
251
+ declare type DataModelFieldFormat = {
252
+ id: string;
253
+ label: string;
254
+ value: DataModelFieldFormatValueTypes;
255
+ code: DataModelFieldFormatCodeTypes;
256
+ config: MaskConfig;
258
257
  };
259
- declare type IconNames = keyof typeof availableIcons;
260
- declare const Icon: ({ name, color, ...props }: IconProps) => JSX.Element;
261
-
262
- declare type SpacerProps = {
258
+ interface DataConnectionAttributes {
259
+ id: string;
260
+ attributeType: 'data_model_field';
261
+ dataModelField: {
262
+ dataFieldName: string;
263
+ dataModelFieldId: string;
264
+ defaultValue?: string;
265
+ entitySubtypeId?: string;
266
+ entitySubtypeName?: string;
267
+ format: DataModelFieldFormat;
268
+ };
269
+ }
270
+ interface ConditionConfigAttributes {
271
+ id: string;
272
+ attributeType: 'condition_config';
273
+ conditionConfig: ConditionConfig;
274
+ }
275
+ interface ColorAttributes {
276
+ attributeType: 'color';
277
+ color: string;
278
+ }
279
+ declare type MoleculeTypes = 'image' | 'text' | 'button' | 'video' | 'header_tab_group' | 'input_field' | 'select_field' | 'radio_button_field' | 'checkbox_field' | 'consent' | 'link' | 'password_setup_field' | 'account_button';
280
+ interface BaseMolecule {
281
+ id: string;
282
+ instance: 'molecule';
283
+ type: MoleculeTypes;
284
+ metadata?: MetadataType;
285
+ }
286
+ interface ImageMolecule extends BaseMolecule {
287
+ type: 'image';
288
+ attributes: Partial<{
289
+ image: ImageAttributes;
290
+ altText: Omit<TextAttributes, 'isRichText'>;
291
+ link: LinkAttributes;
292
+ }>;
293
+ config: {
294
+ props?: Omit<ImageProps$1, 'src' | 'link' | 'altText'>;
295
+ };
296
+ }
297
+ interface TextMoleculeType extends BaseMolecule {
298
+ type: 'text';
299
+ attributes: Partial<{
300
+ text: TextAttributes;
301
+ seoStyle: SelectAttributes;
302
+ fontVariant: SelectAttributes;
303
+ color: ColorAttributes;
304
+ }>;
305
+ config: {
306
+ props?: TextMoleculeProps$1;
307
+ };
308
+ }
309
+ interface ButtonMolecule extends BaseMolecule {
310
+ type: 'button';
311
+ attributes: Partial<{
312
+ title: TextAttributes;
313
+ action: ActionAttributes;
314
+ }>;
315
+ config: {
316
+ props?: Partial<Omit<ButtonProps$1, 'disabled' | 'children' | 'link' | 'text' | 'onClick' | 'elementId'>>;
317
+ };
318
+ }
319
+ interface VideoMolecule extends BaseMolecule {
320
+ type: 'video';
321
+ attributes: Partial<{
322
+ video: VideoAttributes;
323
+ altText: Omit<TextAttributes, 'isRichText'>;
324
+ autoPlayVideo: BooleanAttributes;
325
+ enableCoverImage: BooleanAttributes;
326
+ coverImage: ImageAttributes;
327
+ }>;
328
+ config: {
329
+ props: Partial<{
330
+ width: number;
331
+ styles: StylesType;
332
+ }>;
333
+ };
334
+ }
335
+ interface TabGroupMolecule extends BaseMolecule {
336
+ type: 'header_tab_group';
337
+ config: {
338
+ props: TabGroupProps$1;
339
+ wide: AdditionalTabContainerProps$1;
340
+ compact: AdditionalTabContainerProps$1;
341
+ };
342
+ }
343
+ interface TextInputMolecule extends BaseMolecule {
344
+ type: 'input_field';
345
+ attributes: Partial<{
346
+ label: TextAttributes;
347
+ required: BooleanAttributes;
348
+ dataModelField: DataConnectionAttributes;
349
+ conditionConfig: ConditionConfigAttributes;
350
+ }>;
351
+ config: {
352
+ props: InputFieldProps$1;
353
+ };
354
+ }
355
+ interface SelectFieldMolecule extends BaseMolecule {
356
+ type: 'select_field';
357
+ attributes: Partial<{
358
+ label: TextAttributes;
359
+ required: BooleanAttributes;
360
+ options: IterableAttributes;
361
+ dataModelField: DataConnectionAttributes;
362
+ conditionConfig: ConditionConfigAttributes;
363
+ }>;
364
+ config: {
365
+ props: SelectFieldProps$1;
366
+ };
367
+ }
368
+ interface RadioButtonFieldMolecule extends BaseMolecule {
369
+ type: 'radio_button_field';
370
+ attributes: Partial<{
371
+ label: TextAttributes;
372
+ required: BooleanAttributes;
373
+ options: IterableAttributes;
374
+ dataModelField: DataConnectionAttributes;
375
+ conditionConfig: ConditionConfigAttributes;
376
+ }>;
377
+ config: {
378
+ props: RadioButtonFieldProps$1<string>;
379
+ };
380
+ }
381
+ interface CheckboxFieldMolecule extends BaseMolecule {
382
+ type: 'checkbox_field';
383
+ attributes: Partial<{
384
+ label: TextAttributes;
385
+ required: BooleanAttributes;
386
+ options: IterableAttributes;
387
+ dataModelField: DataConnectionAttributes;
388
+ conditionConfig: ConditionConfigAttributes;
389
+ }>;
390
+ config: {
391
+ props: CheckboxFieldProps$1;
392
+ };
393
+ }
394
+ interface ConsentFieldMolecule extends BaseMolecule {
395
+ type: 'consent';
396
+ attributes: Partial<{
397
+ consent: Partial<{
398
+ attributeType: 'consent';
399
+ consent: ConsentType$1;
400
+ required: BooleanAttributes;
401
+ }>;
402
+ conditionConfig: ConditionConfigAttributes;
403
+ }>;
404
+ config: {
405
+ props: Partial<{
406
+ state: 'field_error';
407
+ }>;
408
+ };
409
+ }
410
+ interface LinkMolecule extends BaseMolecule {
411
+ type: 'link';
412
+ attributes: {
413
+ text: TextAttributes;
414
+ link: LinkAttributes;
415
+ };
416
+ config: {
417
+ props: Omit<LinkProps$1, '$variant' | '$styles'> & Partial<{
418
+ variant: LinkVariant$1;
419
+ styles: StylesType;
420
+ }>;
421
+ };
422
+ }
423
+ interface PasswordSetupMolecule extends BaseMolecule {
424
+ type: 'password_setup_field';
425
+ attributes: Partial<{
426
+ passwordFieldLabel: TextAttributes;
427
+ reenteredPasswordFieldLabel: TextAttributes;
428
+ passwordFieldRequired: BooleanAttributes;
429
+ reenteredPasswordFieldRequired: BooleanAttributes;
430
+ dataModelField: DataConnectionAttributes;
431
+ }>;
432
+ config: {
433
+ props: {
434
+ validationLabel?: string;
435
+ state?: FormStateType;
436
+ passwordInputProps: InputFieldProps$1;
437
+ reenteredPasswordInputProps: InputFieldProps$1;
438
+ };
439
+ };
440
+ }
441
+ interface AccountButtonMolecule extends BaseMolecule {
442
+ type: 'account_button';
443
+ config: {
444
+ props: AvatarDropdownProps$1<AvatarDropdownMenuConfigType$1>;
445
+ };
446
+ }
447
+ declare type Molecule = StrictUnion<ImageMolecule | TextMoleculeType | ButtonMolecule | VideoMolecule | TabGroupMolecule | TextInputMolecule | SelectFieldMolecule | RadioButtonFieldMolecule | CheckboxFieldMolecule | ConsentFieldMolecule | LinkMolecule | PasswordSetupMolecule | AccountButtonMolecule> & Partial<{
448
+ form: UseFormReturn<any>;
449
+ formData: AnyObject$1;
450
+ setFormData: Dispatch<SetStateAction<AnyObject$1>>;
451
+ }>;
452
+
453
+ declare type ContainerType = 'row' | 'column' | 'slider' | 'form' | 'form_step' | 'dynamic';
454
+ declare type ContainerTemplateType = 'row_content_container';
455
+ declare type WrappedContainerType = Extract<ContainerType, 'slider' | 'form' | 'form_step'>;
456
+ declare type ContainerPositionType = 'fixed' | 'sticky' | 'static' | 'relative';
457
+ declare type ContainerScrollBehaviourType = 'vertical' | 'horizontal' | 'auto' | 'none';
458
+ declare type StateActionType = 'visible' | 'disabled';
459
+ declare type StateEventType = 'click' | 'view';
460
+ declare type StateListenerConfigType = {
461
+ role: 'stateListener';
462
+ stateKey: string;
463
+ stateValue: string | boolean;
464
+ defaultState: Partial<Record<StateActionType, boolean>>;
465
+ action: Partial<Record<StateActionType, boolean>>;
466
+ };
467
+ declare type StateModifierConfigType = {
468
+ role: 'stateModifier';
469
+ stateKey: string;
470
+ event: StateEventType;
471
+ };
472
+ declare type MetadataStateConfig = StateListenerConfigType | StateModifierConfigType;
473
+ declare type MetadataType = AnyObject$1 & {
474
+ stateConfig: MetadataStateConfig[];
475
+ notEditable?: boolean;
476
+ hasOwnButton?: boolean;
477
+ };
478
+ declare type SliderProps = {
479
+ autoplay?: boolean;
480
+ autoplayDuration?: number;
481
+ };
482
+ declare type FormStepContainerProps = {
483
+ formStepName: string;
484
+ order: number;
485
+ conditionConfig: ConditionConfig;
486
+ formStepStyles?: CSSProperties;
487
+ };
488
+ declare type FormContainerProps = {
489
+ mode: keyof ValidationMode;
490
+ };
491
+ declare type PaddingVariants = 'top' | 'right' | 'bottom' | 'left';
492
+ declare type Padding = Record<PaddingVariants, SizesTypes$1 | string> | SizesTypes$1 | string;
493
+ declare type ContainerPropsType = Partial<{
494
+ position: ContainerPositionType;
495
+ scrollBehaviour: ContainerScrollBehaviourType;
496
+ cornerRadius: SizesTypes$1 | number;
497
+ gap: SizesTypes$1;
498
+ styles: StylesType;
499
+ sliderProps: SliderProps;
500
+ formProps: FormContainerProps;
501
+ formStepProps: FormStepContainerProps;
502
+ padding: Padding;
503
+ border: string;
504
+ activeChildrenIds: string[];
505
+ activeOrganismIds: string[];
506
+ }>;
507
+ declare type AdditionalContainerProps = Partial<{
508
+ containerStyle: CSSProperties;
509
+ containerProps: ContainerPropsType;
510
+ }>;
511
+ declare type ContainerProps = PropsWithChildren<Partial<{
512
+ type: ContainerType;
513
+ containerTemplateType: ContainerTemplateType;
514
+ wide: AdditionalContainerProps;
515
+ compact: AdditionalContainerProps;
516
+ props: ContainerPropsType;
517
+ metadata: MetadataType;
518
+ isMobile: boolean;
519
+ }>>;
520
+ declare type ContainerComponentProps = {
521
+ id: string;
522
+ instance: 'container';
523
+ type: ContainerType;
524
+ items: (ContainerComponentProps | Molecule)[];
525
+ config: Partial<{
526
+ wide: AdditionalContainerProps;
527
+ compact: AdditionalContainerProps;
528
+ props: ContainerPropsType;
529
+ }>;
530
+ tabsProps?: Pick<TabGroupProps$1, 'tabs' | 'activeTabKey' | 'onTabChange'>;
531
+ metadata?: MetadataType;
532
+ attributes?: AnyObject$1;
533
+ containerLibraryId?: string;
534
+ isMobile?: boolean;
535
+ };
536
+ declare type CriteriaType = 'operator' | 'condition';
537
+ declare type ConditionCriteria = {
538
+ id: string;
539
+ type: CriteriaType;
540
+ operator: string;
541
+ dataFieldId: Nullable<string>;
542
+ dataFieldName: Nullable<string>;
543
+ dataValue: Nullable<string>;
544
+ connectedTo: Nullable<string>;
545
+ };
546
+ declare type SegmentationType = 'simple' | 'advanced';
547
+ declare type ConditionConfig = Nullable<{
548
+ id: string;
549
+ segmentationType: SegmentationType;
550
+ criteriaList: ConditionCriteria[];
551
+ }>;
552
+ declare type FormDataStateConfig = {
553
+ value?: string | number;
554
+ } & Record<string, {
555
+ value?: string | number;
556
+ }>;
557
+ declare type StateConfigType = Record<string, Nullable<boolean | string | FormDataStateConfig>>;
558
+
559
+ declare type Callback = () => void;
560
+ declare type AnyObject = Record<string, unknown>;
561
+
562
+ declare const ContainerWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, Pick<ContainerProps$1, "type"> & {
563
+ containerProps?: Partial<{
564
+ position: containers_types_types.ContainerPositionType;
565
+ scrollBehaviour: containers_types_types.ContainerScrollBehaviourType;
566
+ cornerRadius: number | SizesTypes$1;
567
+ gap: SizesTypes$1;
568
+ styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
569
+ sliderProps: containers_types_types.SliderProps;
570
+ formProps: containers_types_types.FormContainerProps;
571
+ formStepProps: containers_types_types.FormStepContainerProps;
572
+ padding: containers_types_types.Padding;
573
+ border: string;
574
+ activeChildrenIds: string[];
575
+ activeOrganismIds: string[];
576
+ }> | undefined;
577
+ metadata?: AnyObject | undefined;
578
+ }, never>;
579
+
580
+ declare type OrganismItemProps = {
581
+ item: ContainerComponentProps$1 | Molecule$1;
582
+ tabsProps?: Pick<TabGroupProps$1, 'tabs' | 'activeTabKey' | 'onTabChange'>;
583
+ formData?: AnyObject$1;
584
+ setFormData?: Dispatch<SetStateAction<AnyObject$1>>;
585
+ isMobile?: boolean;
586
+ };
587
+ declare const OrganismItem: ({ item, tabsProps, formData, setFormData, isMobile, }: OrganismItemProps) => JSX.Element | null;
588
+
589
+ declare type FormOrganismItemProps = {
590
+ item: ContainerComponentProps$2;
591
+ activeChildrenIds: string[];
592
+ formData?: AnyObject$1;
593
+ setFormData?: Dispatch<SetStateAction<AnyObject$1>>;
594
+ isMobile?: boolean;
595
+ };
596
+ declare const FormOrganismItem: ({ formData, setFormData, isMobile, ...props }: FormOrganismItemProps) => JSX.Element | null;
597
+
598
+ declare const getFieldPlaceholder: (type: FieldTypes$1, title?: string) => string;
599
+
600
+ declare type InputFieldTypes = 'any' | 'text' | 'email' | 'integer' | 'password' | 'username' | 'numerical' | 'us_zip_code' | 'phone_number' | 'month_year_date' | 'day_month_year_date' | 'month_day_year_date' | 'year_month_day_date';
601
+ declare type FieldTypes = 'input' | 'select' | 'checkbox';
602
+ declare type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
603
+ name: T;
604
+ type: FieldTypes;
605
+ value?: string;
606
+ label?: string;
607
+ placeholder?: string;
608
+ required?: boolean;
609
+ tooltip?: string;
610
+ rules?: ControllerProps['rules'];
611
+ order?: number;
612
+ };
613
+ declare type UIInputField = {
614
+ inputType?: InputFieldTypes;
615
+ maxLength?: number;
616
+ onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
617
+ } & InputFieldProps$1;
618
+ declare type UISelectField = {
619
+ options?: SelectOption$1[];
620
+ } & SelectFieldProps$1;
621
+ declare type UICheckboxField = {
622
+ checkboxLabel?: string;
623
+ };
624
+ declare type UIFields<T extends object> = UIField<keyof T>[];
625
+
626
+ declare const getInitialValuesFromFields: <T extends object>(fields: UIFields$1<T>) => DeepPartial<T>;
627
+ declare const isFormValid: <T extends FieldValues>(formState: FormState<T>) => boolean;
628
+ declare const getFieldsFromFieldSections: <T extends object>(sections: Pick<FieldSectionProps$1<T>, "fields">[]) => UIFields$1<T>;
629
+
630
+ declare const acquisitionFormMockFields: UIFields$1<Record<string, string>>;
631
+ declare const setPasswordMockFields: UIFields$1<SetPasswordFields>;
632
+ declare const passwordMockFields: UIFields$1<PasswordFields>;
633
+ declare const loginMockFields: UIFields$1<LoginFields$1>;
634
+ declare const sectionMockFields: UIFields$1<Record<string, string>>;
635
+ declare const profileInformationMockForm: {
636
+ label: string;
637
+ fields: UIFields$1<Record<string, string>>;
638
+ }[];
639
+
640
+ declare type MaskConfig = {
641
+ maskPlaceholder?: string;
642
+ maskPattern?: Array<string | RegExp>;
643
+ dataModelFieldType: DataModelFieldFormatCodeTypes;
644
+ };
645
+
646
+ declare type InputFieldInternalConfigProps = Partial<{
647
+ textColor: ThemeColors$2 | string;
648
+ textFontSize: number;
649
+ placeholderTextColor: ThemeColors$2 | string;
650
+ placeholderTextFontSize: number;
651
+ verticalPadding: number;
652
+ horizontalPadding: number;
653
+ styles: StylesType;
654
+ wrapperStyles: StylesType;
655
+ }>;
656
+ declare type InputIconProps = {
657
+ name: IconNames$1;
658
+ onClick?: Callback$1;
659
+ };
660
+ declare type InputProps = Partial<{
661
+ value: string;
662
+ leftIcon: InputIconProps;
663
+ rightIcon: InputIconProps;
664
+ onBlur: Callback$1;
665
+ type: InputFieldTypes$1;
666
+ placeholder: string;
667
+ disabled: boolean;
668
+ isEditMode: boolean;
669
+ isError: boolean;
670
+ maxLength: number;
671
+ onChange: (value: string) => void;
672
+ onKeyDown: (event: react__default.KeyboardEvent<HTMLInputElement>) => void;
673
+ internalConfig: InputFieldInternalConfigProps;
674
+ config?: MaskConfig;
675
+ state: FormStateType$1;
676
+ }>;
677
+ declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, internalConfig, config, ...rest }: InputProps) => JSX.Element;
678
+
679
+ declare type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
680
+ declare type TextAlign = 'center' | 'right' | 'left';
681
+ declare type SeoTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
682
+ declare type TextProps = {
683
+ variant: FontSizesTypes$1;
684
+ layout?: 'div' | 'span';
685
+ type?: TextTypes;
686
+ styles?: StylesType;
687
+ color?: ThemeColors$2 | string;
688
+ numberOfLines?: number;
689
+ textAlign?: TextAlign;
690
+ behaveAs?: 'text' | 'button';
691
+ seoTag?: SeoTags;
692
+ htmlElementId?: string;
693
+ };
694
+ declare type TextWrapperProps = PropsWithChildren<TextProps>;
695
+ declare const TextWrapper: ({ children, seoTag, ...textProps }: TextWrapperProps) => JSX.Element;
696
+ declare const ErrorText: ({ text }: {
697
+ text: string;
698
+ }) => JSX.Element;
699
+
700
+ declare type IconProps = {
701
+ name: IconNames;
702
+ size?: number;
703
+ color?: ThemeColors$1 | string;
704
+ fill?: ThemeColors$1 | string;
705
+ pointerEvents?: 'auto' | 'none';
706
+ style?: CSSProperties;
707
+ };
708
+ declare const availableIcons: {
709
+ ArrowRight: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
710
+ Bell: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
711
+ Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
712
+ CaretDown: ({ color, size, }: Omit<IconProps, "name">) => JSX.Element;
713
+ CaretLeft: ({ color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
714
+ CaretRight: ({ color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
715
+ CaretUp: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
716
+ Check: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
717
+ Close: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
718
+ Edit: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
719
+ Filter: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
720
+ Hide: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
721
+ Info: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
722
+ InfoBoxIcon: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
723
+ Mail: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
724
+ Menu: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
725
+ Minus: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
726
+ Mobile: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
727
+ Play: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
728
+ Save: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
729
+ Search: ({ size, color, ...props }: Omit<IconProps, "name">) => JSX.Element;
730
+ View: ({ color, size, }: Omit<IconProps, "name">) => JSX.Element;
731
+ Warning: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
732
+ };
733
+ declare type IconNames = keyof typeof availableIcons;
734
+ declare const Icon: ({ name, color, ...props }: IconProps) => JSX.Element;
735
+
736
+ declare type SpacerProps = {
263
737
  width?: SizesTypes$1 | number;
264
738
  height?: SizesTypes$1 | number;
265
739
  layout?: 'div' | 'span';
@@ -308,7 +782,7 @@ declare type TextButtonProps = Pick<BaseButtonProps$1, 'disabled' | 'onClick' |
308
782
  }>;
309
783
  declare const TextButton: styled_components.StyledComponent<"a", styled_components.DefaultTheme, {
310
784
  target: "_blank";
311
- } & Pick<BaseButtonProps$1, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
785
+ } & Pick<BaseButtonProps$1, "disabled" | "size" | "children" | "onClick" | "colorTheme"> & Partial<{
312
786
  buttonLink: string;
313
787
  elementId: string;
314
788
  $styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
@@ -1111,905 +1585,440 @@ declare type SelectFieldProps = Partial<{
1111
1585
  htmlElementId: string;
1112
1586
  }>;
1113
1587
  declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, conditionConfig, formData, state, htmlElementId, }: SelectFieldProps) => JSX.Element | null;
1114
-
1115
- declare type CustomValidationRule<T = string> = {
1116
- text: string;
1117
- validate: (value?: T) => boolean;
1118
- };
1119
- declare type CustomValidationProps<T = string> = {
1120
- label?: string;
1121
- value: T;
1122
- isSubmitted?: boolean;
1123
- rules: CustomValidationRule<T>[];
1124
- spacer?: number;
1125
- validationState?: FormStateType$1;
1126
- };
1127
- declare const CustomValidation: <T extends string = string>({ rules, value, isSubmitted, label, spacer, validationState, }: CustomValidationProps<T>) => JSX.Element;
1128
-
1129
- declare type BaseSelectableProps<T> = {
1130
- iconName: IconNames$2;
1131
- infoText: string;
1132
- isActive?: boolean;
1133
- onClick?: (value: T) => void;
1134
- value: T;
1135
- };
1136
-
1137
- declare type SelectableCardGroupProps<T> = {
1138
- cards: BaseSelectableProps<T>[];
1139
- handleChange?: (value: T | undefined) => void;
1140
- spacing?: SizesTypes$1;
1141
- initialValue?: T;
1142
- };
1143
- declare const SelectableCardGroup: <T extends string>({ cards, handleChange, spacing, initialValue, }: SelectableCardGroupProps<T>) => JSX.Element;
1144
-
1145
- declare type HeroImageAlignment = 'left_aligned' | 'center_aligned';
1146
- declare type HeroImageTemplate = 'card' | 'full_width';
1147
- declare type HeroImageProps = {
1148
- type: 'hero_image';
1149
- backgroundImage: RegularImageProps$1;
1150
- mainHeading: string;
1151
- subHeading?: string;
1152
- button?: ButtonProps$1;
1153
- contentAlignment?: HeroImageAlignment;
1154
- horizontalPaddings?: number;
1155
- template?: HeroImageTemplate;
1156
- isMobile?: boolean;
1157
- height?: number;
1158
- };
1159
- declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, template, isMobile, height, }: HeroImageProps) => JSX.Element;
1160
-
1161
- declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
1162
- declare type DrawerProps = DrawerProps$1 & {
1163
- anchor: Anchor;
1164
- padding?: SizesTypes$2 | number;
1165
- height?: number | string;
1166
- width?: number | string;
1167
- closeIconColor?: ThemeColors$2 | string;
1168
- };
1169
-
1170
- declare const Drawer: ({ children, closeIconColor, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
1171
-
1172
- declare type ColumnsTemplateKeys = 'horizontal' | 'card' | 'with_image';
1173
-
1174
- declare type ColumnsProps = {
1175
- type: 'columns';
1176
- columns: ColumnItem[];
1177
- containerStyles?: CSSProperties$1;
1178
- template?: ColumnsTemplateKeys;
1179
- };
1180
- declare type ColumnItem = {
1181
- title?: string;
1182
- mainContent?: string;
1183
- button?: TextButtonProps$1;
1184
- icon: string;
1185
- };
1186
- declare const Columns: ({ columns, containerStyles, template }: ColumnsProps) => JSX.Element;
1187
-
1188
- declare type MenuItem<T> = {
1189
- id: T;
1190
- title: string;
1191
- onClick?: (id: T) => void;
1192
- };
1193
- declare type MenuItemsProps<T> = {
1194
- title?: string;
1195
- onItemPress?: (id: T) => void;
1196
- options?: MenuItem<T>[];
1197
- };
1198
- declare const MenuItems: <T extends string | number>({ title, onItemPress, options, }: MenuItemsProps<T>) => JSX.Element;
1199
-
1200
- declare type AvatarDropdownMenuConfigType = 'log-out' | 'account-information';
1201
- declare type AvatarDropdownProps<T = string> = {
1202
- avatarProps: AvatarProps$1;
1203
- menuConfig: MenuItemsProps<T>;
1204
- };
1205
- declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
1206
-
1207
- declare type TabType<T = string, K = string> = Pick<TabProps$1<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>;
1208
- declare type AdditionalTabContainerProps = {
1209
- containerStyle?: StylesType;
1210
- containerProps?: Record<string, unknown>;
1211
- };
1212
- declare type TabGroupProps<T = string, K = string> = {
1213
- tabs: TabType<T, K>[];
1214
- activeTabKey: T;
1215
- onTabChange?: (tabKey: T) => void;
1216
- onOptionClick?: (optionKey: K) => void;
1217
- styles?: StylesType;
1218
- vertical?: boolean;
1219
- tabTheme?: TabTheme$1;
1220
- tabFont?: FontSizesTypes$1;
1221
- textSize?: number;
1222
- tabPadding?: SizesTypes$2 | number;
1223
- tabSpacing?: SizesTypes$2;
1224
- defaultTabTextColor?: ThemeColors$2 | string;
1225
- selectedTabTextColor?: ThemeColors$2 | string;
1226
- selectedTabIndicatorColor?: ThemeColors$2 | string;
1227
- wide?: AdditionalTabContainerProps;
1228
- compact?: AdditionalTabContainerProps;
1229
- isMobile?: boolean;
1230
- htmlElementId?: string;
1231
- };
1232
- declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, isMobile, htmlElementId, ...props }: TabGroupProps<T, K>) => JSX.Element;
1233
-
1234
- declare type FieldSectionProps<T extends object> = {
1235
- label: string;
1236
- control?: Control$1<T>;
1237
- isEditMode?: boolean;
1238
- fields: UIFields<T>;
1239
- };
1240
- declare const FieldSection: <T extends object>({ fields, label, isEditMode, control, }: FieldSectionProps<T>) => JSX.Element;
1241
-
1242
- declare type MenuNavigationProps<T> = {
1243
- menuConfig: MenuItemsProps<T>;
1244
- };
1245
- declare const MenuNavigation: <T extends string | number>({ menuConfig, }: MenuNavigationProps<T>) => JSX.Element;
1246
- declare const CaretIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
1247
- isOpen: boolean;
1248
- }, never>;
1249
-
1250
- declare type EmphasizedTextProps = {
1251
- type: 'emphasized_text';
1252
- invertColors: boolean;
1253
- textContent: string;
1254
- };
1255
- declare const EmphasizedText: ({ textContent, invertColors }: EmphasizedTextProps) => JSX.Element;
1256
-
1257
- declare type RadioButtonFieldProps<T extends string> = Partial<{
1258
- name: string;
1259
- rules: ControllerProps$1['rules'];
1260
- styles: StylesType;
1261
- control: Control$1<any>;
1262
- optional: boolean;
1263
- required: boolean;
1264
- labelsProps: FieldLabelsProps;
1265
- defaultValue: string;
1266
- radioButtonsProps: RadioButtonsProps$1<T>;
1267
- internalConfig: RadioButtonInternalConfigProps$1;
1268
- conditionConfig: ConditionConfig$1;
1269
- state: FormStateType$1;
1270
- formData: AnyObject$1;
1271
- htmlElementId: string;
1272
- }>;
1273
- declare const RadioButtonField: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, conditionConfig, formData, htmlElementId, state, }: Partial<{
1274
- name: string;
1275
- rules: ControllerProps$1['rules'];
1276
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1277
- control: Control$1<any>;
1278
- optional: boolean;
1279
- required: boolean;
1280
- labelsProps: FieldLabelsProps;
1281
- defaultValue: string;
1282
- radioButtonsProps: Partial<{
1283
- ref: react_hook_form.RefCallBack;
1284
- name: string;
1285
- value: T;
1286
- options: atoms.SelectOption[];
1287
- onBlur: typescript.Callback;
1288
- onChange: (value: T) => void;
1289
- isRow: boolean;
1290
- isError: boolean;
1291
- disabled: boolean;
1292
- isEditMode: boolean;
1293
- isRichText: boolean;
1294
- internalConfig: Partial<{
1295
- selectedRadioOptionBackgroundColor: string;
1296
- selectedRadioOptionIndicatorColor: string;
1297
- buttonPadding: number;
1298
- textPadding: number;
1299
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1300
- wrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1301
- buttonOptionSpacing: SizesTypes;
1302
- radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1303
- }>;
1304
- }>;
1305
- internalConfig: Partial<{
1306
- selectedRadioOptionBackgroundColor: string;
1307
- selectedRadioOptionIndicatorColor: string;
1308
- buttonPadding: number;
1309
- textPadding: number;
1310
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1311
- wrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1312
- buttonOptionSpacing: SizesTypes;
1313
- radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1314
- }>;
1315
- conditionConfig: ConditionConfig$1;
1316
- state: FormStateType$1;
1317
- formData: AnyObject$1;
1318
- htmlElementId: string;
1319
- }>) => JSX.Element | null;
1320
-
1321
- declare type AlertProps = {
1322
- style?: CSSProperties;
1323
- title: string;
1324
- description: string;
1325
- color?: string;
1326
- isMobile?: boolean;
1327
- logo?: string;
1328
- fullWidth?: boolean;
1329
- withCloseIcon?: {
1330
- onClose: Callback$1;
1331
- };
1332
- fontColor?: ThemeColors$1;
1333
- destinationLink?: string;
1334
- onDestinationHandler?: Callback$1;
1335
- containerStyles?: CSSProperties;
1588
+
1589
+ declare type CustomValidationRule<T = string> = {
1590
+ text: string;
1591
+ validate: (value?: T) => boolean;
1336
1592
  };
1337
- declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, containerStyles, isMobile, ...props }: AlertProps) => JSX.Element;
1593
+ declare type CustomValidationProps<T = string> = {
1594
+ label?: string;
1595
+ value: T;
1596
+ isSubmitted?: boolean;
1597
+ rules: CustomValidationRule<T>[];
1598
+ spacer?: number;
1599
+ validationState?: FormStateType$1;
1600
+ };
1601
+ declare const CustomValidation: <T extends string = string>({ rules, value, isSubmitted, label, spacer, validationState, }: CustomValidationProps<T>) => JSX.Element;
1338
1602
 
1339
- declare type OrientationType = 'horizontal' | 'vertical';
1340
- declare type StepperProps = {
1341
- steps: {
1342
- title: string;
1343
- description?: string;
1344
- status?: ProcessTrackerStatus$1;
1345
- }[];
1346
- currentStep: number;
1347
- orientation?: OrientationType;
1603
+ declare type BaseSelectableProps<T> = {
1604
+ iconName: IconNames$2;
1605
+ infoText: string;
1606
+ isActive?: boolean;
1607
+ onClick?: (value: T) => void;
1608
+ value: T;
1348
1609
  };
1349
- declare const Stepper: ({ steps, orientation, currentStep }: StepperProps) => JSX.Element;
1350
1610
 
1351
- declare type PdfDocumentProps = {
1352
- source: string;
1353
- isMobile?: boolean;
1354
- customDocumentStyles?: Partial<{
1355
- wrapperBackgroundColor: ThemeColors$1 | string;
1356
- pageNumberColor: ThemeColors$1 | string;
1357
- pageWidth: number;
1358
- pageHeight: number;
1359
- paginationArrowColor: ThemeColors$1 | string;
1360
- disabledPaginationArrowColor: ThemeColors$1 | string;
1361
- }>;
1611
+ declare type SelectableCardGroupProps<T> = {
1612
+ cards: BaseSelectableProps<T>[];
1613
+ handleChange?: (value: T | undefined) => void;
1614
+ spacing?: SizesTypes$1;
1615
+ initialValue?: T;
1362
1616
  };
1363
- declare const PdfDocument: ({ source, isMobile, customDocumentStyles, }: PdfDocumentProps) => JSX.Element;
1617
+ declare const SelectableCardGroup: <T extends string>({ cards, handleChange, spacing, initialValue, }: SelectableCardGroupProps<T>) => JSX.Element;
1364
1618
 
1365
- declare type FeedTemplateKeys = `feed_${'a' | 'b'}`;
1366
- declare type FeedContentHeaderProps = {
1367
- title: string;
1368
- enableFavoriting?: boolean;
1369
- templateType: FeedTemplateKeys;
1619
+ declare type HeroImageAlignment = 'left_aligned' | 'center_aligned';
1620
+ declare type HeroImageTemplate = 'card' | 'full_width';
1621
+ declare type HeroImageProps = {
1622
+ type: 'hero_image';
1623
+ backgroundImage: RegularImageProps$1;
1624
+ mainHeading: string;
1625
+ subHeading?: string;
1626
+ button?: ButtonProps$1;
1627
+ contentAlignment?: HeroImageAlignment;
1628
+ horizontalPaddings?: number;
1629
+ template?: HeroImageTemplate;
1370
1630
  isMobile?: boolean;
1371
- menuConfig: MenuItemsProps$1<FilteredFeedContentType$1>;
1372
- } & Partial<Omit<InputFieldProps$1, 'labelsProps' | 'required' | 'optional'>>;
1373
- declare const FeedContentHeader: ({ templateType, title, name, inputProps, isMobile, menuConfig, ...rest }: FeedContentHeaderProps) => JSX.Element;
1374
-
1375
- declare type ToggleFieldProps = {
1376
- name: string;
1377
- title: string;
1378
- control?: Control$1<any>;
1379
- description?: string;
1380
- horizontalButtonsProps: HorizontalButtonsProps$1;
1381
- defaultValue?: string;
1631
+ height?: number;
1382
1632
  };
1383
- declare const HorizontalButtonsField: ({ name, title, control, description, horizontalButtonsProps, }: ToggleFieldProps) => JSX.Element;
1633
+ declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, template, isMobile, height, }: HeroImageProps) => JSX.Element;
1384
1634
 
1385
- declare type BottomNaVBarItemProps = {
1386
- name: string;
1387
- icon: ComponentType<Omit<IconProps$1, 'name'>>;
1388
- active: boolean;
1389
- activeColor: string;
1390
- onNavigate: Callback;
1635
+ declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
1636
+ declare type DrawerProps = DrawerProps$1 & {
1637
+ anchor: Anchor;
1638
+ padding?: SizesTypes$2 | number;
1639
+ height?: number | string;
1640
+ width?: number | string;
1641
+ closeIconColor?: ThemeColors$2 | string;
1391
1642
  };
1392
- declare const BottomNavBarItem: ({ name, icon, active, activeColor, onNavigate, }: BottomNaVBarItemProps) => JSX.Element;
1393
1643
 
1394
- declare type VideoProps = {
1395
- src: string;
1396
- } & Partial<{
1397
- width: number;
1398
- height: number;
1399
- autoplay: boolean;
1400
- enableCoverImage: boolean;
1401
- coverImageSrc: string;
1402
- style: CSSProperties;
1403
- styles: StylesType;
1404
- template: FeedContentTemplateTypes$1;
1405
- htmlElementId: string;
1406
- }>;
1407
- declare const Video: ({ style, src, width, height, template, autoplay, enableCoverImage, coverImageSrc, styles, htmlElementId, }: VideoProps) => JSX.Element | null;
1644
+ declare const Drawer: ({ children, closeIconColor, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
1408
1645
 
1409
- declare type ImageProps = {
1410
- src: string;
1411
- } & Partial<{
1412
- id: string;
1413
- altText: string;
1414
- link: string;
1415
- onClick: Callback$1;
1416
- width: number;
1417
- height: number;
1418
- cornerRadius: number;
1419
- behaveAs: 'background' | 'regular';
1420
- styles: StylesType;
1421
- stateConfig: MetadataStateConfig$1[];
1422
- htmlElementId: string;
1423
- }>;
1424
- declare const Image: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, stateConfig, htmlElementId, }: ImageProps) => JSX.Element | null;
1646
+ declare type ColumnsTemplateKeys = 'horizontal' | 'card' | 'with_image';
1425
1647
 
1426
- declare type CarouselProps = {
1427
- children: JSX.Element[];
1428
- autoplay?: boolean;
1429
- autoplayDuration?: number;
1648
+ declare type ColumnsProps = {
1649
+ type: 'columns';
1650
+ columns: ColumnItem[];
1651
+ containerStyles?: CSSProperties$1;
1652
+ template?: ColumnsTemplateKeys;
1430
1653
  };
1431
- declare const Carousel: ({ children, autoplay, autoplayDuration, }: PropsWithChildren<CarouselProps>) => JSX.Element;
1432
- declare const Wrapper: styled_components.StyledComponent<"section", styled_components.DefaultTheme, {}, never>;
1433
- declare const SlidesWrapper: styled_components.StyledComponent<"ul", styled_components.DefaultTheme, {
1434
- translateX: number;
1435
- }, never>;
1436
- declare const Slide: styled_components.StyledComponent<"li", styled_components.DefaultTheme, {}, never>;
1437
- declare const ButtonsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
1438
- declare const ArrowIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
1439
- arrowSide: 'left' | 'right';
1440
- }, never>;
1441
- declare const NavigationDotsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
1442
-
1443
- declare type TextMoleculeProps = Partial<{
1444
- text: string;
1445
- variant: 'base' | 'custom';
1446
- fontVariant: FontSizesTypes$2;
1447
- textSize: number;
1448
- textColor: ThemeColors$1 | string;
1449
- letterSpacing: number;
1450
- lineHeight: number;
1451
- fontWeight: string | number;
1452
- isRichText: boolean;
1453
- styles: StylesType;
1454
- textAlign: 'center' | 'right' | 'left';
1455
- htmlElementId: string;
1456
- }> & Pick<TextProps$1, 'seoTag' | 'numberOfLines'>;
1457
- declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, htmlElementId, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
1458
-
1459
- declare type ButtonVariant = 'primary' | 'secondary' | 'text' | 'custom';
1460
- declare type ButtonType = 'button' | 'submit' | 'reset';
1461
- declare type BaseButtonProps = PropsWithChildren<Partial<{
1462
- onClick: Callback$1;
1463
- variant: ButtonVariant;
1464
- disabled: boolean;
1465
- state: 'disabled' | 'enabled';
1466
- fullWidth: boolean;
1467
- size: 'medium' | 'small';
1468
- buttonFont: FontSizesTypes$2;
1469
- textColor: ThemeColors$1 | string;
1470
- textSize: number;
1471
- horizontalPadding: SizesTypes$1;
1472
- verticalPadding: SizesTypes$1;
1473
- buttonColor: ThemeColors$1 | string;
1474
- buttonStroke: ThemeColors$1 | string;
1475
- cornerRadius: SizesTypes$1 | number;
1476
- hoverButtonColor: ThemeColors$1 | string;
1477
- hoverStrokeColor: ThemeColors$1 | string;
1478
- inactiveButtonColor: ThemeColors$1 | string;
1479
- inactiveStrokeColor: ThemeColors$1 | string;
1480
- inactiveTextColor: ThemeColors$1 | string;
1481
- styles: StylesType;
1482
- colorTheme: 'light' | 'dark';
1483
- href: string;
1484
- type: ButtonType;
1485
- }>>;
1486
- declare type ButtonProps = BaseButtonProps & {
1487
- fullWidth?: boolean;
1488
- text?: string;
1489
- link?: string;
1490
- elementId?: string;
1491
- loading?: boolean;
1492
- isRichText?: boolean;
1493
- containerStyle?: StylesType;
1494
- buttonStyle?: StylesType;
1495
- stateConfig?: MetadataStateConfig$1[];
1496
- htmlElementId?: string;
1654
+ declare type ColumnItem = {
1655
+ title?: string;
1656
+ mainContent?: string;
1657
+ button?: TextButtonProps$1;
1658
+ icon: string;
1497
1659
  };
1498
- declare const Button: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, ...props }: ButtonProps) => JSX.Element | null;
1660
+ declare const Columns: ({ columns, containerStyles, template }: ColumnsProps) => JSX.Element;
1499
1661
 
1500
- declare type ZealUIModalProps = PropsWithChildren<Pick<ModalProps, 'open'>> & {
1501
- padding?: number | string;
1502
- wrapperStyles?: CSSProperties;
1503
- onKeyDown?: <T extends HTMLElement>(event: KeyboardEvent<T>) => void;
1504
- modalStyles?: CSSProperties;
1505
- onClose?: Callback$1;
1662
+ declare type MenuItem<T> = {
1663
+ id: T;
1664
+ title: string;
1665
+ onClick?: (id: T) => void;
1506
1666
  };
1507
- declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, ...rest }: ZealUIModalProps) => JSX.Element;
1508
- declare const ModalWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, OverrideStyles, never>;
1509
- declare const IconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
1510
- activeOpacity?: number | undefined;
1511
- withoutOpacityEffect?: boolean | undefined;
1512
- disabled?: boolean | undefined;
1513
- } & {
1514
- children?: react__default.ReactNode;
1515
- }, never>;
1516
-
1517
- declare type ConsentCaptureMethod = 'button' | 'radioButton' | 'checkbox';
1518
- declare type DefaultSelectionType = 'confirmation' | 'rejection';
1519
- declare type ConsentType = {
1520
- id: string;
1521
- name: string;
1522
- acknowledgment: CustomDescendant[];
1523
- methodOfCapture: ConsentCaptureMethod;
1524
- description: string;
1525
- language: CustomDescendant[];
1526
- expiration: string;
1527
- confirmationButtonText: string;
1528
- rejectionButtonText: string;
1529
- defaultSelection: DefaultSelectionType;
1530
- value?: DefaultSelectionType | boolean;
1531
- isRequired?: boolean;
1667
+ declare type MenuItemsProps<T> = {
1668
+ title?: string;
1669
+ onItemPress?: (id: T) => void;
1670
+ options?: MenuItem<T>[];
1532
1671
  };
1533
- declare type ConsentProps<T extends string = string> = {
1534
- text: string;
1535
- isRequired?: boolean;
1536
- consentCaptureProps: ConsentCaptureProps<T>;
1537
- containerStyles?: CSSProperties;
1538
- clearStyles?: boolean;
1672
+ declare const MenuItems: <T extends string | number>({ title, onItemPress, options, }: MenuItemsProps<T>) => JSX.Element;
1673
+
1674
+ declare type AvatarDropdownMenuConfigType = 'log-out' | 'account-information';
1675
+ declare type AvatarDropdownProps<T = string> = {
1676
+ avatarProps: AvatarProps$1;
1677
+ menuConfig: MenuItemsProps<T>;
1539
1678
  };
1540
- declare const Consent: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: ConsentProps<T>) => JSX.Element;
1679
+ declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
1541
1680
 
1542
- declare type LinkProps = Omit<TextButtonProps$1, 'children'> & Partial<{
1543
- text: string;
1544
- isRichText: boolean;
1545
- href: string;
1546
- htmlElementId: string;
1547
- }>;
1548
- declare const Link: ({ text, isRichText, htmlElementId, ...props }: LinkProps) => JSX.Element | null;
1681
+ declare type TabType<T = string, K = string> = Pick<TabProps$1<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>;
1682
+ declare type AdditionalTabContainerProps = {
1683
+ containerStyle?: StylesType;
1684
+ containerProps?: Record<string, unknown>;
1685
+ };
1686
+ declare type TabGroupProps<T = string, K = string> = {
1687
+ tabs: TabType<T, K>[];
1688
+ activeTabKey: T;
1689
+ onTabChange?: (tabKey: T) => void;
1690
+ onOptionClick?: (optionKey: K) => void;
1691
+ styles?: StylesType;
1692
+ vertical?: boolean;
1693
+ tabTheme?: TabTheme$1;
1694
+ tabFont?: FontSizesTypes$1;
1695
+ textSize?: number;
1696
+ tabPadding?: SizesTypes$2 | number;
1697
+ tabSpacing?: SizesTypes$2;
1698
+ defaultTabTextColor?: ThemeColors$2 | string;
1699
+ selectedTabTextColor?: ThemeColors$2 | string;
1700
+ selectedTabIndicatorColor?: ThemeColors$2 | string;
1701
+ wide?: AdditionalTabContainerProps;
1702
+ compact?: AdditionalTabContainerProps;
1703
+ isMobile?: boolean;
1704
+ htmlElementId?: string;
1705
+ };
1706
+ declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, isMobile, htmlElementId, ...props }: TabGroupProps<T, K>) => JSX.Element;
1549
1707
 
1550
- declare const Container: ({ children, wide, compact, type, props, id, metadata, isMobile, }: Partial<{
1551
- type: containers.ContainerType;
1552
- containerTemplateType: "row_content_container";
1553
- wide: Partial<{
1554
- containerStyle: styled_components.CSSProperties;
1555
- containerProps: Partial<{
1556
- position: containers.ContainerPositionType;
1557
- scrollBehaviour: containers.ContainerScrollBehaviourType;
1558
- cornerRadius: number | theme.SizesTypes;
1559
- gap: theme.SizesTypes;
1560
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1561
- sliderProps: containers.SliderProps;
1562
- formProps: containers.FormContainerProps;
1563
- formStepProps: containers.FormStepContainerProps;
1564
- padding: containers.Padding;
1565
- border: string;
1566
- activeChildrenIds: string[];
1567
- activeOrganismIds: string[];
1568
- }>;
1569
- }>;
1570
- compact: Partial<{
1571
- containerStyle: styled_components.CSSProperties;
1572
- containerProps: Partial<{
1573
- position: containers.ContainerPositionType;
1574
- scrollBehaviour: containers.ContainerScrollBehaviourType;
1575
- cornerRadius: number | theme.SizesTypes;
1576
- gap: theme.SizesTypes;
1577
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1578
- sliderProps: containers.SliderProps;
1579
- formProps: containers.FormContainerProps;
1580
- formStepProps: containers.FormStepContainerProps;
1581
- padding: containers.Padding;
1582
- border: string;
1583
- activeChildrenIds: string[];
1584
- activeOrganismIds: string[];
1585
- }>;
1586
- }>;
1587
- props: Partial<{
1588
- position: containers.ContainerPositionType;
1589
- scrollBehaviour: containers.ContainerScrollBehaviourType;
1590
- cornerRadius: number | theme.SizesTypes;
1591
- gap: theme.SizesTypes;
1592
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1593
- sliderProps: containers.SliderProps;
1594
- formProps: containers.FormContainerProps;
1595
- formStepProps: containers.FormStepContainerProps;
1596
- padding: containers.Padding;
1597
- border: string;
1598
- activeChildrenIds: string[];
1599
- activeOrganismIds: string[];
1600
- }>;
1601
- metadata: containers.MetadataType;
1602
- isMobile: boolean;
1603
- }> & {
1604
- children?: ReactNode;
1605
- } & {
1606
- id: string;
1607
- }) => JSX.Element | null;
1608
- declare const ContainerComponent: ({ config, tabsProps, id, type, items, metadata, formData, setFormData, isMobile, }: ContainerComponentProps$1 & {
1609
- formData?: AnyObject$1 | undefined;
1610
- setFormData?: Dispatch<SetStateAction<AnyObject$1>> | undefined;
1611
- }) => JSX.Element | null;
1708
+ declare type FieldSectionProps<T extends object> = {
1709
+ label: string;
1710
+ control?: Control$1<T>;
1711
+ isEditMode?: boolean;
1712
+ fields: UIFields<T>;
1713
+ };
1714
+ declare const FieldSection: <T extends object>({ fields, label, isEditMode, control, }: FieldSectionProps<T>) => JSX.Element;
1612
1715
 
1613
- declare type ActionTypes = 'link' | 'popup' | 'drawer' | 'download' | 'submit' | 'reset' | 'destroy';
1614
- declare type DownloadFile = {
1615
- url: string;
1616
- name: string;
1716
+ declare type MenuNavigationProps<T> = {
1717
+ menuConfig: MenuItemsProps<T>;
1617
1718
  };
1618
- declare type LinkAction = LinkAttributes;
1619
- declare type PopupDrawerAction = ContainerComponentProps;
1620
- declare type DownloadAction = DownloadFile;
1621
- declare type SubmitAction = AnyObject$1;
1622
- declare type CancelAction = AnyObject$1;
1623
- declare type ResetAction = AnyObject$1;
1624
- declare type DestroyAction = AnyObject$1;
1625
- declare type Action = {
1626
- type: ActionTypes;
1627
- } & Partial<{
1628
- link: LinkAction;
1629
- popup: PopupDrawerAction;
1630
- drawer: PopupDrawerAction;
1631
- download: DownloadAction;
1632
- submit: SubmitAction;
1633
- cancel: CancelAction;
1634
- reset: ResetAction;
1635
- destroy: DestroyAction;
1636
- }>;
1637
- declare type FormStateType = 'default' | 'success' | 'error' | 'format_error' | 'field_error' | 'open_dropdown' | 'match_error';
1638
- declare type ImageAttributes = {
1639
- attributeType: 'image';
1640
- imageSource: string;
1719
+ declare const MenuNavigation: <T extends string | number>({ menuConfig, }: MenuNavigationProps<T>) => JSX.Element;
1720
+ declare const CaretIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
1721
+ isOpen: boolean;
1722
+ }, never>;
1723
+
1724
+ declare type EmphasizedTextProps = {
1725
+ type: 'emphasized_text';
1726
+ invertColors: boolean;
1727
+ textContent: string;
1641
1728
  };
1642
- interface TextAttributes {
1643
- id?: string;
1644
- attributeType: 'text';
1645
- isRichText?: boolean;
1646
- text: string;
1647
- }
1648
- interface VideoAttributes {
1649
- attributeType: 'video';
1650
- videoSource: string;
1651
- }
1652
- interface ActionAttributes {
1653
- attributeType: 'action';
1654
- action: Action;
1655
- }
1656
- interface LinkAttributes {
1657
- id: string;
1658
- attributeType: 'link';
1659
- type: 'internalLink' | 'externalLink';
1660
- internalLink: Nullable<string>;
1661
- externalLink: Nullable<string>;
1729
+ declare const EmphasizedText: ({ textContent, invertColors }: EmphasizedTextProps) => JSX.Element;
1730
+
1731
+ declare type RadioButtonFieldProps<T extends string> = Partial<{
1662
1732
  name: string;
1663
- }
1664
- interface SelectAttributes {
1665
- id?: string;
1666
- attributeType: 'select';
1667
- value: string;
1668
- options: SelectOption$1[];
1669
- }
1670
- interface BooleanAttributes {
1671
- attributeType: 'boolean';
1672
- value: boolean;
1673
- }
1674
- interface IterableAttributes {
1675
- attributeType: 'iterable';
1676
- options: SelectOption$1[];
1677
- }
1678
- interface DataConnectionAttributes {
1679
- id: string;
1680
- attributeType: 'data_model_field';
1681
- dataModelField: {
1682
- dataFieldName: string;
1683
- dataModelFieldId: string;
1684
- defaultValue?: string;
1685
- entitySubtypeId?: string;
1686
- entitySubtypeName?: string;
1687
- };
1688
- }
1689
- interface ConditionConfigAttributes {
1690
- id: string;
1691
- attributeType: 'condition_config';
1692
- conditionConfig: ConditionConfig;
1693
- }
1694
- interface ColorAttributes {
1695
- attributeType: 'color';
1696
- color: string;
1697
- }
1698
- declare type MoleculeTypes = 'image' | 'text' | 'button' | 'video' | 'header_tab_group' | 'input_field' | 'select_field' | 'radio_button_field' | 'checkbox_field' | 'consent' | 'link' | 'password_setup_field' | 'account_button';
1699
- interface BaseMolecule {
1700
- id: string;
1701
- instance: 'molecule';
1702
- type: MoleculeTypes;
1703
- metadata?: MetadataType;
1704
- }
1705
- interface ImageMolecule extends BaseMolecule {
1706
- type: 'image';
1707
- attributes: Partial<{
1708
- image: ImageAttributes;
1709
- altText: Omit<TextAttributes, 'isRichText'>;
1710
- link: LinkAttributes;
1711
- }>;
1712
- config: {
1713
- props?: Omit<ImageProps$1, 'src' | 'link' | 'altText'>;
1714
- };
1715
- }
1716
- interface TextMoleculeType extends BaseMolecule {
1717
- type: 'text';
1718
- attributes: Partial<{
1719
- text: TextAttributes;
1720
- seoStyle: SelectAttributes;
1721
- fontVariant: SelectAttributes;
1722
- color: ColorAttributes;
1723
- }>;
1724
- config: {
1725
- props?: TextMoleculeProps$1;
1726
- };
1727
- }
1728
- interface ButtonMolecule extends BaseMolecule {
1729
- type: 'button';
1730
- attributes: Partial<{
1731
- title: TextAttributes;
1732
- action: ActionAttributes;
1733
- }>;
1734
- config: {
1735
- props?: Partial<Omit<ButtonProps$1, 'disabled' | 'children' | 'link' | 'text' | 'onClick' | 'elementId'>>;
1736
- };
1737
- }
1738
- interface VideoMolecule extends BaseMolecule {
1739
- type: 'video';
1740
- attributes: Partial<{
1741
- video: VideoAttributes;
1742
- altText: Omit<TextAttributes, 'isRichText'>;
1743
- autoPlayVideo: BooleanAttributes;
1744
- enableCoverImage: BooleanAttributes;
1745
- coverImage: ImageAttributes;
1746
- }>;
1747
- config: {
1748
- props: Partial<{
1749
- width: number;
1750
- styles: StylesType;
1733
+ rules: ControllerProps$1['rules'];
1734
+ styles: StylesType;
1735
+ control: Control$1<any>;
1736
+ optional: boolean;
1737
+ required: boolean;
1738
+ labelsProps: FieldLabelsProps;
1739
+ defaultValue: string;
1740
+ radioButtonsProps: RadioButtonsProps$1<T>;
1741
+ internalConfig: RadioButtonInternalConfigProps$1;
1742
+ conditionConfig: ConditionConfig$1;
1743
+ state: FormStateType$1;
1744
+ formData: AnyObject$1;
1745
+ htmlElementId: string;
1746
+ }>;
1747
+ declare const RadioButtonField: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, conditionConfig, formData, htmlElementId, state, }: Partial<{
1748
+ name: string;
1749
+ rules: ControllerProps$1['rules'];
1750
+ styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1751
+ control: Control$1<any>;
1752
+ optional: boolean;
1753
+ required: boolean;
1754
+ labelsProps: FieldLabelsProps;
1755
+ defaultValue: string;
1756
+ radioButtonsProps: Partial<{
1757
+ ref: react_hook_form.RefCallBack;
1758
+ name: string;
1759
+ value: T;
1760
+ options: atoms.SelectOption[];
1761
+ onBlur: typescript.Callback;
1762
+ onChange: (value: T) => void;
1763
+ isRow: boolean;
1764
+ isError: boolean;
1765
+ disabled: boolean;
1766
+ isEditMode: boolean;
1767
+ isRichText: boolean;
1768
+ internalConfig: Partial<{
1769
+ selectedRadioOptionBackgroundColor: string;
1770
+ selectedRadioOptionIndicatorColor: string;
1771
+ buttonPadding: number;
1772
+ textPadding: number;
1773
+ styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1774
+ wrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1775
+ buttonOptionSpacing: SizesTypes;
1776
+ radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1751
1777
  }>;
1752
- };
1753
- }
1754
- interface TabGroupMolecule extends BaseMolecule {
1755
- type: 'header_tab_group';
1756
- config: {
1757
- props: TabGroupProps$1;
1758
- wide: AdditionalTabContainerProps$1;
1759
- compact: AdditionalTabContainerProps$1;
1760
- };
1761
- }
1762
- interface TextInputMolecule extends BaseMolecule {
1763
- type: 'input_field';
1764
- attributes: Partial<{
1765
- label: TextAttributes;
1766
- required: BooleanAttributes;
1767
- inputType: SelectAttributes;
1768
- dataModelField: DataConnectionAttributes;
1769
- conditionConfig: ConditionConfigAttributes;
1770
- }>;
1771
- config: {
1772
- props: InputFieldProps$1;
1773
- };
1774
- }
1775
- interface SelectFieldMolecule extends BaseMolecule {
1776
- type: 'select_field';
1777
- attributes: Partial<{
1778
- label: TextAttributes;
1779
- required: BooleanAttributes;
1780
- options: IterableAttributes;
1781
- dataModelField: DataConnectionAttributes;
1782
- conditionConfig: ConditionConfigAttributes;
1783
- }>;
1784
- config: {
1785
- props: SelectFieldProps$1;
1786
- };
1787
- }
1788
- interface RadioButtonFieldMolecule extends BaseMolecule {
1789
- type: 'radio_button_field';
1790
- attributes: Partial<{
1791
- label: TextAttributes;
1792
- required: BooleanAttributes;
1793
- options: IterableAttributes;
1794
- dataModelField: DataConnectionAttributes;
1795
- conditionConfig: ConditionConfigAttributes;
1796
- }>;
1797
- config: {
1798
- props: RadioButtonFieldProps$1<string>;
1799
- };
1800
- }
1801
- interface CheckboxFieldMolecule extends BaseMolecule {
1802
- type: 'checkbox_field';
1803
- attributes: Partial<{
1804
- label: TextAttributes;
1805
- required: BooleanAttributes;
1806
- options: IterableAttributes;
1807
- dataModelField: DataConnectionAttributes;
1808
- conditionConfig: ConditionConfigAttributes;
1809
1778
  }>;
1810
- config: {
1811
- props: CheckboxFieldProps$1;
1812
- };
1813
- }
1814
- interface ConsentFieldMolecule extends BaseMolecule {
1815
- type: 'consent';
1816
- attributes: Partial<{
1817
- consent: Partial<{
1818
- attributeType: 'consent';
1819
- consent: ConsentType$1;
1820
- required: BooleanAttributes;
1821
- }>;
1822
- conditionConfig: ConditionConfigAttributes;
1779
+ internalConfig: Partial<{
1780
+ selectedRadioOptionBackgroundColor: string;
1781
+ selectedRadioOptionIndicatorColor: string;
1782
+ buttonPadding: number;
1783
+ textPadding: number;
1784
+ styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1785
+ wrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1786
+ buttonOptionSpacing: SizesTypes;
1787
+ radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1823
1788
  }>;
1824
- config: {
1825
- props: Partial<{
1826
- state: 'field_error';
1827
- }>;
1828
- };
1829
- }
1830
- interface LinkMolecule extends BaseMolecule {
1831
- type: 'link';
1832
- attributes: {
1833
- text: TextAttributes;
1834
- link: LinkAttributes;
1835
- };
1836
- config: {
1837
- props: Omit<LinkProps$1, '$variant' | '$styles'> & Partial<{
1838
- variant: LinkVariant$1;
1839
- styles: StylesType;
1840
- }>;
1789
+ conditionConfig: ConditionConfig$1;
1790
+ state: FormStateType$1;
1791
+ formData: AnyObject$1;
1792
+ htmlElementId: string;
1793
+ }>) => JSX.Element | null;
1794
+
1795
+ declare type AlertProps = {
1796
+ style?: CSSProperties;
1797
+ title: string;
1798
+ description: string;
1799
+ color?: string;
1800
+ isMobile?: boolean;
1801
+ logo?: string;
1802
+ fullWidth?: boolean;
1803
+ withCloseIcon?: {
1804
+ onClose: Callback$1;
1841
1805
  };
1842
- }
1843
- interface PasswordSetupMolecule extends BaseMolecule {
1844
- type: 'password_setup_field';
1845
- attributes: Partial<{
1846
- passwordFieldLabel: TextAttributes;
1847
- reenteredPasswordFieldLabel: TextAttributes;
1848
- passwordFieldRequired: BooleanAttributes;
1849
- reenteredPasswordFieldRequired: BooleanAttributes;
1850
- dataModelField: DataConnectionAttributes;
1806
+ fontColor?: ThemeColors$1;
1807
+ destinationLink?: string;
1808
+ onDestinationHandler?: Callback$1;
1809
+ containerStyles?: CSSProperties;
1810
+ };
1811
+ declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, containerStyles, isMobile, ...props }: AlertProps) => JSX.Element;
1812
+
1813
+ declare type OrientationType = 'horizontal' | 'vertical';
1814
+ declare type StepperProps = {
1815
+ steps: {
1816
+ title: string;
1817
+ description?: string;
1818
+ status?: ProcessTrackerStatus$1;
1819
+ }[];
1820
+ currentStep: number;
1821
+ orientation?: OrientationType;
1822
+ };
1823
+ declare const Stepper: ({ steps, orientation, currentStep }: StepperProps) => JSX.Element;
1824
+
1825
+ declare type PdfDocumentProps = {
1826
+ source: string;
1827
+ isMobile?: boolean;
1828
+ customDocumentStyles?: Partial<{
1829
+ wrapperBackgroundColor: ThemeColors$1 | string;
1830
+ pageNumberColor: ThemeColors$1 | string;
1831
+ pageWidth: number;
1832
+ pageHeight: number;
1833
+ paginationArrowColor: ThemeColors$1 | string;
1834
+ disabledPaginationArrowColor: ThemeColors$1 | string;
1851
1835
  }>;
1852
- config: {
1853
- props: {
1854
- validationLabel?: string;
1855
- state?: FormStateType;
1856
- passwordInputProps: InputFieldProps$1;
1857
- reenteredPasswordInputProps: InputFieldProps$1;
1858
- };
1859
- };
1860
- }
1861
- interface AccountButtonMolecule extends BaseMolecule {
1862
- type: 'account_button';
1863
- config: {
1864
- props: AvatarDropdownProps$1<AvatarDropdownMenuConfigType$1>;
1865
- };
1866
- }
1867
- declare type Molecule = StrictUnion<ImageMolecule | TextMoleculeType | ButtonMolecule | VideoMolecule | TabGroupMolecule | TextInputMolecule | SelectFieldMolecule | RadioButtonFieldMolecule | CheckboxFieldMolecule | ConsentFieldMolecule | LinkMolecule | PasswordSetupMolecule | AccountButtonMolecule> & Partial<{
1868
- form: UseFormReturn<any>;
1869
- formData: AnyObject$1;
1870
- setFormData: Dispatch<SetStateAction<AnyObject$1>>;
1836
+ };
1837
+ declare const PdfDocument: ({ source, isMobile, customDocumentStyles, }: PdfDocumentProps) => JSX.Element;
1838
+
1839
+ declare type FeedTemplateKeys = `feed_${'a' | 'b'}`;
1840
+ declare type FeedContentHeaderProps = {
1841
+ title: string;
1842
+ enableFavoriting?: boolean;
1843
+ templateType: FeedTemplateKeys;
1844
+ isMobile?: boolean;
1845
+ menuConfig: MenuItemsProps$1<FilteredFeedContentType$1>;
1846
+ } & Partial<Omit<InputFieldProps$1, 'labelsProps' | 'required' | 'optional'>>;
1847
+ declare const FeedContentHeader: ({ templateType, title, name, inputProps, isMobile, menuConfig, ...rest }: FeedContentHeaderProps) => JSX.Element;
1848
+
1849
+ declare type ToggleFieldProps = {
1850
+ name: string;
1851
+ title: string;
1852
+ control?: Control$1<any>;
1853
+ description?: string;
1854
+ horizontalButtonsProps: HorizontalButtonsProps$1;
1855
+ defaultValue?: string;
1856
+ };
1857
+ declare const HorizontalButtonsField: ({ name, title, control, description, horizontalButtonsProps, }: ToggleFieldProps) => JSX.Element;
1858
+
1859
+ declare type BottomNaVBarItemProps = {
1860
+ name: string;
1861
+ icon: ComponentType<Omit<IconProps$1, 'name'>>;
1862
+ active: boolean;
1863
+ activeColor: string;
1864
+ onNavigate: Callback;
1865
+ };
1866
+ declare const BottomNavBarItem: ({ name, icon, active, activeColor, onNavigate, }: BottomNaVBarItemProps) => JSX.Element;
1867
+
1868
+ declare type VideoProps = {
1869
+ src: string;
1870
+ } & Partial<{
1871
+ width: number;
1872
+ height: number;
1873
+ autoplay: boolean;
1874
+ enableCoverImage: boolean;
1875
+ coverImageSrc: string;
1876
+ style: CSSProperties;
1877
+ styles: StylesType;
1878
+ template: FeedContentTemplateTypes$1;
1879
+ htmlElementId: string;
1880
+ }>;
1881
+ declare const Video: ({ style, src, width, height, template, autoplay, enableCoverImage, coverImageSrc, styles, htmlElementId, }: VideoProps) => JSX.Element | null;
1882
+
1883
+ declare type ImageProps = {
1884
+ src: string;
1885
+ } & Partial<{
1886
+ id: string;
1887
+ altText: string;
1888
+ link: string;
1889
+ onClick: Callback$1;
1890
+ width: number;
1891
+ height: number;
1892
+ cornerRadius: number;
1893
+ behaveAs: 'background' | 'regular';
1894
+ styles: StylesType;
1895
+ stateConfig: MetadataStateConfig$1[];
1896
+ htmlElementId: string;
1871
1897
  }>;
1898
+ declare const Image: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, stateConfig, htmlElementId, }: ImageProps) => JSX.Element | null;
1872
1899
 
1873
- declare type ContainerType = 'row' | 'column' | 'slider' | 'form' | 'form_step' | 'dynamic';
1874
- declare type ContainerTemplateType = 'row_content_container';
1875
- declare type WrappedContainerType = Extract<ContainerType, 'slider' | 'form' | 'form_step'>;
1876
- declare type ContainerPositionType = 'fixed' | 'sticky' | 'static' | 'relative';
1877
- declare type ContainerScrollBehaviourType = 'vertical' | 'horizontal' | 'auto' | 'none';
1878
- declare type StateActionType = 'visible' | 'disabled';
1879
- declare type StateEventType = 'click' | 'view';
1880
- declare type StateListenerConfigType = {
1881
- role: 'stateListener';
1882
- stateKey: string;
1883
- stateValue: string | boolean;
1884
- defaultState: Partial<Record<StateActionType, boolean>>;
1885
- action: Partial<Record<StateActionType, boolean>>;
1886
- };
1887
- declare type StateModifierConfigType = {
1888
- role: 'stateModifier';
1889
- stateKey: string;
1890
- event: StateEventType;
1891
- };
1892
- declare type MetadataStateConfig = StateListenerConfigType | StateModifierConfigType;
1893
- declare type MetadataType = AnyObject$1 & {
1894
- stateConfig: MetadataStateConfig[];
1895
- notEditable?: boolean;
1896
- hasOwnButton?: boolean;
1897
- };
1898
- declare type SliderProps = {
1900
+ declare type CarouselProps = {
1901
+ children: JSX.Element[];
1899
1902
  autoplay?: boolean;
1900
1903
  autoplayDuration?: number;
1901
1904
  };
1902
- declare type FormStepContainerProps = {
1903
- formStepName: string;
1904
- order: number;
1905
- conditionConfig: ConditionConfig;
1906
- formStepStyles?: CSSProperties;
1907
- };
1908
- declare type FormContainerProps = {
1909
- mode: keyof ValidationMode;
1910
- };
1911
- declare type PaddingVariants = 'top' | 'right' | 'bottom' | 'left';
1912
- declare type Padding = Record<PaddingVariants, SizesTypes$1 | string> | SizesTypes$1 | string;
1913
- declare type ContainerPropsType = Partial<{
1914
- position: ContainerPositionType;
1915
- scrollBehaviour: ContainerScrollBehaviourType;
1905
+ declare const Carousel: ({ children, autoplay, autoplayDuration, }: PropsWithChildren<CarouselProps>) => JSX.Element;
1906
+ declare const Wrapper: styled_components.StyledComponent<"section", styled_components.DefaultTheme, {}, never>;
1907
+ declare const SlidesWrapper: styled_components.StyledComponent<"ul", styled_components.DefaultTheme, {
1908
+ translateX: number;
1909
+ }, never>;
1910
+ declare const Slide: styled_components.StyledComponent<"li", styled_components.DefaultTheme, {}, never>;
1911
+ declare const ButtonsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
1912
+ declare const ArrowIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
1913
+ arrowSide: 'left' | 'right';
1914
+ }, never>;
1915
+ declare const NavigationDotsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
1916
+
1917
+ declare type TextMoleculeProps = Partial<{
1918
+ text: string;
1919
+ variant: 'base' | 'custom';
1920
+ fontVariant: FontSizesTypes$2;
1921
+ textSize: number;
1922
+ textColor: ThemeColors$1 | string;
1923
+ letterSpacing: number;
1924
+ lineHeight: number;
1925
+ fontWeight: string | number;
1926
+ isRichText: boolean;
1927
+ styles: StylesType;
1928
+ textAlign: 'center' | 'right' | 'left';
1929
+ htmlElementId: string;
1930
+ }> & Pick<TextProps$1, 'seoTag' | 'numberOfLines'>;
1931
+ declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, htmlElementId, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
1932
+
1933
+ declare type ButtonVariant = 'primary' | 'secondary' | 'text' | 'custom';
1934
+ declare type ButtonType = 'button' | 'submit' | 'reset';
1935
+ declare type BaseButtonProps = PropsWithChildren<Partial<{
1936
+ onClick: Callback$1;
1937
+ variant: ButtonVariant;
1938
+ disabled: boolean;
1939
+ state: 'disabled' | 'enabled';
1940
+ fullWidth: boolean;
1941
+ size: 'medium' | 'small';
1942
+ buttonFont: FontSizesTypes$2;
1943
+ textColor: ThemeColors$1 | string;
1944
+ textSize: number;
1945
+ horizontalPadding: SizesTypes$1;
1946
+ verticalPadding: SizesTypes$1;
1947
+ buttonColor: ThemeColors$1 | string;
1948
+ buttonStroke: ThemeColors$1 | string;
1916
1949
  cornerRadius: SizesTypes$1 | number;
1917
- gap: SizesTypes$1;
1950
+ hoverButtonColor: ThemeColors$1 | string;
1951
+ hoverStrokeColor: ThemeColors$1 | string;
1952
+ inactiveButtonColor: ThemeColors$1 | string;
1953
+ inactiveStrokeColor: ThemeColors$1 | string;
1954
+ inactiveTextColor: ThemeColors$1 | string;
1918
1955
  styles: StylesType;
1919
- sliderProps: SliderProps;
1920
- formProps: FormContainerProps;
1921
- formStepProps: FormStepContainerProps;
1922
- padding: Padding;
1923
- border: string;
1924
- activeChildrenIds: string[];
1925
- activeOrganismIds: string[];
1926
- }>;
1927
- declare type AdditionalContainerProps = Partial<{
1928
- containerStyle: CSSProperties;
1929
- containerProps: ContainerPropsType;
1930
- }>;
1931
- declare type ContainerProps = PropsWithChildren<Partial<{
1932
- type: ContainerType;
1933
- containerTemplateType: ContainerTemplateType;
1934
- wide: AdditionalContainerProps;
1935
- compact: AdditionalContainerProps;
1936
- props: ContainerPropsType;
1937
- metadata: MetadataType;
1938
- isMobile: boolean;
1956
+ colorTheme: 'light' | 'dark';
1957
+ href: string;
1958
+ type: ButtonType;
1939
1959
  }>>;
1940
- declare type ContainerComponentProps = {
1941
- id: string;
1942
- instance: 'container';
1943
- type: ContainerType;
1944
- items: (ContainerComponentProps | Molecule)[];
1945
- config: Partial<{
1946
- wide: AdditionalContainerProps;
1947
- compact: AdditionalContainerProps;
1948
- props: ContainerPropsType;
1949
- }>;
1950
- tabsProps?: Pick<TabGroupProps$1, 'tabs' | 'activeTabKey' | 'onTabChange'>;
1951
- metadata?: MetadataType;
1952
- attributes?: AnyObject$1;
1953
- containerLibraryId?: string;
1954
- isMobile?: boolean;
1955
- };
1956
- declare type CriteriaType = 'operator' | 'condition';
1957
- declare type ConditionCriteria = {
1958
- id: string;
1959
- type: CriteriaType;
1960
- operator: string;
1961
- dataFieldId: Nullable<string>;
1962
- dataFieldName: Nullable<string>;
1963
- dataValue: Nullable<string>;
1964
- connectedTo: Nullable<string>;
1960
+ declare type ButtonProps = BaseButtonProps & {
1961
+ fullWidth?: boolean;
1962
+ text?: string;
1963
+ link?: string;
1964
+ elementId?: string;
1965
+ loading?: boolean;
1966
+ isRichText?: boolean;
1967
+ containerStyle?: StylesType;
1968
+ buttonStyle?: StylesType;
1969
+ stateConfig?: MetadataStateConfig$1[];
1970
+ htmlElementId?: string;
1965
1971
  };
1966
- declare type SegmentationType = 'simple' | 'advanced';
1967
- declare type ConditionConfig = Nullable<{
1968
- id: string;
1969
- segmentationType: SegmentationType;
1970
- criteriaList: ConditionCriteria[];
1971
- }>;
1972
- declare type FormDataStateConfig = {
1973
- value?: string | number;
1974
- } & Record<string, {
1975
- value?: string | number;
1976
- }>;
1977
- declare type StateConfigType = Record<string, Nullable<boolean | string | FormDataStateConfig>>;
1972
+ declare const Button: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, ...props }: ButtonProps) => JSX.Element | null;
1978
1973
 
1979
- declare const ContainerWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, Pick<ContainerProps$1, "type"> & {
1980
- containerProps?: Partial<{
1981
- position: containers_types_types.ContainerPositionType;
1982
- scrollBehaviour: containers_types_types.ContainerScrollBehaviourType;
1983
- cornerRadius: number | SizesTypes$1;
1984
- gap: SizesTypes$1;
1985
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1986
- sliderProps: containers_types_types.SliderProps;
1987
- formProps: containers_types_types.FormContainerProps;
1988
- formStepProps: containers_types_types.FormStepContainerProps;
1989
- padding: containers_types_types.Padding;
1990
- border: string;
1991
- activeChildrenIds: string[];
1992
- activeOrganismIds: string[];
1993
- }> | undefined;
1994
- metadata?: AnyObject | undefined;
1974
+ declare type ZealUIModalProps = PropsWithChildren<Pick<ModalProps, 'open'>> & {
1975
+ padding?: number | string;
1976
+ wrapperStyles?: CSSProperties;
1977
+ onKeyDown?: <T extends HTMLElement>(event: KeyboardEvent<T>) => void;
1978
+ modalStyles?: CSSProperties;
1979
+ onClose?: Callback$1;
1980
+ };
1981
+ declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, ...rest }: ZealUIModalProps) => JSX.Element;
1982
+ declare const ModalWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, OverrideStyles, never>;
1983
+ declare const IconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
1984
+ activeOpacity?: number | undefined;
1985
+ withoutOpacityEffect?: boolean | undefined;
1986
+ disabled?: boolean | undefined;
1987
+ } & {
1988
+ children?: react__default.ReactNode;
1995
1989
  }, never>;
1996
1990
 
1997
- declare type OrganismItemProps = {
1998
- item: ContainerComponentProps$1 | Molecule$1;
1999
- tabsProps?: Pick<TabGroupProps$1, 'tabs' | 'activeTabKey' | 'onTabChange'>;
2000
- formData?: AnyObject$1;
2001
- setFormData?: Dispatch<SetStateAction<AnyObject$1>>;
2002
- isMobile?: boolean;
1991
+ declare type ConsentCaptureMethod = 'button' | 'radioButton' | 'checkbox';
1992
+ declare type DefaultSelectionType = 'confirmation' | 'rejection';
1993
+ declare type ConsentType = {
1994
+ id: string;
1995
+ name: string;
1996
+ acknowledgment: CustomDescendant[];
1997
+ methodOfCapture: ConsentCaptureMethod;
1998
+ description: string;
1999
+ language: CustomDescendant[];
2000
+ expiration: string;
2001
+ confirmationButtonText: string;
2002
+ rejectionButtonText: string;
2003
+ defaultSelection: DefaultSelectionType;
2004
+ value?: DefaultSelectionType | boolean;
2005
+ isRequired?: boolean;
2003
2006
  };
2004
- declare const OrganismItem: ({ item, tabsProps, formData, setFormData, isMobile, }: OrganismItemProps) => JSX.Element | null;
2005
-
2006
- declare type FormOrganismItemProps = {
2007
- item: ContainerComponentProps$2;
2008
- activeChildrenIds: string[];
2009
- formData?: AnyObject$1;
2010
- setFormData?: Dispatch<SetStateAction<AnyObject$1>>;
2011
- isMobile?: boolean;
2007
+ declare type ConsentProps<T extends string = string> = {
2008
+ text: string;
2009
+ isRequired?: boolean;
2010
+ consentCaptureProps: ConsentCaptureProps<T>;
2011
+ containerStyles?: CSSProperties;
2012
+ clearStyles?: boolean;
2012
2013
  };
2013
- declare const FormOrganismItem: ({ formData, setFormData, isMobile, ...props }: FormOrganismItemProps) => JSX.Element | null;
2014
+ declare const Consent: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: ConsentProps<T>) => JSX.Element;
2015
+
2016
+ declare type LinkProps = Omit<TextButtonProps$1, 'children'> & Partial<{
2017
+ text: string;
2018
+ isRichText: boolean;
2019
+ href: string;
2020
+ htmlElementId: string;
2021
+ }>;
2022
+ declare const Link: ({ text, isRichText, htmlElementId, ...props }: LinkProps) => JSX.Element | null;
2014
2023
 
2015
- export { AccountButtonContext, AccountButtonContextType, AccountButtonMolecule, AccountButtonProvider, AccountButtonProviderProps, AcquisitionForm, AcquisitionFormProps, ActionAttributes, ActionTypes, AdditionalContainerProps, AdditionalTabContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownMenuConfigType, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMolecule, ButtonProps, ButtonType, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, Checkbox, CheckboxField, CheckboxFieldMolecule, CheckboxFieldProps, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CheckboxesProps, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorAttributes, ColumnItem, Columns, ColumnsProps, ConditionConfig, ConditionConfigAttributes, ConditionCriteria, Consent, ConsentCaptureMethod, ConsentFieldMolecule, ConsentProps, ConsentType, Container, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CriteriaType, CustomValidation, CustomValidationProps, CustomValidationRule, DataConnectionAttributes, DefaultSelectionType, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, DownloadFile, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, ErrorText, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, FormContainerProps, FormDataStateConfig, FormOrganismItem, FormStateType, FormStepContainerProps, FormStepContextProviderProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconWrapper, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, IterableAttributes, LabelInternalConfig, Link, LinkAttributes, LinkMolecule, LinkProps, LinkVariant, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MetadataStateConfig, MetadataType, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismContext, OrganismContextProvider, OrganismContextType, OrganismItem, OrganismItemProps, OrientationType, Padding, PaddingVariants, PasswordSetupMolecule, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldMolecule, RadioButtonFieldProps, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, SegmentationType, Select, SelectAttributes, SelectField, SelectFieldMolecule, SelectFieldProps, SelectInternalConfigurationOptions, SelectOption, SelectProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Slide, SliderProps, SlidesWrapper, Spacer, SpacerProps, Spinner, StateActionType, StateConfigType, StateContext, StateContextProvider, StateContextProviderProps, StateContextType, StateEventType, StateListenerConfigType, StateModifierConfigType, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextInputMolecule, 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, WrappedContainerType, Wrapper, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, acquisitionFormMockFields, defaultTheme, defaultValue, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, passwordMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useButtonActionsContext, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
2024
+ export { AccountButtonContext, AccountButtonContextType, AccountButtonMolecule, AccountButtonProvider, AccountButtonProviderProps, AcquisitionForm, AcquisitionFormProps, ActionAttributes, ActionTypes, AdditionalContainerProps, AdditionalTabContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownMenuConfigType, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMolecule, ButtonProps, ButtonType, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, Checkbox, CheckboxField, CheckboxFieldMolecule, CheckboxFieldProps, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CheckboxesProps, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorAttributes, ColumnItem, Columns, ColumnsProps, ConditionConfig, ConditionConfigAttributes, ConditionCriteria, Consent, ConsentCaptureMethod, ConsentFieldMolecule, ConsentProps, ConsentType, Container, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CriteriaType, CustomValidation, CustomValidationProps, CustomValidationRule, DataConnectionAttributes, DataModelFieldFormat, DataModelFieldFormatCodeTypes, DataModelFieldFormatValueTypes, DefaultSelectionType, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, DownloadFile, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, ErrorText, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, FormContainerProps, FormDataStateConfig, FormOrganismItem, FormStateType, FormStepContainerProps, FormStepContextProviderProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconWrapper, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, IterableAttributes, LabelInternalConfig, Link, LinkAttributes, LinkMolecule, LinkProps, LinkVariant, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MetadataStateConfig, MetadataType, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismContext, OrganismContextProvider, OrganismContextType, OrganismItem, OrganismItemProps, OrientationType, Padding, PaddingVariants, PasswordSetupMolecule, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldMolecule, RadioButtonFieldProps, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, SegmentationType, Select, SelectAttributes, SelectField, SelectFieldMolecule, SelectFieldProps, SelectInternalConfigurationOptions, SelectOption, SelectProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Slide, SliderProps, SlidesWrapper, Spacer, SpacerProps, Spinner, StateActionType, StateConfigType, StateContext, StateContextProvider, StateContextProviderProps, StateContextType, StateEventType, StateListenerConfigType, StateModifierConfigType, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextInputMolecule, 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, WrappedContainerType, Wrapper, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, acquisitionFormMockFields, defaultTheme, defaultValue, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, passwordMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useButtonActionsContext, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };