@zealicsolutions/web-ui 0.3.211 → 0.3.221
Sign up to get free protection for your applications and to get access to all the features.
- 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>;
|