@zealicsolutions/web-ui 0.2.143 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +27 -27
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/Buttons/Buttons.stories.d.ts +4 -4
- package/dist/cjs/src/atoms/Buttons/IconButton.d.ts +1 -1
- package/dist/cjs/src/atoms/Circle/Circle.d.ts +0 -1
- package/dist/cjs/src/atoms/Input/Input.d.ts +1 -3
- package/dist/cjs/src/atoms/Input/Input.stories.d.ts +1 -1
- package/dist/cjs/src/atoms/RadioButtons/RadioButtons.d.ts +21 -40
- package/dist/cjs/src/atoms/RadioButtons/RadioButtons.stories.d.ts +8 -22
- package/dist/cjs/src/atoms/RadioButtons/RadioOption.d.ts +3 -6
- package/dist/cjs/src/atoms/RadioButtons/helpers.d.ts +3 -9
- package/dist/cjs/src/atoms/RadioButtons/styles.d.ts +7 -7
- package/dist/cjs/src/atoms/RichTextViewer/types.d.ts +0 -1
- package/dist/cjs/src/atoms/Select/Select.d.ts +14 -19
- package/dist/cjs/src/atoms/Select/Select.stories.d.ts +1 -14
- package/dist/cjs/src/containers/MoleculeItem.d.ts +0 -1
- package/dist/cjs/src/containers/mock-data.d.ts +0 -1
- package/dist/cjs/src/containers/types/moleculeTypes.d.ts +11 -38
- package/dist/cjs/src/containers/types/types.d.ts +4 -7
- package/dist/cjs/src/contexts/MlrRichTextViewerContext/types.d.ts +0 -3
- package/dist/cjs/src/contexts/index.d.ts +0 -3
- package/dist/cjs/src/fieldsConfiguration/types.d.ts +1 -1
- package/dist/cjs/src/helpers/validations.d.ts +0 -7
- package/dist/cjs/src/molecules/Button/Button.d.ts +2 -1
- package/dist/cjs/src/molecules/Button/Button.stories.d.ts +2 -2
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.stories.d.ts +1 -18
- package/dist/cjs/src/molecules/CheckboxField/CheckboxGroup.d.ts +1 -5
- package/dist/cjs/src/molecules/Drawer/Drawer.stories.d.ts +2 -2
- package/dist/cjs/src/molecules/Image/Image.d.ts +2 -3
- package/dist/cjs/src/molecules/Image/Image.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/InputField/InputField.stories.d.ts +1 -18
- package/dist/cjs/src/molecules/PdfDocument/PdfDocument.d.ts +1 -0
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.d.ts +16 -41
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +10 -51
- package/dist/cjs/src/molecules/SelectField/SelectField.stories.d.ts +2 -32
- package/dist/cjs/src/molecules/TabGroup/TabGroup.d.ts +4 -2
- package/dist/cjs/src/molecules/TabGroup/styles.d.ts +3 -3
- package/dist/cjs/src/molecules/Video/Video.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/index.d.ts +0 -1
- package/dist/cjs/src/organisms/Consent/Consent.stories.d.ts +2 -2
- package/dist/cjs/src/typescript.d.ts +0 -6
- package/dist/esm/index.js +27 -27
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/Buttons/Buttons.stories.d.ts +4 -4
- package/dist/esm/src/atoms/Buttons/IconButton.d.ts +1 -1
- package/dist/esm/src/atoms/Circle/Circle.d.ts +0 -1
- package/dist/esm/src/atoms/Input/Input.d.ts +1 -3
- package/dist/esm/src/atoms/Input/Input.stories.d.ts +1 -1
- package/dist/esm/src/atoms/RadioButtons/RadioButtons.d.ts +21 -40
- package/dist/esm/src/atoms/RadioButtons/RadioButtons.stories.d.ts +8 -22
- package/dist/esm/src/atoms/RadioButtons/RadioOption.d.ts +3 -6
- package/dist/esm/src/atoms/RadioButtons/helpers.d.ts +3 -9
- package/dist/esm/src/atoms/RadioButtons/styles.d.ts +7 -7
- package/dist/esm/src/atoms/RichTextViewer/types.d.ts +0 -1
- package/dist/esm/src/atoms/Select/Select.d.ts +14 -19
- package/dist/esm/src/atoms/Select/Select.stories.d.ts +1 -14
- package/dist/esm/src/containers/MoleculeItem.d.ts +0 -1
- package/dist/esm/src/containers/mock-data.d.ts +0 -1
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +11 -38
- package/dist/esm/src/containers/types/types.d.ts +4 -7
- package/dist/esm/src/contexts/MlrRichTextViewerContext/types.d.ts +0 -3
- package/dist/esm/src/contexts/index.d.ts +0 -3
- package/dist/esm/src/fieldsConfiguration/types.d.ts +1 -1
- package/dist/esm/src/helpers/validations.d.ts +0 -7
- package/dist/esm/src/molecules/Button/Button.d.ts +2 -1
- package/dist/esm/src/molecules/Button/Button.stories.d.ts +2 -2
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.stories.d.ts +1 -18
- package/dist/esm/src/molecules/CheckboxField/CheckboxGroup.d.ts +1 -5
- package/dist/esm/src/molecules/Drawer/Drawer.stories.d.ts +2 -2
- package/dist/esm/src/molecules/Image/Image.d.ts +2 -3
- package/dist/esm/src/molecules/Image/Image.stories.d.ts +1 -1
- package/dist/esm/src/molecules/InputField/InputField.stories.d.ts +1 -18
- package/dist/esm/src/molecules/PdfDocument/PdfDocument.d.ts +1 -0
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.d.ts +16 -41
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +10 -51
- package/dist/esm/src/molecules/SelectField/SelectField.stories.d.ts +2 -32
- package/dist/esm/src/molecules/TabGroup/TabGroup.d.ts +4 -2
- package/dist/esm/src/molecules/TabGroup/styles.d.ts +3 -3
- package/dist/esm/src/molecules/Video/Video.stories.d.ts +1 -1
- package/dist/esm/src/molecules/index.d.ts +0 -1
- package/dist/esm/src/organisms/Consent/Consent.stories.d.ts +2 -2
- package/dist/esm/src/typescript.d.ts +0 -6
- package/dist/index.d.ts +117 -245
- package/package.json +5 -9
- package/dist/cjs/src/atoms/Input/helpers.d.ts +0 -18
- package/dist/cjs/src/contexts/ButtonActionsContext/ButtonActionsContext.d.ts +0 -11
- package/dist/cjs/src/contexts/ButtonActionsContext/ButtonActionsContextProvider.d.ts +0 -11
- package/dist/cjs/src/contexts/hooks/useButtonActionsContext.d.ts +0 -1
- package/dist/cjs/src/molecules/ZealUIModal/ZealUIModal.d.ts +0 -20
- package/dist/cjs/src/molecules/ZealUIModal/ZealUIModal.stories.d.ts +0 -9
- package/dist/esm/src/atoms/Input/helpers.d.ts +0 -18
- package/dist/esm/src/contexts/ButtonActionsContext/ButtonActionsContext.d.ts +0 -11
- package/dist/esm/src/contexts/ButtonActionsContext/ButtonActionsContextProvider.d.ts +0 -11
- package/dist/esm/src/contexts/hooks/useButtonActionsContext.d.ts +0 -1
- package/dist/esm/src/molecules/ZealUIModal/ZealUIModal.d.ts +0 -20
- package/dist/esm/src/molecules/ZealUIModal/ZealUIModal.stories.d.ts +0 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { PropsWithChildren, ReactNode, Dispatch, SetStateAction, CSSProperties as CSSProperties$1, ComponentType
|
|
3
|
+
import React__default, { PropsWithChildren, ReactNode, Dispatch, SetStateAction, CSSProperties as CSSProperties$1, ComponentType } from 'react';
|
|
4
4
|
import * as styled_components from 'styled-components';
|
|
5
5
|
import { CSSProperties, DefaultTheme } from 'styled-components';
|
|
6
6
|
import { ThemeColors as ThemeColors$1, SizesTypes as SizesTypes$1, FontSizesTypes as FontSizesTypes$2 } from 'theme';
|
|
7
|
-
import
|
|
8
|
-
import { StylesType, AnyObject, Callback as Callback$1, OverrideStyles, StyledTransientProps, Nullable, StrictUnion } from 'typescript';
|
|
9
|
-
import { RefCallBack, Control as Control$1, ControllerProps as ControllerProps$1 } from 'react-hook-form/dist/types';
|
|
7
|
+
import { StylesType, Callback as Callback$1, OverrideStyles, Nullable, StrictUnion } from 'typescript';
|
|
10
8
|
import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
|
|
11
|
-
import {
|
|
9
|
+
import { InputFieldTypes as InputFieldTypes$1, FieldTypes as FieldTypes$1, UIFields as UIFields$2 } from 'fieldsConfiguration/types';
|
|
12
10
|
import { ThemeColors as ThemeColors$2, FontSizesTypes as FontSizesTypes$1, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
|
|
13
|
-
import
|
|
14
|
-
import { ControllerProps, DeepPartial, FieldValues, FormState, Control, UseFormReturn, ValidationMode } from 'react-hook-form';
|
|
15
|
-
import * as atoms from 'atoms';
|
|
16
|
-
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, RadioButtonsProps as RadioButtonsProps$1, InputProps as InputProps$1, SelectProps as SelectProps$1, RegularImageProps as RegularImageProps$1, TextButtonProps as TextButtonProps$1, TabTheme as TabTheme$1, RadioButtonInternalConfigProps as RadioButtonInternalConfigProps$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1 } from 'atoms';
|
|
17
|
-
import { InputFieldProps as InputFieldProps$1, SelectFieldProps as SelectFieldProps$1, FieldSectionProps as FieldSectionProps$1, BaseButtonProps as BaseButtonProps$1, MenuItem as MenuItem$1, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, ButtonProps as ButtonProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1, MenuItemsProps as MenuItemsProps$1, ImageProps as ImageProps$1, TextMoleculeProps as TextMoleculeProps$1, AdditionalTabContainerProps as AdditionalTabContainerProps$1, RadioButtonFieldProps as RadioButtonFieldProps$1, CheckboxFieldProps as CheckboxFieldProps$1 } from 'molecules';
|
|
11
|
+
import { BaseButtonProps as BaseButtonProps$1, MenuItem as MenuItem$1, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, ButtonProps as ButtonProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1, InputFieldProps as InputFieldProps$1, SelectFieldProps as SelectFieldProps$1, FieldSectionProps as FieldSectionProps$1, MenuItemsProps as MenuItemsProps$1, ImageProps as ImageProps$1, TextMoleculeProps as TextMoleculeProps$1, RadioButtonFieldProps as RadioButtonFieldProps$1, CheckboxFieldProps as CheckboxFieldProps$1 } from 'molecules';
|
|
18
12
|
import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
|
|
19
13
|
import { WithGoogleMapProps } from 'react-google-maps/lib/withGoogleMap';
|
|
20
14
|
import { WithScriptjsProps } from 'react-google-maps/lib/withScriptjs';
|
|
21
|
-
import
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
15
|
+
import * as atoms from 'atoms';
|
|
16
|
+
import { TextProps as TextProps$1, IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, AvatarProps as AvatarProps$1, TabProps as TabProps$1, RadioButtonsProps as RadioButtonsProps$1, SelectOption as SelectOption$1, InputProps as InputProps$1, SelectProps as SelectProps$1, RegularImageProps as RegularImageProps$1, TextButtonProps as TextButtonProps$1, TabTheme as TabTheme$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1 } from 'atoms';
|
|
17
|
+
import { UIFields as UIFields$1, UIField as UIField$1 } from 'fieldsConfiguration';
|
|
18
|
+
import { MaxRuleValidation, MinRuleValidation, SetPasswordFields } from 'organisms/SetPasswordForm/types';
|
|
24
19
|
import { ConsentProps as ConsentProps$1, FilteredFeedContentType as FilteredFeedContentType$1, HeroSliderProps as HeroSliderProps$1, ProcessTrackerProps as ProcessTrackerProps$1, ProcessTrackerStatus as ProcessTrackerStatus$1 } from 'organisms';
|
|
25
20
|
import { ConsentProps as ConsentProps$2 } from 'organisms/Consent/Consent';
|
|
26
21
|
import { FooterAProps } from 'organisms/Footer/FooterA';
|
|
@@ -32,14 +27,17 @@ import { SubscribePanelProps as SubscribePanelProps$1 } from 'organisms/Subscrib
|
|
|
32
27
|
import { ISIAProps } from 'organisms/ISI/ISIA';
|
|
33
28
|
import { HeaderAProps as HeaderAProps$1 } from 'organisms/Header/HeaderA';
|
|
34
29
|
import { FeedContentProps as FeedContentProps$1, FeedContentTemplateTypes as FeedContentTemplateTypes$1 } from 'organisms/FeedContent/types';
|
|
30
|
+
import * as react_hook_form from 'react-hook-form';
|
|
31
|
+
import { Control, ControllerProps, DeepPartial, FieldValues, FormState, UseFormReturn, ValidationMode } from 'react-hook-form';
|
|
35
32
|
import { AlertProps as AlertProps$2 } from 'molecules/Alert/Alert';
|
|
36
33
|
import { LoginFields as LoginFields$1 } from 'organisms/LoginForm/types';
|
|
37
34
|
import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewerContext/types';
|
|
38
35
|
import * as contexts_MlrRichTextViewerContext_MlrRichTextViewerContext from 'contexts/MlrRichTextViewerContext/MlrRichTextViewerContext';
|
|
39
|
-
import * as contexts_ButtonActionsContext_ButtonActionsContext from 'contexts/ButtonActionsContext/ButtonActionsContext';
|
|
40
|
-
import { ContainerComponentProps as ContainerComponentProps$1, ContainerProps as ContainerProps$1, Molecule as Molecule$1 } from 'containers';
|
|
41
36
|
export * from 'helpers/constants';
|
|
37
|
+
import { Control as Control$1, ControllerProps as ControllerProps$1 } from 'react-hook-form/dist/types';
|
|
42
38
|
import { CheckboxInternalConfigProps as CheckboxInternalConfigProps$1 } from 'atoms/Checkbox/types';
|
|
39
|
+
import { DrawerProps as DrawerProps$1 } from '@mui/material';
|
|
40
|
+
import { ContainerProps as ContainerProps$1, ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1 } from 'containers';
|
|
43
41
|
import * as containers_types_types from 'containers/types/types';
|
|
44
42
|
import { ContainerProps as ContainerProps$2 } from 'containers/types/types';
|
|
45
43
|
|
|
@@ -83,8 +81,6 @@ declare const Checkbox: ({ id, onClick, label, isError, disabled, isEditMode, is
|
|
|
83
81
|
declare type SelectOption = {
|
|
84
82
|
id: string;
|
|
85
83
|
label: string;
|
|
86
|
-
value?: string;
|
|
87
|
-
config?: AnyObject;
|
|
88
84
|
};
|
|
89
85
|
declare type SelectInternalConfigurationOptions = {
|
|
90
86
|
placeholderTextColor: ThemeColors$1 | string;
|
|
@@ -96,68 +92,19 @@ declare type SelectInternalConfigurationOptions = {
|
|
|
96
92
|
wrapperStyles: StylesType;
|
|
97
93
|
styles: StylesType;
|
|
98
94
|
};
|
|
99
|
-
declare type SelectProps =
|
|
100
|
-
ref: RefCallBack;
|
|
101
|
-
onBlur: Callback$1;
|
|
102
|
-
value: string;
|
|
103
|
-
optionsPresentation: boolean;
|
|
104
|
-
onChange: (value: string) => void;
|
|
105
|
-
placeholder: string;
|
|
106
|
-
disabled: boolean;
|
|
107
|
-
options: SelectOption[];
|
|
108
|
-
isError: boolean;
|
|
109
|
-
isEditMode: boolean;
|
|
110
|
-
selectInternalConfig: SelectInternalConfigurationOptions;
|
|
111
|
-
isRichText: boolean;
|
|
112
|
-
}>;
|
|
113
|
-
declare const Select: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, selectInternalConfig, isRichText, }: SelectProps) => JSX.Element;
|
|
114
|
-
|
|
115
|
-
declare const getFieldPlaceholder: (type: FieldTypes$1, title?: string) => string;
|
|
116
|
-
|
|
117
|
-
declare type InputFieldTypes = 'phone-number' | 'text' | 'email' | 'password' | 'numerical' | 'month_year_date' | 'day_month_year_date' | 'month_day_year_date' | 'us_zip_code' | 'any';
|
|
118
|
-
declare type FieldTypes = 'input' | 'select' | 'checkbox';
|
|
119
|
-
declare type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
|
|
120
|
-
name: T;
|
|
121
|
-
type: FieldTypes;
|
|
95
|
+
declare type SelectProps = {
|
|
122
96
|
value?: string;
|
|
123
|
-
|
|
97
|
+
optionsPresentation?: boolean;
|
|
98
|
+
onChange?: (value: string) => void;
|
|
124
99
|
placeholder?: string;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
inputType?: InputFieldTypes;
|
|
132
|
-
maxLength?: number;
|
|
133
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
134
|
-
} & InputFieldProps$1;
|
|
135
|
-
declare type UISelectField = {
|
|
136
|
-
options?: SelectOption$1[];
|
|
137
|
-
} & SelectFieldProps$1;
|
|
138
|
-
declare type UICheckboxField = {
|
|
139
|
-
checkboxLabel?: string;
|
|
100
|
+
disabled?: boolean;
|
|
101
|
+
options?: SelectOption[];
|
|
102
|
+
isError?: boolean;
|
|
103
|
+
isEditMode?: boolean;
|
|
104
|
+
selectInternalConfig?: SelectInternalConfigurationOptions;
|
|
105
|
+
isRichText?: boolean;
|
|
140
106
|
};
|
|
141
|
-
declare
|
|
142
|
-
|
|
143
|
-
declare const getInitialValuesFromFields: <T extends object>(fields: UIFields$1<T>) => DeepPartial<T>;
|
|
144
|
-
declare const isFormValid: <T extends FieldValues>(formState: FormState<T>) => boolean;
|
|
145
|
-
declare const getFieldsFromFieldSections: <T extends object>(sections: Pick<FieldSectionProps$1<T>, "fields">[]) => UIFields$1<T>;
|
|
146
|
-
|
|
147
|
-
declare const acquisitionFormMockFields: UIFields$1<Record<string, string>>;
|
|
148
|
-
declare const setPasswordMockFields: UIFields$1<SetPasswordFields>;
|
|
149
|
-
declare const loginMockFields: UIFields$1<LoginFields$1>;
|
|
150
|
-
declare const sectionMockFields: UIFields$1<Record<string, string>>;
|
|
151
|
-
declare const profileInformationMockForm: {
|
|
152
|
-
label: string;
|
|
153
|
-
fields: UIFields$1<Record<string, string>>;
|
|
154
|
-
}[];
|
|
155
|
-
|
|
156
|
-
declare type MaskConfig = Partial<{
|
|
157
|
-
maskPlaceholder: string;
|
|
158
|
-
dataModelFieldType: InputFieldTypes;
|
|
159
|
-
maskPattern: Array<string | RegExp>;
|
|
160
|
-
}>;
|
|
107
|
+
declare const Select: ({ onChange, value, placeholder, options, disabled, optionsPresentation, isError, selectInternalConfig, isRichText, }: SelectProps) => JSX.Element;
|
|
161
108
|
|
|
162
109
|
declare type InputFieldInternalConfigProps = Partial<{
|
|
163
110
|
textColor: ThemeColors$2 | string;
|
|
@@ -187,9 +134,8 @@ declare type InputProps = {
|
|
|
187
134
|
onChange?: (value: string) => void;
|
|
188
135
|
onKeyDown?: (event: React__default.KeyboardEvent<HTMLInputElement>) => void;
|
|
189
136
|
internalConfig?: InputFieldInternalConfigProps;
|
|
190
|
-
config?: MaskConfig;
|
|
191
137
|
};
|
|
192
|
-
declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, internalConfig,
|
|
138
|
+
declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, internalConfig, ...rest }: InputProps) => JSX.Element;
|
|
193
139
|
|
|
194
140
|
declare type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
|
|
195
141
|
declare type TextAlign = 'center' | 'right' | 'left';
|
|
@@ -389,56 +335,40 @@ declare type RichTextEditorProps = Partial<{
|
|
|
389
335
|
}>;
|
|
390
336
|
declare const RichTextViewer: ({ value, color, textStyles, font, numberOfLines, extraTextProps, }: RichTextEditorProps) => JSX.Element | null;
|
|
391
337
|
|
|
392
|
-
declare type RadioButtonInternalConfigProps =
|
|
338
|
+
declare type RadioButtonInternalConfigProps = {
|
|
393
339
|
selectedRadioOptionBackgroundColor: ThemeColors$1 | string;
|
|
394
340
|
selectedRadioOptionIndicatorColor: ThemeColors$1 | string;
|
|
395
341
|
buttonPadding: number;
|
|
396
342
|
textPadding: number;
|
|
397
343
|
styles: StylesType;
|
|
398
344
|
wrapperStyles: StylesType;
|
|
399
|
-
buttonOptionSpacing
|
|
400
|
-
|
|
401
|
-
|
|
345
|
+
buttonOptionSpacing?: SizesTypes$1;
|
|
346
|
+
};
|
|
347
|
+
declare type RadioButtonType<T extends string = string> = {
|
|
348
|
+
id: T;
|
|
349
|
+
label?: string;
|
|
350
|
+
error?: boolean;
|
|
351
|
+
disabled?: boolean;
|
|
352
|
+
isRichText?: boolean;
|
|
353
|
+
};
|
|
402
354
|
declare type RadioButtonsProps<T extends string> = Partial<{
|
|
403
|
-
|
|
404
|
-
name: string;
|
|
405
|
-
value: T;
|
|
406
|
-
options: SelectOption[];
|
|
407
|
-
onBlur: Callback$1;
|
|
355
|
+
isEditMode: boolean;
|
|
408
356
|
onChange: (value: T) => void;
|
|
357
|
+
value: T;
|
|
409
358
|
isRow: boolean;
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
isEditMode: boolean;
|
|
413
|
-
isRichText: boolean;
|
|
359
|
+
items: RadioButtonType<T>[];
|
|
360
|
+
name: string;
|
|
414
361
|
internalConfig: RadioButtonInternalConfigProps;
|
|
415
362
|
}>;
|
|
416
|
-
declare const RadioButtons: <T extends string>({
|
|
417
|
-
|
|
418
|
-
name: string;
|
|
419
|
-
value: T;
|
|
420
|
-
options: SelectOption[];
|
|
421
|
-
onBlur: Callback$1;
|
|
363
|
+
declare const RadioButtons: <T extends string>({ value, items, isRow, isEditMode, onChange, name, internalConfig, }: Partial<{
|
|
364
|
+
isEditMode: boolean;
|
|
422
365
|
onChange: (value: T) => void;
|
|
366
|
+
value: T;
|
|
423
367
|
isRow: boolean;
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
isRichText: boolean;
|
|
428
|
-
internalConfig: Partial<{
|
|
429
|
-
selectedRadioOptionBackgroundColor: ThemeColors$1 | string;
|
|
430
|
-
selectedRadioOptionIndicatorColor: ThemeColors$1 | string;
|
|
431
|
-
buttonPadding: number;
|
|
432
|
-
textPadding: number;
|
|
433
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
434
|
-
wrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
435
|
-
buttonOptionSpacing: SizesTypes$1;
|
|
436
|
-
radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
437
|
-
}>;
|
|
368
|
+
items: RadioButtonType<T>[];
|
|
369
|
+
name: string;
|
|
370
|
+
internalConfig: RadioButtonInternalConfigProps;
|
|
438
371
|
}>) => JSX.Element;
|
|
439
|
-
declare const RadioGroupWrapper: styled_components.StyledComponent<typeof RadioGroup, styled_components.DefaultTheme, StyledTransientProps<{
|
|
440
|
-
isRow: boolean;
|
|
441
|
-
}> & OverrideStyles, never>;
|
|
442
372
|
|
|
443
373
|
declare type CircleType = 'link' | 'message';
|
|
444
374
|
declare type CircleBoxProps = {
|
|
@@ -446,7 +376,6 @@ declare type CircleBoxProps = {
|
|
|
446
376
|
type: CircleType;
|
|
447
377
|
};
|
|
448
378
|
declare const Circle: ({ index, type }: CircleBoxProps) => JSX.Element;
|
|
449
|
-
declare const CirclesWrapper: styled_components.StyledComponent<"span", styled_components.DefaultTheme, {}, never>;
|
|
450
379
|
|
|
451
380
|
declare type CircularIndicatorProps = {
|
|
452
381
|
active: boolean;
|
|
@@ -523,7 +452,7 @@ declare type SetPasswordRuleValidation = {
|
|
|
523
452
|
rule: MaxRuleValidation | MinRuleValidation;
|
|
524
453
|
};
|
|
525
454
|
declare type SetPasswordFormProps = {
|
|
526
|
-
fields: UIFields$
|
|
455
|
+
fields: UIFields$1<SetPasswordFields>;
|
|
527
456
|
logoUrl: string;
|
|
528
457
|
isLoading?: boolean;
|
|
529
458
|
validations: SetPasswordRuleValidation[];
|
|
@@ -534,7 +463,7 @@ declare const SetPasswordForm: ({ logoUrl, fields, validations, onBack, onSubmit
|
|
|
534
463
|
|
|
535
464
|
declare const showAcceptToastMessage: () => void | undefined;
|
|
536
465
|
declare type AcquisitionFormProps<T extends object> = {
|
|
537
|
-
fields: UIFields$
|
|
466
|
+
fields: UIFields$1<T>;
|
|
538
467
|
consents: ConsentProps$1[];
|
|
539
468
|
logoUrl: string;
|
|
540
469
|
isLoading?: boolean;
|
|
@@ -570,7 +499,7 @@ declare type LoginFields = {
|
|
|
570
499
|
};
|
|
571
500
|
|
|
572
501
|
declare type LoginFormProps = {
|
|
573
|
-
fields: UIFields$
|
|
502
|
+
fields: UIFields$1<LoginFields>;
|
|
574
503
|
logoUrl: string;
|
|
575
504
|
isLoading?: boolean;
|
|
576
505
|
twoFactorAuthConfig?: {
|
|
@@ -866,6 +795,47 @@ declare const toastStyles: styled_components.FlattenSimpleInterpolation;
|
|
|
866
795
|
|
|
867
796
|
declare const useMediaQuery: (breakpointSize: BreakpointSizesTypes$1) => boolean;
|
|
868
797
|
|
|
798
|
+
declare const getFieldPlaceholder: (type: FieldTypes$1, title?: string) => string;
|
|
799
|
+
|
|
800
|
+
declare type InputFieldTypes = 'phone-number' | 'text' | 'email' | 'password' | 'numerical' | 'any';
|
|
801
|
+
declare type FieldTypes = 'input' | 'select' | 'checkbox';
|
|
802
|
+
declare type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
|
|
803
|
+
name: T;
|
|
804
|
+
type: FieldTypes;
|
|
805
|
+
value?: string;
|
|
806
|
+
label?: string;
|
|
807
|
+
placeholder?: string;
|
|
808
|
+
required?: boolean;
|
|
809
|
+
tooltip?: string;
|
|
810
|
+
rules?: ControllerProps['rules'];
|
|
811
|
+
order?: number;
|
|
812
|
+
};
|
|
813
|
+
declare type UIInputField = {
|
|
814
|
+
inputType?: InputFieldTypes;
|
|
815
|
+
maxLength?: number;
|
|
816
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
817
|
+
} & InputFieldProps$1;
|
|
818
|
+
declare type UISelectField = {
|
|
819
|
+
options?: SelectOption$1[];
|
|
820
|
+
} & SelectFieldProps$1;
|
|
821
|
+
declare type UICheckboxField = {
|
|
822
|
+
checkboxLabel?: string;
|
|
823
|
+
};
|
|
824
|
+
declare type UIFields<T extends object> = UIField<keyof T>[];
|
|
825
|
+
|
|
826
|
+
declare const getInitialValuesFromFields: <T extends object>(fields: UIFields$2<T>) => DeepPartial<T>;
|
|
827
|
+
declare const isFormValid: <T extends FieldValues>(formState: FormState<T>) => boolean;
|
|
828
|
+
declare const getFieldsFromFieldSections: <T extends object>(sections: Pick<FieldSectionProps$1<T>, "fields">[]) => UIFields$2<T>;
|
|
829
|
+
|
|
830
|
+
declare const acquisitionFormMockFields: UIFields$2<Record<string, string>>;
|
|
831
|
+
declare const setPasswordMockFields: UIFields$2<SetPasswordFields>;
|
|
832
|
+
declare const loginMockFields: UIFields$2<LoginFields$1>;
|
|
833
|
+
declare const sectionMockFields: UIFields$2<Record<string, string>>;
|
|
834
|
+
declare const profileInformationMockForm: {
|
|
835
|
+
label: string;
|
|
836
|
+
fields: UIFields$2<Record<string, string>>;
|
|
837
|
+
}[];
|
|
838
|
+
|
|
869
839
|
declare type MlrRichTextViewerProviderProps = PropsWithChildren<{
|
|
870
840
|
annotationsList: AnnotationsList$1;
|
|
871
841
|
isMLRReview: boolean;
|
|
@@ -884,9 +854,6 @@ declare type AnnotationsList = {
|
|
|
884
854
|
tags: {
|
|
885
855
|
id: string;
|
|
886
856
|
label: string;
|
|
887
|
-
entityIds: string[];
|
|
888
|
-
moleculeIds: string[];
|
|
889
|
-
referencedByIds: string[];
|
|
890
857
|
}[];
|
|
891
858
|
links: {
|
|
892
859
|
referencedById: string;
|
|
@@ -898,28 +865,6 @@ declare type AnnotationsList = {
|
|
|
898
865
|
|
|
899
866
|
declare const useMlrRichTextViewerContext: () => contexts_MlrRichTextViewerContext_MlrRichTextViewerContext.MlrRichTextViewerContextType;
|
|
900
867
|
|
|
901
|
-
declare const useButtonActionsContext: () => contexts_ButtonActionsContext_ButtonActionsContext.ButtonActionsContextType;
|
|
902
|
-
|
|
903
|
-
declare type ButtonActionsContextType = {
|
|
904
|
-
actionContent?: ContainerComponentProps$1;
|
|
905
|
-
setActionContent: Dispatch<SetStateAction<ContainerComponentProps$1>>;
|
|
906
|
-
isModalVisible: boolean;
|
|
907
|
-
setModalVisible: Dispatch<SetStateAction<boolean>>;
|
|
908
|
-
isDrawerVisible: boolean;
|
|
909
|
-
setDrawerVisible: Dispatch<SetStateAction<boolean>>;
|
|
910
|
-
};
|
|
911
|
-
declare const ButtonActionsContext: React$1.Context<ButtonActionsContextType>;
|
|
912
|
-
|
|
913
|
-
declare type ButtonActionsProviderProps = PropsWithChildren<Partial<{
|
|
914
|
-
actionContent: ContainerComponentProps$1;
|
|
915
|
-
setActionContent: Dispatch<SetStateAction<ContainerComponentProps$1>>;
|
|
916
|
-
isModalVisible: boolean;
|
|
917
|
-
setModalVisible: Dispatch<SetStateAction<boolean>>;
|
|
918
|
-
setDrawerVisible: Dispatch<SetStateAction<boolean>>;
|
|
919
|
-
isDrawerVisible: boolean;
|
|
920
|
-
}>>;
|
|
921
|
-
declare const ButtonActionsProvider: ({ children }: ButtonActionsProviderProps) => JSX.Element;
|
|
922
|
-
|
|
923
868
|
declare type FieldRuleLabelTypes = 'OPTIONAL' | 'REQUIRED';
|
|
924
869
|
declare type LabelInternalConfig = {
|
|
925
870
|
fontVariant: FontSizesTypes$2;
|
|
@@ -1010,12 +955,10 @@ declare type CheckboxFieldProps = Partial<{
|
|
|
1010
955
|
declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, }: CheckboxFieldProps) => JSX.Element;
|
|
1011
956
|
|
|
1012
957
|
declare type CheckboxGroupProps = Partial<{
|
|
1013
|
-
ref: RefCallBack;
|
|
1014
|
-
onBlur: Callback$1;
|
|
1015
958
|
onChange: (checkedIds: string[]) => void;
|
|
1016
959
|
checkboxesProps: CheckboxesProps;
|
|
1017
960
|
}>;
|
|
1018
|
-
declare const CheckboxGroup: ({
|
|
961
|
+
declare const CheckboxGroup: ({ onChange, checkboxesProps }: CheckboxGroupProps) => JSX.Element;
|
|
1019
962
|
|
|
1020
963
|
declare type SelectFieldProps = Partial<{
|
|
1021
964
|
selectProps: SelectProps$1;
|
|
@@ -1121,7 +1064,7 @@ declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuCon
|
|
|
1121
1064
|
|
|
1122
1065
|
declare type TabType<T = string, K = string> = Pick<TabProps$1<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>;
|
|
1123
1066
|
declare type AdditionalTabContainerProps = {
|
|
1124
|
-
containerStyle?:
|
|
1067
|
+
containerStyle?: CSSProperties;
|
|
1125
1068
|
containerProps?: Record<string, unknown>;
|
|
1126
1069
|
};
|
|
1127
1070
|
declare type TabGroupProps<T = string, K = string> = {
|
|
@@ -1169,58 +1112,33 @@ declare const EmphasizedText: ({ textContent, invertColors }: EmphasizedTextProp
|
|
|
1169
1112
|
|
|
1170
1113
|
declare type RadioButtonFieldProps<T extends string> = Partial<{
|
|
1171
1114
|
name: string;
|
|
1172
|
-
rules: ControllerProps$1['rules'];
|
|
1173
|
-
styles: StylesType;
|
|
1174
1115
|
control: Control$1<any>;
|
|
1175
|
-
|
|
1116
|
+
rules: ControllerProps$1['rules'];
|
|
1176
1117
|
required: boolean;
|
|
1177
|
-
|
|
1118
|
+
optional: boolean;
|
|
1178
1119
|
defaultValue: string;
|
|
1120
|
+
styles: CSSProperties;
|
|
1179
1121
|
radioButtonsProps: RadioButtonsProps$1<T>;
|
|
1180
|
-
|
|
1122
|
+
labelsProps: FieldLabelsProps;
|
|
1181
1123
|
}>;
|
|
1182
|
-
declare const RadioButtonField: <T extends string>({ name,
|
|
1124
|
+
declare const RadioButtonField: <T extends string>({ control, name, radioButtonsProps, styles, labelsProps, defaultValue, optional, required, rules, }: Partial<{
|
|
1183
1125
|
name: string;
|
|
1184
|
-
rules: ControllerProps$1['rules'];
|
|
1185
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1186
1126
|
control: Control$1<any>;
|
|
1187
|
-
|
|
1127
|
+
rules: ControllerProps$1['rules'];
|
|
1188
1128
|
required: boolean;
|
|
1189
|
-
|
|
1129
|
+
optional: boolean;
|
|
1190
1130
|
defaultValue: string;
|
|
1131
|
+
styles: CSSProperties;
|
|
1191
1132
|
radioButtonsProps: Partial<{
|
|
1192
|
-
|
|
1193
|
-
name: string;
|
|
1194
|
-
value: T;
|
|
1195
|
-
options: atoms.SelectOption[];
|
|
1196
|
-
onBlur: typescript.Callback;
|
|
1133
|
+
isEditMode: boolean;
|
|
1197
1134
|
onChange: (value: T) => void;
|
|
1135
|
+
value: T;
|
|
1198
1136
|
isRow: boolean;
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
isRichText: boolean;
|
|
1203
|
-
internalConfig: Partial<{
|
|
1204
|
-
selectedRadioOptionBackgroundColor: string;
|
|
1205
|
-
selectedRadioOptionIndicatorColor: string;
|
|
1206
|
-
buttonPadding: number;
|
|
1207
|
-
textPadding: number;
|
|
1208
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1209
|
-
wrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1210
|
-
buttonOptionSpacing: SizesTypes;
|
|
1211
|
-
radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1212
|
-
}>;
|
|
1213
|
-
}>;
|
|
1214
|
-
internalConfig: Partial<{
|
|
1215
|
-
selectedRadioOptionBackgroundColor: string;
|
|
1216
|
-
selectedRadioOptionIndicatorColor: string;
|
|
1217
|
-
buttonPadding: number;
|
|
1218
|
-
textPadding: number;
|
|
1219
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1220
|
-
wrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1221
|
-
buttonOptionSpacing: SizesTypes;
|
|
1222
|
-
radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1137
|
+
items: atoms.RadioButtonType<T>[];
|
|
1138
|
+
name: string;
|
|
1139
|
+
internalConfig: atoms.RadioButtonInternalConfigProps;
|
|
1223
1140
|
}>;
|
|
1141
|
+
labelsProps: FieldLabelsProps;
|
|
1224
1142
|
}>) => JSX.Element;
|
|
1225
1143
|
|
|
1226
1144
|
declare type AlertProps = {
|
|
@@ -1316,14 +1234,13 @@ declare type ImageProps = {
|
|
|
1316
1234
|
id: string;
|
|
1317
1235
|
altText: string;
|
|
1318
1236
|
link: string;
|
|
1319
|
-
onClick: Callback$1;
|
|
1320
1237
|
width: number;
|
|
1321
1238
|
height: number;
|
|
1322
1239
|
cornerRadius: number;
|
|
1323
1240
|
behaveAs: 'background' | 'regular';
|
|
1324
1241
|
styles: StylesType;
|
|
1325
1242
|
}>;
|
|
1326
|
-
declare const Image: ({ src,
|
|
1243
|
+
declare const Image: ({ src, link, altText, styles, width, height, id, behaveAs, cornerRadius, }: ImageProps) => JSX.Element;
|
|
1327
1244
|
|
|
1328
1245
|
declare type CarouselProps = {
|
|
1329
1246
|
children: JSX.Element[];
|
|
@@ -1394,56 +1311,14 @@ declare type ButtonProps = BaseButtonProps & {
|
|
|
1394
1311
|
};
|
|
1395
1312
|
declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, ...props }: ButtonProps) => JSX.Element | null;
|
|
1396
1313
|
|
|
1397
|
-
declare type ZealUIModalProps = PropsWithChildren<Pick<ModalProps, 'open'>> & {
|
|
1398
|
-
padding?: number | string;
|
|
1399
|
-
wrapperStyles?: CSSProperties;
|
|
1400
|
-
onKeyDown?: <T extends HTMLElement>(event: KeyboardEvent<T>) => void;
|
|
1401
|
-
modalStyles?: CSSProperties;
|
|
1402
|
-
onClose?: Callback$1;
|
|
1403
|
-
};
|
|
1404
|
-
declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, ...rest }: ZealUIModalProps) => JSX.Element;
|
|
1405
|
-
declare const ModalWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, OverrideStyles, never>;
|
|
1406
|
-
declare const IconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
|
1407
|
-
activeOpacity?: number | undefined;
|
|
1408
|
-
withoutOpacityEffect?: boolean | undefined;
|
|
1409
|
-
disabled?: boolean | undefined;
|
|
1410
|
-
} & {
|
|
1411
|
-
children?: React__default.ReactNode;
|
|
1412
|
-
}, never>;
|
|
1413
|
-
|
|
1414
1314
|
declare const Container: ({ children, wide, compact, type, props }: ContainerProps$1) => JSX.Element;
|
|
1415
1315
|
declare const ContainerComponent: ({ type, items, config, tabsProps }: ContainerComponentProps$1) => JSX.Element | null;
|
|
1416
1316
|
|
|
1417
|
-
declare type ActionTypes = 'link' | 'popup' | 'drawer' | 'download' | 'submit' | 'reset' | 'destroy';
|
|
1418
|
-
declare type DownloadFile = {
|
|
1419
|
-
url: string;
|
|
1420
|
-
name: string;
|
|
1421
|
-
};
|
|
1422
|
-
declare type LinkAction = LinkAttributes;
|
|
1423
|
-
declare type PopupDrawerAction = ContainerComponentProps;
|
|
1424
|
-
declare type DownloadAction = DownloadFile;
|
|
1425
|
-
declare type SubmitAction = AnyObject;
|
|
1426
|
-
declare type CancelAction = AnyObject;
|
|
1427
|
-
declare type ResetAction = AnyObject;
|
|
1428
|
-
declare type DestroyAction = AnyObject;
|
|
1429
|
-
declare type Action = {
|
|
1430
|
-
type: ActionTypes;
|
|
1431
|
-
} & Partial<{
|
|
1432
|
-
link: LinkAction;
|
|
1433
|
-
popup: PopupDrawerAction;
|
|
1434
|
-
drawer: PopupDrawerAction;
|
|
1435
|
-
download: DownloadAction;
|
|
1436
|
-
submit: SubmitAction;
|
|
1437
|
-
cancel: CancelAction;
|
|
1438
|
-
reset: ResetAction;
|
|
1439
|
-
destroy: DestroyAction;
|
|
1440
|
-
}>;
|
|
1441
1317
|
declare type ImageAttributes = {
|
|
1442
1318
|
attributeType: 'image';
|
|
1443
1319
|
imageSource: string;
|
|
1444
1320
|
};
|
|
1445
1321
|
interface TextAttributes {
|
|
1446
|
-
id?: string;
|
|
1447
1322
|
attributeType: 'text';
|
|
1448
1323
|
isRichText: boolean;
|
|
1449
1324
|
text: string;
|
|
@@ -1452,10 +1327,6 @@ interface VideoAttributes {
|
|
|
1452
1327
|
attributeType: 'video';
|
|
1453
1328
|
videoSource: string;
|
|
1454
1329
|
}
|
|
1455
|
-
interface ActionAttributes {
|
|
1456
|
-
attributeType: 'action';
|
|
1457
|
-
action: Action;
|
|
1458
|
-
}
|
|
1459
1330
|
interface LinkAttributes {
|
|
1460
1331
|
id: string;
|
|
1461
1332
|
attributeType: 'link';
|
|
@@ -1465,7 +1336,6 @@ interface LinkAttributes {
|
|
|
1465
1336
|
name: string;
|
|
1466
1337
|
}
|
|
1467
1338
|
interface SelectAttributes {
|
|
1468
|
-
id?: string;
|
|
1469
1339
|
attributeType: 'select';
|
|
1470
1340
|
value: string;
|
|
1471
1341
|
options: SelectOption$1[];
|
|
@@ -1483,7 +1353,6 @@ interface BaseMolecule {
|
|
|
1483
1353
|
id: string;
|
|
1484
1354
|
instance: 'molecule';
|
|
1485
1355
|
type: MoleculeTypes;
|
|
1486
|
-
metadata?: AnyObject;
|
|
1487
1356
|
}
|
|
1488
1357
|
interface ImageMolecule extends BaseMolecule {
|
|
1489
1358
|
type: 'image';
|
|
@@ -1510,7 +1379,7 @@ interface ButtonMolecule extends BaseMolecule {
|
|
|
1510
1379
|
type: 'button';
|
|
1511
1380
|
attributes: {
|
|
1512
1381
|
title: TextAttributes;
|
|
1513
|
-
|
|
1382
|
+
buttonLink: LinkAttributes;
|
|
1514
1383
|
};
|
|
1515
1384
|
config: {
|
|
1516
1385
|
props: Partial<Omit<ButtonProps$1, 'disabled' | 'children' | 'link' | 'text' | 'onClick' | 'elementId'>>;
|
|
@@ -1536,8 +1405,14 @@ interface TabGroupMolecule extends BaseMolecule {
|
|
|
1536
1405
|
type: 'header_tab_group';
|
|
1537
1406
|
config: {
|
|
1538
1407
|
props: TabGroupProps$1;
|
|
1539
|
-
wide:
|
|
1540
|
-
|
|
1408
|
+
wide: {
|
|
1409
|
+
containerStyle?: CSSProperties;
|
|
1410
|
+
containerProps?: Record<string, unknown>;
|
|
1411
|
+
};
|
|
1412
|
+
compact: {
|
|
1413
|
+
containerStyle?: CSSProperties;
|
|
1414
|
+
containerProps?: Record<string, unknown>;
|
|
1415
|
+
};
|
|
1541
1416
|
};
|
|
1542
1417
|
}
|
|
1543
1418
|
interface TextInputMolecule extends BaseMolecule {
|
|
@@ -1597,7 +1472,7 @@ declare type Molecule = StrictUnion<ImageMolecule | TextMoleculeType | ButtonMol
|
|
|
1597
1472
|
};
|
|
1598
1473
|
|
|
1599
1474
|
declare type ContainerType = 'row' | 'column' | 'slider' | 'form';
|
|
1600
|
-
declare type ContainerPositionType = 'fixed' | 'sticky' | 'static'
|
|
1475
|
+
declare type ContainerPositionType = 'fixed' | 'sticky' | 'static';
|
|
1601
1476
|
declare type ContainerScrollBehaviourType = 'vertical' | 'horizontal' | 'auto' | 'none';
|
|
1602
1477
|
declare type ContainerPropsType = Partial<{
|
|
1603
1478
|
position: ContainerPositionType;
|
|
@@ -1622,16 +1497,13 @@ declare type ContainerComponentProps = {
|
|
|
1622
1497
|
id: string;
|
|
1623
1498
|
instance: 'container';
|
|
1624
1499
|
type: ContainerType;
|
|
1625
|
-
items: (ContainerComponentProps | Molecule)[];
|
|
1626
1500
|
config: {
|
|
1627
1501
|
wide?: AdditionalContainerProps;
|
|
1628
1502
|
compact?: AdditionalContainerProps;
|
|
1629
1503
|
props?: ContainerPropsType;
|
|
1630
1504
|
};
|
|
1505
|
+
items: (ContainerComponentProps | Molecule)[];
|
|
1631
1506
|
tabsProps?: Pick<TabGroupProps$1, 'tabs' | 'activeTabKey' | 'onTabChange'>;
|
|
1632
|
-
metadata?: AnyObject;
|
|
1633
|
-
attributes?: AnyObject;
|
|
1634
|
-
containerLibraryId?: string;
|
|
1635
1507
|
};
|
|
1636
1508
|
|
|
1637
1509
|
declare const ContainerWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, Pick<ContainerProps$2, "type"> & {
|
|
@@ -1651,4 +1523,4 @@ declare const OrganismItem: ({ item, tabsProps, }: {
|
|
|
1651
1523
|
tabsProps?: Pick<TabGroupProps$1<string, string>, "tabs" | "activeTabKey" | "onTabChange"> | undefined;
|
|
1652
1524
|
}) => JSX.Element | null;
|
|
1653
1525
|
|
|
1654
|
-
export { AcquisitionForm, AcquisitionFormProps,
|
|
1526
|
+
export { AcquisitionForm, AcquisitionFormProps, AdditionalContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonMolecule, ButtonProps, 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, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, Container, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerType, ContainerWrapper, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, ErrorText, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, IterableAttributes, LabelInternalConfig, LinkAttributes, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismItem, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldMolecule, RadioButtonFieldProps, RadioButtonInternalConfigProps, RadioButtonType, RadioButtons, RadioButtonsProps, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, Select, SelectAttributes, SelectField, SelectFieldMolecule, SelectFieldProps, SelectInternalConfigurationOptions, SelectOption, SelectProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Slide, SlidesWrapper, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, 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, Wrapper, ZealTheme, ZealThemeProvider, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|