@zealicsolutions/web-ui 0.3.336 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +35 -32
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/RadioButtons/helpers.d.ts +2 -0
- package/dist/cjs/src/atoms/RadioButtons/styles.d.ts +1 -0
- package/dist/cjs/src/atoms/RichTextViewer/RichTextViewer.d.ts +4 -1
- package/dist/cjs/src/atoms/Select/Select.d.ts +2 -2
- package/dist/cjs/src/atoms/Select/Select.stories.d.ts +1 -1
- package/dist/cjs/src/atoms/Select/styles.d.ts +1 -0
- package/dist/cjs/src/atoms/TextWrapper/TextWrapper.d.ts +1 -0
- package/dist/cjs/src/containers/Container.d.ts +20 -6
- package/dist/cjs/src/containers/Container.stories.d.ts +2 -1
- package/dist/cjs/src/containers/FormOrganismItem.d.ts +11 -0
- package/dist/cjs/src/containers/FormStepContainer.d.ts +5 -2
- package/dist/cjs/src/containers/MoleculeItem.d.ts +4 -1
- package/dist/cjs/src/containers/OrganismItem.d.ts +6 -2
- package/dist/cjs/src/containers/helpers.d.ts +2 -0
- package/dist/cjs/src/containers/hooks/index.d.ts +2 -0
- package/dist/cjs/src/containers/hooks/useFormOrganismItem.d.ts +3 -0
- package/dist/cjs/src/containers/hooks/useSetFormData.d.ts +17 -0
- package/dist/cjs/src/containers/hooks/useStateClickModifierHandler.d.ts +2 -0
- package/dist/cjs/src/containers/hooks/useStateListenerValue.d.ts +5 -0
- package/dist/cjs/src/containers/hooks/useStateViewModifierHandler.d.ts +2 -0
- package/dist/cjs/src/containers/index.d.ts +1 -0
- package/dist/cjs/src/containers/mock-data.d.ts +1 -0
- package/dist/cjs/src/containers/styles.d.ts +3 -0
- package/dist/cjs/src/containers/types/moleculeTypes.d.ts +44 -9
- package/dist/cjs/src/containers/types/types.d.ts +44 -7
- package/dist/cjs/src/contexts/AccountButtonContext/AccountButtonContext.d.ts +14 -0
- package/dist/cjs/src/contexts/AccountButtonContext/AccountButtonContextProvider.d.ts +9 -0
- package/dist/cjs/src/contexts/OrganismContext/OrganismContext.d.ts +20 -1
- package/dist/cjs/src/contexts/OrganismContext/OrganismContextProvider.d.ts +12 -2
- package/dist/cjs/src/contexts/StateContext/StateContext.d.ts +7 -0
- package/dist/cjs/src/contexts/StateContext/StateContextProvider.d.ts +7 -0
- package/dist/cjs/src/contexts/hooks/index.d.ts +2 -0
- package/dist/cjs/src/contexts/hooks/useAccountButtonContext.d.ts +6 -0
- package/dist/cjs/src/contexts/hooks/useStateContext.d.ts +1 -0
- package/dist/cjs/src/contexts/index.d.ts +4 -0
- package/dist/cjs/src/fieldsConfiguration/mock.d.ts +2 -0
- package/dist/cjs/src/fieldsConfiguration/types.d.ts +2 -2
- package/dist/cjs/src/helpers/validations.d.ts +1 -0
- package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +2 -1
- package/dist/cjs/src/molecules/BottomNavBarItem/BottomNavBarItem.d.ts +1 -1
- package/dist/cjs/src/molecules/BottomNavBarItem/BottomNavBarItem.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Button/Button.d.ts +4 -1
- package/dist/cjs/src/molecules/Button/Button.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Caruser/Carousel.d.ts +3 -1
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.d.ts +5 -3
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.stories.d.ts +4 -2
- package/dist/cjs/src/molecules/Consent/Consent.d.ts +1 -1
- package/dist/cjs/src/molecules/Consent/ConsentMolecule.d.ts +9 -1
- package/dist/cjs/src/molecules/CustomValidation/CustomValidation.d.ts +4 -1
- package/dist/cjs/src/molecules/CustomValidation/CustomValidation.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/FieldLabels/FieldLabels.d.ts +2 -2
- package/dist/cjs/src/molecules/Image/Image.d.ts +4 -1
- package/dist/cjs/src/molecules/Image/Image.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/InputField/InputField.d.ts +5 -6
- package/dist/cjs/src/molecules/InputField/InputField.stories.d.ts +4 -1
- package/dist/cjs/src/molecules/Link/Link.d.ts +2 -1
- package/dist/cjs/src/molecules/Link/Link.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.d.ts +21 -0
- package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +9 -0
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.d.ts +6 -2
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +3 -1
- package/dist/cjs/src/molecules/SelectField/SelectField.d.ts +4 -1
- package/dist/cjs/src/molecules/SelectField/SelectField.stories.d.ts +3 -1
- package/dist/cjs/src/molecules/TabGroup/TabGroup.d.ts +3 -1
- package/dist/cjs/src/molecules/TabGroup/TabGroup.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/TextMolecule/TextMolecule.d.ts +2 -1
- package/dist/cjs/src/molecules/TextMolecule/TextMolecule.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Video/Video.d.ts +3 -1
- package/dist/cjs/src/molecules/Video/Video.stories.d.ts +1 -1
- package/dist/cjs/src/organisms/FeedContent/styles.d.ts +1 -1
- package/dist/esm/index.js +35 -32
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/RadioButtons/helpers.d.ts +2 -0
- package/dist/esm/src/atoms/RadioButtons/styles.d.ts +1 -0
- package/dist/esm/src/atoms/RichTextViewer/RichTextViewer.d.ts +4 -1
- package/dist/esm/src/atoms/Select/Select.d.ts +2 -2
- package/dist/esm/src/atoms/Select/Select.stories.d.ts +1 -1
- package/dist/esm/src/atoms/Select/styles.d.ts +1 -0
- package/dist/esm/src/atoms/TextWrapper/TextWrapper.d.ts +1 -0
- package/dist/esm/src/containers/Container.d.ts +20 -6
- package/dist/esm/src/containers/Container.stories.d.ts +2 -1
- package/dist/esm/src/containers/FormOrganismItem.d.ts +11 -0
- package/dist/esm/src/containers/FormStepContainer.d.ts +5 -2
- package/dist/esm/src/containers/MoleculeItem.d.ts +4 -1
- package/dist/esm/src/containers/OrganismItem.d.ts +6 -2
- package/dist/esm/src/containers/helpers.d.ts +2 -0
- package/dist/esm/src/containers/hooks/index.d.ts +2 -0
- package/dist/esm/src/containers/hooks/useFormOrganismItem.d.ts +3 -0
- package/dist/esm/src/containers/hooks/useSetFormData.d.ts +17 -0
- package/dist/esm/src/containers/hooks/useStateClickModifierHandler.d.ts +2 -0
- package/dist/esm/src/containers/hooks/useStateListenerValue.d.ts +5 -0
- package/dist/esm/src/containers/hooks/useStateViewModifierHandler.d.ts +2 -0
- package/dist/esm/src/containers/index.d.ts +1 -0
- package/dist/esm/src/containers/mock-data.d.ts +1 -0
- package/dist/esm/src/containers/styles.d.ts +3 -0
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +44 -9
- package/dist/esm/src/containers/types/types.d.ts +44 -7
- package/dist/esm/src/contexts/AccountButtonContext/AccountButtonContext.d.ts +14 -0
- package/dist/esm/src/contexts/AccountButtonContext/AccountButtonContextProvider.d.ts +9 -0
- package/dist/esm/src/contexts/OrganismContext/OrganismContext.d.ts +20 -1
- package/dist/esm/src/contexts/OrganismContext/OrganismContextProvider.d.ts +12 -2
- package/dist/esm/src/contexts/StateContext/StateContext.d.ts +7 -0
- package/dist/esm/src/contexts/StateContext/StateContextProvider.d.ts +7 -0
- package/dist/esm/src/contexts/hooks/index.d.ts +2 -0
- package/dist/esm/src/contexts/hooks/useAccountButtonContext.d.ts +6 -0
- package/dist/esm/src/contexts/hooks/useStateContext.d.ts +1 -0
- package/dist/esm/src/contexts/index.d.ts +4 -0
- package/dist/esm/src/fieldsConfiguration/mock.d.ts +2 -0
- package/dist/esm/src/fieldsConfiguration/types.d.ts +2 -2
- package/dist/esm/src/helpers/validations.d.ts +1 -0
- package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +2 -1
- package/dist/esm/src/molecules/BottomNavBarItem/BottomNavBarItem.d.ts +1 -1
- package/dist/esm/src/molecules/BottomNavBarItem/BottomNavBarItem.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Button/Button.d.ts +4 -1
- package/dist/esm/src/molecules/Button/Button.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Caruser/Carousel.d.ts +3 -1
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.d.ts +5 -3
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.stories.d.ts +4 -2
- package/dist/esm/src/molecules/Consent/Consent.d.ts +1 -1
- package/dist/esm/src/molecules/Consent/ConsentMolecule.d.ts +9 -1
- package/dist/esm/src/molecules/CustomValidation/CustomValidation.d.ts +4 -1
- package/dist/esm/src/molecules/CustomValidation/CustomValidation.stories.d.ts +1 -1
- package/dist/esm/src/molecules/FieldLabels/FieldLabels.d.ts +2 -2
- package/dist/esm/src/molecules/Image/Image.d.ts +4 -1
- package/dist/esm/src/molecules/Image/Image.stories.d.ts +1 -1
- package/dist/esm/src/molecules/InputField/InputField.d.ts +5 -6
- package/dist/esm/src/molecules/InputField/InputField.stories.d.ts +4 -1
- package/dist/esm/src/molecules/Link/Link.d.ts +2 -1
- package/dist/esm/src/molecules/Link/Link.stories.d.ts +1 -1
- package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.d.ts +21 -0
- package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +9 -0
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.d.ts +6 -2
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +3 -1
- package/dist/esm/src/molecules/SelectField/SelectField.d.ts +4 -1
- package/dist/esm/src/molecules/SelectField/SelectField.stories.d.ts +3 -1
- package/dist/esm/src/molecules/TabGroup/TabGroup.d.ts +3 -1
- package/dist/esm/src/molecules/TabGroup/TabGroup.stories.d.ts +1 -1
- package/dist/esm/src/molecules/TextMolecule/TextMolecule.d.ts +2 -1
- package/dist/esm/src/molecules/TextMolecule/TextMolecule.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Video/Video.d.ts +3 -1
- package/dist/esm/src/molecules/Video/Video.stories.d.ts +1 -1
- package/dist/esm/src/organisms/FeedContent/styles.d.ts +1 -1
- package/dist/index.d.ts +242 -56
- package/package.json +70 -70
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { RadioButtonInternalConfigProps } from 'atoms';
|
|
2
|
+
import { ThemeColors } from 'theme';
|
|
2
3
|
import type { StylesType } from 'typescript';
|
|
3
4
|
declare type RadioOptionStylesConfig = {
|
|
4
5
|
textStyles: StylesType;
|
|
5
6
|
groupWrapperStyles: StylesType;
|
|
6
7
|
radioIconWrapperStyles: StylesType;
|
|
7
8
|
radioLabelWrapperStyles: StylesType;
|
|
9
|
+
textColor: ThemeColors;
|
|
8
10
|
};
|
|
9
11
|
declare type GetRadioOptionStylesProps = Partial<{
|
|
10
12
|
isError: boolean;
|
|
@@ -6,4 +6,5 @@ export declare const RadioLabelWrapper: import("styled-components").StyledCompon
|
|
|
6
6
|
export declare const RadioIconWrapper: import("styled-components").StyledComponent<typeof Radio, import("styled-components").DefaultTheme, StyledTransientProps<{
|
|
7
7
|
disabled: boolean;
|
|
8
8
|
isError?: boolean | undefined;
|
|
9
|
+
isEditMode?: boolean | undefined;
|
|
9
10
|
}> & OverrideStyles, never>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TextProps } from 'atoms';
|
|
3
|
+
import { Descendant } from 'slate';
|
|
3
4
|
import { FontSizesTypes, ThemeColors } from 'theme';
|
|
4
5
|
import { AnyObject, StylesType } from 'typescript';
|
|
6
|
+
export declare const defaultValue: Descendant[];
|
|
5
7
|
export declare const MATRIX_MESSAGE_ELEMENT_ID = "matrix-message";
|
|
6
8
|
export declare const COMMUNICATION_LINK_ELEMENT_ID = "communication-link";
|
|
7
9
|
export declare const MATRIX_MESSAGE_DATA_ID = "matrix-message-id";
|
|
@@ -16,5 +18,6 @@ export declare type RichTextEditorProps = Partial<{
|
|
|
16
18
|
extraTextProps: TextProps;
|
|
17
19
|
renderElementWrapperComponent: (props: AnyObject) => JSX.Element;
|
|
18
20
|
renderElementWrapperProps: AnyObject;
|
|
21
|
+
htmlElementId: string;
|
|
19
22
|
}>;
|
|
20
|
-
export declare const RichTextViewer: ({ value, color, textStyles, font, numberOfLines, extraTextProps, renderElementWrapperComponent
|
|
23
|
+
export declare const RichTextViewer: ({ value, color, textStyles, font, numberOfLines, extraTextProps, renderElementWrapperComponent, renderElementWrapperProps, htmlElementId, }: RichTextEditorProps) => JSX.Element | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { RefCallBack } from 'react-hook-form/dist/types';
|
|
2
3
|
import { ThemeColors } from 'theme';
|
|
3
4
|
import type { AnyObject, Callback, StylesType } from 'typescript';
|
|
4
|
-
import { RefCallBack } from 'react-hook-form/dist/types';
|
|
5
5
|
export declare type SelectOption = {
|
|
6
6
|
id: string;
|
|
7
7
|
label: string;
|
|
@@ -32,4 +32,4 @@ export declare type SelectProps = Partial<{
|
|
|
32
32
|
selectInternalConfig: SelectInternalConfigurationOptions;
|
|
33
33
|
isRichText: boolean;
|
|
34
34
|
}>;
|
|
35
|
-
export declare const Select: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, selectInternalConfig, isRichText, }: SelectProps) => JSX.Element;
|
|
35
|
+
export declare const Select: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, isEditMode, selectInternalConfig, isRichText, }: SelectProps) => JSX.Element;
|
|
@@ -3,7 +3,7 @@ import { StoryFn } from '@storybook/react';
|
|
|
3
3
|
import { SelectProps } from './Select';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, selectInternalConfig, isRichText, }: Partial<{
|
|
6
|
+
component: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, isEditMode, selectInternalConfig, isRichText, }: Partial<{
|
|
7
7
|
ref: import("react-hook-form").RefCallBack;
|
|
8
8
|
onBlur: import("../../typescript").Callback;
|
|
9
9
|
value: string;
|
|
@@ -6,6 +6,7 @@ declare type SelectContainerProps = {
|
|
|
6
6
|
isOpen: boolean;
|
|
7
7
|
hasError: boolean;
|
|
8
8
|
$styles: StylesType;
|
|
9
|
+
isEditMode?: boolean;
|
|
9
10
|
};
|
|
10
11
|
export declare const SelectContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, SelectContainerProps, never>;
|
|
11
12
|
export declare const DropdownMenu: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -14,6 +14,7 @@ export declare type TextProps = {
|
|
|
14
14
|
textAlign?: TextAlign;
|
|
15
15
|
behaveAs?: 'text' | 'button';
|
|
16
16
|
seoTag?: SeoTags;
|
|
17
|
+
htmlElementId?: string;
|
|
17
18
|
};
|
|
18
19
|
export declare type TextWrapperProps = PropsWithChildren<TextProps>;
|
|
19
20
|
export declare const TextWrapper: ({ children, seoTag, ...textProps }: TextWrapperProps) => JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ContainerComponentProps, ContainerProps } from 'containers';
|
|
3
|
-
|
|
2
|
+
import { Dispatch, ReactNode, SetStateAction } from 'react';
|
|
3
|
+
import { AnyObject } from 'typescript';
|
|
4
|
+
export declare const Container: ({ children, wide, compact, type, props, id, metadata, isMobile, }: Partial<{
|
|
4
5
|
type: import("containers").ContainerType;
|
|
5
6
|
containerTemplateType: "row_content_container";
|
|
6
7
|
wide: Partial<{
|
|
@@ -11,10 +12,13 @@ export declare const Container: ({ children, wide, compact, type, props, id, met
|
|
|
11
12
|
cornerRadius: number | import("theme").SizesTypes;
|
|
12
13
|
gap: import("theme").SizesTypes;
|
|
13
14
|
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
|
15
|
+
sliderProps: import("containers").SliderProps;
|
|
14
16
|
formProps: import("containers").FormContainerProps;
|
|
15
17
|
formStepProps: import("containers").FormStepContainerProps;
|
|
16
18
|
padding: import("containers").Padding;
|
|
17
19
|
border: string;
|
|
20
|
+
activeChildrenIds: string[];
|
|
21
|
+
activeOrganismIds: string[];
|
|
18
22
|
}>;
|
|
19
23
|
}>;
|
|
20
24
|
compact: Partial<{
|
|
@@ -25,10 +29,13 @@ export declare const Container: ({ children, wide, compact, type, props, id, met
|
|
|
25
29
|
cornerRadius: number | import("theme").SizesTypes;
|
|
26
30
|
gap: import("theme").SizesTypes;
|
|
27
31
|
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
|
32
|
+
sliderProps: import("containers").SliderProps;
|
|
28
33
|
formProps: import("containers").FormContainerProps;
|
|
29
34
|
formStepProps: import("containers").FormStepContainerProps;
|
|
30
35
|
padding: import("containers").Padding;
|
|
31
36
|
border: string;
|
|
37
|
+
activeChildrenIds: string[];
|
|
38
|
+
activeOrganismIds: string[];
|
|
32
39
|
}>;
|
|
33
40
|
}>;
|
|
34
41
|
props: Partial<{
|
|
@@ -37,15 +44,22 @@ export declare const Container: ({ children, wide, compact, type, props, id, met
|
|
|
37
44
|
cornerRadius: number | import("theme").SizesTypes;
|
|
38
45
|
gap: import("theme").SizesTypes;
|
|
39
46
|
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
|
47
|
+
sliderProps: import("containers").SliderProps;
|
|
40
48
|
formProps: import("containers").FormContainerProps;
|
|
41
49
|
formStepProps: import("containers").FormStepContainerProps;
|
|
42
50
|
padding: import("containers").Padding;
|
|
43
51
|
border: string;
|
|
52
|
+
activeChildrenIds: string[];
|
|
53
|
+
activeOrganismIds: string[];
|
|
44
54
|
}>;
|
|
45
|
-
metadata: import("
|
|
55
|
+
metadata: import("containers").MetadataType;
|
|
56
|
+
isMobile: boolean;
|
|
46
57
|
}> & {
|
|
47
|
-
children?:
|
|
58
|
+
children?: ReactNode;
|
|
48
59
|
} & {
|
|
49
60
|
id: string;
|
|
50
|
-
}) => JSX.Element;
|
|
51
|
-
export declare const ContainerComponent: ({ config, tabsProps, id, type, items, metadata, }: ContainerComponentProps
|
|
61
|
+
}) => JSX.Element | null;
|
|
62
|
+
export declare const ContainerComponent: ({ config, tabsProps, id, type, items, metadata, formData, setFormData, isMobile, }: ContainerComponentProps & {
|
|
63
|
+
formData?: AnyObject | undefined;
|
|
64
|
+
setFormData?: Dispatch<SetStateAction<AnyObject>> | undefined;
|
|
65
|
+
}) => JSX.Element | null;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Meta, StoryFn } from '@storybook/react';
|
|
2
|
-
import { ContainerComponent, ContainerComponentProps } from 'containers';
|
|
2
|
+
import { ContainerComponent, ContainerComponentProps, StateConfigType } from 'containers';
|
|
3
3
|
declare const meta: Meta<typeof ContainerComponent>;
|
|
4
4
|
export default meta;
|
|
5
5
|
declare type Story = StoryFn<ContainerComponentProps>;
|
|
6
6
|
export declare const Container: Story;
|
|
7
|
+
export declare const stateObject: StateConfigType;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ContainerComponentProps } from 'containers/types/types';
|
|
2
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
3
|
+
import { AnyObject } from 'typescript';
|
|
4
|
+
export declare type FormOrganismItemProps = {
|
|
5
|
+
item: ContainerComponentProps;
|
|
6
|
+
activeChildrenIds: string[];
|
|
7
|
+
formData?: AnyObject;
|
|
8
|
+
setFormData?: Dispatch<SetStateAction<AnyObject>>;
|
|
9
|
+
isMobile?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare const FormOrganismItem: ({ formData, setFormData, isMobile, ...props }: FormOrganismItemProps) => JSX.Element | null;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { FormStepContainerProps } from 'containers';
|
|
1
|
+
import { FormStepContainerProps, MetadataType } from 'containers';
|
|
2
|
+
import { InputFieldTypes } from 'fieldsConfiguration';
|
|
2
3
|
import { PropsWithChildren } from 'react';
|
|
3
4
|
export declare type StepContainerProps = PropsWithChildren<Partial<FormStepContainerProps>> & {
|
|
4
5
|
id: string;
|
|
6
|
+
metadata?: MetadataType;
|
|
5
7
|
};
|
|
6
|
-
export declare const
|
|
8
|
+
export declare const parsedDateValue: (value: string, type: InputFieldTypes) => string;
|
|
9
|
+
export declare const FormStepContainer: ({ order, id, metadata, formStepStyles, }: StepContainerProps) => JSX.Element | null;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { CustomDescendant } from 'atoms/RichTextViewer/types';
|
|
2
3
|
import { Molecule } from 'containers';
|
|
3
4
|
import { TabGroupProps } from 'molecules';
|
|
4
5
|
export declare const getFullLink: (url: string) => string;
|
|
5
6
|
export declare const navigateToPage: (url: string) => void;
|
|
6
7
|
export declare const downloadFile: (url?: string, name?: string) => Promise<void>;
|
|
7
|
-
export declare const
|
|
8
|
+
export declare const parseDescendantContent: (string: string) => CustomDescendant[];
|
|
9
|
+
export declare const MoleculeItem: ({ type, config, attributes, tabsProps, form, id, formData, setFormData, isMobile, metadata, }: Molecule & {
|
|
8
10
|
tabsProps?: Pick<TabGroupProps<string, string>, "tabs" | "activeTabKey" | "onTabChange"> | undefined;
|
|
11
|
+
isMobile?: boolean | undefined;
|
|
9
12
|
}) => JSX.Element | null;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ContainerComponentProps, Molecule } from 'containers';
|
|
3
2
|
import { TabGroupProps } from 'molecules';
|
|
3
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
4
|
+
import { AnyObject } from 'typescript';
|
|
4
5
|
export declare type OrganismItemProps = {
|
|
5
6
|
item: ContainerComponentProps | Molecule;
|
|
6
7
|
tabsProps?: Pick<TabGroupProps, 'tabs' | 'activeTabKey' | 'onTabChange'>;
|
|
8
|
+
formData?: AnyObject;
|
|
9
|
+
setFormData?: Dispatch<SetStateAction<AnyObject>>;
|
|
10
|
+
isMobile?: boolean;
|
|
7
11
|
};
|
|
8
|
-
export declare const OrganismItem: ({ item, tabsProps }: OrganismItemProps) => JSX.Element | null;
|
|
12
|
+
export declare const OrganismItem: ({ item, tabsProps, formData, setFormData, isMobile, }: OrganismItemProps) => JSX.Element | null;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ContainerScrollBehaviourType, Padding } from 'containers/types/types';
|
|
2
2
|
import { ThemeSizesType } from 'theme';
|
|
3
|
+
import { Nullable } from 'typescript';
|
|
3
4
|
export declare const getScrollBehaviour: (scrollBehaviour?: ContainerScrollBehaviourType) => "overflow-y: scroll" | "overflow-x: scroll" | "overflow: visible" | "overflow: unset";
|
|
4
5
|
export declare const getPadding: (padding: Padding, sizes: ThemeSizesType) => string;
|
|
6
|
+
export declare const isInViewport: (element: Nullable<HTMLElement>) => boolean;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DataConnectionAttributes } from 'containers/types/moleculeTypes';
|
|
2
|
+
import { InputFieldTypes } from 'fieldsConfiguration';
|
|
3
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
4
|
+
import { AnyObject } from 'typescript';
|
|
5
|
+
declare type UseSetFormDataProps<DefaultValueType> = Partial<{
|
|
6
|
+
defaultValue: DefaultValueType;
|
|
7
|
+
dataModelField: DataConnectionAttributes;
|
|
8
|
+
setFormData: Dispatch<SetStateAction<AnyObject>>;
|
|
9
|
+
inputType: InputFieldTypes;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const useSetFormData: <DefaultValueType>({ setFormData, defaultValue, dataModelField, inputType, }: Partial<{
|
|
12
|
+
defaultValue: DefaultValueType;
|
|
13
|
+
dataModelField: DataConnectionAttributes;
|
|
14
|
+
setFormData: Dispatch<SetStateAction<AnyObject>>;
|
|
15
|
+
inputType: InputFieldTypes;
|
|
16
|
+
}>) => void;
|
|
17
|
+
export {};
|
|
@@ -11,3 +11,4 @@ export declare const rowRepeaterContainerSingle: ContainerComponentProps;
|
|
|
11
11
|
export declare const columnRepeaterContainer: ContainerComponentProps;
|
|
12
12
|
export declare const outlinedColumnContainer: ContainerComponentProps;
|
|
13
13
|
export declare const headerContainer: ContainerComponentProps;
|
|
14
|
+
export declare const headerContainerWithTabs: ContainerComponentProps;
|
|
@@ -8,10 +8,13 @@ export declare const ContainerWrapper: import("styled-components").StyledCompone
|
|
|
8
8
|
cornerRadius: number | SizesTypes;
|
|
9
9
|
gap: SizesTypes;
|
|
10
10
|
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
|
11
|
+
sliderProps: import("containers/types/types").SliderProps;
|
|
11
12
|
formProps: import("containers/types/types").FormContainerProps;
|
|
12
13
|
formStepProps: import("containers/types/types").FormStepContainerProps;
|
|
13
14
|
padding: import("containers/types/types").Padding;
|
|
14
15
|
border: string;
|
|
16
|
+
activeChildrenIds: string[];
|
|
17
|
+
activeOrganismIds: string[];
|
|
15
18
|
}> | undefined;
|
|
16
19
|
metadata?: AnyObject | undefined;
|
|
17
20
|
}, never>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { LinkVariant, SelectOption } from 'atoms';
|
|
2
|
-
import { AdditionalTabContainerProps, ButtonProps, CheckboxFieldProps,
|
|
2
|
+
import { AdditionalTabContainerProps, AvatarDropdownMenuConfigType, AvatarDropdownProps, ButtonProps, CheckboxFieldProps, ConsentType, ImageProps, InputFieldProps, LinkProps, RadioButtonFieldProps, SelectFieldProps, TabGroupProps, TextMoleculeProps } from 'molecules';
|
|
3
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
3
4
|
import { UseFormReturn } from 'react-hook-form';
|
|
4
5
|
import type { AnyObject, Nullable, StrictUnion, StylesType } from 'typescript';
|
|
5
|
-
import { ConditionConfig, ContainerComponentProps } from './types';
|
|
6
|
+
import { ConditionConfig, ContainerComponentProps, MetadataType } from './types';
|
|
6
7
|
export declare type ActionTypes = 'link' | 'popup' | 'drawer' | 'download' | 'submit' | 'reset' | 'destroy';
|
|
7
8
|
export declare type DownloadFile = {
|
|
8
9
|
url: string;
|
|
@@ -27,7 +28,7 @@ declare type Action = {
|
|
|
27
28
|
reset: ResetAction;
|
|
28
29
|
destroy: DestroyAction;
|
|
29
30
|
}>;
|
|
30
|
-
export declare type FormStateType = 'default' | 'success' | 'format_error' | 'field_error' | 'open_dropdown';
|
|
31
|
+
export declare type FormStateType = 'default' | 'success' | 'error' | 'format_error' | 'field_error' | 'open_dropdown' | 'match_error';
|
|
31
32
|
export declare type ImageAttributes = {
|
|
32
33
|
attributeType: 'image';
|
|
33
34
|
imageSource: string;
|
|
@@ -73,8 +74,10 @@ export interface DataConnectionAttributes {
|
|
|
73
74
|
attributeType: 'data_model_field';
|
|
74
75
|
dataModelField: {
|
|
75
76
|
id: string;
|
|
77
|
+
subtype?: string;
|
|
76
78
|
fieldName: string;
|
|
77
79
|
code: string;
|
|
80
|
+
defaultValue?: string;
|
|
78
81
|
};
|
|
79
82
|
}
|
|
80
83
|
export interface ConditionConfigAttributes {
|
|
@@ -86,12 +89,12 @@ export interface ColorAttributes {
|
|
|
86
89
|
attributeType: 'color';
|
|
87
90
|
color: string;
|
|
88
91
|
}
|
|
89
|
-
export declare type MoleculeTypes = 'image' | 'text' | 'button' | 'video' | 'header_tab_group' | 'input_field' | 'select_field' | 'radio_button_field' | 'checkbox_field' | 'consent' | 'link';
|
|
92
|
+
export declare type MoleculeTypes = 'image' | 'text' | 'button' | 'video' | 'header_tab_group' | 'input_field' | 'select_field' | 'radio_button_field' | 'checkbox_field' | 'consent' | 'link' | 'password_setup_field' | 'account_button';
|
|
90
93
|
export interface BaseMolecule {
|
|
91
94
|
id: string;
|
|
92
95
|
instance: 'molecule';
|
|
93
96
|
type: MoleculeTypes;
|
|
94
|
-
metadata?:
|
|
97
|
+
metadata?: MetadataType;
|
|
95
98
|
}
|
|
96
99
|
export interface ImageMolecule extends BaseMolecule {
|
|
97
100
|
type: 'image';
|
|
@@ -207,10 +210,16 @@ export interface ConsentFieldMolecule extends BaseMolecule {
|
|
|
207
210
|
attributes: Partial<{
|
|
208
211
|
consent: Partial<{
|
|
209
212
|
attributeType: 'consent';
|
|
210
|
-
consent:
|
|
213
|
+
consent: ConsentType;
|
|
211
214
|
required: BooleanAttributes;
|
|
212
215
|
}>;
|
|
216
|
+
conditionConfig: ConditionConfigAttributes;
|
|
213
217
|
}>;
|
|
218
|
+
config: {
|
|
219
|
+
props: Partial<{
|
|
220
|
+
state: 'field_error';
|
|
221
|
+
}>;
|
|
222
|
+
};
|
|
214
223
|
}
|
|
215
224
|
export interface LinkMolecule extends BaseMolecule {
|
|
216
225
|
type: 'link';
|
|
@@ -225,7 +234,33 @@ export interface LinkMolecule extends BaseMolecule {
|
|
|
225
234
|
}>;
|
|
226
235
|
};
|
|
227
236
|
}
|
|
228
|
-
export
|
|
229
|
-
|
|
230
|
-
|
|
237
|
+
export interface PasswordSetupMolecule extends BaseMolecule {
|
|
238
|
+
type: 'password_setup_field';
|
|
239
|
+
attributes: Partial<{
|
|
240
|
+
passwordFieldLabel: TextAttributes;
|
|
241
|
+
reenteredPasswordFieldLabel: TextAttributes;
|
|
242
|
+
passwordFieldRequired: BooleanAttributes;
|
|
243
|
+
reenteredPasswordFieldRequired: BooleanAttributes;
|
|
244
|
+
dataModelField: DataConnectionAttributes;
|
|
245
|
+
}>;
|
|
246
|
+
config: {
|
|
247
|
+
props: {
|
|
248
|
+
validationLabel?: string;
|
|
249
|
+
state?: FormStateType;
|
|
250
|
+
passwordInputProps: InputFieldProps;
|
|
251
|
+
reenteredPasswordInputProps: InputFieldProps;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
export interface AccountButtonMolecule extends BaseMolecule {
|
|
256
|
+
type: 'account_button';
|
|
257
|
+
config: {
|
|
258
|
+
props: AvatarDropdownProps<AvatarDropdownMenuConfigType>;
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
export declare type Molecule = StrictUnion<ImageMolecule | TextMoleculeType | ButtonMolecule | VideoMolecule | TabGroupMolecule | TextInputMolecule | SelectFieldMolecule | RadioButtonFieldMolecule | CheckboxFieldMolecule | ConsentFieldMolecule | LinkMolecule | PasswordSetupMolecule | AccountButtonMolecule> & Partial<{
|
|
262
|
+
form: UseFormReturn<any>;
|
|
263
|
+
formData: AnyObject;
|
|
264
|
+
setFormData: Dispatch<SetStateAction<AnyObject>>;
|
|
265
|
+
}>;
|
|
231
266
|
export {};
|
|
@@ -7,12 +7,38 @@ import type { AnyObject, Nullable, StylesType } from 'typescript';
|
|
|
7
7
|
import { Molecule } from './moleculeTypes';
|
|
8
8
|
export declare type ContainerType = 'row' | 'column' | 'slider' | 'form' | 'form_step' | 'dynamic';
|
|
9
9
|
export declare type ContainerTemplateType = 'row_content_container';
|
|
10
|
+
export declare type WrappedContainerType = Extract<ContainerType, 'slider' | 'form' | 'form_step'>;
|
|
10
11
|
export declare type ContainerPositionType = 'fixed' | 'sticky' | 'static' | 'relative';
|
|
11
12
|
export declare type ContainerScrollBehaviourType = 'vertical' | 'horizontal' | 'auto' | 'none';
|
|
13
|
+
export declare type StateActionType = 'visible' | 'disabled';
|
|
14
|
+
export declare type StateEventType = 'click' | 'view';
|
|
15
|
+
export declare type StateListenerConfigType = {
|
|
16
|
+
role: 'stateListener';
|
|
17
|
+
stateKey: string;
|
|
18
|
+
stateValue: string | boolean;
|
|
19
|
+
defaultState: Partial<Record<StateActionType, boolean>>;
|
|
20
|
+
action: Partial<Record<StateActionType, boolean>>;
|
|
21
|
+
};
|
|
22
|
+
export declare type StateModifierConfigType = {
|
|
23
|
+
role: 'stateModifier';
|
|
24
|
+
stateKey: string;
|
|
25
|
+
event: StateEventType;
|
|
26
|
+
};
|
|
27
|
+
export declare type MetadataStateConfig = StateListenerConfigType | StateModifierConfigType;
|
|
28
|
+
export declare type MetadataType = AnyObject & {
|
|
29
|
+
stateConfig: MetadataStateConfig[];
|
|
30
|
+
notEditable?: boolean;
|
|
31
|
+
hasOwnButton?: boolean;
|
|
32
|
+
};
|
|
33
|
+
export declare type SliderProps = {
|
|
34
|
+
autoplay?: boolean;
|
|
35
|
+
autoplayDuration?: number;
|
|
36
|
+
};
|
|
12
37
|
export declare type FormStepContainerProps = {
|
|
13
38
|
formStepName: string;
|
|
14
39
|
order: number;
|
|
15
40
|
conditionConfig: ConditionConfig;
|
|
41
|
+
formStepStyles?: CSSProperties;
|
|
16
42
|
};
|
|
17
43
|
export declare type FormContainerProps = {
|
|
18
44
|
mode: keyof ValidationMode;
|
|
@@ -25,10 +51,13 @@ export declare type ContainerPropsType = Partial<{
|
|
|
25
51
|
cornerRadius: SizesTypes | number;
|
|
26
52
|
gap: SizesTypes;
|
|
27
53
|
styles: StylesType;
|
|
54
|
+
sliderProps: SliderProps;
|
|
28
55
|
formProps: FormContainerProps;
|
|
29
56
|
formStepProps: FormStepContainerProps;
|
|
30
57
|
padding: Padding;
|
|
31
58
|
border: string;
|
|
59
|
+
activeChildrenIds: string[];
|
|
60
|
+
activeOrganismIds: string[];
|
|
32
61
|
}>;
|
|
33
62
|
export declare type AdditionalContainerProps = Partial<{
|
|
34
63
|
containerStyle: CSSProperties;
|
|
@@ -40,22 +69,24 @@ export declare type ContainerProps = PropsWithChildren<Partial<{
|
|
|
40
69
|
wide: AdditionalContainerProps;
|
|
41
70
|
compact: AdditionalContainerProps;
|
|
42
71
|
props: ContainerPropsType;
|
|
43
|
-
metadata:
|
|
72
|
+
metadata: MetadataType;
|
|
73
|
+
isMobile: boolean;
|
|
44
74
|
}>>;
|
|
45
75
|
export declare type ContainerComponentProps = {
|
|
46
76
|
id: string;
|
|
47
77
|
instance: 'container';
|
|
48
78
|
type: ContainerType;
|
|
49
79
|
items: (ContainerComponentProps | Molecule)[];
|
|
50
|
-
config: {
|
|
51
|
-
wide
|
|
52
|
-
compact
|
|
53
|
-
props
|
|
54
|
-
}
|
|
80
|
+
config: Partial<{
|
|
81
|
+
wide: AdditionalContainerProps;
|
|
82
|
+
compact: AdditionalContainerProps;
|
|
83
|
+
props: ContainerPropsType;
|
|
84
|
+
}>;
|
|
55
85
|
tabsProps?: Pick<TabGroupProps, 'tabs' | 'activeTabKey' | 'onTabChange'>;
|
|
56
|
-
metadata?:
|
|
86
|
+
metadata?: MetadataType;
|
|
57
87
|
attributes?: AnyObject;
|
|
58
88
|
containerLibraryId?: string;
|
|
89
|
+
isMobile?: boolean;
|
|
59
90
|
};
|
|
60
91
|
export declare type CriteriaType = 'operator' | 'condition';
|
|
61
92
|
export declare type ConditionCriteria = {
|
|
@@ -73,3 +104,9 @@ export declare type ConditionConfig = Nullable<{
|
|
|
73
104
|
segmentationType: SegmentationType;
|
|
74
105
|
criteriaList: ConditionCriteria[];
|
|
75
106
|
}>;
|
|
107
|
+
export declare type FormDataStateConfig = {
|
|
108
|
+
value?: string | number;
|
|
109
|
+
} & Record<string, {
|
|
110
|
+
value?: string | number;
|
|
111
|
+
}>;
|
|
112
|
+
export declare type StateConfigType = Record<string, Nullable<boolean | string | FormDataStateConfig>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Callback } from 'typescript';
|
|
3
|
+
export declare type AccountButtonContextType = Partial<{
|
|
4
|
+
userInitials: string;
|
|
5
|
+
logOutHandler: Callback;
|
|
6
|
+
goToAccountInfo: Callback;
|
|
7
|
+
username: string;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const AccountButtonContext: import("react").Context<Partial<{
|
|
10
|
+
userInitials: string;
|
|
11
|
+
logOutHandler: Callback;
|
|
12
|
+
goToAccountInfo: Callback;
|
|
13
|
+
username: string;
|
|
14
|
+
}>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { Callback } from 'typescript';
|
|
3
|
+
export declare type AccountButtonProviderProps = PropsWithChildren<Partial<{
|
|
4
|
+
userInitials: string;
|
|
5
|
+
logOutHandler: Callback;
|
|
6
|
+
goToAccountInfo: Callback;
|
|
7
|
+
username: string;
|
|
8
|
+
}>>;
|
|
9
|
+
export declare const AccountButtonProvider: ({ children, goToAccountInfo, userInitials, logOutHandler, username, }: AccountButtonProviderProps) => JSX.Element;
|
|
@@ -1,8 +1,27 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ContainerComponentProps, Molecule } from 'containers';
|
|
2
|
+
import { InputFieldTypes } from 'fieldsConfiguration';
|
|
3
|
+
import { PasswordRuleValidation } from 'molecules/PasswordSetup/PasswordSetup';
|
|
4
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
5
|
+
import { AnyObject } from 'typescript';
|
|
3
6
|
import { GroupedStepItemsByStepContainer } from './utils';
|
|
4
7
|
export declare type OrganismContextType = {
|
|
5
8
|
items: (ContainerComponentProps | Molecule)[];
|
|
6
9
|
groupStepItemsByStepContainer: () => GroupedStepItemsByStepContainer;
|
|
10
|
+
dateFields: {
|
|
11
|
+
id: string;
|
|
12
|
+
dateType: InputFieldTypes;
|
|
13
|
+
}[];
|
|
14
|
+
setDateFields: Dispatch<SetStateAction<{
|
|
15
|
+
id: string;
|
|
16
|
+
dateType: InputFieldTypes;
|
|
17
|
+
}[]>>;
|
|
18
|
+
formId?: string;
|
|
19
|
+
submitHandler?: (data: {
|
|
20
|
+
formId: string;
|
|
21
|
+
data: AnyObject;
|
|
22
|
+
}) => void;
|
|
23
|
+
validations?: PasswordRuleValidation[];
|
|
24
|
+
editable?: boolean;
|
|
25
|
+
isEditableForm?: boolean;
|
|
7
26
|
};
|
|
8
27
|
export declare const OrganismContext: import("react").Context<OrganismContextType>;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
1
|
import { ContainerComponentProps, Molecule } from 'containers';
|
|
2
|
+
import { PasswordRuleValidation } from 'molecules/PasswordSetup/PasswordSetup';
|
|
3
|
+
import { PropsWithChildren } from 'react';
|
|
4
|
+
import { AnyObject } from 'typescript';
|
|
3
5
|
export declare type FormStepContextProviderProps = PropsWithChildren<Partial<{
|
|
4
6
|
initItems: (ContainerComponentProps | Molecule)[];
|
|
7
|
+
formId: string;
|
|
8
|
+
submitHandler: (data: {
|
|
9
|
+
formId: string;
|
|
10
|
+
data: AnyObject;
|
|
11
|
+
}) => void;
|
|
12
|
+
validations: PasswordRuleValidation[];
|
|
13
|
+
editable: boolean;
|
|
14
|
+
isEditableForm: boolean;
|
|
5
15
|
}>>;
|
|
6
|
-
export declare const OrganismContextProvider: ({ initItems, children, }: FormStepContextProviderProps) => JSX.Element;
|
|
16
|
+
export declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, validations, editable, isEditableForm, }: FormStepContextProviderProps) => JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StateConfigType } from 'containers';
|
|
3
|
+
export declare type StateContextType = {
|
|
4
|
+
stateConfig: StateConfigType;
|
|
5
|
+
stateHandler?: (updatedStateConfig: StateConfigType) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const StateContext: import("react").Context<StateContextType>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StateConfigType } from 'containers';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
export declare type StateContextProviderProps = PropsWithChildren<{
|
|
4
|
+
initStateConfig: StateConfigType;
|
|
5
|
+
stateHandler?: (updatedStateConfig: StateConfigType) => void;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const StateContextProvider: ({ initStateConfig, children, stateHandler, }: StateContextProviderProps) => JSX.Element;
|
|
@@ -2,3 +2,5 @@ export { useFormStepContext } from './useFormStepContext';
|
|
|
2
2
|
export { useButtonActionsContext } from './useButtonActionsContext';
|
|
3
3
|
export { useMlrRichTextViewerContext } from './useMlrRichTextViewerContext';
|
|
4
4
|
export { useOrganismContext } from './useOrganismContext';
|
|
5
|
+
export { useStateContext } from './useStateContext';
|
|
6
|
+
export { useAccountButtonContext } from './useAccountButtonContext';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStateContext: () => import("contexts/StateContext/StateContext").StateContextType;
|
|
@@ -7,3 +7,7 @@ export * from './ButtonActionsContext/ButtonActionsContext';
|
|
|
7
7
|
export * from './ButtonActionsContext/ButtonActionsContextProvider';
|
|
8
8
|
export * from './OrganismContext/OrganismContext';
|
|
9
9
|
export * from './OrganismContext/OrganismContextProvider';
|
|
10
|
+
export * from './AccountButtonContext/AccountButtonContext';
|
|
11
|
+
export * from './AccountButtonContext/AccountButtonContextProvider';
|
|
12
|
+
export * from './StateContext/StateContext';
|
|
13
|
+
export * from './StateContext/StateContextProvider';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { UIFields } from 'fieldsConfiguration/types';
|
|
2
|
+
import { PasswordFields } from 'molecules/PasswordSetup/PasswordSetup';
|
|
2
3
|
import { LoginFields } from 'organisms/LoginForm/types';
|
|
3
4
|
import { SetPasswordFields } from 'organisms/SetPasswordForm/types';
|
|
4
5
|
export declare const acquisitionFormMockFields: UIFields<Record<string, string>>;
|
|
5
6
|
export declare const setPasswordMockFields: UIFields<SetPasswordFields>;
|
|
7
|
+
export declare const passwordMockFields: UIFields<PasswordFields>;
|
|
6
8
|
export declare const loginMockFields: UIFields<LoginFields>;
|
|
7
9
|
export declare const sectionMockFields: UIFields<Record<string, string>>;
|
|
8
10
|
export declare const profileInformationMockForm: {
|