@zealicsolutions/web-ui 0.2.55 → 0.2.56
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 +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/Avatar/Avatar.d.ts +1 -1
- package/dist/cjs/src/atoms/Buttons/Button.d.ts +2 -2
- package/dist/cjs/src/atoms/Buttons/IconButton.d.ts +1 -1
- package/dist/cjs/src/atoms/Buttons/LinkButton.d.ts +1 -1
- package/dist/cjs/src/atoms/Buttons/TouchableOpacity.d.ts +1 -1
- package/dist/cjs/src/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/dist/cjs/src/atoms/Circle/Circle.d.ts +2 -2
- package/dist/cjs/src/atoms/CircularIndicator/CircularIndicator.d.ts +1 -1
- package/dist/cjs/src/atoms/Divider/Divider.d.ts +1 -1
- package/dist/cjs/src/atoms/GoogleMap/GoogleMap.d.ts +2 -2
- package/dist/cjs/src/atoms/HorizontalButtons/HorizontalButtons.d.ts +1 -1
- package/dist/cjs/src/atoms/Icon/Icon.d.ts +2 -2
- package/dist/cjs/src/atoms/Image/Image.d.ts +1 -1
- package/dist/cjs/src/atoms/Input/Input.d.ts +2 -2
- package/dist/cjs/src/atoms/Paddings/Paddings.d.ts +1 -1
- package/dist/cjs/src/atoms/RadioButtons/RadioButtons.d.ts +2 -2
- package/dist/cjs/src/atoms/RichTextViewer/RichTextViewer.d.ts +1 -1
- package/dist/cjs/src/atoms/RichTextViewer/types.d.ts +9 -9
- package/dist/cjs/src/atoms/Select/styles.d.ts +1 -1
- package/dist/cjs/src/atoms/Select/types.d.ts +2 -2
- package/dist/cjs/src/atoms/Spacer/Spacer.d.ts +1 -1
- package/dist/cjs/src/atoms/TextWrapper/TextWrapper.d.ts +3 -3
- package/dist/cjs/src/atoms/Toast/ToastContent.d.ts +1 -1
- package/dist/cjs/src/atoms/Toast/types.d.ts +2 -2
- package/dist/cjs/src/atoms/Tooltip/Tooltip.d.ts +1 -1
- package/dist/cjs/src/atoms/ValidationTag/ValidationTag.d.ts +2 -2
- package/dist/cjs/src/atoms/Video/Video.d.ts +1 -1
- package/dist/cjs/src/contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.d.ts +1 -1
- package/dist/cjs/src/contexts/MlrRichTextViewerContext/MlrRichTextViewerProvider.d.ts +1 -1
- package/dist/cjs/src/contexts/MlrRichTextViewerContext/types.d.ts +1 -1
- package/dist/cjs/src/fieldsConfiguration/types.d.ts +7 -7
- package/dist/cjs/src/helpers/date.d.ts +1 -1
- package/dist/cjs/src/molecules/Alert/Alert.d.ts +1 -1
- package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +1 -1
- package/dist/cjs/src/molecules/BottomNavBarItem/BottomNavBarItem.d.ts +1 -1
- package/dist/cjs/src/molecules/Caruser/Carousel.d.ts +1 -1
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.d.ts +1 -1
- package/dist/cjs/src/molecules/Columns/ColumnImage.d.ts +1 -1
- package/dist/cjs/src/molecules/Columns/Columns.d.ts +2 -2
- package/dist/cjs/src/molecules/Columns/types.d.ts +2 -2
- package/dist/cjs/src/molecules/CustomValidation/CustomValidation.d.ts +2 -2
- package/dist/cjs/src/molecules/Drawer/styles.d.ts +2 -2
- package/dist/cjs/src/molecules/EmphasizedText/EmphasizedText.d.ts +1 -1
- package/dist/cjs/src/molecules/FeedContentHeader/FeedContentHeader.d.ts +2 -2
- package/dist/cjs/src/molecules/FieldLabels/FieldLabels.d.ts +2 -2
- package/dist/cjs/src/molecules/FieldMapper/FieldMapper.d.ts +1 -1
- package/dist/cjs/src/molecules/FieldSection/FieldSection.d.ts +1 -1
- package/dist/cjs/src/molecules/HeroImage/HeroImage.d.ts +3 -3
- package/dist/cjs/src/molecules/HorizontalButtonsField/HorizontalButtonsField.d.ts +1 -1
- package/dist/cjs/src/molecules/InputField/InputField.d.ts +1 -1
- package/dist/cjs/src/molecules/MenuItems/MenuItems.d.ts +2 -2
- package/dist/cjs/src/molecules/MenuNavigation/MenuNavigation.d.ts +1 -1
- package/dist/cjs/src/molecules/PdfDocument/PdfDocument.d.ts +1 -1
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.d.ts +1 -1
- package/dist/cjs/src/molecules/SelectField/SelectField.d.ts +1 -1
- package/dist/cjs/src/molecules/SelectableInfoCard/BaseSelectable.d.ts +1 -1
- package/dist/cjs/src/molecules/SelectableInfoCard/SelectableCardGroup.d.ts +1 -1
- package/dist/cjs/src/molecules/SettingsSelectionField/SettingsSelectionField.d.ts +1 -1
- package/dist/cjs/src/molecules/Stepper/Step.d.ts +1 -1
- package/dist/cjs/src/molecules/Stepper/Stepper.d.ts +2 -2
- package/dist/cjs/src/molecules/Tab/Tab.d.ts +3 -3
- package/dist/cjs/src/molecules/Tab/styles.d.ts +1 -1
- package/dist/cjs/src/molecules/TabGroup/TabGroup.d.ts +1 -1
- package/dist/cjs/src/molecules/TabGroup/styles.d.ts +1 -1
- package/dist/cjs/src/organisms/AccountInformation/AccountInformation.d.ts +1 -1
- package/dist/cjs/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +1 -1
- package/dist/cjs/src/organisms/Body/Body.d.ts +1 -1
- package/dist/cjs/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.d.ts +1 -1
- package/dist/cjs/src/organisms/Consent/Consent.d.ts +1 -1
- package/dist/cjs/src/organisms/Consent/ConsentCapture.d.ts +4 -4
- package/dist/cjs/src/organisms/DynamicContentZone/DynamicContentZone.d.ts +3 -3
- package/dist/cjs/src/organisms/FeedContent/types.d.ts +3 -2
- package/dist/cjs/src/organisms/FeedContent/useSwitchHandler.d.ts +1 -1
- package/dist/cjs/src/organisms/FeedContentContainer/FeedContentContainer.d.ts +2 -2
- package/dist/cjs/src/organisms/Footer/Footer.d.ts +1 -1
- package/dist/cjs/src/organisms/Footer/FooterA.d.ts +1 -1
- package/dist/cjs/src/organisms/Footer/FooterB.d.ts +1 -1
- package/dist/cjs/src/organisms/Footer/FooterC.d.ts +1 -1
- package/dist/cjs/src/organisms/Footer/FooterD.d.ts +1 -1
- package/dist/cjs/src/organisms/Footer/shared.d.ts +1 -1
- package/dist/cjs/src/organisms/Footer/types.d.ts +2 -2
- package/dist/cjs/src/organisms/ForgotPasswordForm/ForgotPasswordForm.d.ts +2 -2
- package/dist/cjs/src/organisms/Header/Header.d.ts +1 -1
- package/dist/cjs/src/organisms/Header/HeaderA.d.ts +2 -2
- package/dist/cjs/src/organisms/Header/HeaderB.d.ts +1 -1
- package/dist/cjs/src/organisms/Header/HeaderC.d.ts +1 -1
- package/dist/cjs/src/organisms/Header/HeaderD.d.ts +1 -1
- package/dist/cjs/src/organisms/Header/HeaderMobileNavigation.d.ts +1 -1
- package/dist/cjs/src/organisms/HeroSlider/HeroSlider.d.ts +1 -1
- package/dist/cjs/src/organisms/ISI/ISI.d.ts +1 -1
- package/dist/cjs/src/organisms/ISI/ISIA.d.ts +1 -1
- package/dist/cjs/src/organisms/LoginForm/LoginForm.d.ts +1 -1
- package/dist/cjs/src/organisms/LoginForm/types.d.ts +1 -1
- package/dist/cjs/src/organisms/ProcessTracker/ProcessTracker.d.ts +2 -2
- package/dist/cjs/src/organisms/ProfileInformation/ProfileInformation.d.ts +1 -1
- package/dist/cjs/src/organisms/SetPasswordForm/SetPasswordForm.d.ts +2 -2
- package/dist/cjs/src/organisms/SetPasswordForm/types.d.ts +4 -4
- package/dist/cjs/src/organisms/SubscribePanel/type.d.ts +4 -4
- package/dist/cjs/src/organisms/TwoFactorAuth/TwoFactorAuth.d.ts +3 -3
- package/dist/cjs/src/templates/DefaultTemplate/DefaultTemplate.d.ts +1 -1
- package/dist/cjs/src/theme/types.d.ts +9 -9
- package/dist/cjs/src/typescript.d.ts +3 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/Avatar/Avatar.d.ts +1 -1
- package/dist/esm/src/atoms/Buttons/Button.d.ts +2 -2
- package/dist/esm/src/atoms/Buttons/IconButton.d.ts +1 -1
- package/dist/esm/src/atoms/Buttons/LinkButton.d.ts +1 -1
- package/dist/esm/src/atoms/Buttons/TouchableOpacity.d.ts +1 -1
- package/dist/esm/src/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/dist/esm/src/atoms/Circle/Circle.d.ts +2 -2
- package/dist/esm/src/atoms/CircularIndicator/CircularIndicator.d.ts +1 -1
- package/dist/esm/src/atoms/Divider/Divider.d.ts +1 -1
- package/dist/esm/src/atoms/GoogleMap/GoogleMap.d.ts +2 -2
- package/dist/esm/src/atoms/HorizontalButtons/HorizontalButtons.d.ts +1 -1
- package/dist/esm/src/atoms/Icon/Icon.d.ts +2 -2
- package/dist/esm/src/atoms/Image/Image.d.ts +1 -1
- package/dist/esm/src/atoms/Input/Input.d.ts +2 -2
- package/dist/esm/src/atoms/Paddings/Paddings.d.ts +1 -1
- package/dist/esm/src/atoms/RadioButtons/RadioButtons.d.ts +2 -2
- package/dist/esm/src/atoms/RichTextViewer/RichTextViewer.d.ts +1 -1
- package/dist/esm/src/atoms/RichTextViewer/types.d.ts +9 -9
- package/dist/esm/src/atoms/Select/styles.d.ts +1 -1
- package/dist/esm/src/atoms/Select/types.d.ts +2 -2
- package/dist/esm/src/atoms/Spacer/Spacer.d.ts +1 -1
- package/dist/esm/src/atoms/TextWrapper/TextWrapper.d.ts +3 -3
- package/dist/esm/src/atoms/Toast/ToastContent.d.ts +1 -1
- package/dist/esm/src/atoms/Toast/types.d.ts +2 -2
- package/dist/esm/src/atoms/Tooltip/Tooltip.d.ts +1 -1
- package/dist/esm/src/atoms/ValidationTag/ValidationTag.d.ts +2 -2
- package/dist/esm/src/atoms/Video/Video.d.ts +1 -1
- package/dist/esm/src/contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.d.ts +1 -1
- package/dist/esm/src/contexts/MlrRichTextViewerContext/MlrRichTextViewerProvider.d.ts +1 -1
- package/dist/esm/src/contexts/MlrRichTextViewerContext/types.d.ts +1 -1
- package/dist/esm/src/fieldsConfiguration/types.d.ts +7 -7
- package/dist/esm/src/helpers/date.d.ts +1 -1
- package/dist/esm/src/molecules/Alert/Alert.d.ts +1 -1
- package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +1 -1
- package/dist/esm/src/molecules/BottomNavBarItem/BottomNavBarItem.d.ts +1 -1
- package/dist/esm/src/molecules/Caruser/Carousel.d.ts +1 -1
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.d.ts +1 -1
- package/dist/esm/src/molecules/Columns/ColumnImage.d.ts +1 -1
- package/dist/esm/src/molecules/Columns/Columns.d.ts +2 -2
- package/dist/esm/src/molecules/Columns/types.d.ts +2 -2
- package/dist/esm/src/molecules/CustomValidation/CustomValidation.d.ts +2 -2
- package/dist/esm/src/molecules/Drawer/styles.d.ts +2 -2
- package/dist/esm/src/molecules/EmphasizedText/EmphasizedText.d.ts +1 -1
- package/dist/esm/src/molecules/FeedContentHeader/FeedContentHeader.d.ts +2 -2
- package/dist/esm/src/molecules/FieldLabels/FieldLabels.d.ts +2 -2
- package/dist/esm/src/molecules/FieldMapper/FieldMapper.d.ts +1 -1
- package/dist/esm/src/molecules/FieldSection/FieldSection.d.ts +1 -1
- package/dist/esm/src/molecules/HeroImage/HeroImage.d.ts +3 -3
- package/dist/esm/src/molecules/HorizontalButtonsField/HorizontalButtonsField.d.ts +1 -1
- package/dist/esm/src/molecules/InputField/InputField.d.ts +1 -1
- package/dist/esm/src/molecules/MenuItems/MenuItems.d.ts +2 -2
- package/dist/esm/src/molecules/MenuNavigation/MenuNavigation.d.ts +1 -1
- package/dist/esm/src/molecules/PdfDocument/PdfDocument.d.ts +1 -1
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.d.ts +1 -1
- package/dist/esm/src/molecules/SelectField/SelectField.d.ts +1 -1
- package/dist/esm/src/molecules/SelectableInfoCard/BaseSelectable.d.ts +1 -1
- package/dist/esm/src/molecules/SelectableInfoCard/SelectableCardGroup.d.ts +1 -1
- package/dist/esm/src/molecules/SettingsSelectionField/SettingsSelectionField.d.ts +1 -1
- package/dist/esm/src/molecules/Stepper/Step.d.ts +1 -1
- package/dist/esm/src/molecules/Stepper/Stepper.d.ts +2 -2
- package/dist/esm/src/molecules/Tab/Tab.d.ts +3 -3
- package/dist/esm/src/molecules/Tab/styles.d.ts +1 -1
- package/dist/esm/src/molecules/TabGroup/TabGroup.d.ts +1 -1
- package/dist/esm/src/molecules/TabGroup/styles.d.ts +1 -1
- package/dist/esm/src/organisms/AccountInformation/AccountInformation.d.ts +1 -1
- package/dist/esm/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +1 -1
- package/dist/esm/src/organisms/Body/Body.d.ts +1 -1
- package/dist/esm/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.d.ts +1 -1
- package/dist/esm/src/organisms/Consent/Consent.d.ts +1 -1
- package/dist/esm/src/organisms/Consent/ConsentCapture.d.ts +4 -4
- package/dist/esm/src/organisms/DynamicContentZone/DynamicContentZone.d.ts +3 -3
- package/dist/esm/src/organisms/FeedContent/types.d.ts +3 -2
- package/dist/esm/src/organisms/FeedContent/useSwitchHandler.d.ts +1 -1
- package/dist/esm/src/organisms/FeedContentContainer/FeedContentContainer.d.ts +2 -2
- package/dist/esm/src/organisms/Footer/Footer.d.ts +1 -1
- package/dist/esm/src/organisms/Footer/FooterA.d.ts +1 -1
- package/dist/esm/src/organisms/Footer/FooterB.d.ts +1 -1
- package/dist/esm/src/organisms/Footer/FooterC.d.ts +1 -1
- package/dist/esm/src/organisms/Footer/FooterD.d.ts +1 -1
- package/dist/esm/src/organisms/Footer/shared.d.ts +1 -1
- package/dist/esm/src/organisms/Footer/types.d.ts +2 -2
- package/dist/esm/src/organisms/ForgotPasswordForm/ForgotPasswordForm.d.ts +2 -2
- package/dist/esm/src/organisms/Header/Header.d.ts +1 -1
- package/dist/esm/src/organisms/Header/HeaderA.d.ts +2 -2
- package/dist/esm/src/organisms/Header/HeaderB.d.ts +1 -1
- package/dist/esm/src/organisms/Header/HeaderC.d.ts +1 -1
- package/dist/esm/src/organisms/Header/HeaderD.d.ts +1 -1
- package/dist/esm/src/organisms/Header/HeaderMobileNavigation.d.ts +1 -1
- package/dist/esm/src/organisms/HeroSlider/HeroSlider.d.ts +1 -1
- package/dist/esm/src/organisms/ISI/ISI.d.ts +1 -1
- package/dist/esm/src/organisms/ISI/ISIA.d.ts +1 -1
- package/dist/esm/src/organisms/LoginForm/LoginForm.d.ts +1 -1
- package/dist/esm/src/organisms/LoginForm/types.d.ts +1 -1
- package/dist/esm/src/organisms/ProcessTracker/ProcessTracker.d.ts +2 -2
- package/dist/esm/src/organisms/ProfileInformation/ProfileInformation.d.ts +1 -1
- package/dist/esm/src/organisms/SetPasswordForm/SetPasswordForm.d.ts +2 -2
- package/dist/esm/src/organisms/SetPasswordForm/types.d.ts +4 -4
- package/dist/esm/src/organisms/SubscribePanel/type.d.ts +4 -4
- package/dist/esm/src/organisms/TwoFactorAuth/TwoFactorAuth.d.ts +3 -3
- package/dist/esm/src/templates/DefaultTemplate/DefaultTemplate.d.ts +1 -1
- package/dist/esm/src/theme/types.d.ts +9 -9
- package/dist/esm/src/typescript.d.ts +3 -3
- package/dist/index.d.ts +134 -133
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -37,13 +37,13 @@ import { LoginFields as LoginFields$1 } from 'organisms/LoginForm/types';
|
|
37
37
|
import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewerContext/types';
|
38
38
|
import * as contexts_MlrRichTextViewerContext_MlrRichTextViewerContext from 'contexts/MlrRichTextViewerContext/MlrRichTextViewerContext';
|
39
39
|
|
40
|
-
type BaseButtonProps = {
|
40
|
+
declare type BaseButtonProps = {
|
41
41
|
onClick?: Callback$1;
|
42
42
|
variant?: 'primary' | 'secondary';
|
43
43
|
disabled?: boolean;
|
44
44
|
fullWidth?: boolean;
|
45
45
|
};
|
46
|
-
type ButtonProps = BaseButtonProps & {
|
46
|
+
declare type ButtonProps = BaseButtonProps & {
|
47
47
|
fullWidth?: boolean;
|
48
48
|
text?: string;
|
49
49
|
link?: string;
|
@@ -53,7 +53,7 @@ type ButtonProps = BaseButtonProps & {
|
|
53
53
|
};
|
54
54
|
declare const Button: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, }: ButtonProps) => JSX.Element | null;
|
55
55
|
|
56
|
-
type TouchableOpacityProps = PropsWithChildren<{
|
56
|
+
declare type TouchableOpacityProps = PropsWithChildren<{
|
57
57
|
activeOpacity?: number;
|
58
58
|
withoutOpacityEffect?: boolean;
|
59
59
|
disabled?: boolean;
|
@@ -66,7 +66,7 @@ declare const TouchableOpacity: styled_components.StyledComponent<"div", styled_
|
|
66
66
|
children?: React$1.ReactNode;
|
67
67
|
}, never>;
|
68
68
|
|
69
|
-
type CheckBoxProps = {
|
69
|
+
declare type CheckBoxProps = {
|
70
70
|
value: boolean;
|
71
71
|
onClick: (value: boolean) => void;
|
72
72
|
disabled?: boolean;
|
@@ -75,11 +75,11 @@ type CheckBoxProps = {
|
|
75
75
|
};
|
76
76
|
declare const Checkbox: ({ label, onClick, value, disabled, error }: CheckBoxProps) => JSX.Element;
|
77
77
|
|
78
|
-
type SelectOption = {
|
78
|
+
declare type SelectOption = {
|
79
79
|
id: string;
|
80
80
|
label: string;
|
81
81
|
};
|
82
|
-
type SelectProps = {
|
82
|
+
declare type SelectProps = {
|
83
83
|
value?: string;
|
84
84
|
optionsPresentation?: boolean;
|
85
85
|
onChange?: (value: string) => void;
|
@@ -92,11 +92,11 @@ type SelectProps = {
|
|
92
92
|
|
93
93
|
declare const Select: ({ onChange, value, placeholder, options, disabled, optionsPresentation, isError, }: SelectProps) => JSX.Element;
|
94
94
|
|
95
|
-
type InputIconProps = {
|
95
|
+
declare type InputIconProps = {
|
96
96
|
name: IconNames$1;
|
97
97
|
onClick?: Callback$1;
|
98
98
|
};
|
99
|
-
type InputProps = {
|
99
|
+
declare type InputProps = {
|
100
100
|
value?: string;
|
101
101
|
leftIcon?: InputIconProps;
|
102
102
|
rightIcon?: InputIconProps;
|
@@ -112,9 +112,9 @@ type InputProps = {
|
|
112
112
|
};
|
113
113
|
declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, ...rest }: InputProps) => JSX.Element;
|
114
114
|
|
115
|
-
type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
|
116
|
-
type TextAlign = 'center' | 'right' | 'left';
|
117
|
-
type TextWrapperProps = {
|
115
|
+
declare type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
|
116
|
+
declare type TextAlign = 'center' | 'right' | 'left';
|
117
|
+
declare type TextWrapperProps = {
|
118
118
|
children: ReactNode;
|
119
119
|
variant: FontSizesTypes$1;
|
120
120
|
layout?: 'div' | 'span';
|
@@ -127,7 +127,7 @@ type TextWrapperProps = {
|
|
127
127
|
};
|
128
128
|
declare const TextWrapper: styled_components.StyledComponent<_mui_material_OverridableComponent.OverridableComponent<_mui_material.BoxTypeMap<{}, "div">>, styled_components.DefaultTheme, TextWrapperProps, never>;
|
129
129
|
|
130
|
-
type IconProps = {
|
130
|
+
declare type IconProps = {
|
131
131
|
name: IconNames;
|
132
132
|
size?: number;
|
133
133
|
color?: ThemeColors$2 | string;
|
@@ -158,10 +158,10 @@ declare const availableIcons: {
|
|
158
158
|
Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
159
159
|
ArrowRight: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
160
160
|
};
|
161
|
-
type IconNames = keyof typeof availableIcons;
|
161
|
+
declare type IconNames = keyof typeof availableIcons;
|
162
162
|
declare const Icon: ({ name, color, ...props }: IconProps) => JSX.Element;
|
163
163
|
|
164
|
-
type SpacerProps = {
|
164
|
+
declare type SpacerProps = {
|
165
165
|
width?: SizesTypes$1 | number;
|
166
166
|
height?: SizesTypes$1 | number;
|
167
167
|
layout?: 'div' | 'span';
|
@@ -173,7 +173,7 @@ declare const Spinner: styled_components.StyledComponent<"div", styled_component
|
|
173
173
|
size?: SizesTypes$2 | undefined;
|
174
174
|
}, never>;
|
175
175
|
|
176
|
-
type ImageProps = {
|
176
|
+
declare type ImageProps = {
|
177
177
|
src: string;
|
178
178
|
alt?: string;
|
179
179
|
style?: CSSProperties;
|
@@ -181,7 +181,7 @@ type ImageProps = {
|
|
181
181
|
declare const Image: styled_components.StyledComponent<"img", styled_components.DefaultTheme, ImageProps, never>;
|
182
182
|
declare const BackgroundImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, ImageProps, never>;
|
183
183
|
|
184
|
-
type LinkButtonProps = PropsWithChildren<{
|
184
|
+
declare type LinkButtonProps = PropsWithChildren<{
|
185
185
|
activeOpacity?: number;
|
186
186
|
withoutOpacityEffect?: boolean;
|
187
187
|
disabled?: boolean;
|
@@ -204,14 +204,14 @@ declare const LinkButton: styled_components.StyledComponent<"div", styled_compon
|
|
204
204
|
elementId?: string | undefined;
|
205
205
|
}, never>;
|
206
206
|
|
207
|
-
type ValidationTagStatus = 'DEFAULT' | 'ERROR' | 'SUCCESS';
|
208
|
-
type ValidationTagProps = {
|
207
|
+
declare type ValidationTagStatus = 'DEFAULT' | 'ERROR' | 'SUCCESS';
|
208
|
+
declare type ValidationTagProps = {
|
209
209
|
status: ValidationTagStatus;
|
210
210
|
text: string;
|
211
211
|
};
|
212
212
|
declare const ValidationTag: ({ text, status }: ValidationTagProps) => JSX.Element;
|
213
213
|
|
214
|
-
type VideoProps = {
|
214
|
+
declare type VideoProps = {
|
215
215
|
src: string;
|
216
216
|
style?: CSSProperties;
|
217
217
|
template?: FeedContentTemplateTypes$1;
|
@@ -220,12 +220,12 @@ type VideoProps = {
|
|
220
220
|
};
|
221
221
|
declare const Video: ({ style, src, template, autoplay, coverImage }: VideoProps) => JSX.Element;
|
222
222
|
|
223
|
-
type TooltipProps = Pick<TooltipProps$1, 'overlay' | 'placement' | 'trigger' | 'visible' | 'children'>;
|
223
|
+
declare type TooltipProps = Pick<TooltipProps$1, 'overlay' | 'placement' | 'trigger' | 'visible' | 'children'>;
|
224
224
|
declare const StyleWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
225
225
|
declare const Tooltip: ({ trigger, placement, ...props }: TooltipProps) => JSX.Element;
|
226
226
|
|
227
|
-
type ToastType = 'success' | 'infoTierOne' | 'infoTierTwo' | 'warning' | 'error';
|
228
|
-
type ToastParams = {
|
227
|
+
declare type ToastType = 'success' | 'infoTierOne' | 'infoTierTwo' | 'warning' | 'error';
|
228
|
+
declare type ToastParams = {
|
229
229
|
message: string;
|
230
230
|
type?: ToastType;
|
231
231
|
duration?: number;
|
@@ -233,7 +233,7 @@ type ToastParams = {
|
|
233
233
|
|
234
234
|
declare const toast: ({ message, type, duration }: ToastParams) => void | undefined;
|
235
235
|
|
236
|
-
type HorizontalButtonsProps = {
|
236
|
+
declare type HorizontalButtonsProps = {
|
237
237
|
selectedButtonId: string;
|
238
238
|
buttonOptions: {
|
239
239
|
value: string;
|
@@ -245,7 +245,7 @@ type HorizontalButtonsProps = {
|
|
245
245
|
};
|
246
246
|
declare const HorizontalButtons: ({ onClick, disabled, buttonOptions, selectedButtonId, error, }: HorizontalButtonsProps) => JSX.Element;
|
247
247
|
|
248
|
-
type AvatarProps = {
|
248
|
+
declare type AvatarProps = {
|
249
249
|
size?: SizesTypes$1 | number;
|
250
250
|
withShadow?: boolean;
|
251
251
|
label?: string;
|
@@ -263,13 +263,13 @@ type AvatarProps = {
|
|
263
263
|
};
|
264
264
|
declare const Avatar: ({ size, withShadow, label, backgroundColor, onPress, content: { initials, iconName, imageUrl }, textConfig: { color, font }, }: AvatarProps) => JSX.Element;
|
265
265
|
|
266
|
-
type HorizontalPaddingProps = {
|
266
|
+
declare type HorizontalPaddingProps = {
|
267
267
|
padding: SizesTypes$1 | number;
|
268
268
|
};
|
269
269
|
declare const HorizontalPadding: styled_components.StyledComponent<"div", styled_components.DefaultTheme, HorizontalPaddingProps, never>;
|
270
270
|
declare const VerticalPadding: styled_components.StyledComponent<"div", styled_components.DefaultTheme, HorizontalPaddingProps, never>;
|
271
271
|
|
272
|
-
type DividerProps = {
|
272
|
+
declare type DividerProps = {
|
273
273
|
type?: 'horizontal' | 'vertical';
|
274
274
|
color?: ThemeColors$2 | string;
|
275
275
|
marginVertical?: SizesTypes$1 | number;
|
@@ -278,11 +278,11 @@ type DividerProps = {
|
|
278
278
|
};
|
279
279
|
declare const Divider: styled_components.StyledComponent<"div", styled_components.DefaultTheme, DividerProps, never>;
|
280
280
|
|
281
|
-
type MapPosition = {
|
281
|
+
declare type MapPosition = {
|
282
282
|
lat: number;
|
283
283
|
lng: number;
|
284
284
|
};
|
285
|
-
type GoogleMapProps = {
|
285
|
+
declare type GoogleMapProps = {
|
286
286
|
position: MapPosition;
|
287
287
|
} & WithScriptjsProps & WithGoogleMapProps;
|
288
288
|
declare const GoogleMap: React__default.ComponentClass<{
|
@@ -294,7 +294,7 @@ declare const COMMUNICATION_LINK_ELEMENT_ID = "communication-link";
|
|
294
294
|
declare const MATRIX_MESSAGE_DATA_ID = "matrix-message-id";
|
295
295
|
declare const COMMUNICATION_LINK_DATA_URL = "communication-link-url";
|
296
296
|
declare const COMMUNICATION_LINK_DATA_TEXT = "communication-link-text";
|
297
|
-
type RichTextEditorProps = Partial<{
|
297
|
+
declare type RichTextEditorProps = Partial<{
|
298
298
|
value: string;
|
299
299
|
font: FontSizesTypes$2;
|
300
300
|
color: ThemeColors$2;
|
@@ -303,14 +303,14 @@ type RichTextEditorProps = Partial<{
|
|
303
303
|
}>;
|
304
304
|
declare const RichTextViewer: ({ value, color, textStyles, font, numberOfLines, }: RichTextEditorProps) => JSX.Element | null;
|
305
305
|
|
306
|
-
type RadioButtonType<T extends string = string> = {
|
306
|
+
declare type RadioButtonType<T extends string = string> = {
|
307
307
|
id: T;
|
308
308
|
label?: string;
|
309
309
|
error?: boolean;
|
310
310
|
disabled?: boolean;
|
311
311
|
isRichText?: boolean;
|
312
312
|
};
|
313
|
-
type RadioButtonsProps<T extends string> = {
|
313
|
+
declare type RadioButtonsProps<T extends string> = {
|
314
314
|
isEditMode?: boolean;
|
315
315
|
onChange: (value: T) => void;
|
316
316
|
value: T;
|
@@ -320,14 +320,14 @@ type RadioButtonsProps<T extends string> = {
|
|
320
320
|
};
|
321
321
|
declare const RadioButtons: <T extends string>({ value, items, isRow, isEditMode, onChange, name, }: RadioButtonsProps<T>) => JSX.Element;
|
322
322
|
|
323
|
-
type CircleType = 'link' | 'message';
|
324
|
-
type CircleBoxProps = {
|
323
|
+
declare type CircleType = 'link' | 'message';
|
324
|
+
declare type CircleBoxProps = {
|
325
325
|
index: number;
|
326
326
|
type: CircleType;
|
327
327
|
};
|
328
328
|
declare const Circle: ({ index, type }: CircleBoxProps) => JSX.Element;
|
329
329
|
|
330
|
-
type CircularIndicatorProps = {
|
330
|
+
declare type CircularIndicatorProps = {
|
331
331
|
active: boolean;
|
332
332
|
activeColor?: ThemeColors$2 | string;
|
333
333
|
inactiveColor?: ThemeColors$2 | string;
|
@@ -335,7 +335,7 @@ type CircularIndicatorProps = {
|
|
335
335
|
declare const CircularIndicator: ({ activeColor, inactiveColor, ...props }: CircularIndicatorProps) => JSX.Element;
|
336
336
|
declare const CircularIndicatorStyledComponent: styled_components.StyledComponent<"span", styled_components.DefaultTheme, CircularIndicatorProps, never>;
|
337
337
|
|
338
|
-
type IconButtonProps = {
|
338
|
+
declare type IconButtonProps = {
|
339
339
|
name: IconNames$2;
|
340
340
|
size?: number;
|
341
341
|
onClick: Callback$1;
|
@@ -345,8 +345,8 @@ type IconButtonProps = {
|
|
345
345
|
};
|
346
346
|
declare const IconButton: ({ name, color, onClick, disabled, activeOpacity, withoutOpacityEffect, ...props }: IconButtonProps & TouchableOpacityProps$1) => JSX.Element;
|
347
347
|
|
348
|
-
type FieldRuleLabelTypes = 'OPTIONAL' | 'REQUIRED';
|
349
|
-
type FieldLabelsProps = {
|
348
|
+
declare type FieldRuleLabelTypes = 'OPTIONAL' | 'REQUIRED';
|
349
|
+
declare type FieldLabelsProps = {
|
350
350
|
label: string;
|
351
351
|
tooltipText?: string;
|
352
352
|
isError?: boolean;
|
@@ -355,7 +355,7 @@ type FieldLabelsProps = {
|
|
355
355
|
};
|
356
356
|
declare const FieldLabels: ({ label, isTooltipVisible, isError, ruleLabel, tooltipText, }: FieldLabelsProps) => JSX.Element;
|
357
357
|
|
358
|
-
type InputFieldProps = {
|
358
|
+
declare type InputFieldProps = {
|
359
359
|
name: string;
|
360
360
|
control?: Control<any>;
|
361
361
|
rules?: ControllerProps['rules'];
|
@@ -370,9 +370,9 @@ declare const InputField: ({ control, name, inputProps, styles, labelsProps, def
|
|
370
370
|
|
371
371
|
declare const getFieldPlaceholder: (type: FieldTypes$1, title?: string) => string;
|
372
372
|
|
373
|
-
type InputFieldTypes = 'number' | 'text' | 'email' | 'password';
|
374
|
-
type FieldTypes = 'input' | 'select' | 'checkbox';
|
375
|
-
type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
|
373
|
+
declare type InputFieldTypes = 'number' | 'text' | 'email' | 'password';
|
374
|
+
declare type FieldTypes = 'input' | 'select' | 'checkbox';
|
375
|
+
declare type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
|
376
376
|
name: T;
|
377
377
|
type: FieldTypes;
|
378
378
|
value?: string;
|
@@ -384,18 +384,18 @@ type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
|
|
384
384
|
rules?: ControllerProps$1['rules'];
|
385
385
|
order?: number;
|
386
386
|
};
|
387
|
-
type UIInputField = {
|
387
|
+
declare type UIInputField = {
|
388
388
|
inputType?: InputFieldTypes;
|
389
389
|
maxLength?: number;
|
390
390
|
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
391
391
|
};
|
392
|
-
type UISelectField = {
|
392
|
+
declare type UISelectField = {
|
393
393
|
options?: SelectOption$1[];
|
394
394
|
};
|
395
|
-
type UICheckboxField = {
|
395
|
+
declare type UICheckboxField = {
|
396
396
|
checkboxLabel?: string;
|
397
397
|
};
|
398
|
-
type UIFields<T extends object> = UIField<keyof T>[];
|
398
|
+
declare type UIFields<T extends object> = UIField<keyof T>[];
|
399
399
|
|
400
400
|
declare const getInitialValuesFromFields: <T extends object>(fields: UIFields$1<T>) => DeepPartial<T>;
|
401
401
|
declare const isFormValid: <T extends FieldValues>(formState: FormState<T>) => boolean;
|
@@ -410,7 +410,7 @@ declare const profileInformationMockForm: {
|
|
410
410
|
fields: UIFields$1<Record<string, string>>;
|
411
411
|
}[];
|
412
412
|
|
413
|
-
type FieldMapperProps<T extends object> = {
|
413
|
+
declare type FieldMapperProps<T extends object> = {
|
414
414
|
field: UIField<keyof T>;
|
415
415
|
isEditMode?: boolean;
|
416
416
|
control?: Control<T>;
|
@@ -421,7 +421,7 @@ type FieldMapperProps<T extends object> = {
|
|
421
421
|
};
|
422
422
|
declare const FieldMapper: <T extends object>({ field, isEditMode, spacer, control, isTooltipVisible, optionsPresentation, styles, }: FieldMapperProps<T>) => JSX.Element | null;
|
423
423
|
|
424
|
-
type CheckboxFieldProps = {
|
424
|
+
declare type CheckboxFieldProps = {
|
425
425
|
name: string;
|
426
426
|
control?: Control<any>;
|
427
427
|
defaultValue?: boolean;
|
@@ -429,7 +429,7 @@ type CheckboxFieldProps = {
|
|
429
429
|
};
|
430
430
|
declare const CheckboxField: ({ control, name, checkboxProps, defaultValue, }: CheckboxFieldProps) => JSX.Element;
|
431
431
|
|
432
|
-
type SelectFieldProps = {
|
432
|
+
declare type SelectFieldProps = {
|
433
433
|
selectProps: SelectProps;
|
434
434
|
labelsProps?: FieldLabelsProps;
|
435
435
|
name: string;
|
@@ -442,11 +442,11 @@ type SelectFieldProps = {
|
|
442
442
|
};
|
443
443
|
declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, }: SelectFieldProps) => JSX.Element;
|
444
444
|
|
445
|
-
type CustomValidationRule<T = string> = {
|
445
|
+
declare type CustomValidationRule<T = string> = {
|
446
446
|
text: string;
|
447
447
|
validate: (value?: T) => boolean;
|
448
448
|
};
|
449
|
-
type CustomValidationProps<T = string> = {
|
449
|
+
declare type CustomValidationProps<T = string> = {
|
450
450
|
label?: string;
|
451
451
|
value: T;
|
452
452
|
isSubmitted?: boolean;
|
@@ -460,19 +460,19 @@ declare const ZealThemeProvider: (props: PropsWithChildren<{
|
|
460
460
|
theme?: DefaultTheme;
|
461
461
|
}>) => JSX.Element;
|
462
462
|
|
463
|
-
type ThemeColors = 'primary' | 'secondary' | 'background' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'indigo' | 'blue' | 'white' | 'black' | 'indigoTint' | 'indigoTint2' | 'success' | 'error' | 'warning' | 'green' | 'greenTint';
|
464
|
-
type SizesTypes = '3XL' | '2XL' | 'XL-2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
|
465
|
-
type FontSizesTypes = Exclude<SizesTypes, 'XL-2XL'> | 'H2' | 'H1';
|
466
|
-
type BreakpointSizesTypes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
467
|
-
type ThemeColorsType = Record<ThemeColors, string>;
|
468
|
-
type ThemeTextType = Record<FontSizesTypes, {
|
463
|
+
declare type ThemeColors = 'primary' | 'secondary' | 'background' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'indigo' | 'blue' | 'white' | 'black' | 'indigoTint' | 'indigoTint2' | 'success' | 'error' | 'warning' | 'green' | 'greenTint';
|
464
|
+
declare type SizesTypes = '3XL' | '2XL' | 'XL-2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
|
465
|
+
declare type FontSizesTypes = Exclude<SizesTypes, 'XL-2XL'> | 'H2' | 'H1';
|
466
|
+
declare type BreakpointSizesTypes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
467
|
+
declare type ThemeColorsType = Record<ThemeColors, string>;
|
468
|
+
declare type ThemeTextType = Record<FontSizesTypes, {
|
469
469
|
'font-weight': string;
|
470
470
|
'font-size': number;
|
471
471
|
'line-height': number;
|
472
472
|
}>;
|
473
|
-
type ThemeSizesType = Record<SizesTypes, number>;
|
474
|
-
type ThemeDevicesType = Record<BreakpointSizesTypes, string>;
|
475
|
-
type ZealTheme = {
|
473
|
+
declare type ThemeSizesType = Record<SizesTypes, number>;
|
474
|
+
declare type ThemeDevicesType = Record<BreakpointSizesTypes, string>;
|
475
|
+
declare type ZealTheme = {
|
476
476
|
colors: ThemeColorsType;
|
477
477
|
fonts: Record<FontSizesTypes, number>;
|
478
478
|
sizes: ThemeSizesType;
|
@@ -483,7 +483,7 @@ declare const toastStyles: styled_components.FlattenSimpleInterpolation;
|
|
483
483
|
|
484
484
|
declare const useMediaQuery: (breakpointSize: BreakpointSizesTypes$1) => boolean;
|
485
485
|
|
486
|
-
type BaseSelectableProps<T> = {
|
486
|
+
declare type BaseSelectableProps<T> = {
|
487
487
|
iconName: IconNames;
|
488
488
|
infoText: string;
|
489
489
|
isActive?: boolean;
|
@@ -491,7 +491,7 @@ type BaseSelectableProps<T> = {
|
|
491
491
|
value: T;
|
492
492
|
};
|
493
493
|
|
494
|
-
type SelectableCardGroupProps<T> = {
|
494
|
+
declare type SelectableCardGroupProps<T> = {
|
495
495
|
cards: BaseSelectableProps<T>[];
|
496
496
|
handleChange?: (value: T | undefined) => void;
|
497
497
|
spacing?: SizesTypes;
|
@@ -499,9 +499,9 @@ type SelectableCardGroupProps<T> = {
|
|
499
499
|
};
|
500
500
|
declare const SelectableCardGroup: <T extends string>({ cards, handleChange, spacing, initialValue, }: SelectableCardGroupProps<T>) => JSX.Element;
|
501
501
|
|
502
|
-
type HeroImageAlignment = 'left_aligned' | 'center_aligned';
|
503
|
-
type HeroImageTemplate = 'card' | 'full_width';
|
504
|
-
type HeroImageProps = {
|
502
|
+
declare type HeroImageAlignment = 'left_aligned' | 'center_aligned';
|
503
|
+
declare type HeroImageTemplate = 'card' | 'full_width';
|
504
|
+
declare type HeroImageProps = {
|
505
505
|
type: 'hero_image';
|
506
506
|
backgroundImage: ImageProps$1;
|
507
507
|
mainHeading: string;
|
@@ -515,8 +515,8 @@ type HeroImageProps = {
|
|
515
515
|
};
|
516
516
|
declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, template, isMobile, height, }: HeroImageProps) => JSX.Element;
|
517
517
|
|
518
|
-
type Anchor = 'top' | 'left' | 'bottom' | 'right';
|
519
|
-
type DrawerProps = DrawerProps$1 & {
|
518
|
+
declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
|
519
|
+
declare type DrawerProps = DrawerProps$1 & {
|
520
520
|
anchor: Anchor;
|
521
521
|
padding?: SizesTypes$2 | number;
|
522
522
|
height?: number | string;
|
@@ -526,15 +526,15 @@ type DrawerProps = DrawerProps$1 & {
|
|
526
526
|
|
527
527
|
declare const Drawer: ({ children, closeIconColor, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
|
528
528
|
|
529
|
-
type ColumnsTemplateKeys = 'horizontal' | 'card' | 'with_image';
|
529
|
+
declare type ColumnsTemplateKeys = 'horizontal' | 'card' | 'with_image';
|
530
530
|
|
531
|
-
type ColumnsProps = {
|
531
|
+
declare type ColumnsProps = {
|
532
532
|
type: 'columns';
|
533
533
|
columns: ColumnItem[];
|
534
534
|
containerStyles?: CSSProperties$1;
|
535
535
|
template?: ColumnsTemplateKeys;
|
536
536
|
};
|
537
|
-
type ColumnItem = {
|
537
|
+
declare type ColumnItem = {
|
538
538
|
title?: string;
|
539
539
|
mainContent?: string;
|
540
540
|
button?: LinkButtonProps$1;
|
@@ -542,25 +542,25 @@ type ColumnItem = {
|
|
542
542
|
};
|
543
543
|
declare const Columns: ({ columns, containerStyles, template }: ColumnsProps) => JSX.Element;
|
544
544
|
|
545
|
-
type MenuItem<T> = {
|
545
|
+
declare type MenuItem<T> = {
|
546
546
|
id: T;
|
547
547
|
title: string;
|
548
548
|
onClick?: (id: T) => void;
|
549
549
|
};
|
550
|
-
type MenuItemsProps<T> = {
|
550
|
+
declare type MenuItemsProps<T> = {
|
551
551
|
title?: string;
|
552
552
|
onItemPress?: (id: T) => void;
|
553
553
|
options?: MenuItem<T>[];
|
554
554
|
};
|
555
555
|
declare const MenuItems: <T extends string | number>({ title, onItemPress, options, }: MenuItemsProps<T>) => JSX.Element;
|
556
556
|
|
557
|
-
type AvatarDropdownProps<T> = {
|
557
|
+
declare type AvatarDropdownProps<T> = {
|
558
558
|
avatarProps: AvatarProps;
|
559
559
|
menuConfig: MenuItemsProps<T>;
|
560
560
|
};
|
561
561
|
declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
|
562
562
|
|
563
|
-
type TabProps<T = string, K = string> = {
|
563
|
+
declare type TabProps<T = string, K = string> = {
|
564
564
|
tabKey: T;
|
565
565
|
text: string;
|
566
566
|
disabled?: boolean;
|
@@ -571,7 +571,7 @@ type TabProps<T = string, K = string> = {
|
|
571
571
|
onOptionClick?: (optionKey: K) => void;
|
572
572
|
};
|
573
573
|
|
574
|
-
type TabGroupProps<T = string, K = string> = {
|
574
|
+
declare type TabGroupProps<T = string, K = string> = {
|
575
575
|
tabs: Pick<TabProps<T, K>, 'text' | 'tabKey' | 'disabled' | 'options'>[];
|
576
576
|
activeTabKey: T;
|
577
577
|
spacing?: SizesTypes$2;
|
@@ -582,7 +582,7 @@ type TabGroupProps<T = string, K = string> = {
|
|
582
582
|
};
|
583
583
|
declare const TabGroup: <T extends string, K extends string>({ tabs, spacing, vertical, activeTabKey, onTabChange, style, }: TabGroupProps<T, K>) => JSX.Element;
|
584
584
|
|
585
|
-
type FieldSectionProps<T extends object> = {
|
585
|
+
declare type FieldSectionProps<T extends object> = {
|
586
586
|
label: string;
|
587
587
|
control?: Control<T>;
|
588
588
|
isEditMode?: boolean;
|
@@ -590,7 +590,7 @@ type FieldSectionProps<T extends object> = {
|
|
590
590
|
};
|
591
591
|
declare const FieldSection: <T extends object>({ fields, label, isEditMode, control, }: FieldSectionProps<T>) => JSX.Element;
|
592
592
|
|
593
|
-
type MenuNavigationProps<T> = {
|
593
|
+
declare type MenuNavigationProps<T> = {
|
594
594
|
menuConfig: MenuItemsProps<T>;
|
595
595
|
};
|
596
596
|
declare const MenuNavigation: <T extends string | number>({ menuConfig, }: MenuNavigationProps<T>) => JSX.Element;
|
@@ -598,14 +598,14 @@ declare const CaretIconWrapper: styled_components.StyledComponent<"div", styled_
|
|
598
598
|
isOpen: boolean;
|
599
599
|
}, never>;
|
600
600
|
|
601
|
-
type EmphasizedTextProps = {
|
601
|
+
declare type EmphasizedTextProps = {
|
602
602
|
type: 'emphasized_text';
|
603
603
|
invertColors: boolean;
|
604
604
|
textContent: string;
|
605
605
|
};
|
606
606
|
declare const EmphasizedText: ({ textContent, invertColors }: EmphasizedTextProps) => JSX.Element;
|
607
607
|
|
608
|
-
type RadioButtonFieldProps<T extends string> = {
|
608
|
+
declare type RadioButtonFieldProps<T extends string> = {
|
609
609
|
name: string;
|
610
610
|
control?: Control<any>;
|
611
611
|
rules?: ControllerProps['rules'];
|
@@ -618,7 +618,7 @@ type RadioButtonFieldProps<T extends string> = {
|
|
618
618
|
};
|
619
619
|
declare const RadioButtonField: <T extends string>({ control, name, radioButtonsProps, styles, labelsProps, defaultValue, optional, required, rules, }: RadioButtonFieldProps<T>) => JSX.Element;
|
620
620
|
|
621
|
-
type AlertProps = {
|
621
|
+
declare type AlertProps = {
|
622
622
|
style?: CSSProperties;
|
623
623
|
title: string;
|
624
624
|
description: string;
|
@@ -636,8 +636,8 @@ type AlertProps = {
|
|
636
636
|
};
|
637
637
|
declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, containerStyles, isMobile, ...props }: AlertProps) => JSX.Element;
|
638
638
|
|
639
|
-
type OrientationType = 'horizontal' | 'vertical';
|
640
|
-
type StepperProps = {
|
639
|
+
declare type OrientationType = 'horizontal' | 'vertical';
|
640
|
+
declare type StepperProps = {
|
641
641
|
steps: {
|
642
642
|
title: string;
|
643
643
|
description?: string;
|
@@ -648,7 +648,7 @@ type StepperProps = {
|
|
648
648
|
};
|
649
649
|
declare const Stepper: ({ steps, orientation, currentStep }: StepperProps) => JSX.Element;
|
650
650
|
|
651
|
-
type PdfDocumentProps = {
|
651
|
+
declare type PdfDocumentProps = {
|
652
652
|
source: string;
|
653
653
|
isMobile?: boolean;
|
654
654
|
customDocumentStyles?: Partial<{
|
@@ -662,8 +662,8 @@ type PdfDocumentProps = {
|
|
662
662
|
};
|
663
663
|
declare const PdfDocument: ({ source, isMobile, customDocumentStyles, }: PdfDocumentProps) => JSX.Element;
|
664
664
|
|
665
|
-
type FeedTemplateKeys = `feed_${'a' | 'b'}`;
|
666
|
-
type FeedContentHeaderProps = {
|
665
|
+
declare type FeedTemplateKeys = `feed_${'a' | 'b'}`;
|
666
|
+
declare type FeedContentHeaderProps = {
|
667
667
|
title: string;
|
668
668
|
enableFavoriting?: boolean;
|
669
669
|
templateType: FeedTemplateKeys;
|
@@ -672,7 +672,7 @@ type FeedContentHeaderProps = {
|
|
672
672
|
} & Partial<Omit<InputFieldProps$1, 'labelsProps' | 'required' | 'optional'>>;
|
673
673
|
declare const FeedContentHeader: ({ templateType, title, name, inputProps, isMobile, menuConfig, ...rest }: FeedContentHeaderProps) => JSX.Element;
|
674
674
|
|
675
|
-
type ToggleFieldProps = {
|
675
|
+
declare type ToggleFieldProps = {
|
676
676
|
name: string;
|
677
677
|
title: string;
|
678
678
|
control?: Control<any>;
|
@@ -682,9 +682,9 @@ type ToggleFieldProps = {
|
|
682
682
|
};
|
683
683
|
declare const HorizontalButtonsField: ({ name, title, control, description, horizontalButtonsProps, }: ToggleFieldProps) => JSX.Element;
|
684
684
|
|
685
|
-
type Callback = () => void;
|
685
|
+
declare type Callback = () => void;
|
686
686
|
|
687
|
-
type BottomNaVBarItemProps = {
|
687
|
+
declare type BottomNaVBarItemProps = {
|
688
688
|
name: string;
|
689
689
|
icon: ComponentType<Omit<IconProps$1, 'name'>>;
|
690
690
|
active: boolean;
|
@@ -693,11 +693,11 @@ type BottomNaVBarItemProps = {
|
|
693
693
|
};
|
694
694
|
declare const BottomNavBarItem: ({ name, icon: IconComponent, active, activeColor, onNavigate, }: BottomNaVBarItemProps) => JSX.Element;
|
695
695
|
|
696
|
-
type SetPasswordRuleValidation = {
|
696
|
+
declare type SetPasswordRuleValidation = {
|
697
697
|
label: string;
|
698
698
|
rule: MaxRuleValidation | MinRuleValidation;
|
699
699
|
};
|
700
|
-
type SetPasswordFormProps = {
|
700
|
+
declare type SetPasswordFormProps = {
|
701
701
|
fields: UIFields<SetPasswordFields>;
|
702
702
|
logoUrl: string;
|
703
703
|
isLoading?: boolean;
|
@@ -708,7 +708,7 @@ type SetPasswordFormProps = {
|
|
708
708
|
declare const SetPasswordForm: ({ logoUrl, fields, validations, onBack, onSubmit, isLoading, }: SetPasswordFormProps) => JSX.Element;
|
709
709
|
|
710
710
|
declare const showAcceptToastMessage: () => void | undefined;
|
711
|
-
type AcquisitionFormProps<T extends object> = {
|
711
|
+
declare type AcquisitionFormProps<T extends object> = {
|
712
712
|
fields: UIFields$2<T>;
|
713
713
|
consents: ConsentProps$1[];
|
714
714
|
logoUrl: string;
|
@@ -726,11 +726,11 @@ type AcquisitionFormProps<T extends object> = {
|
|
726
726
|
};
|
727
727
|
declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, optionsPresentation, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, isTooltipVisible, }: AcquisitionFormProps<T>) => JSX.Element;
|
728
728
|
|
729
|
-
type VerificationCodeForm = {
|
729
|
+
declare type VerificationCodeForm = {
|
730
730
|
code: string;
|
731
731
|
};
|
732
|
-
type AuthMethod = 'email' | 'sms';
|
733
|
-
type TwoFactorAuthProps = {
|
732
|
+
declare type AuthMethod = 'email' | 'sms';
|
733
|
+
declare type TwoFactorAuthProps = {
|
734
734
|
logoUrl: string;
|
735
735
|
onNext?: (authMethod: AuthMethod) => Promise<void>;
|
736
736
|
onSubmit?: (values: VerificationCodeForm) => void;
|
@@ -738,13 +738,13 @@ type TwoFactorAuthProps = {
|
|
738
738
|
};
|
739
739
|
declare const TwoFactorAuth: ({ logoUrl, onSubmit, onBack, onNext }: TwoFactorAuthProps) => JSX.Element;
|
740
740
|
|
741
|
-
type LoginFields = {
|
741
|
+
declare type LoginFields = {
|
742
742
|
email: string;
|
743
743
|
password: string;
|
744
744
|
rememberMe: boolean;
|
745
745
|
};
|
746
746
|
|
747
|
-
type LoginFormProps = {
|
747
|
+
declare type LoginFormProps = {
|
748
748
|
fields: UIFields<LoginFields>;
|
749
749
|
logoUrl: string;
|
750
750
|
isLoading?: boolean;
|
@@ -761,11 +761,11 @@ type LoginFormProps = {
|
|
761
761
|
};
|
762
762
|
declare const LoginForm: ({ logoUrl, fields, isTooltipVisible, onSubmit, optionsPresentation, onSignUpButtonClick, isLoading, twoFactorAuthConfig, consents, onForgotPasswordButtonClick, }: LoginFormProps) => JSX.Element;
|
763
763
|
|
764
|
-
type FooterProps = FooterAProps | FooterBProps | FooterCProps | FooterDProps;
|
764
|
+
declare type FooterProps = FooterAProps | FooterBProps | FooterCProps | FooterDProps;
|
765
765
|
declare const Footer: (props: FooterProps) => JSX.Element;
|
766
766
|
|
767
|
-
type FeedContentTemplateTypes = 'full_width_content' | 'standard_content' | 'auto_play' | '';
|
768
|
-
type FeedContentProps = {
|
767
|
+
declare type FeedContentTemplateTypes = 'full_width_content' | 'standard_content' | 'auto_play' | '';
|
768
|
+
declare type FeedContentProps = {
|
769
769
|
feedContentType: Omit<FilteredFeedContentType$1, 'all'>;
|
770
770
|
feedContentTemplate: FeedContentTemplateTypes;
|
771
771
|
id?: string;
|
@@ -785,6 +785,7 @@ type FeedContentProps = {
|
|
785
785
|
isMobile?: boolean;
|
786
786
|
isExpanded?: boolean;
|
787
787
|
fullWidth?: boolean;
|
788
|
+
fullWidthTemplateContainerStyles?: CSSProperties;
|
788
789
|
showDefaultDocumentStyles?: boolean;
|
789
790
|
destinationLink?: string;
|
790
791
|
onDestinationHandler?: Callback$1;
|
@@ -798,18 +799,18 @@ type FeedContentProps = {
|
|
798
799
|
|
799
800
|
declare const FeedContent: ({ feedContentTemplate, ...props }: FeedContentProps) => JSX.Element;
|
800
801
|
|
801
|
-
type FooterContactInfo = {
|
802
|
+
declare type FooterContactInfo = {
|
802
803
|
phoneNumber: string;
|
803
804
|
addressLine1: string;
|
804
805
|
addressLine2: string;
|
805
806
|
};
|
806
|
-
type FooterLink = {
|
807
|
+
declare type FooterLink = {
|
807
808
|
id: string;
|
808
809
|
name: string;
|
809
810
|
location: string;
|
810
811
|
};
|
811
812
|
|
812
|
-
type ProfileInformationProps<TabKeys extends string> = {
|
813
|
+
declare type ProfileInformationProps<TabKeys extends string> = {
|
813
814
|
backgroundImageUrl: string;
|
814
815
|
avatarProps: AvatarProps;
|
815
816
|
tabs: TabProps<string, TabKeys>[];
|
@@ -825,10 +826,10 @@ type ProfileInformationProps<TabKeys extends string> = {
|
|
825
826
|
};
|
826
827
|
declare const ProfileInformation: <TabKeys extends string>({ avatarProps, backgroundImageUrl, initialTabKey, tabs, title, editIcons, tabContents, }: ProfileInformationProps<TabKeys>) => JSX.Element;
|
827
828
|
|
828
|
-
type EmailAddressFields = {
|
829
|
+
declare type EmailAddressFields = {
|
829
830
|
email: string;
|
830
831
|
};
|
831
|
-
type ForgotPasswordFormProps = {
|
832
|
+
declare type ForgotPasswordFormProps = {
|
832
833
|
logoUrl: string;
|
833
834
|
isLoading?: boolean;
|
834
835
|
onSubmit?: (values: EmailAddressFields) => void;
|
@@ -836,7 +837,7 @@ type ForgotPasswordFormProps = {
|
|
836
837
|
};
|
837
838
|
declare const ForgotPasswordForm: ({ logoUrl, onBack, onSubmit, isLoading, }: ForgotPasswordFormProps) => JSX.Element;
|
838
839
|
|
839
|
-
type BodyProps = {
|
840
|
+
declare type BodyProps = {
|
840
841
|
elements: {
|
841
842
|
data: (HeroImageProps$1 | HeroSliderProps$1 | SubscribePanelProps$1 | ColumnsProps$1 | EmphasizedTextProps$1 | FeedContentContainerProps$1)[];
|
842
843
|
spacer?: number;
|
@@ -846,14 +847,14 @@ type BodyProps = {
|
|
846
847
|
};
|
847
848
|
declare const Body: ({ elements, horizontalPaddings, containerStyles }: BodyProps) => JSX.Element;
|
848
849
|
|
849
|
-
type ISIProps = ISIAProps;
|
850
|
+
declare type ISIProps = ISIAProps;
|
850
851
|
declare const ISI: (props: ISIProps) => JSX.Element;
|
851
852
|
|
852
|
-
type ImportantLink = {
|
853
|
+
declare type ImportantLink = {
|
853
854
|
text: string;
|
854
855
|
href: string;
|
855
856
|
};
|
856
|
-
type HeaderAProps<T = string> = {
|
857
|
+
declare type HeaderAProps<T = string> = {
|
857
858
|
className?: string;
|
858
859
|
links?: ImportantLink[];
|
859
860
|
logoUrl: string;
|
@@ -864,15 +865,15 @@ type HeaderAProps<T = string> = {
|
|
864
865
|
isMobile?: boolean;
|
865
866
|
};
|
866
867
|
|
867
|
-
type HeaderBProps<T = string> = Pick<HeaderAProps$1<T>, 'isMobile' | 'logoUrl' | 'tabsProps' | 'buttonText' | 'onActionButtonClick' | 'buttonLink' | 'className'>;
|
868
|
+
declare type HeaderBProps<T = string> = Pick<HeaderAProps$1<T>, 'isMobile' | 'logoUrl' | 'tabsProps' | 'buttonText' | 'onActionButtonClick' | 'buttonLink' | 'className'>;
|
868
869
|
|
869
|
-
type HeaderCProps<T> = Pick<HeaderAProps$1<T>, 'logoUrl' | 'tabsProps' | 'isMobile' | 'className'>;
|
870
|
+
declare type HeaderCProps<T> = Pick<HeaderAProps$1<T>, 'logoUrl' | 'tabsProps' | 'isMobile' | 'className'>;
|
870
871
|
|
871
|
-
type HeaderDProps = {
|
872
|
+
declare type HeaderDProps = {
|
872
873
|
withAvatar: AvatarDropdownProps$1<string>;
|
873
874
|
} & Pick<HeaderAProps$1, 'isMobile' | 'logoUrl' | 'links' | 'tabsProps' | 'className'>;
|
874
875
|
|
875
|
-
type HeaderProps<T = string> = (HeaderAProps<T> & {
|
876
|
+
declare type HeaderProps<T = string> = (HeaderAProps<T> & {
|
876
877
|
type: 'header_a';
|
877
878
|
}) | (HeaderBProps<T> & {
|
878
879
|
type: 'header_b';
|
@@ -883,24 +884,24 @@ type HeaderProps<T = string> = (HeaderAProps<T> & {
|
|
883
884
|
});
|
884
885
|
declare const Header: <T extends string | number>(props: HeaderProps<T>) => JSX.Element;
|
885
886
|
|
886
|
-
type ButtonCaptureProps = {
|
887
|
+
declare type ButtonCaptureProps = {
|
887
888
|
type: 'button';
|
888
889
|
acceptButton: ButtonProps$1;
|
889
890
|
denyButton: ButtonProps$1;
|
890
891
|
};
|
891
|
-
type RadioButtonsCaptureProps<T extends string> = {
|
892
|
+
declare type RadioButtonsCaptureProps<T extends string> = {
|
892
893
|
type: 'radioButton';
|
893
894
|
acceptValue: T;
|
894
895
|
} & RadioButtonsProps$1<T>;
|
895
|
-
type CheckboxCaptureProps = {
|
896
|
+
declare type CheckboxCaptureProps = {
|
896
897
|
type: 'checkbox';
|
897
898
|
label: string;
|
898
899
|
value: boolean;
|
899
900
|
onChange: (value: boolean) => void;
|
900
901
|
};
|
901
|
-
type ConsentCaptureProps<T extends string = string> = ButtonCaptureProps | RadioButtonsCaptureProps<T> | CheckboxCaptureProps;
|
902
|
+
declare type ConsentCaptureProps<T extends string = string> = ButtonCaptureProps | RadioButtonsCaptureProps<T> | CheckboxCaptureProps;
|
902
903
|
|
903
|
-
type ConsentProps<T extends string = string> = {
|
904
|
+
declare type ConsentProps<T extends string = string> = {
|
904
905
|
text: string;
|
905
906
|
isRequired?: boolean;
|
906
907
|
consentCaptureProps: ConsentCaptureProps<T>;
|
@@ -909,8 +910,8 @@ type ConsentProps<T extends string = string> = {
|
|
909
910
|
};
|
910
911
|
declare const Consent: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: ConsentProps<T>) => JSX.Element;
|
911
912
|
|
912
|
-
type ProcessTrackerStatus = 'complete' | 'incomplete' | 'in_progress';
|
913
|
-
type ProcessTrackerProps = {
|
913
|
+
declare type ProcessTrackerStatus = 'complete' | 'incomplete' | 'in_progress';
|
914
|
+
declare type ProcessTrackerProps = {
|
914
915
|
title?: Nullable<string>;
|
915
916
|
description?: Nullable<string>;
|
916
917
|
isMobile?: boolean;
|
@@ -929,8 +930,8 @@ type ProcessTrackerProps = {
|
|
929
930
|
};
|
930
931
|
declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, withCloseIcon, }: ProcessTrackerProps) => JSX.Element;
|
931
932
|
|
932
|
-
type FilteredFeedContentType = 'all' | 'favourite';
|
933
|
-
type FeedContentContainerProps = {
|
933
|
+
declare type FilteredFeedContentType = 'all' | 'favourite';
|
934
|
+
declare type FeedContentContainerProps = {
|
934
935
|
type: 'feed';
|
935
936
|
feedHeader: Omit<FeedContentHeaderProps$1, 'isMobile'>;
|
936
937
|
feedContent?: Omit<FeedContentProps$1, 'isMobile'>[];
|
@@ -938,15 +939,15 @@ type FeedContentContainerProps = {
|
|
938
939
|
};
|
939
940
|
declare const FeedContentContainer: ({ feedHeader, feedContent, isMobile, }: FeedContentContainerProps) => JSX.Element;
|
940
941
|
|
941
|
-
type DynamicElementProps = (AlertProps$1 & {
|
942
|
+
declare type DynamicElementProps = (AlertProps$1 & {
|
942
943
|
elementType: 'alert';
|
943
944
|
}) | (ProcessTrackerProps$1 & {
|
944
945
|
elementType: 'process_tracker';
|
945
946
|
}) | (FeedContentProps$1 & {
|
946
947
|
elementType: 'feed_content';
|
947
948
|
});
|
948
|
-
type SizeProps = SizesTypes$1 | number;
|
949
|
-
type DynamicContentZoneProps = {
|
949
|
+
declare type SizeProps = SizesTypes$1 | number;
|
950
|
+
declare type DynamicContentZoneProps = {
|
950
951
|
elements: {
|
951
952
|
data: DynamicElementProps[];
|
952
953
|
spacer?: SizeProps;
|
@@ -956,20 +957,20 @@ type DynamicContentZoneProps = {
|
|
956
957
|
};
|
957
958
|
declare const DynamicContentZone: ({ elements, horizontalPaddings, containerStyles, }: DynamicContentZoneProps) => JSX.Element;
|
958
959
|
|
959
|
-
type BottomNavBarNavigationProps = {
|
960
|
+
declare type BottomNavBarNavigationProps = {
|
960
961
|
navbarItems: BottomNaVBarItemProps$1[];
|
961
962
|
};
|
962
963
|
declare const BottomNavBarNavigation: ({ navbarItems }: BottomNavBarNavigationProps) => JSX.Element;
|
963
964
|
|
964
|
-
type HeroSliderProps = {
|
965
|
+
declare type HeroSliderProps = {
|
965
966
|
type: 'hero_slides';
|
966
967
|
heroSlides: Omit<HeroImageProps$1, 'type' | 'template'>[];
|
967
968
|
};
|
968
969
|
declare const HeroSlider: ({ heroSlides }: HeroSliderProps) => JSX.Element | null;
|
969
970
|
declare const HeroSliderWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
970
971
|
|
971
|
-
type SubscribePanelTemplateKeys = `subscribe_template_${'a' | 'b'}`;
|
972
|
-
type SubscribePanelTemplateProps = {
|
972
|
+
declare type SubscribePanelTemplateKeys = `subscribe_template_${'a' | 'b'}`;
|
973
|
+
declare type SubscribePanelTemplateProps = {
|
973
974
|
title?: string;
|
974
975
|
description?: string;
|
975
976
|
isSubscribing?: boolean;
|
@@ -977,18 +978,18 @@ type SubscribePanelTemplateProps = {
|
|
977
978
|
isMobile: boolean;
|
978
979
|
control: Control$1<SubscribePanelForm>;
|
979
980
|
};
|
980
|
-
type SubscribePanelProps = Omit<SubscribePanelTemplateProps, 'isMobile' | 'control' | 'subscribeHandler'> & {
|
981
|
+
declare type SubscribePanelProps = Omit<SubscribePanelTemplateProps, 'isMobile' | 'control' | 'subscribeHandler'> & {
|
981
982
|
type: 'subscribe_panel';
|
982
983
|
template: SubscribePanelTemplateKeys;
|
983
984
|
onSubscribe: (email: string) => void;
|
984
985
|
};
|
985
|
-
type SubscribePanelForm = {
|
986
|
+
declare type SubscribePanelForm = {
|
986
987
|
email: string;
|
987
988
|
};
|
988
989
|
|
989
990
|
declare const SubscribePanel: ({ template, onSubscribe, ...props }: SubscribePanelProps) => JSX.Element;
|
990
991
|
|
991
|
-
type DefaultTemplateProps = {
|
992
|
+
declare type DefaultTemplateProps = {
|
992
993
|
alerts?: AlertProps$2[];
|
993
994
|
processTracker?: ProcessTrackerProps$1;
|
994
995
|
header: React.ReactNode;
|
@@ -1010,21 +1011,21 @@ declare const useStep: (maxStep: number) => [number, Helpers];
|
|
1010
1011
|
|
1011
1012
|
declare const useRequiredConsentsAcceptedValues: (consents: ConsentProps$1[]) => boolean;
|
1012
1013
|
|
1013
|
-
type MlrRichTextViewerProviderProps = PropsWithChildren<{
|
1014
|
+
declare type MlrRichTextViewerProviderProps = PropsWithChildren<{
|
1014
1015
|
annotationsList: AnnotationsList$1;
|
1015
1016
|
isMLRReview: boolean;
|
1016
1017
|
showAnnotations: boolean;
|
1017
1018
|
}>;
|
1018
1019
|
declare const MlrRichTextViewerProvider: ({ children, isMLRReview, showAnnotations, annotationsList, }: MlrRichTextViewerProviderProps) => JSX.Element;
|
1019
1020
|
|
1020
|
-
type MlrRichTextViewerContextType = {
|
1021
|
+
declare type MlrRichTextViewerContextType = {
|
1021
1022
|
isMLRReview: boolean;
|
1022
1023
|
showAnnotations: boolean;
|
1023
1024
|
annotationsList: AnnotationsList$1;
|
1024
1025
|
};
|
1025
1026
|
declare const MlrRichTextViewerContext: React$1.Context<MlrRichTextViewerContextType>;
|
1026
1027
|
|
1027
|
-
type AnnotationsList = {
|
1028
|
+
declare type AnnotationsList = {
|
1028
1029
|
tags: {
|
1029
1030
|
id: string;
|
1030
1031
|
label: string;
|