@zealicsolutions/web-ui 0.3.211 → 0.3.221
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 +13 -13
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/Input/helpers.d.ts +1 -1
- package/dist/cjs/src/containers/Container.d.ts +1 -1
- package/dist/cjs/src/containers/MoleculeItem.d.ts +4 -1
- package/dist/cjs/src/containers/mock-data.d.ts +310 -23
- package/dist/cjs/src/containers/styles.d.ts +14 -2
- package/dist/cjs/src/containers/types/types.d.ts +1 -0
- package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +3 -1
- package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Button/Button.d.ts +3 -2
- package/dist/cjs/src/molecules/Button/Button.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.d.ts +3 -1
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.stories.d.ts +2 -1
- package/dist/cjs/src/molecules/Checklist/Checklist.d.ts +3 -1
- package/dist/cjs/src/molecules/Checklist/Checklist.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Consent/ConsentMolecule.d.ts +3 -2
- package/dist/cjs/src/molecules/Image/Image.d.ts +4 -4
- package/dist/cjs/src/molecules/Image/Image.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/InputField/InputField.d.ts +3 -2
- package/dist/cjs/src/molecules/InputField/InputField.stories.d.ts +2 -1
- package/dist/cjs/src/molecules/Link/Link.d.ts +3 -1
- package/dist/cjs/src/molecules/Link/Link.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.d.ts +3 -2
- package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.d.ts +4 -2
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +2 -1
- package/dist/cjs/src/molecules/SelectField/SelectField.d.ts +3 -2
- package/dist/cjs/src/molecules/SelectField/SelectField.stories.d.ts +2 -1
- package/dist/cjs/src/molecules/Stepper/Stepper.d.ts +3 -2
- package/dist/cjs/src/molecules/Stepper/Stepper.stories.d.ts +1 -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 +3 -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/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/Input/helpers.d.ts +1 -1
- package/dist/esm/src/containers/Container.d.ts +1 -1
- package/dist/esm/src/containers/MoleculeItem.d.ts +4 -1
- package/dist/esm/src/containers/mock-data.d.ts +310 -23
- package/dist/esm/src/containers/styles.d.ts +14 -2
- package/dist/esm/src/containers/types/types.d.ts +1 -0
- package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +3 -1
- package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Button/Button.d.ts +3 -2
- package/dist/esm/src/molecules/Button/Button.stories.d.ts +1 -1
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.d.ts +3 -1
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.stories.d.ts +2 -1
- package/dist/esm/src/molecules/Checklist/Checklist.d.ts +3 -1
- package/dist/esm/src/molecules/Checklist/Checklist.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Consent/ConsentMolecule.d.ts +3 -2
- package/dist/esm/src/molecules/Image/Image.d.ts +4 -4
- package/dist/esm/src/molecules/Image/Image.stories.d.ts +1 -1
- package/dist/esm/src/molecules/InputField/InputField.d.ts +3 -2
- package/dist/esm/src/molecules/InputField/InputField.stories.d.ts +2 -1
- package/dist/esm/src/molecules/Link/Link.d.ts +3 -1
- package/dist/esm/src/molecules/Link/Link.stories.d.ts +1 -1
- package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.d.ts +3 -2
- package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +1 -1
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.d.ts +4 -2
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +2 -1
- package/dist/esm/src/molecules/SelectField/SelectField.d.ts +3 -2
- package/dist/esm/src/molecules/SelectField/SelectField.stories.d.ts +2 -1
- package/dist/esm/src/molecules/Stepper/Stepper.d.ts +3 -2
- package/dist/esm/src/molecules/Stepper/Stepper.stories.d.ts +1 -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 +3 -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/index.d.ts +45 -20
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MetadataType } from 'containers';
|
|
2
|
-
import { Callback, StylesType } from 'typescript';
|
|
1
|
+
import { ConfigurationItemInfo, MetadataType } from 'containers';
|
|
2
|
+
import type { Callback, StylesType } from 'typescript';
|
|
3
3
|
import { SizesTypes } from 'theme';
|
|
4
4
|
export declare type ImageProps = {
|
|
5
5
|
src: string;
|
|
@@ -15,6 +15,6 @@ export declare type ImageProps = {
|
|
|
15
15
|
styles: StylesType;
|
|
16
16
|
metadata: MetadataType;
|
|
17
17
|
htmlElementId: string;
|
|
18
|
-
|
|
18
|
+
configurationItemInfo: ConfigurationItemInfo;
|
|
19
19
|
}>;
|
|
20
|
-
export declare const Image: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, htmlElementId, metadata,
|
|
20
|
+
export declare const Image: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, htmlElementId, metadata, configurationItemInfo, }: ImageProps) => JSX.Element | null;
|
|
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { Image as ImageComponent } from './Image';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, htmlElementId, metadata,
|
|
5
|
+
component: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, htmlElementId, metadata, configurationItemInfo, }: import("./Image").ImageProps) => JSX.Element | null;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Image: StoryFn<typeof ImageComponent>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InputProps } from 'atoms';
|
|
2
|
-
import { ConditionConfig, FormStateType } from 'containers';
|
|
2
|
+
import { ConditionConfig, ConfigurationItemInfo, FormStateType } from 'containers';
|
|
3
3
|
import { Control, ControllerProps } from 'react-hook-form/dist/types';
|
|
4
4
|
import type { AnyObject, StylesType } from 'typescript';
|
|
5
5
|
import { FieldLabelsProps } from '../FieldLabels/FieldLabels';
|
|
@@ -17,5 +17,6 @@ export declare type InputFieldProps = Partial<{
|
|
|
17
17
|
state: FormStateType;
|
|
18
18
|
formData: AnyObject;
|
|
19
19
|
htmlElementId: string;
|
|
20
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
20
21
|
}>;
|
|
21
|
-
export declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, }: InputFieldProps) => JSX.Element | null;
|
|
22
|
+
export declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, configurationItemInfo, }: InputFieldProps) => JSX.Element | null;
|
|
@@ -3,7 +3,7 @@ import { StoryFn } from '@storybook/react';
|
|
|
3
3
|
import { InputFieldProps } from './InputField';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, }: Partial<{
|
|
6
|
+
component: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, configurationItemInfo, }: Partial<{
|
|
7
7
|
name: string;
|
|
8
8
|
control: import("react-hook-form").Control<any, any>;
|
|
9
9
|
rules: Omit<Partial<{
|
|
@@ -59,6 +59,7 @@ declare const _default: {
|
|
|
59
59
|
state: import("../..").FormStateType;
|
|
60
60
|
formData: import("typescript").AnyObject;
|
|
61
61
|
htmlElementId: string;
|
|
62
|
+
configurationItemInfo?: import("../..").ConfigurationItemInfo | undefined;
|
|
62
63
|
}>) => JSX.Element | null;
|
|
63
64
|
};
|
|
64
65
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TextButtonProps } from 'atoms';
|
|
2
|
+
import { ConfigurationItemInfo } from 'containers';
|
|
2
3
|
export declare type LinkProps = Omit<TextButtonProps, 'children'> & Partial<{
|
|
3
4
|
text: string;
|
|
4
5
|
isRichText: boolean;
|
|
@@ -7,5 +8,6 @@ export declare type LinkProps = Omit<TextButtonProps, 'children'> & Partial<{
|
|
|
7
8
|
moleculeId: string;
|
|
8
9
|
isTrigger: boolean;
|
|
9
10
|
onExternalLink?: () => void;
|
|
11
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
10
12
|
}>;
|
|
11
|
-
export declare const Link: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, ...props }: LinkProps) => JSX.Element | null;
|
|
13
|
+
export declare const Link: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, configurationItemInfo, ...props }: LinkProps) => JSX.Element | null;
|
|
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { Link as LinkComponent } from 'molecules';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, ...props }: import("molecules").LinkProps) => JSX.Element | null;
|
|
5
|
+
component: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, configurationItemInfo, ...props }: import("molecules").LinkProps) => JSX.Element | null;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Link: StoryFn<typeof LinkComponent>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormStateType } from 'containers';
|
|
1
|
+
import { ConfigurationItemInfo, FormStateType } from 'containers';
|
|
2
2
|
import { UIFields } from 'fieldsConfiguration';
|
|
3
3
|
import { MaxRuleValidation, MinRuleValidation } from 'organisms/SetPasswordForm/types';
|
|
4
4
|
import { UseFormReturn } from 'react-hook-form';
|
|
@@ -20,5 +20,6 @@ export declare type PasswordSetupProps = {
|
|
|
20
20
|
form?: UseFormReturn<any>;
|
|
21
21
|
validationLabel?: string;
|
|
22
22
|
validationState?: FormStateType;
|
|
23
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
23
24
|
};
|
|
24
|
-
export declare const PasswordSetup: ({ fields, validations, form, validationLabel, validationState, }: PasswordSetupProps) => JSX.Element;
|
|
25
|
+
export declare const PasswordSetup: ({ fields, validations, form, validationLabel, validationState, configurationItemInfo, }: PasswordSetupProps) => JSX.Element;
|
|
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { PasswordSetup as PasswordSetupComponent } from './PasswordSetup';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ fields, validations, form, validationLabel, validationState, }: import("./PasswordSetup").PasswordSetupProps) => JSX.Element;
|
|
5
|
+
component: ({ fields, validations, form, validationLabel, validationState, configurationItemInfo, }: import("./PasswordSetup").PasswordSetupProps) => JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const PasswordSetup: StoryFn<typeof PasswordSetupComponent>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RadioButtonInternalConfigProps, RadioButtonsProps } from 'atoms';
|
|
2
|
-
import { ConditionConfig, FormStateType } from 'containers';
|
|
2
|
+
import { ConditionConfig, ConfigurationItemInfo, FormStateType } from 'containers';
|
|
3
3
|
import { Control, ControllerProps } from 'react-hook-form/dist/types';
|
|
4
4
|
import type { AnyObject, StylesType } from 'typescript';
|
|
5
5
|
import { FieldLabelsProps } from '../FieldLabels/FieldLabels';
|
|
@@ -20,8 +20,9 @@ export declare type RadioButtonFieldProps<T extends string> = Partial<{
|
|
|
20
20
|
htmlElementId: string;
|
|
21
21
|
isTrigger?: boolean;
|
|
22
22
|
moleculeId: string;
|
|
23
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
23
24
|
}>;
|
|
24
|
-
export declare const RadioButtonField: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, conditionConfig, formData, htmlElementId, state, isTrigger, moleculeId, }: Partial<{
|
|
25
|
+
export declare const RadioButtonField: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, conditionConfig, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: Partial<{
|
|
25
26
|
name: string;
|
|
26
27
|
rules: ControllerProps['rules'];
|
|
27
28
|
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
|
@@ -69,4 +70,5 @@ export declare const RadioButtonField: <T extends string>({ name, rules, styles,
|
|
|
69
70
|
htmlElementId: string;
|
|
70
71
|
isTrigger?: boolean | undefined;
|
|
71
72
|
moleculeId: string;
|
|
73
|
+
configurationItemInfo?: ConfigurationItemInfo | undefined;
|
|
72
74
|
}>) => JSX.Element | null;
|
|
@@ -2,7 +2,7 @@ import type { ComponentStory } from '@storybook/react';
|
|
|
2
2
|
import { RadioButtonField as RadioButtonFieldComponent } from './RadioButtonField';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, conditionConfig, formData, htmlElementId, state, isTrigger, moleculeId, }: Partial<{
|
|
5
|
+
component: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, conditionConfig, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: Partial<{
|
|
6
6
|
name: string;
|
|
7
7
|
rules: Omit<Partial<{
|
|
8
8
|
required: string | import("react-hook-form").ValidationRule<boolean>;
|
|
@@ -67,6 +67,7 @@ declare const _default: {
|
|
|
67
67
|
htmlElementId: string;
|
|
68
68
|
isTrigger?: boolean | undefined;
|
|
69
69
|
moleculeId: string;
|
|
70
|
+
configurationItemInfo?: import("../..").ConfigurationItemInfo | undefined;
|
|
70
71
|
}>) => JSX.Element | null;
|
|
71
72
|
};
|
|
72
73
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SelectProps } from 'atoms';
|
|
2
|
-
import { ConditionConfig, FormStateType } from 'containers';
|
|
2
|
+
import { ConditionConfig, ConfigurationItemInfo, FormStateType } from 'containers';
|
|
3
3
|
import { Control, ControllerProps } from 'react-hook-form/dist/types';
|
|
4
4
|
import type { StylesType } from 'typescript';
|
|
5
5
|
import { AnyObject } from 'typescript';
|
|
@@ -18,5 +18,6 @@ export declare type SelectFieldProps = Partial<{
|
|
|
18
18
|
state: FormStateType;
|
|
19
19
|
formData: AnyObject;
|
|
20
20
|
htmlElementId: string;
|
|
21
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
21
22
|
}>;
|
|
22
|
-
export declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, conditionConfig, formData, state, htmlElementId, }: SelectFieldProps) => JSX.Element | null;
|
|
23
|
+
export declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, conditionConfig, formData, state, htmlElementId, configurationItemInfo, }: SelectFieldProps) => JSX.Element | null;
|
|
@@ -2,7 +2,7 @@ import { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { SelectFieldProps } from './SelectField';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, conditionConfig, formData, state, htmlElementId, }: Partial<{
|
|
5
|
+
component: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, conditionConfig, formData, state, htmlElementId, configurationItemInfo, }: Partial<{
|
|
6
6
|
selectProps: Partial<{
|
|
7
7
|
ref: import("react-hook-form").RefCallBack;
|
|
8
8
|
onBlur: import("typescript").Callback;
|
|
@@ -46,6 +46,7 @@ declare const _default: {
|
|
|
46
46
|
state: import("../..").FormStateType;
|
|
47
47
|
formData: import("typescript").AnyObject;
|
|
48
48
|
htmlElementId: string;
|
|
49
|
+
configurationItemInfo?: import("../..").ConfigurationItemInfo | undefined;
|
|
49
50
|
}>) => JSX.Element | null;
|
|
50
51
|
};
|
|
51
52
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MetadataType, ProcessStep } from 'containers';
|
|
1
|
+
import { ConfigurationItemInfo, MetadataType, ProcessStep } from 'containers';
|
|
2
2
|
export declare type ProcessTrackerOrientation = 'horizontal' | 'vertical';
|
|
3
3
|
export declare type StepperProps = {
|
|
4
4
|
steps: ProcessStep[];
|
|
@@ -7,5 +7,6 @@ export declare type StepperProps = {
|
|
|
7
7
|
metadata: MetadataType;
|
|
8
8
|
isMobile?: boolean;
|
|
9
9
|
isOnClickDisabled?: boolean;
|
|
10
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
10
11
|
};
|
|
11
|
-
export declare const Stepper: ({ steps, orientation, htmlElementId, metadata, isMobile, isOnClickDisabled, }: StepperProps) => JSX.Element | null;
|
|
12
|
+
export declare const Stepper: ({ steps, orientation, htmlElementId, metadata, isMobile, isOnClickDisabled, configurationItemInfo, }: StepperProps) => JSX.Element | null;
|
|
@@ -2,7 +2,7 @@ import { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { StepperProps } from './Stepper';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ steps, orientation, htmlElementId, metadata, isMobile, isOnClickDisabled, }: StepperProps) => JSX.Element | null;
|
|
5
|
+
component: ({ steps, orientation, htmlElementId, metadata, isMobile, isOnClickDisabled, configurationItemInfo, }: StepperProps) => JSX.Element | null;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Stepper: StoryFn<StepperProps>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TabProps, TabTheme } from 'atoms';
|
|
2
2
|
import { FontSizesTypes, SizesTypes, ThemeColors } from 'theme/types';
|
|
3
3
|
import type { StylesType } from 'typescript';
|
|
4
|
+
import { ConfigurationItemInfo } from 'containers';
|
|
4
5
|
export declare type TabType<T = string, K = string> = Pick<TabProps<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>;
|
|
5
6
|
export declare type AdditionalTabContainerProps = {
|
|
6
7
|
containerStyle?: StylesType;
|
|
@@ -25,5 +26,6 @@ export declare type TabGroupProps<T = string, K = string> = {
|
|
|
25
26
|
compact?: AdditionalTabContainerProps;
|
|
26
27
|
isMobile?: boolean;
|
|
27
28
|
htmlElementId?: string;
|
|
29
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
28
30
|
};
|
|
29
|
-
export declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, isMobile, htmlElementId, ...props }: TabGroupProps<T, K>) => JSX.Element;
|
|
31
|
+
export declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, isMobile, htmlElementId, configurationItemInfo, ...props }: TabGroupProps<T, K>) => JSX.Element;
|
|
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { TabGroupProps } from './TabGroup';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, isMobile, htmlElementId, ...props }: TabGroupProps<T, K>) => JSX.Element;
|
|
5
|
+
component: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, isMobile, htmlElementId, configurationItemInfo, ...props }: TabGroupProps<T, K>) => JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const TabGroup: StoryFn<TabGroupProps>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TextProps } from 'atoms';
|
|
2
2
|
import { FontSizesTypes, ThemeColors } from 'theme';
|
|
3
3
|
import { StylesType } from 'typescript';
|
|
4
|
+
import { ConfigurationItemInfo } from 'containers';
|
|
4
5
|
export declare type TextMoleculeProps = Partial<{
|
|
5
6
|
text: string;
|
|
6
7
|
variant: 'base' | 'custom';
|
|
@@ -14,5 +15,6 @@ export declare type TextMoleculeProps = Partial<{
|
|
|
14
15
|
styles: StylesType;
|
|
15
16
|
textAlign: 'center' | 'right' | 'left';
|
|
16
17
|
htmlElementId: string;
|
|
18
|
+
configurationItemInfo: ConfigurationItemInfo;
|
|
17
19
|
}> & Pick<TextProps, 'seoTag' | 'numberOfLines'>;
|
|
18
|
-
export declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, htmlElementId, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
|
|
20
|
+
export declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, htmlElementId, configurationItemInfo, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
|
|
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { TextMoleculeProps } from './TextMolecule';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, htmlElementId, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
|
|
5
|
+
component: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, htmlElementId, configurationItemInfo, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const TextMolecule: StoryFn<TextMoleculeProps>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FeedContentTemplateTypes } from 'organisms/FeedContent/types';
|
|
2
2
|
import { CSSProperties } from 'styled-components';
|
|
3
3
|
import { StylesType } from 'typescript';
|
|
4
|
+
import { ConfigurationItemInfo } from 'containers';
|
|
4
5
|
export declare type VideoProps = {
|
|
5
6
|
src: string;
|
|
6
7
|
} & Partial<{
|
|
@@ -16,5 +17,6 @@ export declare type VideoProps = {
|
|
|
16
17
|
moleculeId: string;
|
|
17
18
|
isTrigger: boolean;
|
|
18
19
|
isOnClickDisabled: boolean;
|
|
20
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
19
21
|
}>;
|
|
20
|
-
export declare const Video: ({ style, src, width, height, template, autoplay, enableCoverImage, coverImageSrc, styles, htmlElementId, isTrigger, moleculeId, isOnClickDisabled, }: VideoProps) => JSX.Element | null;
|
|
22
|
+
export declare const Video: ({ style, src, width, height, template, autoplay, enableCoverImage, coverImageSrc, styles, htmlElementId, isTrigger, moleculeId, isOnClickDisabled, configurationItemInfo, }: VideoProps) => JSX.Element | null;
|
|
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { Video as VideoComponent } from './Video';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ style, src, width, height, template, autoplay, enableCoverImage, coverImageSrc, styles, htmlElementId, isTrigger, moleculeId, isOnClickDisabled, }: import("./Video").VideoProps) => JSX.Element | null;
|
|
5
|
+
component: ({ style, src, width, height, template, autoplay, enableCoverImage, coverImageSrc, styles, htmlElementId, isTrigger, moleculeId, isOnClickDisabled, configurationItemInfo, }: import("./Video").VideoProps) => JSX.Element | null;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Video: StoryFn<typeof VideoComponent>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import react__default, { PropsWithChildren, ReactNode, Dispatch, SetStateAction, CSSProperties as CSSProperties$1, ComponentType, KeyboardEvent } from 'react';
|
|
3
|
+
import react__default, { PropsWithChildren, ReactNode, Dispatch, SetStateAction, MouseEvent, CSSProperties as CSSProperties$1, ComponentType, KeyboardEvent } from 'react';
|
|
4
4
|
import * as styled_components from 'styled-components';
|
|
5
5
|
import { CSSProperties, DefaultTheme } from 'styled-components';
|
|
6
6
|
import * as theme from 'theme';
|
|
@@ -10,7 +10,7 @@ import { StylesType, AnyObject as AnyObject$1, Callback as Callback$1, Nullable,
|
|
|
10
10
|
import { RefCallBack, Control as Control$1, ControllerProps as ControllerProps$1 } from 'react-hook-form/dist/types';
|
|
11
11
|
import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
|
|
12
12
|
import * as containers from 'containers';
|
|
13
|
-
import { ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1, FormStateType as FormStateType$1, ProcessTrackerStatus as ProcessTrackerStatus$1, MoleculeTypes as MoleculeTypes$1, ContainerType as ContainerType$1, MetadataType as MetadataType$1, StateConfigType as StateConfigType$1, ConditionConfig as ConditionConfig$1, ProcessStep as ProcessStep$1, MetadataStateConfig as MetadataStateConfig$1 } from 'containers';
|
|
13
|
+
import { ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1, FormStateType as FormStateType$1, ProcessTrackerStatus as ProcessTrackerStatus$1, MoleculeTypes as MoleculeTypes$1, ContainerType as ContainerType$1, MetadataType as MetadataType$1, StateConfigType as StateConfigType$1, ConditionConfig as ConditionConfig$1, ConfigurationItemInfo as ConfigurationItemInfo$1, ProcessStep as ProcessStep$1, MetadataStateConfig as MetadataStateConfig$1 } from 'containers';
|
|
14
14
|
import { FieldTypes as FieldTypes$1, UIFields as UIFields$1, InputFieldTypes as InputFieldTypes$1 } from 'fieldsConfiguration/types';
|
|
15
15
|
import { ThemeColors as ThemeColors$2, FontSizesTypes as FontSizesTypes$1, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
|
|
16
16
|
import * as atoms from 'atoms';
|
|
@@ -45,6 +45,7 @@ import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewer
|
|
|
45
45
|
import * as contexts_MlrRichTextViewerContext_MlrRichTextViewerContext from 'contexts/MlrRichTextViewerContext/MlrRichTextViewerContext';
|
|
46
46
|
import * as contexts_ButtonActionsContext_ButtonActionsContext from 'contexts/ButtonActionsContext/ButtonActionsContext';
|
|
47
47
|
export * from 'helpers/constants';
|
|
48
|
+
import { ConfigurationItemInfo as ConfigurationItemInfo$2 } from 'containers/MoleculeItem';
|
|
48
49
|
import { CustomDescendant } from 'atoms/RichTextViewer/types';
|
|
49
50
|
import { ConsentCaptureProps } from 'molecules/Consent/ConsentCapture';
|
|
50
51
|
import * as containers_types_types from 'containers/types/types';
|
|
@@ -196,7 +197,7 @@ declare const Container: ({ id, type, wide, props, compact, children, metadata,
|
|
|
196
197
|
} & {
|
|
197
198
|
id: string;
|
|
198
199
|
}) => JSX.Element | null;
|
|
199
|
-
declare const ContainerComponent: ({ config, tabsProps, id, type, items, metadata, formData, setFormData, isMobile, }: ContainerComponentProps$1 & {
|
|
200
|
+
declare const ContainerComponent: ({ config, tabsProps, id, type, items, metadata, formData, setFormData, isMobile, isConfigurationMode, }: ContainerComponentProps$1 & {
|
|
200
201
|
formData?: AnyObject$1 | undefined;
|
|
201
202
|
setFormData?: Dispatch<SetStateAction<AnyObject$1>> | undefined;
|
|
202
203
|
}) => JSX.Element | null;
|
|
@@ -632,6 +633,7 @@ declare type ContainerComponentProps = {
|
|
|
632
633
|
attributes?: AnyObject$1;
|
|
633
634
|
containerLibraryId?: string;
|
|
634
635
|
isMobile?: boolean;
|
|
636
|
+
isConfigurationMode?: boolean;
|
|
635
637
|
};
|
|
636
638
|
declare type CriteriaType = 'operator' | 'condition';
|
|
637
639
|
declare type ConditionCriteria = {
|
|
@@ -668,14 +670,19 @@ declare type StateConfigType = {
|
|
|
668
670
|
declare type Callback = () => void;
|
|
669
671
|
declare type AnyObject = Record<string, unknown>;
|
|
670
672
|
|
|
671
|
-
declare
|
|
673
|
+
declare type ConfigurationItemInfo = {
|
|
674
|
+
$selected?: boolean;
|
|
675
|
+
isConfigurationMode?: boolean;
|
|
676
|
+
onClick?: (e: MouseEvent) => void;
|
|
677
|
+
};
|
|
678
|
+
declare const ContainerWrapper: styled_components.StyledComponent<"div", DefaultTheme, Pick<ContainerProps$1, "type"> & {
|
|
672
679
|
containerProps?: Partial<{
|
|
673
680
|
position: containers_types_types.ContainerPositionType;
|
|
674
681
|
alignItems: containers_types_types.ContainerAlignItemsType;
|
|
675
682
|
scrollBehaviour: containers_types_types.ContainerScrollBehaviourType;
|
|
676
683
|
cornerRadius: number | SizesTypes$1;
|
|
677
684
|
gap: SizesTypes$1;
|
|
678
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object,
|
|
685
|
+
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, DefaultTheme>>;
|
|
679
686
|
paddingTop: SizesTypes$1;
|
|
680
687
|
paddingBottom: SizesTypes$1;
|
|
681
688
|
paddingLeft: SizesTypes$1;
|
|
@@ -691,6 +698,11 @@ declare const ContainerWrapper: styled_components.StyledComponent<"div", styled_
|
|
|
691
698
|
}> | undefined;
|
|
692
699
|
metadata?: AnyObject | undefined;
|
|
693
700
|
}, never>;
|
|
701
|
+
declare const getConfigurationWrapperStyle: ({ $selected, isConfigurationMode, theme: { colors }, }: {
|
|
702
|
+
$selected?: boolean | undefined;
|
|
703
|
+
isConfigurationMode?: boolean | undefined;
|
|
704
|
+
theme: DefaultTheme;
|
|
705
|
+
}) => styled_components.FlattenSimpleInterpolation;
|
|
694
706
|
|
|
695
707
|
declare type OrganismItemProps = {
|
|
696
708
|
item: ContainerComponentProps$1 | Molecule$1;
|
|
@@ -1670,8 +1682,9 @@ declare type InputFieldProps = Partial<{
|
|
|
1670
1682
|
state: FormStateType$1;
|
|
1671
1683
|
formData: AnyObject$1;
|
|
1672
1684
|
htmlElementId: string;
|
|
1685
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1673
1686
|
}>;
|
|
1674
|
-
declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, }: InputFieldProps) => JSX.Element | null;
|
|
1687
|
+
declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, configurationItemInfo, }: InputFieldProps) => JSX.Element | null;
|
|
1675
1688
|
|
|
1676
1689
|
declare type FieldMapperProps<T extends object> = {
|
|
1677
1690
|
field: UIField$1<keyof T>;
|
|
@@ -1712,8 +1725,9 @@ declare type CheckboxFieldProps = Partial<{
|
|
|
1712
1725
|
htmlElementId: string;
|
|
1713
1726
|
isTrigger?: boolean;
|
|
1714
1727
|
moleculeId: string;
|
|
1728
|
+
configurationItemInfo?: ConfigurationItemInfo$2;
|
|
1715
1729
|
}>;
|
|
1716
|
-
declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, }: CheckboxFieldProps) => JSX.Element | null;
|
|
1730
|
+
declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: CheckboxFieldProps) => JSX.Element | null;
|
|
1717
1731
|
|
|
1718
1732
|
declare type CheckboxGroupProps = Partial<{
|
|
1719
1733
|
ref: RefCallBack;
|
|
@@ -1737,8 +1751,9 @@ declare type SelectFieldProps = Partial<{
|
|
|
1737
1751
|
state: FormStateType$1;
|
|
1738
1752
|
formData: AnyObject$1;
|
|
1739
1753
|
htmlElementId: string;
|
|
1754
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1740
1755
|
}>;
|
|
1741
|
-
declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, conditionConfig, formData, state, htmlElementId, }: SelectFieldProps) => JSX.Element | null;
|
|
1756
|
+
declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, conditionConfig, formData, state, htmlElementId, configurationItemInfo, }: SelectFieldProps) => JSX.Element | null;
|
|
1742
1757
|
|
|
1743
1758
|
declare type CustomValidationRule<T = string> = {
|
|
1744
1759
|
text: string;
|
|
@@ -1841,8 +1856,9 @@ declare type AvatarDropdownMenuConfigType = 'log-out' | 'account-information';
|
|
|
1841
1856
|
declare type AvatarDropdownProps<T = string> = {
|
|
1842
1857
|
avatarProps: AvatarProps$1;
|
|
1843
1858
|
menuConfig: MenuItemsProps<T>;
|
|
1859
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1844
1860
|
};
|
|
1845
|
-
declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
|
|
1861
|
+
declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, configurationItemInfo, }: AvatarDropdownProps<T>) => JSX.Element;
|
|
1846
1862
|
|
|
1847
1863
|
declare type TabType<T = string, K = string> = Pick<TabProps$1<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>;
|
|
1848
1864
|
declare type AdditionalTabContainerProps = {
|
|
@@ -1868,8 +1884,9 @@ declare type TabGroupProps<T = string, K = string> = {
|
|
|
1868
1884
|
compact?: AdditionalTabContainerProps;
|
|
1869
1885
|
isMobile?: boolean;
|
|
1870
1886
|
htmlElementId?: string;
|
|
1887
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1871
1888
|
};
|
|
1872
|
-
declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, isMobile, htmlElementId, ...props }: TabGroupProps<T, K>) => JSX.Element;
|
|
1889
|
+
declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, isMobile, htmlElementId, configurationItemInfo, ...props }: TabGroupProps<T, K>) => JSX.Element;
|
|
1873
1890
|
|
|
1874
1891
|
declare type FieldSectionProps<T extends object> = {
|
|
1875
1892
|
label: string;
|
|
@@ -1912,8 +1929,9 @@ declare type RadioButtonFieldProps<T extends string> = Partial<{
|
|
|
1912
1929
|
htmlElementId: string;
|
|
1913
1930
|
isTrigger?: boolean;
|
|
1914
1931
|
moleculeId: string;
|
|
1932
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1915
1933
|
}>;
|
|
1916
|
-
declare const RadioButtonField: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, conditionConfig, formData, htmlElementId, state, isTrigger, moleculeId, }: Partial<{
|
|
1934
|
+
declare const RadioButtonField: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, conditionConfig, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: Partial<{
|
|
1917
1935
|
name: string;
|
|
1918
1936
|
rules: ControllerProps$1['rules'];
|
|
1919
1937
|
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
@@ -1961,6 +1979,7 @@ declare const RadioButtonField: <T extends string>({ name, rules, styles, contro
|
|
|
1961
1979
|
htmlElementId: string;
|
|
1962
1980
|
isTrigger?: boolean | undefined;
|
|
1963
1981
|
moleculeId: string;
|
|
1982
|
+
configurationItemInfo?: ConfigurationItemInfo$1 | undefined;
|
|
1964
1983
|
}>) => JSX.Element | null;
|
|
1965
1984
|
|
|
1966
1985
|
declare type AlertProps = {
|
|
@@ -1989,8 +2008,9 @@ declare type StepperProps = {
|
|
|
1989
2008
|
metadata: MetadataType$1;
|
|
1990
2009
|
isMobile?: boolean;
|
|
1991
2010
|
isOnClickDisabled?: boolean;
|
|
2011
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1992
2012
|
};
|
|
1993
|
-
declare const Stepper: ({ steps, orientation, htmlElementId, metadata, isMobile, isOnClickDisabled, }: StepperProps) => JSX.Element | null;
|
|
2013
|
+
declare const Stepper: ({ steps, orientation, htmlElementId, metadata, isMobile, isOnClickDisabled, configurationItemInfo, }: StepperProps) => JSX.Element | null;
|
|
1994
2014
|
|
|
1995
2015
|
declare type PdfDocumentProps = {
|
|
1996
2016
|
source: string;
|
|
@@ -2050,8 +2070,9 @@ declare type VideoProps = {
|
|
|
2050
2070
|
moleculeId: string;
|
|
2051
2071
|
isTrigger: boolean;
|
|
2052
2072
|
isOnClickDisabled: boolean;
|
|
2073
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
2053
2074
|
}>;
|
|
2054
|
-
declare const Video: ({ style, src, width, height, template, autoplay, enableCoverImage, coverImageSrc, styles, htmlElementId, isTrigger, moleculeId, isOnClickDisabled, }: VideoProps) => JSX.Element | null;
|
|
2075
|
+
declare const Video: ({ style, src, width, height, template, autoplay, enableCoverImage, coverImageSrc, styles, htmlElementId, isTrigger, moleculeId, isOnClickDisabled, configurationItemInfo, }: VideoProps) => JSX.Element | null;
|
|
2055
2076
|
|
|
2056
2077
|
declare type ImageProps = {
|
|
2057
2078
|
src: string;
|
|
@@ -2067,9 +2088,9 @@ declare type ImageProps = {
|
|
|
2067
2088
|
styles: StylesType;
|
|
2068
2089
|
metadata: MetadataType$1;
|
|
2069
2090
|
htmlElementId: string;
|
|
2070
|
-
|
|
2091
|
+
configurationItemInfo: ConfigurationItemInfo$1;
|
|
2071
2092
|
}>;
|
|
2072
|
-
declare const Image: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, htmlElementId, metadata,
|
|
2093
|
+
declare const Image: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, htmlElementId, metadata, configurationItemInfo, }: ImageProps) => JSX.Element | null;
|
|
2073
2094
|
|
|
2074
2095
|
declare type CarouselProps = {
|
|
2075
2096
|
children: JSX.Element[];
|
|
@@ -2101,8 +2122,9 @@ declare type TextMoleculeProps = Partial<{
|
|
|
2101
2122
|
styles: StylesType;
|
|
2102
2123
|
textAlign: 'center' | 'right' | 'left';
|
|
2103
2124
|
htmlElementId: string;
|
|
2125
|
+
configurationItemInfo: ConfigurationItemInfo$1;
|
|
2104
2126
|
}> & Pick<TextProps$1, 'seoTag' | 'numberOfLines'>;
|
|
2105
|
-
declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, htmlElementId, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
|
|
2127
|
+
declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, htmlElementId, configurationItemInfo, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
|
|
2106
2128
|
|
|
2107
2129
|
declare type ButtonVariant = 'primary' | 'secondary' | 'text' | 'custom';
|
|
2108
2130
|
declare type ButtonType = 'button' | 'submit' | 'reset';
|
|
@@ -2144,8 +2166,9 @@ declare type ButtonProps = BaseButtonProps & {
|
|
|
2144
2166
|
stateConfig?: MetadataStateConfig$1[];
|
|
2145
2167
|
htmlElementId?: string;
|
|
2146
2168
|
metadata?: MetadataType$1;
|
|
2169
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
2147
2170
|
};
|
|
2148
|
-
declare const Button: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, metadata, ...props }: ButtonProps) => JSX.Element | null;
|
|
2171
|
+
declare const Button: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, metadata, configurationItemInfo, ...props }: ButtonProps) => JSX.Element | null;
|
|
2149
2172
|
|
|
2150
2173
|
declare type ZealUIModalProps = PropsWithChildren<Pick<ModalProps, 'open'>> & {
|
|
2151
2174
|
padding?: number | string;
|
|
@@ -2200,8 +2223,9 @@ declare type LinkProps = Omit<TextButtonProps$1, 'children'> & Partial<{
|
|
|
2200
2223
|
moleculeId: string;
|
|
2201
2224
|
isTrigger: boolean;
|
|
2202
2225
|
onExternalLink?: () => void;
|
|
2226
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
2203
2227
|
}>;
|
|
2204
|
-
declare const Link: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, ...props }: LinkProps) => JSX.Element | null;
|
|
2228
|
+
declare const Link: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, configurationItemInfo, ...props }: LinkProps) => JSX.Element | null;
|
|
2205
2229
|
|
|
2206
2230
|
declare type ChecklistItem = {
|
|
2207
2231
|
id: string;
|
|
@@ -2218,10 +2242,11 @@ declare type ChecklistProps = {
|
|
|
2218
2242
|
props: {
|
|
2219
2243
|
gap: SizesTypes$1;
|
|
2220
2244
|
} & CheckboxInternalConfigProps$1;
|
|
2245
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
2221
2246
|
};
|
|
2222
|
-
declare const Checklist: ({ items, props: { gap, ...checkboxProps }, }: ChecklistProps) => JSX.Element;
|
|
2247
|
+
declare const Checklist: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, }: ChecklistProps) => JSX.Element;
|
|
2223
2248
|
declare const ChecklistWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
|
2224
2249
|
$gap: SizesTypes$1;
|
|
2225
2250
|
}, never>;
|
|
2226
2251
|
|
|
2227
|
-
export { AccountButtonContext, AccountButtonContextType, AccountButtonMolecule, AccountButtonProvider, AccountButtonProviderProps, AcquisitionForm, AcquisitionFormProps, ActionAttributes, ActionEventType, ActionTypes, AdditionalContainerProps, AdditionalTabContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownMenuConfigType, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMolecule, ButtonProps, ButtonType, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, Checkbox, CheckboxField, CheckboxFieldMolecule, CheckboxFieldProps, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CheckboxesProps, Checklist, ChecklistAttributes, ChecklistItem, ChecklistProps, ChecklistWrapper, ChecklistsMolecule, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorAttributes, ColumnItem, Columns, ColumnsProps, ConditionConfig, ConditionConfigAttributes, ConditionCriteria, ConfigurationItem, Consent, ConsentCaptureMethod, ConsentFieldMolecule, ConsentProps, ConsentType, Container, ContainerAlignItemsType, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CriteriaType, CustomValidation, CustomValidationProps, CustomValidationRule, DataConnectionAttributes, DataConnectionValues, DataModelFieldFormat, DataModelFieldFormatCodeTypes, DataModelFieldFormatValueTypes, DefaultSelectionType, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, DownloadFile, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, ErrorText, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, FormContainerProps, FormDataStateConfig, FormOrganismItem, FormStateType, FormStepContainerProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconWrapper, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, IterableAttributes, LabelInternalConfig, Link, LinkAttributes, LinkMolecule, LinkProps, LinkVariant, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MetadataStateConfig, MetadataType, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismContext, OrganismContextProvider, OrganismContextProviderProps, OrganismContextType, OrganismItem, OrganismItemProps, OrientationType, OrientationTypeLabel, Padding, PaddingProps, PaddingVariants, PasswordSetupMolecule, PdfDocument, PdfDocumentProps, PopupPropsType, ProcessStep, ProcessStepsAttributes, ProcessStepsMoleculeType, ProcessTracker, ProcessTrackerOrientation, ProcessTrackerProps, ProcessTrackerStateValue, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldMolecule, RadioButtonFieldProps, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, SegmentationType, Select, SelectAttributes, SelectField, SelectFieldMolecule, SelectFieldProps, SelectInternalConfigurationOptions, SelectOption, SelectProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, SlateValueChildType, Slide, SliderProps, SlidesWrapper, Spacer, SpacerProps, Spinner, StateActionType, StateConfigType, StateContext, StateContextProvider, StateContextProviderProps, StateContextType, StateEventType, StateListenerConfigType, StateModifierConfigType, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextInputMolecule, TextMolecule, TextMoleculeProps, TextMoleculeType, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipInternalConfig, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, WrappedContainerType, Wrapper, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, acquisitionFormMockFields, baseButtonAllowedConfigurations, defaultTheme, defaultValue, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, passwordMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useButtonActionsContext, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|
|
2252
|
+
export { AccountButtonContext, AccountButtonContextType, AccountButtonMolecule, AccountButtonProvider, AccountButtonProviderProps, AcquisitionForm, AcquisitionFormProps, ActionAttributes, ActionEventType, ActionTypes, AdditionalContainerProps, AdditionalTabContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownMenuConfigType, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMolecule, ButtonProps, ButtonType, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, Checkbox, CheckboxField, CheckboxFieldMolecule, CheckboxFieldProps, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CheckboxesProps, Checklist, ChecklistAttributes, ChecklistItem, ChecklistProps, ChecklistWrapper, ChecklistsMolecule, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorAttributes, ColumnItem, Columns, ColumnsProps, ConditionConfig, ConditionConfigAttributes, ConditionCriteria, ConfigurationItem, ConfigurationItemInfo, Consent, ConsentCaptureMethod, ConsentFieldMolecule, ConsentProps, ConsentType, Container, ContainerAlignItemsType, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CriteriaType, CustomValidation, CustomValidationProps, CustomValidationRule, DataConnectionAttributes, DataConnectionValues, DataModelFieldFormat, DataModelFieldFormatCodeTypes, DataModelFieldFormatValueTypes, DefaultSelectionType, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, DownloadFile, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, ErrorText, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, FormContainerProps, FormDataStateConfig, FormOrganismItem, FormStateType, FormStepContainerProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconWrapper, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, IterableAttributes, LabelInternalConfig, Link, LinkAttributes, LinkMolecule, LinkProps, LinkVariant, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MetadataStateConfig, MetadataType, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismContext, OrganismContextProvider, OrganismContextProviderProps, OrganismContextType, OrganismItem, OrganismItemProps, OrientationType, OrientationTypeLabel, Padding, PaddingProps, PaddingVariants, PasswordSetupMolecule, PdfDocument, PdfDocumentProps, PopupPropsType, ProcessStep, ProcessStepsAttributes, ProcessStepsMoleculeType, ProcessTracker, ProcessTrackerOrientation, ProcessTrackerProps, ProcessTrackerStateValue, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldMolecule, RadioButtonFieldProps, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, SegmentationType, Select, SelectAttributes, SelectField, SelectFieldMolecule, SelectFieldProps, SelectInternalConfigurationOptions, SelectOption, SelectProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, SlateValueChildType, Slide, SliderProps, SlidesWrapper, Spacer, SpacerProps, Spinner, StateActionType, StateConfigType, StateContext, StateContextProvider, StateContextProviderProps, StateContextType, StateEventType, StateListenerConfigType, StateModifierConfigType, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextInputMolecule, TextMolecule, TextMoleculeProps, TextMoleculeType, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipInternalConfig, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, WrappedContainerType, Wrapper, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, acquisitionFormMockFields, baseButtonAllowedConfigurations, defaultTheme, defaultValue, getConfigurationWrapperStyle, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, passwordMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useButtonActionsContext, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|