@zealicsolutions/web-ui 0.2.143 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +27 -27
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/Avatar/Avatar.d.ts +2 -2
- package/dist/cjs/src/atoms/Buttons/Button.d.ts +20 -0
- package/dist/cjs/src/atoms/Buttons/Button.stories.d.ts +15 -0
- package/dist/cjs/src/atoms/Buttons/IconButton.d.ts +1 -1
- package/dist/cjs/src/atoms/Buttons/TextButton.d.ts +19 -4
- package/dist/cjs/src/atoms/Checkbox/Checkbox.d.ts +9 -15
- package/dist/cjs/src/atoms/Checkbox/Checkbox.stories.d.ts +1 -1
- package/dist/cjs/src/atoms/Circle/Circle.d.ts +0 -1
- package/dist/cjs/src/atoms/CircularIndicator/CircularIndicator.stories.d.ts +2 -2
- package/dist/cjs/src/atoms/Icon/Icon.d.ts +15 -18
- package/dist/cjs/src/atoms/Image/Image.d.ts +8 -0
- package/dist/cjs/src/atoms/Image/Image.stories.d.ts +8 -0
- package/dist/cjs/src/atoms/Input/Input.d.ts +2 -16
- package/dist/cjs/src/atoms/Input/Input.stories.d.ts +4 -4
- package/dist/cjs/src/atoms/RadioButtons/RadioButtons.d.ts +14 -53
- package/dist/cjs/src/atoms/RadioButtons/RadioButtons.stories.d.ts +3 -25
- package/dist/cjs/src/atoms/RichTextViewer/RichTextViewer.d.ts +4 -6
- package/dist/cjs/src/atoms/RichTextViewer/types.d.ts +0 -1
- package/dist/cjs/src/atoms/Select/Select.d.ts +2 -34
- package/dist/cjs/src/atoms/Select/Select.stories.d.ts +4 -17
- package/dist/cjs/src/atoms/Select/styles.d.ts +1 -5
- package/dist/cjs/src/atoms/Select/types.d.ts +14 -0
- package/dist/cjs/src/atoms/TextWrapper/TextWrapper.d.ts +5 -10
- package/dist/cjs/src/atoms/TextWrapper/TextWrapper.stories.d.ts +5 -5
- package/dist/cjs/src/atoms/Tooltip/Tooltip.d.ts +3 -6
- package/dist/cjs/src/atoms/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/cjs/src/atoms/Video/Video.d.ts +11 -0
- package/dist/cjs/src/atoms/Video/Video.stories.d.ts +9 -0
- package/dist/cjs/src/atoms/index.d.ts +3 -2
- package/dist/cjs/src/contexts/MlrRichTextViewerContext/types.d.ts +1 -5
- package/dist/cjs/src/contexts/index.d.ts +0 -3
- package/dist/cjs/src/fieldsConfiguration/types.d.ts +5 -5
- package/dist/cjs/src/helpers/validations.d.ts +0 -10
- package/dist/cjs/src/icons/CaretDown.d.ts +1 -1
- package/dist/cjs/src/icons/Check.d.ts +2 -2
- package/dist/cjs/src/icons/Close.d.ts +1 -1
- package/dist/cjs/src/icons/Filter.d.ts +2 -2
- package/dist/cjs/src/icons/Hide.d.ts +1 -1
- package/dist/cjs/src/icons/Info.d.ts +1 -1
- package/dist/cjs/src/icons/Mail.d.ts +1 -1
- package/dist/cjs/src/icons/Minus.d.ts +2 -2
- package/dist/cjs/src/icons/Mobile.d.ts +2 -2
- package/dist/cjs/src/icons/Play.d.ts +1 -1
- package/dist/cjs/src/icons/Search.d.ts +1 -1
- package/dist/cjs/src/icons/View.d.ts +2 -2
- package/dist/cjs/src/icons/Warning.d.ts +1 -1
- package/dist/cjs/src/index.d.ts +1 -3
- package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +1 -1
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.d.ts +8 -27
- package/dist/cjs/src/molecules/Columns/Column.d.ts +1 -9
- package/dist/cjs/src/molecules/Columns/styles.d.ts +13 -10
- package/dist/cjs/src/molecules/Drawer/Drawer.stories.d.ts +2 -2
- package/dist/cjs/src/molecules/FieldLabels/FieldLabels.d.ts +2 -35
- package/dist/cjs/src/molecules/FieldLabels/FieldLabels.stories.d.ts +4 -4
- package/dist/cjs/src/molecules/FieldMapper/FieldMapper.d.ts +2 -3
- package/dist/cjs/src/molecules/HeroImage/HeroImage.d.ts +2 -3
- package/dist/cjs/src/molecules/InputField/InputField.d.ts +11 -11
- package/dist/cjs/src/molecules/InputField/InputField.stories.d.ts +5 -31
- package/dist/cjs/src/molecules/PdfDocument/PdfDocument.d.ts +1 -0
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.d.ts +12 -55
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +1 -60
- package/dist/cjs/src/molecules/SelectField/SelectField.d.ts +11 -11
- package/dist/cjs/src/molecules/SelectField/SelectField.stories.d.ts +4 -44
- 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/SelectableInfoCard/styles.d.ts +3 -4
- package/dist/cjs/src/molecules/Tab/Tab.d.ts +24 -0
- package/dist/{esm/src/atoms → cjs/src/molecules}/Tab/styles.d.ts +5 -5
- package/dist/cjs/src/molecules/TabGroup/TabGroup.d.ts +7 -21
- package/dist/cjs/src/molecules/TabGroup/TabGroup.stories.d.ts +4 -4
- package/dist/cjs/src/molecules/TabGroup/styles.d.ts +4 -26
- package/dist/cjs/src/molecules/TabGroup/useTabAnimation.d.ts +3 -2
- package/dist/cjs/src/molecules/index.d.ts +0 -7
- package/dist/cjs/src/organisms/AccountInformation/AccountInformation.d.ts +2 -2
- package/dist/cjs/src/organisms/Body/Body.d.ts +1 -1
- package/dist/cjs/src/organisms/Body/Body.stories.d.ts +1 -1
- package/dist/cjs/src/organisms/Consent/Consent.stories.d.ts +2 -2
- package/dist/cjs/src/organisms/Consent/ConsentCapture.d.ts +1 -2
- package/dist/cjs/src/organisms/FeedContent/types.d.ts +2 -2
- package/dist/cjs/src/organisms/Footer/Footer.stories.d.ts +2 -2
- package/dist/cjs/src/organisms/Footer/styles.d.ts +1 -9
- package/dist/cjs/src/organisms/Header/Header.stories.d.ts +2 -2
- package/dist/cjs/src/organisms/Header/styles.d.ts +2 -3
- package/dist/cjs/src/organisms/LoginForm/LoginForm.d.ts +1 -1
- package/dist/cjs/src/organisms/ProcessTracker/mocks.d.ts +1 -1
- package/dist/cjs/src/organisms/ProfileInformation/ProfileInformation.d.ts +2 -1
- package/dist/cjs/src/organisms/SetPasswordForm/SetPasswordForm.d.ts +1 -1
- package/dist/cjs/src/organisms/SetPasswordForm/utils.d.ts +2 -2
- package/dist/cjs/src/organisms/SubscribePanel/SubscribePanel.stories.d.ts +4 -6
- package/dist/cjs/src/organisms/TwoFactorAuth/constants.d.ts +1 -1
- package/dist/cjs/src/theme/types.d.ts +3 -4
- package/dist/cjs/src/typescript.d.ts +0 -13
- package/dist/esm/index.js +27 -27
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/Avatar/Avatar.d.ts +2 -2
- package/dist/esm/src/atoms/Buttons/Button.d.ts +20 -0
- package/dist/esm/src/atoms/Buttons/Button.stories.d.ts +15 -0
- package/dist/esm/src/atoms/Buttons/IconButton.d.ts +1 -1
- package/dist/esm/src/atoms/Buttons/TextButton.d.ts +19 -4
- package/dist/esm/src/atoms/Checkbox/Checkbox.d.ts +9 -15
- package/dist/esm/src/atoms/Checkbox/Checkbox.stories.d.ts +1 -1
- package/dist/esm/src/atoms/Circle/Circle.d.ts +0 -1
- package/dist/esm/src/atoms/CircularIndicator/CircularIndicator.stories.d.ts +2 -2
- package/dist/esm/src/atoms/Icon/Icon.d.ts +15 -18
- package/dist/esm/src/atoms/Image/Image.d.ts +8 -0
- package/dist/esm/src/atoms/Image/Image.stories.d.ts +8 -0
- package/dist/esm/src/atoms/Input/Input.d.ts +2 -16
- package/dist/esm/src/atoms/Input/Input.stories.d.ts +4 -4
- package/dist/esm/src/atoms/RadioButtons/RadioButtons.d.ts +14 -53
- package/dist/esm/src/atoms/RadioButtons/RadioButtons.stories.d.ts +3 -25
- package/dist/esm/src/atoms/RichTextViewer/RichTextViewer.d.ts +4 -6
- package/dist/esm/src/atoms/RichTextViewer/types.d.ts +0 -1
- package/dist/esm/src/atoms/Select/Select.d.ts +2 -34
- package/dist/esm/src/atoms/Select/Select.stories.d.ts +4 -17
- package/dist/esm/src/atoms/Select/styles.d.ts +1 -5
- package/dist/esm/src/atoms/Select/types.d.ts +14 -0
- package/dist/esm/src/atoms/TextWrapper/TextWrapper.d.ts +5 -10
- package/dist/esm/src/atoms/TextWrapper/TextWrapper.stories.d.ts +5 -5
- package/dist/esm/src/atoms/Tooltip/Tooltip.d.ts +3 -6
- package/dist/esm/src/atoms/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/esm/src/atoms/Video/Video.d.ts +11 -0
- package/dist/esm/src/atoms/Video/Video.stories.d.ts +9 -0
- package/dist/esm/src/atoms/index.d.ts +3 -2
- package/dist/esm/src/contexts/MlrRichTextViewerContext/types.d.ts +1 -5
- package/dist/esm/src/contexts/index.d.ts +0 -3
- package/dist/esm/src/fieldsConfiguration/types.d.ts +5 -5
- package/dist/esm/src/helpers/validations.d.ts +0 -10
- package/dist/esm/src/icons/CaretDown.d.ts +1 -1
- package/dist/esm/src/icons/Check.d.ts +2 -2
- package/dist/esm/src/icons/Close.d.ts +1 -1
- package/dist/esm/src/icons/Filter.d.ts +2 -2
- package/dist/esm/src/icons/Hide.d.ts +1 -1
- package/dist/esm/src/icons/Info.d.ts +1 -1
- package/dist/esm/src/icons/Mail.d.ts +1 -1
- package/dist/esm/src/icons/Minus.d.ts +2 -2
- package/dist/esm/src/icons/Mobile.d.ts +2 -2
- package/dist/esm/src/icons/Play.d.ts +1 -1
- package/dist/esm/src/icons/Search.d.ts +1 -1
- package/dist/esm/src/icons/View.d.ts +2 -2
- package/dist/esm/src/icons/Warning.d.ts +1 -1
- package/dist/esm/src/index.d.ts +1 -3
- package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +1 -1
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.d.ts +8 -27
- package/dist/esm/src/molecules/Columns/Column.d.ts +1 -9
- package/dist/esm/src/molecules/Columns/styles.d.ts +13 -10
- package/dist/esm/src/molecules/Drawer/Drawer.stories.d.ts +2 -2
- package/dist/esm/src/molecules/FieldLabels/FieldLabels.d.ts +2 -35
- package/dist/esm/src/molecules/FieldLabels/FieldLabels.stories.d.ts +4 -4
- package/dist/esm/src/molecules/FieldMapper/FieldMapper.d.ts +2 -3
- package/dist/esm/src/molecules/HeroImage/HeroImage.d.ts +2 -3
- package/dist/esm/src/molecules/InputField/InputField.d.ts +11 -11
- package/dist/esm/src/molecules/InputField/InputField.stories.d.ts +5 -31
- package/dist/esm/src/molecules/PdfDocument/PdfDocument.d.ts +1 -0
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.d.ts +12 -55
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +1 -60
- package/dist/esm/src/molecules/SelectField/SelectField.d.ts +11 -11
- package/dist/esm/src/molecules/SelectField/SelectField.stories.d.ts +4 -44
- 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/SelectableInfoCard/styles.d.ts +3 -4
- package/dist/esm/src/molecules/Tab/Tab.d.ts +24 -0
- package/dist/{cjs/src/atoms → esm/src/molecules}/Tab/styles.d.ts +5 -5
- package/dist/esm/src/molecules/TabGroup/TabGroup.d.ts +7 -21
- package/dist/esm/src/molecules/TabGroup/TabGroup.stories.d.ts +4 -4
- package/dist/esm/src/molecules/TabGroup/styles.d.ts +4 -26
- package/dist/esm/src/molecules/TabGroup/useTabAnimation.d.ts +3 -2
- package/dist/esm/src/molecules/index.d.ts +0 -7
- package/dist/esm/src/organisms/AccountInformation/AccountInformation.d.ts +2 -2
- package/dist/esm/src/organisms/Body/Body.d.ts +1 -1
- package/dist/esm/src/organisms/Body/Body.stories.d.ts +1 -1
- package/dist/esm/src/organisms/Consent/Consent.stories.d.ts +2 -2
- package/dist/esm/src/organisms/Consent/ConsentCapture.d.ts +1 -2
- package/dist/esm/src/organisms/FeedContent/types.d.ts +2 -2
- package/dist/esm/src/organisms/Footer/Footer.stories.d.ts +2 -2
- package/dist/esm/src/organisms/Footer/styles.d.ts +1 -9
- package/dist/esm/src/organisms/Header/Header.stories.d.ts +2 -2
- package/dist/esm/src/organisms/Header/styles.d.ts +2 -3
- package/dist/esm/src/organisms/LoginForm/LoginForm.d.ts +1 -1
- package/dist/esm/src/organisms/ProcessTracker/mocks.d.ts +1 -1
- package/dist/esm/src/organisms/ProfileInformation/ProfileInformation.d.ts +2 -1
- package/dist/esm/src/organisms/SetPasswordForm/SetPasswordForm.d.ts +1 -1
- package/dist/esm/src/organisms/SetPasswordForm/utils.d.ts +2 -2
- package/dist/esm/src/organisms/SubscribePanel/SubscribePanel.stories.d.ts +4 -6
- package/dist/esm/src/organisms/TwoFactorAuth/constants.d.ts +1 -1
- package/dist/esm/src/theme/types.d.ts +3 -4
- package/dist/esm/src/typescript.d.ts +0 -13
- package/dist/index.d.ts +705 -1315
- package/package.json +4 -9
- package/dist/cjs/src/atoms/Buttons/Buttons.stories.d.ts +0 -16
- package/dist/cjs/src/atoms/Checkbox/helpers.d.ts +0 -2
- package/dist/cjs/src/atoms/Checkbox/types.d.ts +0 -18
- package/dist/cjs/src/atoms/Input/helpers.d.ts +0 -18
- package/dist/cjs/src/atoms/RadioButtons/RadioOption.d.ts +0 -12
- package/dist/cjs/src/atoms/RadioButtons/helpers.d.ts +0 -15
- package/dist/cjs/src/atoms/RadioButtons/styles.d.ts +0 -9
- package/dist/cjs/src/atoms/RegularImage/RegularImage.d.ts +0 -29
- package/dist/cjs/src/atoms/RegularImage/RegularImage.stories.d.ts +0 -16
- package/dist/cjs/src/atoms/Tab/Tab.d.ts +0 -56
- package/dist/cjs/src/atoms/Tab/Tab.stories.d.ts +0 -31
- package/dist/cjs/src/atoms/Tab/utils.d.ts +0 -4
- package/dist/cjs/src/containers/Container.d.ts +0 -4
- package/dist/cjs/src/containers/Container.stories.d.ts +0 -6
- package/dist/cjs/src/containers/FormContainer.d.ts +0 -6
- package/dist/cjs/src/containers/MoleculeItem.d.ts +0 -9
- package/dist/cjs/src/containers/OrganismItem.d.ts +0 -7
- package/dist/cjs/src/containers/helpers.d.ts +0 -2
- package/dist/cjs/src/containers/index.d.ts +0 -5
- package/dist/cjs/src/containers/mock-data.d.ts +0 -4
- package/dist/cjs/src/containers/styles.d.ts +0 -12
- package/dist/cjs/src/containers/types/moleculeTypes.d.ts +0 -188
- package/dist/cjs/src/containers/types/types.d.ts +0 -43
- 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/helpers/constants.d.ts +0 -6
- package/dist/cjs/src/helpers/utils.d.ts +0 -1
- package/dist/cjs/src/molecules/Button/Button.d.ts +0 -41
- package/dist/cjs/src/molecules/Button/Button.stories.d.ts +0 -9
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.stories.d.ts +0 -54
- package/dist/cjs/src/molecules/CheckboxField/CheckboxGroup.d.ts +0 -11
- package/dist/cjs/src/molecules/CheckboxField/styles.d.ts +0 -6
- package/dist/cjs/src/molecules/FieldLabels/helpers.d.ts +0 -8
- package/dist/cjs/src/molecules/Image/Image.d.ts +0 -16
- package/dist/cjs/src/molecules/Image/Image.stories.d.ts +0 -9
- package/dist/cjs/src/molecules/TextMolecule/TextMolecule.d.ts +0 -18
- package/dist/cjs/src/molecules/TextMolecule/TextMolecule.stories.d.ts +0 -9
- package/dist/cjs/src/molecules/Video/Video.d.ts +0 -14
- package/dist/cjs/src/molecules/Video/Video.stories.d.ts +0 -9
- 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/cjs/src/organisms/SubscribePanel/organism-data.d.ts +0 -2
- package/dist/esm/src/atoms/Buttons/Buttons.stories.d.ts +0 -16
- package/dist/esm/src/atoms/Checkbox/helpers.d.ts +0 -2
- package/dist/esm/src/atoms/Checkbox/types.d.ts +0 -18
- package/dist/esm/src/atoms/Input/helpers.d.ts +0 -18
- package/dist/esm/src/atoms/RadioButtons/RadioOption.d.ts +0 -12
- package/dist/esm/src/atoms/RadioButtons/helpers.d.ts +0 -15
- package/dist/esm/src/atoms/RadioButtons/styles.d.ts +0 -9
- package/dist/esm/src/atoms/RegularImage/RegularImage.d.ts +0 -29
- package/dist/esm/src/atoms/RegularImage/RegularImage.stories.d.ts +0 -16
- package/dist/esm/src/atoms/Tab/Tab.d.ts +0 -56
- package/dist/esm/src/atoms/Tab/Tab.stories.d.ts +0 -31
- package/dist/esm/src/atoms/Tab/utils.d.ts +0 -4
- package/dist/esm/src/containers/Container.d.ts +0 -4
- package/dist/esm/src/containers/Container.stories.d.ts +0 -6
- package/dist/esm/src/containers/FormContainer.d.ts +0 -6
- package/dist/esm/src/containers/MoleculeItem.d.ts +0 -9
- package/dist/esm/src/containers/OrganismItem.d.ts +0 -7
- package/dist/esm/src/containers/helpers.d.ts +0 -2
- package/dist/esm/src/containers/index.d.ts +0 -5
- package/dist/esm/src/containers/mock-data.d.ts +0 -4
- package/dist/esm/src/containers/styles.d.ts +0 -12
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +0 -188
- package/dist/esm/src/containers/types/types.d.ts +0 -43
- 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/helpers/constants.d.ts +0 -6
- package/dist/esm/src/helpers/utils.d.ts +0 -1
- package/dist/esm/src/molecules/Button/Button.d.ts +0 -41
- package/dist/esm/src/molecules/Button/Button.stories.d.ts +0 -9
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.stories.d.ts +0 -54
- package/dist/esm/src/molecules/CheckboxField/CheckboxGroup.d.ts +0 -11
- package/dist/esm/src/molecules/CheckboxField/styles.d.ts +0 -6
- package/dist/esm/src/molecules/FieldLabels/helpers.d.ts +0 -8
- package/dist/esm/src/molecules/Image/Image.d.ts +0 -16
- package/dist/esm/src/molecules/Image/Image.stories.d.ts +0 -9
- package/dist/esm/src/molecules/TextMolecule/TextMolecule.d.ts +0 -18
- package/dist/esm/src/molecules/TextMolecule/TextMolecule.stories.d.ts +0 -9
- package/dist/esm/src/molecules/Video/Video.d.ts +0 -14
- package/dist/esm/src/molecules/Video/Video.stories.d.ts +0 -9
- 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/esm/src/organisms/SubscribePanel/organism-data.d.ts +0 -2
package/dist/index.d.ts
CHANGED
@@ -1,27 +1,28 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import * as React$1 from 'react';
|
3
|
-
import React__default, { PropsWithChildren, ReactNode,
|
3
|
+
import React__default, { PropsWithChildren, ReactNode, CSSProperties as CSSProperties$1, ComponentType, Dispatch, SetStateAction } from 'react';
|
4
4
|
import * as styled_components from 'styled-components';
|
5
5
|
import { CSSProperties, DefaultTheme } from 'styled-components';
|
6
|
-
import {
|
7
|
-
import * as typescript from 'typescript';
|
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';
|
6
|
+
import { Callback as Callback$1, StylesType, Nullable } from 'typescript';
|
10
7
|
import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
|
11
|
-
import {
|
12
|
-
import
|
13
|
-
import * as
|
14
|
-
import {
|
15
|
-
import
|
16
|
-
import {
|
17
|
-
import {
|
8
|
+
import { InputFieldTypes as InputFieldTypes$1, FieldTypes as FieldTypes$1, UIFields as UIFields$1 } from 'fieldsConfiguration/types';
|
9
|
+
import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
|
10
|
+
import * as _mui_material from '@mui/material';
|
11
|
+
import { DrawerProps as DrawerProps$1 } from '@mui/material';
|
12
|
+
import { FontSizesTypes as FontSizesTypes$1, ThemeColors as ThemeColors$1, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
|
13
|
+
import { ThemeColors as ThemeColors$2, SizesTypes as SizesTypes$1, FontSizesTypes as FontSizesTypes$2 } from 'theme';
|
14
|
+
import { FeedContentTemplateTypes as FeedContentTemplateTypes$1, FeedContentProps as FeedContentProps$1 } from 'organisms/FeedContent/types';
|
18
15
|
import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
|
19
16
|
import { WithGoogleMapProps } from 'react-google-maps/lib/withGoogleMap';
|
20
17
|
import { WithScriptjsProps } from 'react-google-maps/lib/withScriptjs';
|
21
|
-
import {
|
22
|
-
import {
|
18
|
+
import { IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, InputProps as InputProps$1, ImageProps as ImageProps$1, ButtonProps as ButtonProps$1, TextButtonProps as TextButtonProps$1, RadioButtonsProps as RadioButtonsProps$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1 } from 'atoms';
|
19
|
+
import { Control, ControllerProps } from 'react-hook-form/dist/types';
|
20
|
+
import { SelectOption as SelectOption$1 } from 'atoms/Select/types';
|
21
|
+
import { ControllerProps as ControllerProps$1, DeepPartial, FieldValues, FormState, Control as Control$1 } from 'react-hook-form';
|
22
|
+
import { ProcessTrackerStatus as ProcessTrackerStatus$1, FilteredFeedContentType as FilteredFeedContentType$1, ConsentProps as ConsentProps$1, HeroSliderProps as HeroSliderProps$1, ProcessTrackerProps as ProcessTrackerProps$1 } from 'organisms';
|
23
|
+
import { FieldSectionProps as FieldSectionProps$1, MenuItemsProps as MenuItemsProps$1, InputFieldProps as InputFieldProps$1, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1 } from 'molecules';
|
23
24
|
import { SetPasswordFields, MaxRuleValidation, MinRuleValidation } from 'organisms/SetPasswordForm/types';
|
24
|
-
import {
|
25
|
+
import { UIFields as UIFields$2 } from 'fieldsConfiguration';
|
25
26
|
import { ConsentProps as ConsentProps$2 } from 'organisms/Consent/Consent';
|
26
27
|
import { FooterAProps } from 'organisms/Footer/FooterA';
|
27
28
|
import { FooterBProps } from 'organisms/Footer/FooterB';
|
@@ -31,17 +32,28 @@ import { FeedContentContainerProps as FeedContentContainerProps$1 } from 'organi
|
|
31
32
|
import { SubscribePanelProps as SubscribePanelProps$1 } from 'organisms/SubscribePanel/type';
|
32
33
|
import { ISIAProps } from 'organisms/ISI/ISIA';
|
33
34
|
import { HeaderAProps as HeaderAProps$1 } from 'organisms/Header/HeaderA';
|
34
|
-
import { FeedContentProps as FeedContentProps$1, FeedContentTemplateTypes as FeedContentTemplateTypes$1 } from 'organisms/FeedContent/types';
|
35
35
|
import { AlertProps as AlertProps$2 } from 'molecules/Alert/Alert';
|
36
36
|
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
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
39
|
+
|
40
|
+
declare type BaseButtonProps = PropsWithChildren<{
|
41
|
+
onClick?: Callback$1;
|
42
|
+
variant?: 'primary' | 'secondary';
|
43
|
+
disabled?: boolean;
|
44
|
+
fullWidth?: boolean;
|
45
|
+
size?: 'medium' | 'small';
|
46
|
+
}>;
|
47
|
+
declare type ButtonProps = BaseButtonProps & {
|
48
|
+
fullWidth?: boolean;
|
49
|
+
text?: string;
|
50
|
+
link?: string;
|
51
|
+
elementId?: string;
|
52
|
+
loading?: boolean;
|
53
|
+
isRichText?: boolean;
|
54
|
+
containerStyle?: CSSProperties;
|
55
|
+
};
|
56
|
+
declare const Button: ({ text: textProp, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, size, }: ButtonProps) => JSX.Element | null;
|
45
57
|
|
46
58
|
declare type TouchableOpacityProps = PropsWithChildren<{
|
47
59
|
activeOpacity?: number;
|
@@ -56,119 +68,32 @@ declare const TouchableOpacity: styled_components.StyledComponent<"div", styled_
|
|
56
68
|
children?: React$1.ReactNode;
|
57
69
|
}, never>;
|
58
70
|
|
59
|
-
declare type
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
}>;
|
68
|
-
|
69
|
-
declare type CheckboxProps = {
|
70
|
-
id: string;
|
71
|
-
onClick: (id: string) => void;
|
72
|
-
label: string;
|
73
|
-
} & Partial<{
|
74
|
-
isError: boolean;
|
75
|
-
disabled: boolean;
|
76
|
-
isEditMode: boolean;
|
77
|
-
isSelected: boolean;
|
78
|
-
isRichText: boolean;
|
79
|
-
internalConfig: CheckboxInternalConfigProps;
|
80
|
-
}>;
|
81
|
-
declare const Checkbox: ({ id, onClick, label, isError, disabled, isEditMode, isSelected, isRichText, internalConfig, }: CheckboxProps) => JSX.Element;
|
71
|
+
declare type CheckBoxProps = {
|
72
|
+
value: boolean;
|
73
|
+
onClick: (value: boolean) => void;
|
74
|
+
disabled?: boolean;
|
75
|
+
error?: boolean;
|
76
|
+
label?: string | ReactNode;
|
77
|
+
};
|
78
|
+
declare const Checkbox: ({ label, onClick, value, disabled, error }: CheckBoxProps) => JSX.Element;
|
82
79
|
|
83
80
|
declare type SelectOption = {
|
84
81
|
id: string;
|
85
82
|
label: string;
|
83
|
+
};
|
84
|
+
declare type SelectProps = {
|
86
85
|
value?: string;
|
87
|
-
|
88
|
-
|
89
|
-
declare type SelectInternalConfigurationOptions = {
|
90
|
-
placeholderTextColor: ThemeColors$1 | string;
|
91
|
-
placeholderTextFontSize: number;
|
92
|
-
selectedTextColor: ThemeColors$1 | string;
|
93
|
-
selectedTextFontSize: number;
|
94
|
-
verticalPadding: number;
|
95
|
-
horizontalPadding: number;
|
96
|
-
wrapperStyles: StylesType;
|
97
|
-
styles: StylesType;
|
98
|
-
};
|
99
|
-
declare type SelectProps = Partial<{
|
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;
|
122
|
-
value?: string;
|
123
|
-
label?: string;
|
86
|
+
optionsPresentation?: boolean;
|
87
|
+
onChange?: (value: string) => void;
|
124
88
|
placeholder?: string;
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
};
|
130
|
-
declare type UIInputField = {
|
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;
|
89
|
+
disabled?: boolean;
|
90
|
+
options?: SelectOption[];
|
91
|
+
isError?: boolean;
|
92
|
+
isEditMode?: boolean;
|
140
93
|
};
|
141
|
-
declare type UIFields<T extends object> = UIField<keyof T>[];
|
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
94
|
|
156
|
-
declare
|
157
|
-
maskPlaceholder: string;
|
158
|
-
dataModelFieldType: InputFieldTypes;
|
159
|
-
maskPattern: Array<string | RegExp>;
|
160
|
-
}>;
|
95
|
+
declare const Select: ({ onChange, value, placeholder, options, disabled, optionsPresentation, isError, }: SelectProps) => JSX.Element;
|
161
96
|
|
162
|
-
declare type InputFieldInternalConfigProps = Partial<{
|
163
|
-
textColor: ThemeColors$2 | string;
|
164
|
-
textFontSize: number;
|
165
|
-
placeholderTextColor: ThemeColors$2 | string;
|
166
|
-
placeholderTextFontSize: number;
|
167
|
-
verticalPadding: number;
|
168
|
-
horizontalPadding: number;
|
169
|
-
styles: StylesType;
|
170
|
-
wrapperStyles: StylesType;
|
171
|
-
}>;
|
172
97
|
declare type InputIconProps = {
|
173
98
|
name: IconNames$1;
|
174
99
|
onClick?: Callback$1;
|
@@ -186,63 +111,54 @@ declare type InputProps = {
|
|
186
111
|
maxLength?: number;
|
187
112
|
onChange?: (value: string) => void;
|
188
113
|
onKeyDown?: (event: React__default.KeyboardEvent<HTMLInputElement>) => void;
|
189
|
-
internalConfig?: InputFieldInternalConfigProps;
|
190
|
-
config?: MaskConfig;
|
191
114
|
};
|
192
|
-
declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type,
|
115
|
+
declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, ...rest }: InputProps) => JSX.Element;
|
193
116
|
|
194
117
|
declare type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
|
195
118
|
declare type TextAlign = 'center' | 'right' | 'left';
|
196
|
-
declare type
|
197
|
-
|
119
|
+
declare type TextWrapperProps = {
|
120
|
+
children: ReactNode;
|
198
121
|
variant: FontSizesTypes$1;
|
199
122
|
layout?: 'div' | 'span';
|
200
123
|
type?: TextTypes;
|
201
124
|
styles?: StylesType;
|
202
|
-
color?: ThemeColors$
|
125
|
+
color?: ThemeColors$1 | string;
|
203
126
|
numberOfLines?: number;
|
204
127
|
textAlign?: TextAlign;
|
205
128
|
behaveAs?: 'text' | 'button';
|
206
|
-
seoTag?: SeoTags;
|
207
129
|
};
|
208
|
-
declare
|
209
|
-
declare const TextWrapper: ({ children, seoTag, ...textProps }: TextWrapperProps) => JSX.Element;
|
210
|
-
declare const ErrorText: ({ text }: {
|
211
|
-
text: string;
|
212
|
-
}) => JSX.Element;
|
130
|
+
declare const TextWrapper: styled_components.StyledComponent<_mui_material_OverridableComponent.OverridableComponent<_mui_material.BoxTypeMap<{}, "div">>, styled_components.DefaultTheme, TextWrapperProps, never>;
|
213
131
|
|
214
132
|
declare type IconProps = {
|
215
133
|
name: IconNames;
|
216
134
|
size?: number;
|
217
|
-
color?: ThemeColors$
|
218
|
-
fill?: ThemeColors$
|
135
|
+
color?: ThemeColors$2 | string;
|
136
|
+
fill?: ThemeColors$2 | string;
|
219
137
|
pointerEvents?: 'auto' | 'none';
|
220
|
-
style?: CSSProperties;
|
138
|
+
style?: React.CSSProperties;
|
221
139
|
};
|
222
140
|
declare const availableIcons: {
|
223
|
-
|
224
|
-
|
225
|
-
Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
226
|
-
CaretDown: ({ color, size, }: Omit<IconProps, "name">) => JSX.Element;
|
141
|
+
CaretDown: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
142
|
+
CaretUp: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
227
143
|
CaretLeft: ({ color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
228
144
|
CaretRight: ({ color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
229
|
-
|
230
|
-
Check: ({ size, color
|
231
|
-
Close: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
232
|
-
Edit: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
233
|
-
Filter: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
234
|
-
Hide: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
145
|
+
Filter: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
146
|
+
Check: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
235
147
|
Info: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
148
|
+
View: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
149
|
+
Hide: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
150
|
+
Close: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
151
|
+
Play: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
152
|
+
Minus: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
236
153
|
InfoBoxIcon: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
154
|
+
Warning: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
155
|
+
Bell: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
156
|
+
Mobile: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
237
157
|
Mail: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
238
158
|
Menu: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
239
|
-
Minus: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
240
|
-
Mobile: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
241
|
-
Play: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
242
|
-
Save: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
243
159
|
Search: ({ size, color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
244
|
-
|
245
|
-
|
160
|
+
Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
161
|
+
ArrowRight: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
246
162
|
};
|
247
163
|
declare type IconNames = keyof typeof availableIcons;
|
248
164
|
declare const Icon: ({ name, color, ...props }: IconProps) => JSX.Element;
|
@@ -255,43 +171,37 @@ declare type SpacerProps = {
|
|
255
171
|
declare const Spacer: styled_components.StyledComponent<"div", styled_components.DefaultTheme, SpacerProps, never>;
|
256
172
|
|
257
173
|
declare const Spinner: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
258
|
-
color?: ThemeColors$
|
174
|
+
color?: ThemeColors$1 | undefined;
|
259
175
|
size?: SizesTypes$2 | undefined;
|
260
176
|
}, never>;
|
261
177
|
|
262
|
-
declare type
|
263
|
-
src: string;
|
264
|
-
} & Partial<{
|
265
|
-
alt: string;
|
266
|
-
width: number | string;
|
267
|
-
height: number | string;
|
268
|
-
onClick: Callback$1;
|
269
|
-
cornerRadius: number;
|
270
|
-
}> & OverrideStyles;
|
271
|
-
declare const RegularImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, {
|
272
|
-
src: string;
|
273
|
-
} & Partial<{
|
274
|
-
alt: string;
|
275
|
-
width: number | string;
|
276
|
-
height: number | string;
|
277
|
-
onClick: Callback$1;
|
278
|
-
cornerRadius: number;
|
279
|
-
}> & OverrideStyles, never>;
|
280
|
-
declare const BackgroundImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, {
|
178
|
+
declare type ImageProps = {
|
281
179
|
src: string;
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
cornerRadius: number;
|
288
|
-
}> & OverrideStyles, never>;
|
180
|
+
alt?: string;
|
181
|
+
style?: CSSProperties;
|
182
|
+
};
|
183
|
+
declare const Image: styled_components.StyledComponent<"img", styled_components.DefaultTheme, ImageProps, never>;
|
184
|
+
declare const BackgroundImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, ImageProps, never>;
|
289
185
|
|
290
|
-
declare type TextButtonProps =
|
186
|
+
declare type TextButtonProps = PropsWithChildren<{
|
187
|
+
activeOpacity?: number;
|
188
|
+
withoutOpacityEffect?: boolean;
|
189
|
+
disabled?: boolean;
|
190
|
+
onClick?: Callback$1;
|
291
191
|
buttonLink?: string;
|
292
192
|
elementId?: string;
|
293
|
-
}
|
294
|
-
declare const TextButton: styled_components.StyledComponent<"
|
193
|
+
}>;
|
194
|
+
declare const TextButton: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
195
|
+
activeOpacity?: number | undefined;
|
196
|
+
withoutOpacityEffect?: boolean | undefined;
|
197
|
+
disabled?: boolean | undefined;
|
198
|
+
} & {
|
199
|
+
children?: React$1.ReactNode;
|
200
|
+
} & {
|
201
|
+
activeOpacity?: number | undefined;
|
202
|
+
withoutOpacityEffect?: boolean | undefined;
|
203
|
+
disabled?: boolean | undefined;
|
204
|
+
onClick?: Callback$1 | undefined;
|
295
205
|
buttonLink?: string | undefined;
|
296
206
|
elementId?: string | undefined;
|
297
207
|
}, never>;
|
@@ -303,11 +213,18 @@ declare type ValidationTagProps = {
|
|
303
213
|
};
|
304
214
|
declare const ValidationTag: ({ text, status }: ValidationTagProps) => JSX.Element;
|
305
215
|
|
306
|
-
declare type
|
307
|
-
|
216
|
+
declare type VideoProps = {
|
217
|
+
src: string;
|
218
|
+
style?: CSSProperties;
|
219
|
+
template?: FeedContentTemplateTypes$1;
|
220
|
+
autoplay?: boolean;
|
221
|
+
coverImage?: string;
|
308
222
|
};
|
309
|
-
declare const
|
310
|
-
|
223
|
+
declare const Video: ({ style, src, template, autoplay, coverImage }: VideoProps) => JSX.Element;
|
224
|
+
|
225
|
+
declare type TooltipProps = Pick<TooltipProps$1, 'overlay' | 'placement' | 'trigger' | 'visible' | 'children'>;
|
226
|
+
declare const StyleWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
227
|
+
declare const Tooltip: ({ trigger, placement, ...props }: TooltipProps) => JSX.Element;
|
311
228
|
|
312
229
|
declare type ToastType = 'success' | 'infoTierOne' | 'infoTierTwo' | 'warning' | 'error';
|
313
230
|
declare type ToastParams = {
|
@@ -334,10 +251,10 @@ declare type AvatarProps = {
|
|
334
251
|
size?: SizesTypes$1 | number;
|
335
252
|
withShadow?: boolean;
|
336
253
|
label?: string;
|
337
|
-
backgroundColor?: ThemeColors$
|
254
|
+
backgroundColor?: ThemeColors$2;
|
338
255
|
textConfig?: {
|
339
|
-
color?: ThemeColors$
|
340
|
-
font?:
|
256
|
+
color?: ThemeColors$2;
|
257
|
+
font?: SizesTypes$1;
|
341
258
|
};
|
342
259
|
content: {
|
343
260
|
initials?: string;
|
@@ -356,7 +273,7 @@ declare const VerticalPadding: styled_components.StyledComponent<"div", styled_c
|
|
356
273
|
|
357
274
|
declare type DividerProps = {
|
358
275
|
type?: 'horizontal' | 'vertical';
|
359
|
-
color?: ThemeColors$
|
276
|
+
color?: ThemeColors$2 | string;
|
360
277
|
marginVertical?: SizesTypes$1 | number;
|
361
278
|
marginHorizontal?: SizesTypes$1 | number;
|
362
279
|
weight?: number;
|
@@ -382,63 +299,28 @@ declare const COMMUNICATION_LINK_DATA_TEXT = "communication-link-text";
|
|
382
299
|
declare type RichTextEditorProps = Partial<{
|
383
300
|
value: string;
|
384
301
|
font: FontSizesTypes$2;
|
385
|
-
color: ThemeColors$
|
386
|
-
textStyles:
|
302
|
+
color: ThemeColors$2;
|
303
|
+
textStyles: CSSProperties;
|
387
304
|
numberOfLines?: number;
|
388
|
-
extraTextProps?: TextProps$1;
|
389
305
|
}>;
|
390
|
-
declare const RichTextViewer: ({ value, color, textStyles, font, numberOfLines,
|
391
|
-
|
392
|
-
declare type
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
}>;
|
402
|
-
declare type RadioButtonsProps<T extends string> = Partial<{
|
403
|
-
ref: RefCallBack;
|
404
|
-
name: string;
|
405
|
-
value: T;
|
406
|
-
options: SelectOption[];
|
407
|
-
onBlur: Callback$1;
|
306
|
+
declare const RichTextViewer: ({ value, color, textStyles, font, numberOfLines, }: RichTextEditorProps) => JSX.Element | null;
|
307
|
+
|
308
|
+
declare type RadioButtonType<T extends string = string> = {
|
309
|
+
id: T;
|
310
|
+
label?: string;
|
311
|
+
error?: boolean;
|
312
|
+
disabled?: boolean;
|
313
|
+
isRichText?: boolean;
|
314
|
+
};
|
315
|
+
declare type RadioButtonsProps<T extends string> = {
|
316
|
+
isEditMode?: boolean;
|
408
317
|
onChange: (value: T) => void;
|
409
|
-
isRow: boolean;
|
410
|
-
isError: boolean;
|
411
|
-
disabled: boolean;
|
412
|
-
isEditMode: boolean;
|
413
|
-
isRichText: boolean;
|
414
|
-
internalConfig: RadioButtonInternalConfigProps;
|
415
|
-
}>;
|
416
|
-
declare const RadioButtons: <T extends string>({ ref, name, value, options, onBlur, onChange, isRow, isError, disabled, isEditMode, isRichText, internalConfig, }: Partial<{
|
417
|
-
ref: RefCallBack;
|
418
|
-
name: string;
|
419
318
|
value: T;
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
disabled: boolean;
|
426
|
-
isEditMode: boolean;
|
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
|
-
}>;
|
438
|
-
}>) => JSX.Element;
|
439
|
-
declare const RadioGroupWrapper: styled_components.StyledComponent<typeof RadioGroup, styled_components.DefaultTheme, StyledTransientProps<{
|
440
|
-
isRow: boolean;
|
441
|
-
}> & OverrideStyles, never>;
|
319
|
+
isRow?: boolean;
|
320
|
+
items: RadioButtonType<T>[];
|
321
|
+
name: string;
|
322
|
+
};
|
323
|
+
declare const RadioButtons: <T extends string>({ value, items, isRow, isEditMode, onChange, name, }: RadioButtonsProps<T>) => JSX.Element;
|
442
324
|
|
443
325
|
declare type CircleType = 'link' | 'message';
|
444
326
|
declare type CircleBoxProps = {
|
@@ -446,12 +328,11 @@ declare type CircleBoxProps = {
|
|
446
328
|
type: CircleType;
|
447
329
|
};
|
448
330
|
declare const Circle: ({ index, type }: CircleBoxProps) => JSX.Element;
|
449
|
-
declare const CirclesWrapper: styled_components.StyledComponent<"span", styled_components.DefaultTheme, {}, never>;
|
450
331
|
|
451
332
|
declare type CircularIndicatorProps = {
|
452
333
|
active: boolean;
|
453
|
-
activeColor?: ThemeColors$
|
454
|
-
inactiveColor?: ThemeColors$
|
334
|
+
activeColor?: ThemeColors$2 | string;
|
335
|
+
inactiveColor?: ThemeColors$2 | string;
|
455
336
|
};
|
456
337
|
declare const CircularIndicator: ({ activeColor, inactiveColor, ...props }: CircularIndicatorProps) => JSX.Element;
|
457
338
|
declare const CircularIndicatorStyledComponent: styled_components.StyledComponent<"span", styled_components.DefaultTheme, CircularIndicatorProps, never>;
|
@@ -460,1195 +341,704 @@ declare type IconButtonProps = {
|
|
460
341
|
name: IconNames$2;
|
461
342
|
size?: number;
|
462
343
|
onClick: Callback$1;
|
463
|
-
color?: ThemeColors$
|
464
|
-
fill?: ThemeColors$
|
344
|
+
color?: ThemeColors$2 | string;
|
345
|
+
fill?: ThemeColors$2 | string;
|
465
346
|
pointerEvents?: 'auto' | 'none';
|
466
347
|
};
|
467
348
|
declare const IconButton: ({ name, color, onClick, disabled, activeOpacity, withoutOpacityEffect, ...props }: IconButtonProps & TouchableOpacityProps$1) => JSX.Element;
|
468
349
|
|
469
|
-
declare type
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
350
|
+
declare type FieldRuleLabelTypes = 'OPTIONAL' | 'REQUIRED';
|
351
|
+
declare type FieldLabelsProps = {
|
352
|
+
label: string;
|
353
|
+
tooltipText?: string;
|
354
|
+
isError?: boolean;
|
355
|
+
isTooltipVisible?: boolean;
|
356
|
+
ruleLabel?: FieldRuleLabelTypes;
|
474
357
|
};
|
475
|
-
declare
|
476
|
-
declare type TabTheme = 'light' | 'dark';
|
477
|
-
declare type TabProps<T = string, K = string> = {
|
478
|
-
tabKey: T;
|
479
|
-
text: string;
|
480
|
-
} & Partial<{
|
481
|
-
disabled: boolean;
|
482
|
-
vertical: boolean;
|
483
|
-
isActive: boolean;
|
484
|
-
onClick: (key: T) => void;
|
485
|
-
options: MenuItem$1<K>[];
|
486
|
-
onOptionClick: (optionKey: K) => void;
|
487
|
-
tabTheme: TabTheme;
|
488
|
-
divider: boolean;
|
489
|
-
tabFont: FontSizesTypes$2;
|
490
|
-
textSize: number;
|
491
|
-
tabPadding: SizesTypes$1 | number;
|
492
|
-
defaultTabTextColor: ThemeColors$1 | string;
|
493
|
-
selectedTabTextColor: ThemeColors$1 | string;
|
494
|
-
selectedTabIndicatorColor: ThemeColors$1 | string;
|
495
|
-
styles: StylesType;
|
496
|
-
}>;
|
497
|
-
declare const ZealTab: <T extends string, K extends string>({ options, onClick, text, tabKey, vertical, onOptionClick, tabTheme, tabFont, tabPadding, selectedTabIndicatorColor, textSize, defaultTabTextColor, ...tabProps }: TabProps<T, K>, ref: React__default.ForwardedRef<TabElement>) => JSX.Element;
|
498
|
-
declare const Tab: <T, K>(props: {
|
499
|
-
tabKey: T;
|
500
|
-
text: string;
|
501
|
-
} & Partial<{
|
502
|
-
disabled: boolean;
|
503
|
-
vertical: boolean;
|
504
|
-
isActive: boolean;
|
505
|
-
onClick: (key: T) => void;
|
506
|
-
options: MenuItem$1<K>[];
|
507
|
-
onOptionClick: (optionKey: K) => void;
|
508
|
-
tabTheme: TabTheme;
|
509
|
-
divider: boolean;
|
510
|
-
tabFont: FontSizesTypes$2;
|
511
|
-
textSize: number;
|
512
|
-
tabPadding: SizesTypes$1 | number;
|
513
|
-
defaultTabTextColor: ThemeColors$1 | string;
|
514
|
-
selectedTabTextColor: ThemeColors$1 | string;
|
515
|
-
selectedTabIndicatorColor: ThemeColors$1 | string;
|
516
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
517
|
-
}> & {
|
518
|
-
ref?: React__default.ForwardedRef<TabElement> | undefined;
|
519
|
-
}) => ReturnType<typeof ZealTab>;
|
358
|
+
declare const FieldLabels: ({ label, isTooltipVisible, isError, ruleLabel, tooltipText, }: FieldLabelsProps) => JSX.Element;
|
520
359
|
|
521
|
-
declare type
|
522
|
-
|
523
|
-
|
360
|
+
declare type InputFieldProps = {
|
361
|
+
name: string;
|
362
|
+
control?: Control<any>;
|
363
|
+
rules?: ControllerProps['rules'];
|
364
|
+
required?: boolean;
|
365
|
+
optional?: boolean;
|
366
|
+
defaultValue?: string;
|
367
|
+
inputProps: InputProps$1;
|
368
|
+
styles?: CSSProperties;
|
369
|
+
labelsProps?: FieldLabelsProps;
|
524
370
|
};
|
525
|
-
declare
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
371
|
+
declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, }: InputFieldProps) => JSX.Element;
|
372
|
+
|
373
|
+
declare const getFieldPlaceholder: (type: FieldTypes$1, title?: string) => string;
|
374
|
+
|
375
|
+
declare type InputFieldTypes = 'number' | 'text' | 'email' | 'password';
|
376
|
+
declare type FieldTypes = 'input' | 'select' | 'checkbox';
|
377
|
+
declare type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
|
378
|
+
name: T;
|
379
|
+
type: FieldTypes;
|
380
|
+
value?: string;
|
381
|
+
label?: string;
|
382
|
+
placeholder?: string;
|
383
|
+
required?: boolean;
|
384
|
+
optional?: boolean;
|
385
|
+
tooltip?: string;
|
386
|
+
rules?: ControllerProps$1['rules'];
|
387
|
+
order?: number;
|
532
388
|
};
|
533
|
-
declare
|
389
|
+
declare type UIInputField = {
|
390
|
+
inputType?: InputFieldTypes;
|
391
|
+
maxLength?: number;
|
392
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
393
|
+
};
|
394
|
+
declare type UISelectField = {
|
395
|
+
options?: SelectOption$1[];
|
396
|
+
};
|
397
|
+
declare type UICheckboxField = {
|
398
|
+
checkboxLabel?: string;
|
399
|
+
};
|
400
|
+
declare type UIFields<T extends object> = UIField<keyof T>[];
|
534
401
|
|
535
|
-
declare const
|
536
|
-
declare
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
402
|
+
declare const getInitialValuesFromFields: <T extends object>(fields: UIFields$1<T>) => DeepPartial<T>;
|
403
|
+
declare const isFormValid: <T extends FieldValues>(formState: FormState<T>) => boolean;
|
404
|
+
declare const getFieldsFromFieldSections: <T extends object>(sections: Pick<FieldSectionProps$1<T>, "fields">[]) => UIFields$1<T>;
|
405
|
+
|
406
|
+
declare const acquisitionFormMockFields: UIFields$1<Record<string, string>>;
|
407
|
+
declare const setPasswordMockFields: UIFields$1<SetPasswordFields>;
|
408
|
+
declare const loginMockFields: UIFields$1<LoginFields$1>;
|
409
|
+
declare const sectionMockFields: UIFields$1<Record<string, string>>;
|
410
|
+
declare const profileInformationMockForm: {
|
411
|
+
label: string;
|
412
|
+
fields: UIFields$1<Record<string, string>>;
|
413
|
+
}[];
|
414
|
+
|
415
|
+
declare type FieldMapperProps<T extends object> = {
|
416
|
+
field: UIField<keyof T>;
|
417
|
+
isEditMode?: boolean;
|
418
|
+
control?: Control<T>;
|
419
|
+
spacer?: number;
|
549
420
|
isTooltipVisible?: boolean;
|
550
421
|
optionsPresentation?: boolean;
|
422
|
+
styles?: React.CSSProperties;
|
551
423
|
};
|
552
|
-
declare const
|
424
|
+
declare const FieldMapper: <T extends object>({ field, isEditMode, spacer, control, isTooltipVisible, optionsPresentation, styles, }: FieldMapperProps<T>) => JSX.Element | null;
|
553
425
|
|
554
|
-
declare type
|
555
|
-
|
426
|
+
declare type CheckboxFieldProps = {
|
427
|
+
name: string;
|
428
|
+
control?: Control<any>;
|
429
|
+
defaultValue?: boolean;
|
430
|
+
checkboxProps: Omit<CheckBoxProps, 'error' | 'onClick' | 'value'>;
|
556
431
|
};
|
557
|
-
declare
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
432
|
+
declare const CheckboxField: ({ control, name, checkboxProps, defaultValue, }: CheckboxFieldProps) => JSX.Element;
|
433
|
+
|
434
|
+
declare type SelectFieldProps = {
|
435
|
+
selectProps: SelectProps;
|
436
|
+
labelsProps?: FieldLabelsProps;
|
437
|
+
name: string;
|
438
|
+
rules?: ControllerProps['rules'];
|
439
|
+
control?: Control<any>;
|
440
|
+
required?: boolean;
|
441
|
+
optional?: boolean;
|
442
|
+
defaultValue?: string;
|
443
|
+
styles?: CSSProperties;
|
563
444
|
};
|
564
|
-
declare const
|
445
|
+
declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, }: SelectFieldProps) => JSX.Element;
|
565
446
|
|
566
|
-
declare type
|
567
|
-
|
568
|
-
|
569
|
-
|
447
|
+
declare type CustomValidationRule<T = string> = {
|
448
|
+
text: string;
|
449
|
+
validate: (value?: T) => boolean;
|
450
|
+
};
|
451
|
+
declare type CustomValidationProps<T = string> = {
|
452
|
+
label?: string;
|
453
|
+
value: T;
|
454
|
+
isSubmitted?: boolean;
|
455
|
+
rules: CustomValidationRule<T>[];
|
570
456
|
};
|
457
|
+
declare const CustomValidation: <T extends string = string>({ rules, value, isSubmitted, label, }: CustomValidationProps<T>) => JSX.Element;
|
571
458
|
|
572
|
-
declare
|
573
|
-
fields: UIFields$2<LoginFields>;
|
574
|
-
logoUrl: string;
|
575
|
-
isLoading?: boolean;
|
576
|
-
twoFactorAuthConfig?: {
|
577
|
-
twoFactorShow: boolean;
|
578
|
-
twoFactorAuthProps: TwoFactorAuthProps;
|
579
|
-
};
|
580
|
-
optionsPresentation?: boolean;
|
581
|
-
onSubmit: (values: LoginFields) => void;
|
582
|
-
onSignUpButtonClick?: Callback$1;
|
583
|
-
onForgotPasswordButtonClick?: Callback$1;
|
584
|
-
isTooltipVisible?: boolean;
|
585
|
-
consents: ConsentProps$2[];
|
586
|
-
};
|
587
|
-
declare const LoginForm: ({ logoUrl, fields, isTooltipVisible, onSubmit, optionsPresentation, onSignUpButtonClick, isLoading, twoFactorAuthConfig, consents, onForgotPasswordButtonClick, }: LoginFormProps) => JSX.Element;
|
459
|
+
declare const defaultTheme: DefaultTheme;
|
588
460
|
|
589
|
-
declare
|
590
|
-
|
461
|
+
declare const ZealThemeProvider: (props: PropsWithChildren<{
|
462
|
+
theme?: DefaultTheme;
|
463
|
+
}>) => JSX.Element;
|
591
464
|
|
592
|
-
declare type
|
593
|
-
declare type
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
};
|
610
|
-
isMobile?: boolean;
|
611
|
-
isExpanded?: boolean;
|
612
|
-
fullWidth?: boolean;
|
613
|
-
fullWidthTemplateContainerStyles?: CSSProperties;
|
614
|
-
showDefaultDocumentStyles?: boolean;
|
615
|
-
destinationLink?: string;
|
616
|
-
onDestinationHandler?: Callback$1;
|
617
|
-
imageStyles?: StylesType;
|
618
|
-
videoStyles?: CSSProperties;
|
619
|
-
isEnabledFavoriting?: boolean;
|
620
|
-
isFavorite?: boolean;
|
621
|
-
onFavoriteClickHandler?: Callback$1;
|
622
|
-
onFavoriteIconClick?: (selectedFeedContent: FeedContentProps) => void;
|
465
|
+
declare type ThemeColors = 'primary' | 'secondary' | 'background' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'indigo' | 'blue' | 'white' | 'black' | 'indigoTint' | 'indigoTint2' | 'success' | 'error' | 'warning' | 'green' | 'greenTint';
|
466
|
+
declare type SizesTypes = '3XL' | '2XL' | 'XL-2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
|
467
|
+
declare type FontSizesTypes = Exclude<SizesTypes, 'XL-2XL'> | 'H2' | 'H1';
|
468
|
+
declare type BreakpointSizesTypes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
469
|
+
declare type ThemeColorsType = Record<ThemeColors, string>;
|
470
|
+
declare type ThemeTextType = Record<FontSizesTypes, {
|
471
|
+
'font-weight': string;
|
472
|
+
'font-size': number;
|
473
|
+
'line-height': number;
|
474
|
+
}>;
|
475
|
+
declare type ThemeSizesType = Record<SizesTypes, number>;
|
476
|
+
declare type ThemeDevicesType = Record<BreakpointSizesTypes, string>;
|
477
|
+
declare type ZealTheme = {
|
478
|
+
colors: ThemeColorsType;
|
479
|
+
fonts: Record<FontSizesTypes, number>;
|
480
|
+
sizes: ThemeSizesType;
|
481
|
+
devices: ThemeDevicesType;
|
623
482
|
};
|
624
483
|
|
625
|
-
declare const
|
484
|
+
declare const toastStyles: styled_components.FlattenSimpleInterpolation;
|
626
485
|
|
627
|
-
declare
|
628
|
-
phoneNumber: string;
|
629
|
-
addressLine1: string;
|
630
|
-
addressLine2: string;
|
631
|
-
};
|
632
|
-
declare type FooterLink = {
|
633
|
-
id: string;
|
634
|
-
name: string;
|
635
|
-
location: string;
|
636
|
-
};
|
486
|
+
declare const useMediaQuery: (breakpointSize: BreakpointSizesTypes$1) => boolean;
|
637
487
|
|
638
|
-
declare type
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
title: string;
|
645
|
-
editIcons?: {
|
646
|
-
isEditMode: boolean;
|
647
|
-
onSave: Callback$1;
|
648
|
-
onEdit: Callback$1;
|
649
|
-
onClose: Callback$1;
|
650
|
-
};
|
488
|
+
declare type BaseSelectableProps<T> = {
|
489
|
+
iconName: IconNames;
|
490
|
+
infoText: string;
|
491
|
+
isActive?: boolean;
|
492
|
+
onClick?: (value: T) => void;
|
493
|
+
value: T;
|
651
494
|
};
|
652
|
-
declare const ProfileInformation: <TabKeys extends string>({ avatarProps, backgroundImageUrl, initialTabKey, tabs, title, editIcons, tabContents, }: ProfileInformationProps<TabKeys>) => JSX.Element;
|
653
495
|
|
654
|
-
declare type
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
isLoading?: boolean;
|
660
|
-
onSubmit?: (values: EmailAddressFields) => void;
|
661
|
-
onBack?: Callback$1;
|
496
|
+
declare type SelectableCardGroupProps<T> = {
|
497
|
+
cards: BaseSelectableProps<T>[];
|
498
|
+
handleChange?: (value: T | undefined) => void;
|
499
|
+
spacing?: SizesTypes;
|
500
|
+
initialValue?: T;
|
662
501
|
};
|
663
|
-
declare const
|
502
|
+
declare const SelectableCardGroup: <T extends string>({ cards, handleChange, spacing, initialValue, }: SelectableCardGroupProps<T>) => JSX.Element;
|
664
503
|
|
665
|
-
declare type
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
504
|
+
declare type HeroImageAlignment = 'left_aligned' | 'center_aligned';
|
505
|
+
declare type HeroImageTemplate = 'card' | 'full_width';
|
506
|
+
declare type HeroImageProps = {
|
507
|
+
type: 'hero_image';
|
508
|
+
backgroundImage: ImageProps$1;
|
509
|
+
mainHeading: string;
|
510
|
+
subHeading?: string;
|
511
|
+
button?: ButtonProps$1;
|
512
|
+
contentAlignment?: HeroImageAlignment;
|
670
513
|
horizontalPaddings?: number;
|
671
|
-
|
672
|
-
};
|
673
|
-
declare const Body: ({ elements, horizontalPaddings, containerStyles, }: BodyProps) => JSX.Element;
|
674
|
-
|
675
|
-
declare type ISIProps = ISIAProps;
|
676
|
-
declare const ISI: (props: ISIProps) => JSX.Element;
|
677
|
-
|
678
|
-
declare type ImportantLink = {
|
679
|
-
text: string;
|
680
|
-
href: string;
|
681
|
-
};
|
682
|
-
declare type HeaderAProps<T = string> = {
|
683
|
-
className?: string;
|
684
|
-
links?: ImportantLink[];
|
685
|
-
logoUrl: string;
|
686
|
-
tabsProps: TabGroupProps$1;
|
687
|
-
onActionButtonClick?: Callback$1;
|
688
|
-
buttonText: string;
|
689
|
-
buttonLink: string;
|
514
|
+
template?: HeroImageTemplate;
|
690
515
|
isMobile?: boolean;
|
516
|
+
height?: number;
|
691
517
|
};
|
518
|
+
declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, template, isMobile, height, }: HeroImageProps) => JSX.Element;
|
692
519
|
|
693
|
-
declare type
|
520
|
+
declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
|
521
|
+
declare type DrawerProps = DrawerProps$1 & {
|
522
|
+
anchor: Anchor;
|
523
|
+
padding?: SizesTypes$2 | number;
|
524
|
+
height?: number | string;
|
525
|
+
width?: number | string;
|
526
|
+
closeIconColor?: ThemeColors$1 | string;
|
527
|
+
};
|
694
528
|
|
695
|
-
declare
|
529
|
+
declare const Drawer: ({ children, closeIconColor, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
|
696
530
|
|
697
|
-
declare type
|
698
|
-
withAvatar: AvatarDropdownProps$1<string>;
|
699
|
-
} & Pick<HeaderAProps$1, 'isMobile' | 'logoUrl' | 'links' | 'tabsProps' | 'className'>;
|
531
|
+
declare type ColumnsTemplateKeys = 'horizontal' | 'card' | 'with_image';
|
700
532
|
|
701
|
-
declare type
|
702
|
-
type: '
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
533
|
+
declare type ColumnsProps = {
|
534
|
+
type: 'columns';
|
535
|
+
columns: ColumnItem[];
|
536
|
+
containerStyles?: CSSProperties$1;
|
537
|
+
template?: ColumnsTemplateKeys;
|
538
|
+
};
|
539
|
+
declare type ColumnItem = {
|
540
|
+
title?: string;
|
541
|
+
mainContent?: string;
|
542
|
+
button?: TextButtonProps$1;
|
543
|
+
icon: string;
|
544
|
+
};
|
545
|
+
declare const Columns: ({ columns, containerStyles, template }: ColumnsProps) => JSX.Element;
|
711
546
|
|
712
|
-
declare type
|
713
|
-
|
714
|
-
|
715
|
-
|
547
|
+
declare type MenuItem<T> = {
|
548
|
+
id: T;
|
549
|
+
title: string;
|
550
|
+
onClick?: (id: T) => void;
|
716
551
|
};
|
717
|
-
declare type
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
declare type CheckboxCaptureProps = {
|
722
|
-
type: 'checkbox';
|
723
|
-
label: string;
|
724
|
-
value: boolean;
|
725
|
-
onChange: (value: boolean) => void;
|
552
|
+
declare type MenuItemsProps<T> = {
|
553
|
+
title?: string;
|
554
|
+
onItemPress?: (id: T) => void;
|
555
|
+
options?: MenuItem<T>[];
|
726
556
|
};
|
727
|
-
declare
|
557
|
+
declare const MenuItems: <T extends string | number>({ title, onItemPress, options, }: MenuItemsProps<T>) => JSX.Element;
|
728
558
|
|
729
|
-
declare type
|
559
|
+
declare type AvatarDropdownProps<T> = {
|
560
|
+
avatarProps: AvatarProps;
|
561
|
+
menuConfig: MenuItemsProps<T>;
|
562
|
+
};
|
563
|
+
declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
|
564
|
+
|
565
|
+
declare type TabProps<T = string, K = string> = {
|
566
|
+
tabKey: T;
|
730
567
|
text: string;
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
568
|
+
disabled?: boolean;
|
569
|
+
vertical?: boolean;
|
570
|
+
isActive?: boolean;
|
571
|
+
onClick?: (key: T) => void;
|
572
|
+
options?: MenuItem<K>[];
|
573
|
+
onOptionClick?: (optionKey: K) => void;
|
735
574
|
};
|
736
|
-
declare const Consent: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: ConsentProps<T>) => JSX.Element;
|
737
575
|
|
738
|
-
declare type
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
title: string;
|
745
|
-
description: string;
|
746
|
-
status: ProcessTrackerStatus;
|
747
|
-
}[];
|
748
|
-
currentStep?: number;
|
576
|
+
declare type TabGroupProps<T = string, K = string> = {
|
577
|
+
tabs: Pick<TabProps<T, K>, 'text' | 'tabKey' | 'disabled' | 'options'>[];
|
578
|
+
activeTabKey: T;
|
579
|
+
spacing?: SizesTypes$2;
|
580
|
+
onTabChange?: (tabKey: T) => void;
|
581
|
+
onOptionClick?: (optionKey: K) => void;
|
749
582
|
style?: CSSProperties;
|
750
|
-
|
751
|
-
onClose: Callback$1;
|
752
|
-
};
|
753
|
-
destinationLink?: string;
|
754
|
-
onDestinationHandler?: Callback$1;
|
583
|
+
vertical?: boolean;
|
755
584
|
};
|
756
|
-
declare const
|
585
|
+
declare const TabGroup: <T extends string, K extends string>({ tabs, spacing, vertical, activeTabKey, onTabChange, style, }: TabGroupProps<T, K>) => JSX.Element;
|
757
586
|
|
758
|
-
declare type
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
isMobile?: boolean;
|
587
|
+
declare type FieldSectionProps<T extends object> = {
|
588
|
+
label: string;
|
589
|
+
control?: Control<T>;
|
590
|
+
isEditMode?: boolean;
|
591
|
+
fields: UIFields<T>;
|
764
592
|
};
|
765
|
-
declare const
|
593
|
+
declare const FieldSection: <T extends object>({ fields, label, isEditMode, control, }: FieldSectionProps<T>) => JSX.Element;
|
766
594
|
|
767
|
-
declare type
|
768
|
-
|
769
|
-
}) | (ProcessTrackerProps$1 & {
|
770
|
-
elementType: 'process_tracker';
|
771
|
-
}) | (FeedContentProps$1 & {
|
772
|
-
elementType: 'feed_content';
|
773
|
-
});
|
774
|
-
declare type SizeProps = SizesTypes$1 | number;
|
775
|
-
declare type DynamicContentZoneProps = {
|
776
|
-
elements: {
|
777
|
-
data: DynamicElementProps[];
|
778
|
-
spacer?: SizeProps;
|
779
|
-
};
|
780
|
-
horizontalPaddings?: SizeProps;
|
781
|
-
containerStyles?: CSSProperties;
|
595
|
+
declare type MenuNavigationProps<T> = {
|
596
|
+
menuConfig: MenuItemsProps<T>;
|
782
597
|
};
|
783
|
-
declare const
|
598
|
+
declare const MenuNavigation: <T extends string | number>({ menuConfig, }: MenuNavigationProps<T>) => JSX.Element;
|
599
|
+
declare const CaretIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
600
|
+
isOpen: boolean;
|
601
|
+
}, never>;
|
784
602
|
|
785
|
-
declare type
|
786
|
-
|
603
|
+
declare type EmphasizedTextProps = {
|
604
|
+
type: 'emphasized_text';
|
605
|
+
invertColors: boolean;
|
606
|
+
textContent: string;
|
787
607
|
};
|
788
|
-
declare const
|
608
|
+
declare const EmphasizedText: ({ textContent, invertColors }: EmphasizedTextProps) => JSX.Element;
|
789
609
|
|
790
|
-
declare type
|
791
|
-
|
792
|
-
|
610
|
+
declare type RadioButtonFieldProps<T extends string> = {
|
611
|
+
name: string;
|
612
|
+
control?: Control<any>;
|
613
|
+
rules?: ControllerProps['rules'];
|
614
|
+
required?: boolean;
|
615
|
+
optional?: boolean;
|
616
|
+
defaultValue?: string;
|
617
|
+
styles?: CSSProperties;
|
618
|
+
radioButtonsProps: RadioButtonsProps$1<T>;
|
619
|
+
labelsProps?: FieldLabelsProps;
|
793
620
|
};
|
794
|
-
declare const
|
795
|
-
declare const HeroSliderWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
621
|
+
declare const RadioButtonField: <T extends string>({ control, name, radioButtonsProps, styles, labelsProps, defaultValue, optional, required, rules, }: RadioButtonFieldProps<T>) => JSX.Element;
|
796
622
|
|
797
|
-
declare type
|
798
|
-
|
799
|
-
title
|
800
|
-
description
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
email: string;
|
623
|
+
declare type AlertProps = {
|
624
|
+
style?: CSSProperties;
|
625
|
+
title: string;
|
626
|
+
description: string;
|
627
|
+
color?: string;
|
628
|
+
isMobile?: boolean;
|
629
|
+
logo?: string;
|
630
|
+
fullWidth?: boolean;
|
631
|
+
withCloseIcon?: {
|
632
|
+
onClose: Callback$1;
|
633
|
+
};
|
634
|
+
fontColor?: ThemeColors$2;
|
635
|
+
destinationLink?: string;
|
636
|
+
onDestinationHandler?: Callback$1;
|
637
|
+
containerStyles?: CSSProperties;
|
813
638
|
};
|
639
|
+
declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, containerStyles, isMobile, ...props }: AlertProps) => JSX.Element;
|
814
640
|
|
815
|
-
declare
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
641
|
+
declare type OrientationType = 'horizontal' | 'vertical';
|
642
|
+
declare type StepperProps = {
|
643
|
+
steps: {
|
644
|
+
title: string;
|
645
|
+
description?: string;
|
646
|
+
status?: ProcessTrackerStatus$1;
|
647
|
+
}[];
|
648
|
+
currentStep: number;
|
649
|
+
orientation?: OrientationType;
|
824
650
|
};
|
825
|
-
declare const
|
826
|
-
|
827
|
-
interface Helpers {
|
828
|
-
goToNextStep: () => void;
|
829
|
-
goToPrevStep: () => void;
|
830
|
-
reset: () => void;
|
831
|
-
canGoToNextStep: boolean;
|
832
|
-
canGoToPrevStep: boolean;
|
833
|
-
setStep: Dispatch<SetStateAction<number>>;
|
834
|
-
}
|
835
|
-
declare const useStep: (maxStep: number) => [number, Helpers];
|
836
|
-
|
837
|
-
declare const useRequiredConsentsAcceptedValues: (consents: ConsentProps$1[]) => boolean;
|
838
|
-
|
839
|
-
declare const defaultTheme: DefaultTheme;
|
840
|
-
|
841
|
-
declare const ZealThemeProvider: (props: PropsWithChildren<{
|
842
|
-
theme?: DefaultTheme;
|
843
|
-
}>) => JSX.Element;
|
651
|
+
declare const Stepper: ({ steps, orientation, currentStep }: StepperProps) => JSX.Element;
|
844
652
|
|
845
|
-
declare type
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
}>;
|
856
|
-
declare type ThemeSizesType = Record<SizesTypes, number>;
|
857
|
-
declare type ThemeDevicesType = Record<BreakpointSizesTypes, string>;
|
858
|
-
declare type ZealTheme = {
|
859
|
-
colors: ThemeColorsType;
|
860
|
-
fonts: Record<FontSizesTypes, number>;
|
861
|
-
sizes: ThemeSizesType;
|
862
|
-
devices: ThemeDevicesType;
|
653
|
+
declare type PdfDocumentProps = {
|
654
|
+
source: string;
|
655
|
+
isMobile?: boolean;
|
656
|
+
customDocumentStyles?: Partial<{
|
657
|
+
wrapperBackgroundColor: ThemeColors$2 | string;
|
658
|
+
pageNumberColor: ThemeColors$2 | string;
|
659
|
+
pageWidth: number;
|
660
|
+
pageHeight: number;
|
661
|
+
paginationArrowColor: ThemeColors$2 | string;
|
662
|
+
disabledPaginationArrowColor: ThemeColors$2 | string;
|
663
|
+
}>;
|
863
664
|
};
|
665
|
+
declare const PdfDocument: ({ source, isMobile, customDocumentStyles, }: PdfDocumentProps) => JSX.Element;
|
864
666
|
|
865
|
-
declare
|
667
|
+
declare type FeedTemplateKeys = `feed_${'a' | 'b'}`;
|
668
|
+
declare type FeedContentHeaderProps = {
|
669
|
+
title: string;
|
670
|
+
enableFavoriting?: boolean;
|
671
|
+
templateType: FeedTemplateKeys;
|
672
|
+
isMobile?: boolean;
|
673
|
+
menuConfig: MenuItemsProps$1<FilteredFeedContentType$1>;
|
674
|
+
} & Partial<Omit<InputFieldProps$1, 'labelsProps' | 'required' | 'optional'>>;
|
675
|
+
declare const FeedContentHeader: ({ templateType, title, name, inputProps, isMobile, menuConfig, ...rest }: FeedContentHeaderProps) => JSX.Element;
|
866
676
|
|
867
|
-
declare
|
677
|
+
declare type ToggleFieldProps = {
|
678
|
+
name: string;
|
679
|
+
title: string;
|
680
|
+
control?: Control<any>;
|
681
|
+
description?: string;
|
682
|
+
horizontalButtonsProps: HorizontalButtonsProps$1;
|
683
|
+
defaultValue?: string;
|
684
|
+
};
|
685
|
+
declare const HorizontalButtonsField: ({ name, title, control, description, horizontalButtonsProps, }: ToggleFieldProps) => JSX.Element;
|
868
686
|
|
869
|
-
declare type
|
870
|
-
annotationsList: AnnotationsList$1;
|
871
|
-
isMLRReview: boolean;
|
872
|
-
showAnnotations: boolean;
|
873
|
-
}>;
|
874
|
-
declare const MlrRichTextViewerProvider: ({ children, isMLRReview, showAnnotations, annotationsList, }: MlrRichTextViewerProviderProps) => JSX.Element;
|
687
|
+
declare type Callback = () => void;
|
875
688
|
|
876
|
-
declare type
|
877
|
-
|
878
|
-
|
879
|
-
|
689
|
+
declare type BottomNaVBarItemProps = {
|
690
|
+
name: string;
|
691
|
+
icon: ComponentType<Omit<IconProps$1, 'name'>>;
|
692
|
+
active: boolean;
|
693
|
+
activeColor: string;
|
694
|
+
onNavigate: Callback;
|
880
695
|
};
|
881
|
-
declare const
|
696
|
+
declare const BottomNavBarItem: ({ name, icon: IconComponent, active, activeColor, onNavigate, }: BottomNaVBarItemProps) => JSX.Element;
|
882
697
|
|
883
|
-
declare type
|
884
|
-
|
885
|
-
|
886
|
-
label: string;
|
887
|
-
entityIds: string[];
|
888
|
-
moleculeIds: string[];
|
889
|
-
referencedByIds: string[];
|
890
|
-
}[];
|
891
|
-
links: {
|
892
|
-
referencedById: string;
|
893
|
-
moleculeId: string;
|
894
|
-
text: string;
|
895
|
-
url: string;
|
896
|
-
}[];
|
698
|
+
declare type SetPasswordRuleValidation = {
|
699
|
+
label: string;
|
700
|
+
rule: MaxRuleValidation | MinRuleValidation;
|
897
701
|
};
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
setActionContent: Dispatch<SetStateAction<ContainerComponentProps$1>>;
|
906
|
-
isModalVisible: boolean;
|
907
|
-
setModalVisible: Dispatch<SetStateAction<boolean>>;
|
908
|
-
isDrawerVisible: boolean;
|
909
|
-
setDrawerVisible: Dispatch<SetStateAction<boolean>>;
|
702
|
+
declare type SetPasswordFormProps = {
|
703
|
+
fields: UIFields<SetPasswordFields>;
|
704
|
+
logoUrl: string;
|
705
|
+
isLoading?: boolean;
|
706
|
+
validations: SetPasswordRuleValidation[];
|
707
|
+
onSubmit: (values: SetPasswordFields) => void;
|
708
|
+
onBack: () => void;
|
910
709
|
};
|
911
|
-
declare const
|
710
|
+
declare const SetPasswordForm: ({ logoUrl, fields, validations, onBack, onSubmit, isLoading, }: SetPasswordFormProps) => JSX.Element;
|
912
711
|
|
913
|
-
declare
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
712
|
+
declare const showAcceptToastMessage: () => void | undefined;
|
713
|
+
declare type AcquisitionFormProps<T extends object> = {
|
714
|
+
fields: UIFields$2<T>;
|
715
|
+
consents: ConsentProps$1[];
|
716
|
+
logoUrl: string;
|
717
|
+
isLoading?: boolean;
|
718
|
+
isSubmitDisabled?: boolean;
|
719
|
+
title: string;
|
720
|
+
description?: string;
|
721
|
+
buttonText?: string;
|
722
|
+
onSubmit: (values: T) => void;
|
723
|
+
onLinkButtonClick?: Callback$1;
|
724
|
+
showConsentLabel?: boolean;
|
725
|
+
triggerFormInitially?: boolean;
|
726
|
+
isTooltipVisible?: boolean;
|
727
|
+
optionsPresentation?: boolean;
|
728
|
+
};
|
729
|
+
declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, optionsPresentation, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, isTooltipVisible, }: AcquisitionFormProps<T>) => JSX.Element;
|
922
730
|
|
923
|
-
declare type
|
924
|
-
|
925
|
-
fontVariant: FontSizesTypes$2;
|
926
|
-
fontSize: number;
|
927
|
-
fontWeight: string | number;
|
928
|
-
color: ThemeColors$1 | string;
|
929
|
-
padding: string;
|
930
|
-
styles: StylesType;
|
931
|
-
wrapperStyles: StylesType;
|
932
|
-
};
|
933
|
-
declare type RuleLabelInternalConfig = {
|
934
|
-
requiredTextColor: ThemeColors$1 | string;
|
935
|
-
optionalTextColor: ThemeColors$1 | string;
|
936
|
-
padding: string;
|
937
|
-
fontSize: number;
|
938
|
-
styles: StylesType;
|
939
|
-
};
|
940
|
-
declare type TooltipInternalConfig = {
|
941
|
-
fontVariant: FontSizesTypes$2;
|
942
|
-
fontSize: number;
|
943
|
-
fontWeight: string | number;
|
944
|
-
color: ThemeColors$1 | string;
|
945
|
-
padding: string;
|
946
|
-
backgroundColor: ThemeColors$1 | string;
|
947
|
-
iconColor: ThemeColors$1 | string;
|
948
|
-
styles: StylesType;
|
949
|
-
wrapperStyles: StylesType;
|
731
|
+
declare type VerificationCodeForm = {
|
732
|
+
code: string;
|
950
733
|
};
|
951
|
-
declare type
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
labelInternalConfig?: LabelInternalConfig;
|
958
|
-
ruleLabelInternalConfig?: RuleLabelInternalConfig;
|
959
|
-
tooltipInternalConfig?: TooltipInternalConfig;
|
960
|
-
isRichText?: boolean;
|
734
|
+
declare type AuthMethod = 'email' | 'sms';
|
735
|
+
declare type TwoFactorAuthProps = {
|
736
|
+
logoUrl: string;
|
737
|
+
onNext?: (authMethod: AuthMethod) => Promise<void>;
|
738
|
+
onSubmit?: (values: VerificationCodeForm) => void;
|
739
|
+
onBack?: () => void;
|
961
740
|
};
|
962
|
-
declare const
|
741
|
+
declare const TwoFactorAuth: ({ logoUrl, onSubmit, onBack, onNext }: TwoFactorAuthProps) => JSX.Element;
|
963
742
|
|
964
|
-
declare type
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
optional: boolean;
|
970
|
-
defaultValue: string;
|
971
|
-
inputProps: InputProps$1;
|
972
|
-
styles: StylesType;
|
973
|
-
labelsProps: FieldLabelsProps;
|
974
|
-
}>;
|
975
|
-
declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, }: InputFieldProps) => JSX.Element;
|
743
|
+
declare type LoginFields = {
|
744
|
+
email: string;
|
745
|
+
password: string;
|
746
|
+
rememberMe: boolean;
|
747
|
+
};
|
976
748
|
|
977
|
-
declare type
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
749
|
+
declare type LoginFormProps = {
|
750
|
+
fields: UIFields$2<LoginFields>;
|
751
|
+
logoUrl: string;
|
752
|
+
isLoading?: boolean;
|
753
|
+
twoFactorAuthConfig?: {
|
754
|
+
twoFactorShow: boolean;
|
755
|
+
twoFactorAuthProps: TwoFactorAuthProps;
|
756
|
+
};
|
983
757
|
optionsPresentation?: boolean;
|
984
|
-
|
758
|
+
onSubmit: (values: LoginFields) => void;
|
759
|
+
onSignUpButtonClick?: Callback$1;
|
760
|
+
onForgotPasswordButtonClick?: Callback$1;
|
761
|
+
isTooltipVisible?: boolean;
|
762
|
+
consents: ConsentProps$2[];
|
985
763
|
};
|
986
|
-
declare const
|
764
|
+
declare const LoginForm: ({ logoUrl, fields, isTooltipVisible, onSubmit, optionsPresentation, onSignUpButtonClick, isLoading, twoFactorAuthConfig, consents, onForgotPasswordButtonClick, }: LoginFormProps) => JSX.Element;
|
987
765
|
|
988
|
-
declare type
|
989
|
-
|
990
|
-
checkboxFieldWrapperStyles: StylesType;
|
991
|
-
onChange: (id: string) => void;
|
992
|
-
disabled: boolean;
|
993
|
-
options?: SelectOption$1[];
|
994
|
-
selectedIds?: string[];
|
995
|
-
isError?: boolean;
|
996
|
-
isEditMode?: boolean;
|
997
|
-
isRichText: boolean;
|
998
|
-
internalConfig: CheckboxInternalConfigProps$1;
|
999
|
-
}>;
|
1000
|
-
declare type CheckboxFieldProps = Partial<{
|
1001
|
-
checkboxesProps: CheckboxesProps;
|
1002
|
-
labelsProps: FieldLabelsProps;
|
1003
|
-
name: string;
|
1004
|
-
rules: ControllerProps$1['rules'];
|
1005
|
-
control: Control$1<any>;
|
1006
|
-
required: boolean;
|
1007
|
-
optional: boolean;
|
1008
|
-
wrapperStyles: StylesType;
|
1009
|
-
}>;
|
1010
|
-
declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, }: CheckboxFieldProps) => JSX.Element;
|
766
|
+
declare type FooterProps = FooterAProps | FooterBProps | FooterCProps | FooterDProps;
|
767
|
+
declare const Footer: (props: FooterProps) => JSX.Element;
|
1011
768
|
|
1012
|
-
declare type
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
769
|
+
declare type FeedContentTemplateTypes = 'full_width_content' | 'standard_content' | 'auto_play' | '';
|
770
|
+
declare type FeedContentProps = {
|
771
|
+
feedContentType: Omit<FilteredFeedContentType$1, 'all'>;
|
772
|
+
feedContentTemplate: FeedContentTemplateTypes;
|
773
|
+
id?: string;
|
774
|
+
image?: string;
|
775
|
+
video?: string;
|
776
|
+
document?: string;
|
777
|
+
title?: Nullable<string>;
|
778
|
+
description: Nullable<string>;
|
779
|
+
lastUpdated: string;
|
780
|
+
buttonConfig: {
|
781
|
+
disabled?: boolean;
|
782
|
+
onClick?: () => void;
|
783
|
+
};
|
784
|
+
withCloseIcon?: {
|
785
|
+
onClose: Callback$1;
|
786
|
+
};
|
787
|
+
isMobile?: boolean;
|
788
|
+
isExpanded?: boolean;
|
789
|
+
fullWidth?: boolean;
|
790
|
+
fullWidthTemplateContainerStyles?: CSSProperties;
|
791
|
+
showDefaultDocumentStyles?: boolean;
|
792
|
+
destinationLink?: string;
|
793
|
+
onDestinationHandler?: Callback$1;
|
794
|
+
imageStyles?: CSSProperties;
|
795
|
+
videoStyles?: CSSProperties;
|
796
|
+
isEnabledFavoriting?: boolean;
|
797
|
+
isFavorite?: boolean;
|
798
|
+
onFavoriteClickHandler?: Callback$1;
|
799
|
+
onFavoriteIconClick?: (selectedFeedContent: FeedContentProps) => void;
|
800
|
+
};
|
1019
801
|
|
1020
|
-
declare
|
1021
|
-
selectProps: SelectProps$1;
|
1022
|
-
labelsProps: FieldLabelsProps;
|
1023
|
-
name: string;
|
1024
|
-
rules: ControllerProps$1['rules'];
|
1025
|
-
control: Control$1<any>;
|
1026
|
-
required: boolean;
|
1027
|
-
optional: boolean;
|
1028
|
-
defaultValue: string;
|
1029
|
-
styles: StylesType;
|
1030
|
-
}>;
|
1031
|
-
declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, }: SelectFieldProps) => JSX.Element;
|
802
|
+
declare const FeedContent: ({ feedContentTemplate, ...props }: FeedContentProps) => JSX.Element;
|
1032
803
|
|
1033
|
-
declare type
|
1034
|
-
|
1035
|
-
|
804
|
+
declare type FooterContactInfo = {
|
805
|
+
phoneNumber: string;
|
806
|
+
addressLine1: string;
|
807
|
+
addressLine2: string;
|
1036
808
|
};
|
1037
|
-
declare type
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
rules: CustomValidationRule<T>[];
|
809
|
+
declare type FooterLink = {
|
810
|
+
id: string;
|
811
|
+
name: string;
|
812
|
+
location: string;
|
1042
813
|
};
|
1043
|
-
declare const CustomValidation: <T extends string = string>({ rules, value, isSubmitted, label, }: CustomValidationProps<T>) => JSX.Element;
|
1044
814
|
|
1045
|
-
declare type
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
815
|
+
declare type ProfileInformationProps<TabKeys extends string> = {
|
816
|
+
backgroundImageUrl: string;
|
817
|
+
avatarProps: AvatarProps;
|
818
|
+
tabs: TabProps<string, TabKeys>[];
|
819
|
+
tabContents: Record<TabKeys, () => ReactNode>;
|
820
|
+
initialTabKey: TabKeys;
|
821
|
+
title: string;
|
822
|
+
editIcons?: {
|
823
|
+
isEditMode: boolean;
|
824
|
+
onSave: Callback$1;
|
825
|
+
onEdit: Callback$1;
|
826
|
+
onClose: Callback$1;
|
827
|
+
};
|
1051
828
|
};
|
829
|
+
declare const ProfileInformation: <TabKeys extends string>({ avatarProps, backgroundImageUrl, initialTabKey, tabs, title, editIcons, tabContents, }: ProfileInformationProps<TabKeys>) => JSX.Element;
|
1052
830
|
|
1053
|
-
declare type
|
1054
|
-
|
1055
|
-
handleChange?: (value: T | undefined) => void;
|
1056
|
-
spacing?: SizesTypes$1;
|
1057
|
-
initialValue?: T;
|
831
|
+
declare type EmailAddressFields = {
|
832
|
+
email: string;
|
1058
833
|
};
|
1059
|
-
declare
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
type: 'hero_image';
|
1065
|
-
backgroundImage: RegularImageProps$1;
|
1066
|
-
mainHeading: string;
|
1067
|
-
subHeading?: string;
|
1068
|
-
button?: ButtonProps$1;
|
1069
|
-
contentAlignment?: HeroImageAlignment;
|
1070
|
-
horizontalPaddings?: number;
|
1071
|
-
template?: HeroImageTemplate;
|
1072
|
-
isMobile?: boolean;
|
1073
|
-
height?: number;
|
834
|
+
declare type ForgotPasswordFormProps = {
|
835
|
+
logoUrl: string;
|
836
|
+
isLoading?: boolean;
|
837
|
+
onSubmit?: (values: EmailAddressFields) => void;
|
838
|
+
onBack?: Callback$1;
|
1074
839
|
};
|
1075
|
-
declare const
|
840
|
+
declare const ForgotPasswordForm: ({ logoUrl, onBack, onSubmit, isLoading, }: ForgotPasswordFormProps) => JSX.Element;
|
1076
841
|
|
1077
|
-
declare type
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
842
|
+
declare type BodyProps = {
|
843
|
+
elements: {
|
844
|
+
data: (HeroImageProps$1 | HeroSliderProps$1 | SubscribePanelProps$1 | ColumnsProps$1 | EmphasizedTextProps$1 | FeedContentContainerProps$1)[];
|
845
|
+
spacer?: number;
|
846
|
+
};
|
847
|
+
horizontalPaddings?: number;
|
848
|
+
containerStyles?: CSSProperties;
|
1084
849
|
};
|
850
|
+
declare const Body: ({ elements, horizontalPaddings, containerStyles }: BodyProps) => JSX.Element;
|
1085
851
|
|
1086
|
-
declare
|
1087
|
-
|
1088
|
-
declare type ColumnsTemplateKeys = 'horizontal' | 'card' | 'with_image';
|
852
|
+
declare type ISIProps = ISIAProps;
|
853
|
+
declare const ISI: (props: ISIProps) => JSX.Element;
|
1089
854
|
|
1090
|
-
declare type
|
1091
|
-
|
1092
|
-
|
1093
|
-
containerStyles?: CSSProperties$1;
|
1094
|
-
template?: ColumnsTemplateKeys;
|
855
|
+
declare type ImportantLink = {
|
856
|
+
text: string;
|
857
|
+
href: string;
|
1095
858
|
};
|
1096
|
-
declare type
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
859
|
+
declare type HeaderAProps<T = string> = {
|
860
|
+
className?: string;
|
861
|
+
links?: ImportantLink[];
|
862
|
+
logoUrl: string;
|
863
|
+
tabsProps: TabGroupProps$1;
|
864
|
+
onActionButtonClick?: Callback$1;
|
865
|
+
buttonText: string;
|
866
|
+
buttonLink: string;
|
867
|
+
isMobile?: boolean;
|
1101
868
|
};
|
1102
|
-
declare const Columns: ({ columns, containerStyles, template }: ColumnsProps) => JSX.Element;
|
1103
869
|
|
1104
|
-
declare type
|
1105
|
-
id: T;
|
1106
|
-
title: string;
|
1107
|
-
onClick?: (id: T) => void;
|
1108
|
-
};
|
1109
|
-
declare type MenuItemsProps<T> = {
|
1110
|
-
title?: string;
|
1111
|
-
onItemPress?: (id: T) => void;
|
1112
|
-
options?: MenuItem<T>[];
|
1113
|
-
};
|
1114
|
-
declare const MenuItems: <T extends string | number>({ title, onItemPress, options, }: MenuItemsProps<T>) => JSX.Element;
|
870
|
+
declare type HeaderBProps<T = string> = Pick<HeaderAProps$1<T>, 'isMobile' | 'logoUrl' | 'tabsProps' | 'buttonText' | 'onActionButtonClick' | 'buttonLink' | 'className'>;
|
1115
871
|
|
1116
|
-
declare type
|
1117
|
-
avatarProps: AvatarProps$1;
|
1118
|
-
menuConfig: MenuItemsProps<T>;
|
1119
|
-
};
|
1120
|
-
declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
|
872
|
+
declare type HeaderCProps<T> = Pick<HeaderAProps$1<T>, 'logoUrl' | 'tabsProps' | 'isMobile' | 'className'>;
|
1121
873
|
|
1122
|
-
declare type
|
1123
|
-
|
1124
|
-
|
1125
|
-
containerProps?: Record<string, unknown>;
|
1126
|
-
};
|
1127
|
-
declare type TabGroupProps<T = string, K = string> = {
|
1128
|
-
tabs: TabType<T, K>[];
|
1129
|
-
activeTabKey: T;
|
1130
|
-
onTabChange?: (tabKey: T) => void;
|
1131
|
-
onOptionClick?: (optionKey: K) => void;
|
1132
|
-
styles?: StylesType;
|
1133
|
-
vertical?: boolean;
|
1134
|
-
tabTheme?: TabTheme$1;
|
1135
|
-
tabFont?: FontSizesTypes$1;
|
1136
|
-
textSize?: number;
|
1137
|
-
tabPadding?: SizesTypes$2 | number;
|
1138
|
-
tabSpacing?: SizesTypes$2;
|
1139
|
-
defaultTabTextColor?: ThemeColors$2 | string;
|
1140
|
-
selectedTabTextColor?: ThemeColors$2 | string;
|
1141
|
-
selectedTabIndicatorColor?: ThemeColors$2 | string;
|
1142
|
-
wide?: AdditionalTabContainerProps;
|
1143
|
-
compact?: AdditionalTabContainerProps;
|
1144
|
-
};
|
1145
|
-
declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, ...props }: TabGroupProps<T, K>) => JSX.Element;
|
874
|
+
declare type HeaderDProps = {
|
875
|
+
withAvatar: AvatarDropdownProps$1<string>;
|
876
|
+
} & Pick<HeaderAProps$1, 'isMobile' | 'logoUrl' | 'links' | 'tabsProps' | 'className'>;
|
1146
877
|
|
1147
|
-
declare type
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
878
|
+
declare type HeaderProps<T = string> = (HeaderAProps<T> & {
|
879
|
+
type: 'header_a';
|
880
|
+
}) | (HeaderBProps<T> & {
|
881
|
+
type: 'header_b';
|
882
|
+
}) | (HeaderCProps<T> & {
|
883
|
+
type: 'header_c';
|
884
|
+
}) | (HeaderDProps & {
|
885
|
+
type: 'header_d';
|
886
|
+
});
|
887
|
+
declare const Header: <T extends string | number>(props: HeaderProps<T>) => JSX.Element;
|
1154
888
|
|
1155
|
-
declare type
|
1156
|
-
|
889
|
+
declare type ButtonCaptureProps = {
|
890
|
+
type: 'button';
|
891
|
+
acceptButton: ButtonProps$1;
|
892
|
+
denyButton: ButtonProps$1;
|
1157
893
|
};
|
1158
|
-
declare
|
1159
|
-
|
1160
|
-
|
1161
|
-
}
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
894
|
+
declare type RadioButtonsCaptureProps<T extends string> = {
|
895
|
+
type: 'radioButton';
|
896
|
+
acceptValue: T;
|
897
|
+
} & RadioButtonsProps$1<T>;
|
898
|
+
declare type CheckboxCaptureProps = {
|
899
|
+
type: 'checkbox';
|
900
|
+
label: string;
|
901
|
+
value: boolean;
|
902
|
+
onChange: (value: boolean) => void;
|
1167
903
|
};
|
1168
|
-
declare
|
904
|
+
declare type ConsentCaptureProps<T extends string = string> = ButtonCaptureProps | RadioButtonsCaptureProps<T> | CheckboxCaptureProps;
|
1169
905
|
|
1170
|
-
declare type
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
defaultValue: string;
|
1179
|
-
radioButtonsProps: RadioButtonsProps$1<T>;
|
1180
|
-
internalConfig: RadioButtonInternalConfigProps$1;
|
1181
|
-
}>;
|
1182
|
-
declare const RadioButtonField: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, }: Partial<{
|
1183
|
-
name: string;
|
1184
|
-
rules: ControllerProps$1['rules'];
|
1185
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
1186
|
-
control: Control$1<any>;
|
1187
|
-
optional: boolean;
|
1188
|
-
required: boolean;
|
1189
|
-
labelsProps: FieldLabelsProps;
|
1190
|
-
defaultValue: string;
|
1191
|
-
radioButtonsProps: Partial<{
|
1192
|
-
ref: react_hook_form.RefCallBack;
|
1193
|
-
name: string;
|
1194
|
-
value: T;
|
1195
|
-
options: atoms.SelectOption[];
|
1196
|
-
onBlur: typescript.Callback;
|
1197
|
-
onChange: (value: T) => void;
|
1198
|
-
isRow: boolean;
|
1199
|
-
isError: boolean;
|
1200
|
-
disabled: boolean;
|
1201
|
-
isEditMode: boolean;
|
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>>;
|
1223
|
-
}>;
|
1224
|
-
}>) => JSX.Element;
|
906
|
+
declare type ConsentProps<T extends string = string> = {
|
907
|
+
text: string;
|
908
|
+
isRequired?: boolean;
|
909
|
+
consentCaptureProps: ConsentCaptureProps<T>;
|
910
|
+
containerStyles?: CSSProperties;
|
911
|
+
clearStyles?: boolean;
|
912
|
+
};
|
913
|
+
declare const Consent: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: ConsentProps<T>) => JSX.Element;
|
1225
914
|
|
1226
|
-
declare type
|
1227
|
-
|
1228
|
-
title
|
1229
|
-
description
|
1230
|
-
color?: string;
|
915
|
+
declare type ProcessTrackerStatus = 'complete' | 'incomplete' | 'in_progress';
|
916
|
+
declare type ProcessTrackerProps = {
|
917
|
+
title?: Nullable<string>;
|
918
|
+
description?: Nullable<string>;
|
1231
919
|
isMobile?: boolean;
|
1232
|
-
|
1233
|
-
|
920
|
+
statuses?: {
|
921
|
+
title: string;
|
922
|
+
description: string;
|
923
|
+
status: ProcessTrackerStatus;
|
924
|
+
}[];
|
925
|
+
currentStep?: number;
|
926
|
+
style?: CSSProperties;
|
1234
927
|
withCloseIcon?: {
|
1235
928
|
onClose: Callback$1;
|
1236
929
|
};
|
1237
|
-
fontColor?: ThemeColors$1;
|
1238
930
|
destinationLink?: string;
|
1239
931
|
onDestinationHandler?: Callback$1;
|
1240
|
-
containerStyles?: CSSProperties;
|
1241
932
|
};
|
1242
|
-
declare const
|
933
|
+
declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, withCloseIcon, }: ProcessTrackerProps) => JSX.Element;
|
1243
934
|
|
1244
|
-
declare type
|
1245
|
-
declare type
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
}[];
|
1251
|
-
currentStep: number;
|
1252
|
-
orientation?: OrientationType;
|
935
|
+
declare type FilteredFeedContentType = 'all' | 'favourite';
|
936
|
+
declare type FeedContentContainerProps = {
|
937
|
+
type: 'feed';
|
938
|
+
feedHeader: Omit<FeedContentHeaderProps$1, 'isMobile'>;
|
939
|
+
feedContent?: Omit<FeedContentProps$1, 'isMobile'>[];
|
940
|
+
isMobile?: boolean;
|
1253
941
|
};
|
1254
|
-
declare const
|
942
|
+
declare const FeedContentContainer: ({ feedHeader, feedContent, isMobile, }: FeedContentContainerProps) => JSX.Element;
|
1255
943
|
|
1256
|
-
declare type
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
944
|
+
declare type DynamicElementProps = (AlertProps$1 & {
|
945
|
+
elementType: 'alert';
|
946
|
+
}) | (ProcessTrackerProps$1 & {
|
947
|
+
elementType: 'process_tracker';
|
948
|
+
}) | (FeedContentProps$1 & {
|
949
|
+
elementType: 'feed_content';
|
950
|
+
});
|
951
|
+
declare type SizeProps = SizesTypes$1 | number;
|
952
|
+
declare type DynamicContentZoneProps = {
|
953
|
+
elements: {
|
954
|
+
data: DynamicElementProps[];
|
955
|
+
spacer?: SizeProps;
|
956
|
+
};
|
957
|
+
horizontalPaddings?: SizeProps;
|
958
|
+
containerStyles?: CSSProperties;
|
1267
959
|
};
|
1268
|
-
declare const
|
960
|
+
declare const DynamicContentZone: ({ elements, horizontalPaddings, containerStyles, }: DynamicContentZoneProps) => JSX.Element;
|
1269
961
|
|
1270
|
-
declare type
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
templateType: FeedTemplateKeys;
|
1275
|
-
isMobile?: boolean;
|
1276
|
-
menuConfig: MenuItemsProps$1<FilteredFeedContentType$1>;
|
1277
|
-
} & Partial<Omit<InputFieldProps$1, 'labelsProps' | 'required' | 'optional'>>;
|
1278
|
-
declare const FeedContentHeader: ({ templateType, title, name, inputProps, isMobile, menuConfig, ...rest }: FeedContentHeaderProps) => JSX.Element;
|
962
|
+
declare type BottomNavBarNavigationProps = {
|
963
|
+
navbarItems: BottomNaVBarItemProps$1[];
|
964
|
+
};
|
965
|
+
declare const BottomNavBarNavigation: ({ navbarItems }: BottomNavBarNavigationProps) => JSX.Element;
|
1279
966
|
|
1280
|
-
declare type
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
967
|
+
declare type HeroSliderProps = {
|
968
|
+
type: 'hero_slides';
|
969
|
+
heroSlides: Omit<HeroImageProps$1, 'type' | 'template'>[];
|
970
|
+
};
|
971
|
+
declare const HeroSlider: ({ heroSlides }: HeroSliderProps) => JSX.Element | null;
|
972
|
+
declare const HeroSliderWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
973
|
+
|
974
|
+
declare type SubscribePanelTemplateKeys = `subscribe_template_${'a' | 'b'}`;
|
975
|
+
declare type SubscribePanelTemplateProps = {
|
976
|
+
title?: string;
|
1284
977
|
description?: string;
|
1285
|
-
|
1286
|
-
|
978
|
+
isSubscribing?: boolean;
|
979
|
+
subscribeHandler: Callback$1;
|
980
|
+
isMobile: boolean;
|
981
|
+
control: Control$1<SubscribePanelForm>;
|
982
|
+
};
|
983
|
+
declare type SubscribePanelProps = Omit<SubscribePanelTemplateProps, 'isMobile' | 'control' | 'subscribeHandler'> & {
|
984
|
+
type: 'subscribe_panel';
|
985
|
+
template: SubscribePanelTemplateKeys;
|
986
|
+
onSubscribe: (email: string) => void;
|
987
|
+
};
|
988
|
+
declare type SubscribePanelForm = {
|
989
|
+
email: string;
|
1287
990
|
};
|
1288
|
-
declare const HorizontalButtonsField: ({ name, title, control, description, horizontalButtonsProps, }: ToggleFieldProps) => JSX.Element;
|
1289
991
|
|
1290
|
-
declare
|
992
|
+
declare const SubscribePanel: ({ template, onSubscribe, ...props }: SubscribePanelProps) => JSX.Element;
|
1291
993
|
|
1292
|
-
declare type
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
994
|
+
declare type DefaultTemplateProps = {
|
995
|
+
alerts?: AlertProps$2[];
|
996
|
+
processTracker?: ProcessTrackerProps$1;
|
997
|
+
header: React.ReactNode;
|
998
|
+
feedContent?: React.ReactNode;
|
999
|
+
banner?: React.ReactNode;
|
1000
|
+
content?: React.ReactNode;
|
1298
1001
|
};
|
1299
|
-
declare const
|
1300
|
-
|
1301
|
-
declare type VideoProps = {
|
1302
|
-
src: string;
|
1303
|
-
} & Partial<{
|
1304
|
-
width: number;
|
1305
|
-
autoplay: boolean;
|
1306
|
-
enableCoverImage: boolean;
|
1307
|
-
coverImageSrc: string;
|
1308
|
-
style: CSSProperties;
|
1309
|
-
template: FeedContentTemplateTypes$1;
|
1310
|
-
}>;
|
1311
|
-
declare const Video: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, }: VideoProps) => JSX.Element;
|
1002
|
+
declare const DefaultTemplate: ({ header, banner, content, alerts, processTracker, feedContent, }: DefaultTemplateProps) => JSX.Element;
|
1312
1003
|
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
cornerRadius: number;
|
1323
|
-
behaveAs: 'background' | 'regular';
|
1324
|
-
styles: StylesType;
|
1325
|
-
}>;
|
1326
|
-
declare const Image: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, }: ImageProps) => JSX.Element;
|
1004
|
+
interface Helpers {
|
1005
|
+
goToNextStep: () => void;
|
1006
|
+
goToPrevStep: () => void;
|
1007
|
+
reset: () => void;
|
1008
|
+
canGoToNextStep: boolean;
|
1009
|
+
canGoToPrevStep: boolean;
|
1010
|
+
setStep: Dispatch<SetStateAction<number>>;
|
1011
|
+
}
|
1012
|
+
declare const useStep: (maxStep: number) => [number, Helpers];
|
1327
1013
|
|
1328
|
-
declare
|
1329
|
-
children: JSX.Element[];
|
1330
|
-
};
|
1331
|
-
declare const Carousel: ({ children }: PropsWithChildren<CarouselProps>) => JSX.Element;
|
1332
|
-
declare const Wrapper: styled_components.StyledComponent<"section", styled_components.DefaultTheme, {}, never>;
|
1333
|
-
declare const SlidesWrapper: styled_components.StyledComponent<"ul", styled_components.DefaultTheme, {
|
1334
|
-
translateX: number;
|
1335
|
-
}, never>;
|
1336
|
-
declare const Slide: styled_components.StyledComponent<"li", styled_components.DefaultTheme, {}, never>;
|
1337
|
-
declare const ButtonsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
1338
|
-
declare const ArrowIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
1339
|
-
arrowSide: 'left' | 'right';
|
1340
|
-
}, never>;
|
1341
|
-
declare const NavigationDotsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
1014
|
+
declare const useRequiredConsentsAcceptedValues: (consents: ConsentProps$1[]) => boolean;
|
1342
1015
|
|
1343
|
-
declare type
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
textSize: number;
|
1348
|
-
textColor: ThemeColors$1 | string;
|
1349
|
-
letterSpacing: number;
|
1350
|
-
lineHeight: number;
|
1351
|
-
fontWeight: string | number;
|
1352
|
-
isRichText: boolean;
|
1353
|
-
styles: StylesType;
|
1354
|
-
textAlign: 'center' | 'right' | 'left';
|
1355
|
-
}> & Pick<TextProps$1, 'seoTag' | 'numberOfLines'>;
|
1356
|
-
declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
|
1357
|
-
|
1358
|
-
declare type ButtonVariant = 'primary' | 'secondary' | 'text' | 'custom';
|
1359
|
-
declare type ButtonType = 'button' | 'submit' | 'reset';
|
1360
|
-
declare type BaseButtonProps = PropsWithChildren<{
|
1361
|
-
onClick?: Callback$1;
|
1362
|
-
variant?: ButtonVariant;
|
1363
|
-
disabled?: boolean;
|
1364
|
-
state?: 'disabled' | 'enabled';
|
1365
|
-
fullWidth?: boolean;
|
1366
|
-
size?: 'medium' | 'small';
|
1367
|
-
buttonFont?: FontSizesTypes$2;
|
1368
|
-
textColor?: ThemeColors$1 | string;
|
1369
|
-
textSize?: number;
|
1370
|
-
horizontalPadding?: SizesTypes$1;
|
1371
|
-
verticalPadding?: SizesTypes$1;
|
1372
|
-
buttonColor?: ThemeColors$1 | string;
|
1373
|
-
buttonStroke?: ThemeColors$1 | string;
|
1374
|
-
cornerRadius?: SizesTypes$1 | number;
|
1375
|
-
hoverButtonColor?: ThemeColors$1 | string;
|
1376
|
-
hoverStrokeColor?: ThemeColors$1 | string;
|
1377
|
-
inactiveButtonColor?: ThemeColors$1 | string;
|
1378
|
-
inactiveStrokeColor?: ThemeColors$1 | string;
|
1379
|
-
inactiveTextColor?: ThemeColors$1 | string;
|
1380
|
-
styles?: StylesType;
|
1381
|
-
colorTheme?: 'light' | 'dark';
|
1382
|
-
href?: string;
|
1383
|
-
type?: ButtonType;
|
1016
|
+
declare type MlrRichTextViewerProviderProps = PropsWithChildren<{
|
1017
|
+
annotationsList: AnnotationsList$1;
|
1018
|
+
isMLRReview: boolean;
|
1019
|
+
showAnnotations: boolean;
|
1384
1020
|
}>;
|
1385
|
-
declare
|
1386
|
-
fullWidth?: boolean;
|
1387
|
-
text?: string;
|
1388
|
-
link?: string;
|
1389
|
-
elementId?: string;
|
1390
|
-
loading?: boolean;
|
1391
|
-
isRichText?: boolean;
|
1392
|
-
containerStyle?: StylesType;
|
1393
|
-
buttonStyle?: StylesType;
|
1394
|
-
};
|
1395
|
-
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;
|
1021
|
+
declare const MlrRichTextViewerProvider: ({ children, isMLRReview, showAnnotations, annotationsList, }: MlrRichTextViewerProviderProps) => JSX.Element;
|
1396
1022
|
|
1397
|
-
declare type
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
modalStyles?: CSSProperties;
|
1402
|
-
onClose?: Callback$1;
|
1023
|
+
declare type MlrRichTextViewerContextType = {
|
1024
|
+
isMLRReview: boolean;
|
1025
|
+
showAnnotations: boolean;
|
1026
|
+
annotationsList: AnnotationsList$1;
|
1403
1027
|
};
|
1404
|
-
declare const
|
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
|
-
declare const Container: ({ children, wide, compact, type, props }: ContainerProps$1) => JSX.Element;
|
1415
|
-
declare const ContainerComponent: ({ type, items, config, tabsProps }: ContainerComponentProps$1) => JSX.Element | null;
|
1028
|
+
declare const MlrRichTextViewerContext: React$1.Context<MlrRichTextViewerContextType>;
|
1416
1029
|
|
1417
|
-
declare type
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
};
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
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
|
-
declare type ImageAttributes = {
|
1442
|
-
attributeType: 'image';
|
1443
|
-
imageSource: string;
|
1030
|
+
declare type AnnotationsList = {
|
1031
|
+
tags: {
|
1032
|
+
id: string;
|
1033
|
+
label: string;
|
1034
|
+
}[];
|
1035
|
+
links: {
|
1036
|
+
id: string;
|
1037
|
+
text: string;
|
1038
|
+
url: string;
|
1039
|
+
}[];
|
1444
1040
|
};
|
1445
|
-
interface TextAttributes {
|
1446
|
-
id?: string;
|
1447
|
-
attributeType: 'text';
|
1448
|
-
isRichText: boolean;
|
1449
|
-
text: string;
|
1450
|
-
}
|
1451
|
-
interface VideoAttributes {
|
1452
|
-
attributeType: 'video';
|
1453
|
-
videoSource: string;
|
1454
|
-
}
|
1455
|
-
interface ActionAttributes {
|
1456
|
-
attributeType: 'action';
|
1457
|
-
action: Action;
|
1458
|
-
}
|
1459
|
-
interface LinkAttributes {
|
1460
|
-
id: string;
|
1461
|
-
attributeType: 'link';
|
1462
|
-
type: 'internalLink' | 'externalLink';
|
1463
|
-
internalLink: Nullable<string>;
|
1464
|
-
externalLink: Nullable<string>;
|
1465
|
-
name: string;
|
1466
|
-
}
|
1467
|
-
interface SelectAttributes {
|
1468
|
-
id?: string;
|
1469
|
-
attributeType: 'select';
|
1470
|
-
value: string;
|
1471
|
-
options: SelectOption$1[];
|
1472
|
-
}
|
1473
|
-
interface BooleanAttributes {
|
1474
|
-
attributeType: 'boolean';
|
1475
|
-
value: boolean;
|
1476
|
-
}
|
1477
|
-
interface IterableAttributes {
|
1478
|
-
attributeType: 'iterable';
|
1479
|
-
options: SelectOption$1[];
|
1480
|
-
}
|
1481
|
-
declare type MoleculeTypes = 'image' | 'text' | 'button' | 'video' | 'header_tab_group' | 'input_field' | 'select_field' | 'radio_button_field' | 'checkbox_field';
|
1482
|
-
interface BaseMolecule {
|
1483
|
-
id: string;
|
1484
|
-
instance: 'molecule';
|
1485
|
-
type: MoleculeTypes;
|
1486
|
-
metadata?: AnyObject;
|
1487
|
-
}
|
1488
|
-
interface ImageMolecule extends BaseMolecule {
|
1489
|
-
type: 'image';
|
1490
|
-
attributes: {
|
1491
|
-
image: ImageAttributes;
|
1492
|
-
altText: Omit<TextAttributes, 'isRichText'>;
|
1493
|
-
link: LinkAttributes;
|
1494
|
-
};
|
1495
|
-
config: {
|
1496
|
-
props: Omit<ImageProps$1, 'src' | 'link' | 'altText'>;
|
1497
|
-
};
|
1498
|
-
}
|
1499
|
-
interface TextMoleculeType extends BaseMolecule {
|
1500
|
-
type: 'text';
|
1501
|
-
attributes: {
|
1502
|
-
text: TextAttributes;
|
1503
|
-
seoStyle: SelectAttributes;
|
1504
|
-
};
|
1505
|
-
config: {
|
1506
|
-
props: TextMoleculeProps$1;
|
1507
|
-
};
|
1508
|
-
}
|
1509
|
-
interface ButtonMolecule extends BaseMolecule {
|
1510
|
-
type: 'button';
|
1511
|
-
attributes: {
|
1512
|
-
title: TextAttributes;
|
1513
|
-
action: ActionAttributes;
|
1514
|
-
};
|
1515
|
-
config: {
|
1516
|
-
props: Partial<Omit<ButtonProps$1, 'disabled' | 'children' | 'link' | 'text' | 'onClick' | 'elementId'>>;
|
1517
|
-
};
|
1518
|
-
}
|
1519
|
-
interface VideoMolecule extends BaseMolecule {
|
1520
|
-
type: 'video';
|
1521
|
-
attributes: {
|
1522
|
-
video: VideoAttributes;
|
1523
|
-
altText: Omit<TextAttributes, 'isRichText'>;
|
1524
|
-
autoPlayVideo: BooleanAttributes;
|
1525
|
-
enableCoverImage: BooleanAttributes;
|
1526
|
-
coverImage: ImageAttributes;
|
1527
|
-
};
|
1528
|
-
config: {
|
1529
|
-
props: Partial<{
|
1530
|
-
width: number;
|
1531
|
-
styles: CSSProperties;
|
1532
|
-
}>;
|
1533
|
-
};
|
1534
|
-
}
|
1535
|
-
interface TabGroupMolecule extends BaseMolecule {
|
1536
|
-
type: 'header_tab_group';
|
1537
|
-
config: {
|
1538
|
-
props: TabGroupProps$1;
|
1539
|
-
wide: AdditionalTabContainerProps$1;
|
1540
|
-
compact: AdditionalTabContainerProps$1;
|
1541
|
-
};
|
1542
|
-
}
|
1543
|
-
interface TextInputMolecule extends BaseMolecule {
|
1544
|
-
type: 'input_field';
|
1545
|
-
attributes: {
|
1546
|
-
label: TextAttributes;
|
1547
|
-
required: BooleanAttributes;
|
1548
|
-
inputType: SelectAttributes;
|
1549
|
-
};
|
1550
|
-
config: {
|
1551
|
-
props: Partial<{
|
1552
|
-
state: 'default' | 'error';
|
1553
|
-
} & InputFieldProps$1>;
|
1554
|
-
};
|
1555
|
-
}
|
1556
|
-
interface SelectFieldMolecule extends BaseMolecule {
|
1557
|
-
type: 'select_field';
|
1558
|
-
attributes: {
|
1559
|
-
label: TextAttributes;
|
1560
|
-
required: BooleanAttributes;
|
1561
|
-
options: IterableAttributes;
|
1562
|
-
};
|
1563
|
-
config: {
|
1564
|
-
props: Partial<{
|
1565
|
-
state: 'default' | 'error';
|
1566
|
-
} & SelectFieldProps$1>;
|
1567
|
-
};
|
1568
|
-
}
|
1569
|
-
interface RadioButtonFieldMolecule extends BaseMolecule {
|
1570
|
-
type: 'radio_button_field';
|
1571
|
-
attributes: {
|
1572
|
-
label: TextAttributes;
|
1573
|
-
required: BooleanAttributes;
|
1574
|
-
options: IterableAttributes;
|
1575
|
-
};
|
1576
|
-
config: {
|
1577
|
-
props: Partial<{
|
1578
|
-
state: 'default' | 'error';
|
1579
|
-
} & RadioButtonFieldProps$1<string>>;
|
1580
|
-
};
|
1581
|
-
}
|
1582
|
-
interface CheckboxFieldMolecule extends BaseMolecule {
|
1583
|
-
type: 'checkbox_field';
|
1584
|
-
attributes: {
|
1585
|
-
label: TextAttributes;
|
1586
|
-
required: BooleanAttributes;
|
1587
|
-
options: IterableAttributes;
|
1588
|
-
};
|
1589
|
-
config: {
|
1590
|
-
props: Partial<{
|
1591
|
-
state: 'default' | 'error';
|
1592
|
-
} & CheckboxFieldProps$1>;
|
1593
|
-
};
|
1594
|
-
}
|
1595
|
-
declare type Molecule = StrictUnion<ImageMolecule | TextMoleculeType | ButtonMolecule | VideoMolecule | TabGroupMolecule | TextInputMolecule | SelectFieldMolecule | RadioButtonFieldMolecule | CheckboxFieldMolecule> & {
|
1596
|
-
form?: UseFormReturn<any>;
|
1597
|
-
};
|
1598
|
-
|
1599
|
-
declare type ContainerType = 'row' | 'column' | 'slider' | 'form';
|
1600
|
-
declare type ContainerPositionType = 'fixed' | 'sticky' | 'static' | 'relative';
|
1601
|
-
declare type ContainerScrollBehaviourType = 'vertical' | 'horizontal' | 'auto' | 'none';
|
1602
|
-
declare type ContainerPropsType = Partial<{
|
1603
|
-
position: ContainerPositionType;
|
1604
|
-
scrollBehaviour: ContainerScrollBehaviourType;
|
1605
|
-
cornerRadius: number;
|
1606
|
-
styles: StylesType;
|
1607
|
-
formProps: {
|
1608
|
-
mode: keyof ValidationMode;
|
1609
|
-
};
|
1610
|
-
}>;
|
1611
|
-
declare type AdditionalContainerProps = Partial<{
|
1612
|
-
containerStyle: CSSProperties;
|
1613
|
-
containerProps: ContainerPropsType;
|
1614
|
-
}>;
|
1615
|
-
declare type ContainerProps = PropsWithChildren<Partial<{
|
1616
|
-
type: ContainerType;
|
1617
|
-
wide: AdditionalContainerProps;
|
1618
|
-
compact: AdditionalContainerProps;
|
1619
|
-
props: ContainerPropsType;
|
1620
|
-
}>>;
|
1621
|
-
declare type ContainerComponentProps = {
|
1622
|
-
id: string;
|
1623
|
-
instance: 'container';
|
1624
|
-
type: ContainerType;
|
1625
|
-
items: (ContainerComponentProps | Molecule)[];
|
1626
|
-
config: {
|
1627
|
-
wide?: AdditionalContainerProps;
|
1628
|
-
compact?: AdditionalContainerProps;
|
1629
|
-
props?: ContainerPropsType;
|
1630
|
-
};
|
1631
|
-
tabsProps?: Pick<TabGroupProps$1, 'tabs' | 'activeTabKey' | 'onTabChange'>;
|
1632
|
-
metadata?: AnyObject;
|
1633
|
-
attributes?: AnyObject;
|
1634
|
-
containerLibraryId?: string;
|
1635
|
-
};
|
1636
|
-
|
1637
|
-
declare const ContainerWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, Pick<ContainerProps$2, "type"> & {
|
1638
|
-
containerProps?: Partial<{
|
1639
|
-
position: containers_types_types.ContainerPositionType;
|
1640
|
-
scrollBehaviour: containers_types_types.ContainerScrollBehaviourType;
|
1641
|
-
cornerRadius: number;
|
1642
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
1643
|
-
formProps: {
|
1644
|
-
mode: keyof react_hook_form.ValidationMode;
|
1645
|
-
};
|
1646
|
-
}> | undefined;
|
1647
|
-
}, never>;
|
1648
1041
|
|
1649
|
-
declare const
|
1650
|
-
item: ContainerComponentProps$1 | Molecule$1;
|
1651
|
-
tabsProps?: Pick<TabGroupProps$1<string, string>, "tabs" | "activeTabKey" | "onTabChange"> | undefined;
|
1652
|
-
}) => JSX.Element | null;
|
1042
|
+
declare const useMlrRichTextViewerContext: () => contexts_MlrRichTextViewerContext_MlrRichTextViewerContext.MlrRichTextViewerContextType;
|
1653
1043
|
|
1654
|
-
export { AcquisitionForm, AcquisitionFormProps,
|
1044
|
+
export { AcquisitionForm, AcquisitionFormProps, Alert, AlertProps, AnnotationsList, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, Body, BodyProps, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonProps, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, Circle, CircleBoxProps, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, 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, ImageProps, Input, InputField, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldProps, RadioButtonType, RadioButtons, RadioButtonsProps, RichTextEditorProps, RichTextViewer, Select, SelectField, SelectFieldProps, SelectableCardGroup, SelectableCardGroupProps, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, TabGroup, TabGroupProps, TextAlign, TextButton, TextButtonProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoProps, ZealTheme, ZealThemeProvider, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|