@zealicsolutions/web-ui 0.4.78 → 0.4.80
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 +680 -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 -2
- 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 +680 -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 -2
- 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 +44 -20
- package/package.json +2 -2
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import { ContainerProps } from 'containers/types/types';
|
|
2
|
+
import { DefaultTheme } from 'styled-components';
|
|
2
3
|
import { SizesTypes } from 'theme';
|
|
4
|
+
import { MouseEvent } from 'react';
|
|
3
5
|
import { AnyObject } from '../typescript';
|
|
4
|
-
export declare
|
|
6
|
+
export declare type ConfigurationItemInfo = {
|
|
7
|
+
$selected?: boolean;
|
|
8
|
+
isConfigurationMode?: boolean;
|
|
9
|
+
onClick?: (e: MouseEvent) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const ContainerWrapper: import("styled-components").StyledComponent<"div", DefaultTheme, Pick<ContainerProps, "type"> & {
|
|
5
12
|
containerProps?: Partial<{
|
|
6
13
|
position: import("containers/types/types").ContainerPositionType;
|
|
7
14
|
alignItems: import("containers/types/types").ContainerAlignItemsType;
|
|
8
15
|
scrollBehaviour: import("containers/types/types").ContainerScrollBehaviourType;
|
|
9
16
|
cornerRadius: number | SizesTypes;
|
|
10
17
|
gap: SizesTypes;
|
|
11
|
-
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object,
|
|
18
|
+
styles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, DefaultTheme>>;
|
|
12
19
|
paddingTop: SizesTypes;
|
|
13
20
|
paddingBottom: SizesTypes;
|
|
14
21
|
paddingLeft: SizesTypes;
|
|
@@ -24,3 +31,8 @@ export declare const ContainerWrapper: import("styled-components").StyledCompone
|
|
|
24
31
|
}> | undefined;
|
|
25
32
|
metadata?: AnyObject | undefined;
|
|
26
33
|
}, never>;
|
|
34
|
+
export declare const getConfigurationWrapperStyle: ({ $selected, isConfigurationMode, theme: { colors }, }: {
|
|
35
|
+
$selected?: boolean | undefined;
|
|
36
|
+
isConfigurationMode?: boolean | undefined;
|
|
37
|
+
theme: DefaultTheme;
|
|
38
|
+
}) => import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -100,6 +100,7 @@ export declare type ContainerComponentProps = {
|
|
|
100
100
|
attributes?: AnyObject;
|
|
101
101
|
containerLibraryId?: string;
|
|
102
102
|
isMobile?: boolean;
|
|
103
|
+
isConfigurationMode?: boolean;
|
|
103
104
|
};
|
|
104
105
|
export declare type CriteriaType = 'operator' | 'condition';
|
|
105
106
|
export declare type ConditionCriteria = {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { AvatarProps } from 'atoms';
|
|
2
|
+
import { ConfigurationItemInfo } from 'containers';
|
|
2
3
|
import { MenuItemsProps } from '../MenuItems/MenuItems';
|
|
3
4
|
import 'rc-dropdown/assets/index.css';
|
|
4
5
|
export declare type AvatarDropdownMenuConfigType = 'log-out' | 'account-information';
|
|
5
6
|
export declare type AvatarDropdownProps<T = string> = {
|
|
6
7
|
avatarProps: AvatarProps;
|
|
7
8
|
menuConfig: MenuItemsProps<T>;
|
|
9
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
8
10
|
};
|
|
9
|
-
export declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
|
|
11
|
+
export declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, configurationItemInfo, }: AvatarDropdownProps<T>) => JSX.Element;
|
|
@@ -2,7 +2,7 @@ import type { ComponentStory } from '@storybook/react';
|
|
|
2
2
|
import { AvatarDropdown as AvatarDropdownComponent } from './AvatarDropdown';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: <T extends string | number>({ avatarProps, menuConfig, }: import("./AvatarDropdown").AvatarDropdownProps<T>) => JSX.Element;
|
|
5
|
+
component: <T extends string | number>({ avatarProps, menuConfig, configurationItemInfo, }: import("./AvatarDropdown").AvatarDropdownProps<T>) => JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const AvatarDropdown: ComponentStory<typeof AvatarDropdownComponent>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MetadataStateConfig, MetadataType } from 'containers';
|
|
1
|
+
import { ConfigurationItemInfo, MetadataStateConfig, MetadataType } from 'containers';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
import { FontSizesTypes, SizesTypes, ThemeColors } from 'theme';
|
|
4
4
|
import type { Callback, StylesType } from 'typescript';
|
|
@@ -42,5 +42,6 @@ export declare type ButtonProps = BaseButtonProps & {
|
|
|
42
42
|
stateConfig?: MetadataStateConfig[];
|
|
43
43
|
htmlElementId?: string;
|
|
44
44
|
metadata?: MetadataType;
|
|
45
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
45
46
|
};
|
|
46
|
-
export 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;
|
|
47
|
+
export 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;
|
|
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { Button as ButtonComponent } from 'molecules';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, metadata, ...props }: import("molecules").ButtonProps) => JSX.Element | null;
|
|
5
|
+
component: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, metadata, configurationItemInfo, ...props }: import("molecules").ButtonProps) => JSX.Element | null;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Button: StoryFn<typeof ButtonComponent>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SelectOption } from 'atoms';
|
|
2
2
|
import { CheckboxInternalConfigProps } from 'atoms/Checkbox/types';
|
|
3
|
-
import { ConditionConfig, FormStateType } from 'containers';
|
|
3
|
+
import { ConditionConfig, ConfigurationItemInfo, FormStateType } from 'containers';
|
|
4
4
|
import { Control, ControllerProps } from 'react-hook-form/dist/types';
|
|
5
5
|
import type { AnyObject, StylesType } from 'typescript';
|
|
6
6
|
import { FieldLabelsProps } from '../FieldLabels/FieldLabels';
|
|
@@ -32,5 +32,6 @@ export declare type CheckboxFieldProps = Partial<{
|
|
|
32
32
|
htmlElementId: string;
|
|
33
33
|
isTrigger?: boolean;
|
|
34
34
|
moleculeId: string;
|
|
35
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
35
36
|
}>;
|
|
36
|
-
export declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, }: CheckboxFieldProps) => JSX.Element | null;
|
|
37
|
+
export declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: CheckboxFieldProps) => JSX.Element | null;
|
|
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { CheckboxField as CheckboxFieldComponent } from 'molecules';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, }: Partial<{
|
|
5
|
+
component: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: Partial<{
|
|
6
6
|
checkboxesProps: Partial<{
|
|
7
7
|
checkboxGroupWrapperStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
|
8
8
|
checkboxFieldWrapperStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, import("styled-components").DefaultTheme>>;
|
|
@@ -54,6 +54,7 @@ declare const _default: {
|
|
|
54
54
|
htmlElementId: string;
|
|
55
55
|
isTrigger?: boolean | undefined;
|
|
56
56
|
moleculeId: string;
|
|
57
|
+
configurationItemInfo?: import("../..").ConfigurationItemInfo | undefined;
|
|
57
58
|
}>) => JSX.Element | null;
|
|
58
59
|
};
|
|
59
60
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ConfigurationItemInfo } from 'containers';
|
|
1
2
|
import { SizesTypes } from 'theme';
|
|
2
3
|
import { CheckboxInternalConfigProps } from 'atoms/Checkbox/types';
|
|
3
4
|
import type { Nullable } from 'typescript';
|
|
@@ -16,8 +17,9 @@ export declare type ChecklistProps = {
|
|
|
16
17
|
props: {
|
|
17
18
|
gap: SizesTypes;
|
|
18
19
|
} & CheckboxInternalConfigProps;
|
|
20
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
19
21
|
};
|
|
20
|
-
export declare const Checklist: ({ items, props: { gap, ...checkboxProps }, }: ChecklistProps) => JSX.Element;
|
|
22
|
+
export declare const Checklist: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, }: ChecklistProps) => JSX.Element;
|
|
21
23
|
export declare const ChecklistWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
22
24
|
$gap: SizesTypes;
|
|
23
25
|
}, never>;
|
|
@@ -2,7 +2,7 @@ import type { StoryFn } from '@storybook/react';
|
|
|
2
2
|
import { Checklist as ChecklistComponent } from 'molecules';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: ({ items, props: { gap, ...checkboxProps }, }: import("molecules").ChecklistProps) => JSX.Element;
|
|
5
|
+
component: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, }: import("molecules").ChecklistProps) => JSX.Element;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Checklist: StoryFn<typeof ChecklistComponent>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ConsentFieldMolecule } from 'containers';
|
|
1
|
+
import { ConfigurationItemInfo, ConsentFieldMolecule } from 'containers';
|
|
2
2
|
import { AnyObject } from 'typescript';
|
|
3
3
|
declare type ConsentMoleculeProps = {
|
|
4
4
|
attributes: ConsentFieldMolecule['attributes'];
|
|
5
5
|
config: ConsentFieldMolecule['config'];
|
|
6
6
|
formData?: AnyObject;
|
|
7
7
|
htmlElementId?: string;
|
|
8
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
|
8
9
|
};
|
|
9
|
-
export declare const ConsentMolecule: ({ attributes, formData, config, htmlElementId, }: ConsentMoleculeProps) => JSX.Element | null;
|
|
10
|
+
export declare const ConsentMolecule: ({ attributes, formData, config, htmlElementId, configurationItemInfo, }: ConsentMoleculeProps) => JSX.Element | null;
|
|
10
11
|
export {};
|
|
@@ -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>;
|