@zealicsolutions/web-ui 0.2.70 → 0.2.72
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 +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/Avatar/Avatar.d.ts +2 -2
- package/dist/cjs/src/atoms/Buttons/Button.d.ts +5 -2
- package/dist/cjs/src/atoms/Buttons/TextButton.d.ts +3 -12
- package/dist/cjs/src/atoms/Icon/Icon.d.ts +18 -15
- package/dist/cjs/src/atoms/RegularImage/RegularImage.d.ts +1 -2
- package/dist/cjs/src/atoms/Tab/Tab.d.ts +3 -3
- package/dist/cjs/src/atoms/Tab/Tab.stories.d.ts +1 -1
- package/dist/cjs/src/atoms/Tab/styles.d.ts +3 -2
- package/dist/cjs/src/atoms/TextWrapper/TextWrapper.stories.d.ts +1 -1
- package/dist/cjs/src/atoms/index.d.ts +0 -1
- package/dist/cjs/src/containers/Container.d.ts +4 -0
- package/dist/cjs/src/containers/Container.stories.d.ts +9 -0
- package/dist/cjs/src/containers/MoleculeItem.d.ts +3 -0
- package/dist/cjs/src/containers/OrganismItem.d.ts +5 -0
- package/dist/cjs/src/containers/helpers.d.ts +2 -0
- package/dist/cjs/src/containers/index.d.ts +5 -0
- package/dist/cjs/src/containers/styles.d.ts +8 -0
- package/dist/cjs/src/containers/types/moleculeTypes.d.ts +111 -0
- package/dist/cjs/src/containers/types/types.d.ts +30 -0
- package/dist/cjs/src/helpers/constants.d.ts +6 -3
- package/dist/cjs/src/icons/CaretDown.d.ts +1 -1
- package/dist/cjs/src/icons/Check.d.ts +1 -1
- package/dist/cjs/src/icons/Close.d.ts +1 -1
- package/dist/cjs/src/icons/Filter.d.ts +2 -2
- package/dist/cjs/src/icons/Hide.d.ts +1 -1
- package/dist/cjs/src/icons/Mail.d.ts +1 -1
- package/dist/cjs/src/icons/Minus.d.ts +2 -2
- package/dist/cjs/src/icons/Mobile.d.ts +2 -2
- package/dist/cjs/src/icons/Play.d.ts +1 -1
- package/dist/cjs/src/icons/Search.d.ts +1 -1
- package/dist/cjs/src/icons/View.d.ts +2 -2
- package/dist/cjs/src/icons/Warning.d.ts +1 -1
- package/dist/cjs/src/index.d.ts +1 -0
- package/dist/cjs/src/molecules/Columns/styles.d.ts +2 -11
- package/dist/cjs/src/molecules/Image/Image.d.ts +2 -3
- package/dist/cjs/src/molecules/TabGroup/TabGroup.d.ts +10 -4
- package/dist/cjs/src/molecules/TabGroup/TabGroup.stories.d.ts +2 -1
- package/dist/cjs/src/molecules/TabGroup/styles.d.ts +9 -5
- 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 +14 -0
- package/dist/cjs/src/molecules/Video/Video.stories.d.ts +9 -0
- package/dist/cjs/src/molecules/index.d.ts +3 -0
- package/dist/cjs/src/theme/types.d.ts +3 -2
- package/dist/cjs/src/typescript.d.ts +4 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/Avatar/Avatar.d.ts +2 -2
- package/dist/esm/src/atoms/Buttons/Button.d.ts +5 -2
- package/dist/esm/src/atoms/Buttons/TextButton.d.ts +3 -12
- package/dist/esm/src/atoms/Icon/Icon.d.ts +18 -15
- package/dist/esm/src/atoms/RegularImage/RegularImage.d.ts +1 -2
- package/dist/esm/src/atoms/Tab/Tab.d.ts +3 -3
- package/dist/esm/src/atoms/Tab/Tab.stories.d.ts +1 -1
- package/dist/esm/src/atoms/Tab/styles.d.ts +3 -2
- package/dist/esm/src/atoms/TextWrapper/TextWrapper.stories.d.ts +1 -1
- package/dist/esm/src/atoms/index.d.ts +0 -1
- package/dist/esm/src/containers/Container.d.ts +4 -0
- package/dist/esm/src/containers/Container.stories.d.ts +9 -0
- package/dist/esm/src/containers/MoleculeItem.d.ts +3 -0
- package/dist/esm/src/containers/OrganismItem.d.ts +5 -0
- package/dist/esm/src/containers/helpers.d.ts +2 -0
- package/dist/esm/src/containers/index.d.ts +5 -0
- package/dist/esm/src/containers/styles.d.ts +8 -0
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +111 -0
- package/dist/esm/src/containers/types/types.d.ts +30 -0
- package/dist/esm/src/helpers/constants.d.ts +6 -3
- package/dist/esm/src/icons/CaretDown.d.ts +1 -1
- package/dist/esm/src/icons/Check.d.ts +1 -1
- package/dist/esm/src/icons/Close.d.ts +1 -1
- package/dist/esm/src/icons/Filter.d.ts +2 -2
- package/dist/esm/src/icons/Hide.d.ts +1 -1
- package/dist/esm/src/icons/Mail.d.ts +1 -1
- package/dist/esm/src/icons/Minus.d.ts +2 -2
- package/dist/esm/src/icons/Mobile.d.ts +2 -2
- package/dist/esm/src/icons/Play.d.ts +1 -1
- package/dist/esm/src/icons/Search.d.ts +1 -1
- package/dist/esm/src/icons/View.d.ts +2 -2
- package/dist/esm/src/icons/Warning.d.ts +1 -1
- package/dist/esm/src/index.d.ts +1 -0
- package/dist/esm/src/molecules/Columns/styles.d.ts +2 -11
- package/dist/esm/src/molecules/Image/Image.d.ts +2 -3
- package/dist/esm/src/molecules/TabGroup/TabGroup.d.ts +10 -4
- package/dist/esm/src/molecules/TabGroup/TabGroup.stories.d.ts +2 -1
- package/dist/esm/src/molecules/TabGroup/styles.d.ts +9 -5
- 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 +14 -0
- package/dist/esm/src/molecules/Video/Video.stories.d.ts +9 -0
- package/dist/esm/src/molecules/index.d.ts +3 -0
- package/dist/esm/src/theme/types.d.ts +3 -2
- package/dist/esm/src/typescript.d.ts +4 -0
- package/dist/index.d.ts +236 -52
- package/package.json +1 -1
- package/dist/cjs/src/atoms/Video/Video.d.ts +0 -11
- package/dist/cjs/src/atoms/Video/Video.stories.d.ts +0 -9
- package/dist/esm/src/atoms/Video/Video.d.ts +0 -11
- package/dist/esm/src/atoms/Video/Video.stories.d.ts +0 -9
@@ -3,7 +3,7 @@ import type { StoryFn } from '@storybook/react';
|
|
3
3
|
import { TextMoleculeProps } from './TextMolecule';
|
4
4
|
declare const _default: {
|
5
5
|
title: string;
|
6
|
-
component: ({ isRichText, text, seoTag, fontVariant, textColor,
|
6
|
+
component: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, }: TextMoleculeProps) => JSX.Element;
|
7
7
|
};
|
8
8
|
export default _default;
|
9
9
|
export declare const TextMolecule: StoryFn<TextMoleculeProps>;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { FeedContentTemplateTypes } from 'organisms/FeedContent/types';
|
3
|
+
import { CSSProperties } from 'styled-components';
|
4
|
+
export declare type VideoProps = {
|
5
|
+
src: string;
|
6
|
+
} & Partial<{
|
7
|
+
width: number;
|
8
|
+
autoplay: boolean;
|
9
|
+
enableCoverImage: boolean;
|
10
|
+
coverImageSrc: string;
|
11
|
+
style: CSSProperties;
|
12
|
+
template: FeedContentTemplateTypes;
|
13
|
+
}>;
|
14
|
+
export declare const Video: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, }: VideoProps) => JSX.Element;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { StoryFn } from '@storybook/react';
|
3
|
+
import { Video as VideoComponent } from './Video';
|
4
|
+
declare const _default: {
|
5
|
+
title: string;
|
6
|
+
component: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, }: import("./Video").VideoProps) => JSX.Element;
|
7
|
+
};
|
8
|
+
export default _default;
|
9
|
+
export declare const Video: StoryFn<typeof VideoComponent>;
|
@@ -21,3 +21,6 @@ export * from './PdfDocument/PdfDocument';
|
|
21
21
|
export * from './FeedContentHeader/FeedContentHeader';
|
22
22
|
export * from './HorizontalButtonsField/HorizontalButtonsField';
|
23
23
|
export * from './BottomNavBarItem/BottomNavBarItem';
|
24
|
+
export * from './Video/Video';
|
25
|
+
export * from './Image/Image';
|
26
|
+
export * from './Caruser/Carousel';
|
@@ -1,7 +1,8 @@
|
|
1
|
-
export declare type ThemeColors = 'primary' | 'secondary' | '
|
1
|
+
export declare type ThemeColors = 'primary' | 'secondary' | 'pink' | 'pinkTint' | 'pinkShade' | 'orange' | 'orangeTint' | 'orangeShade' | 'purple' | 'purpleTint' | 'purpleShade' | 'indigo' | 'indigoTint1' | 'indigoTint2' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'green' | 'greenTint' | 'greenShade' | 'yellow' | 'yellowTint' | 'yellowShade' | 'red' | 'redTint' | 'redShade' | 'black' | 'white' | 'blue' | 'blueTint' | 'blueShade' | 'background';
|
2
2
|
export declare type SizesTypes = '5XL' | '4XL' | '3XL' | '2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
|
3
|
-
export declare type FontSizesTypes = Exclude<SizesTypes, '
|
3
|
+
export declare type FontSizesTypes = Exclude<SizesTypes, '5XL' | '4XL'>;
|
4
4
|
export declare type BreakpointSizesTypes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
5
|
+
export declare type FontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
5
6
|
export declare type ThemeColorsType = Record<ThemeColors, string>;
|
6
7
|
export declare type ThemeTextType = Record<FontSizesTypes, {
|
7
8
|
'font-weight': string;
|
@@ -2,3 +2,7 @@ import { DefaultTheme, ThemedCssFunction } from 'styled-components';
|
|
2
2
|
export declare type StylesType = ReturnType<ThemedCssFunction<DefaultTheme>>;
|
3
3
|
export declare type Callback = () => void;
|
4
4
|
export declare type Nullable<T> = T | null;
|
5
|
+
declare type UnionKeys<T> = T extends any ? keyof T : never;
|
6
|
+
declare type StrictUnionHelper<T, TAll> = T extends any ? T & Partial<Record<Exclude<UnionKeys<TAll>, keyof T>, never>> : never;
|
7
|
+
export declare type StrictUnion<T> = StrictUnionHelper<T, T>;
|
8
|
+
export {};
|
package/dist/index.d.ts
CHANGED
@@ -4,21 +4,21 @@ import React__default, { PropsWithChildren, ReactNode, CSSProperties as CSSPrope
|
|
4
4
|
import * as styled_components from 'styled-components';
|
5
5
|
import { CSSProperties, DefaultTheme } from 'styled-components';
|
6
6
|
import { FontSizesTypes as FontSizesTypes$1, ThemeColors as ThemeColors$1, SizesTypes as SizesTypes$1 } from 'theme';
|
7
|
-
import { Callback as Callback$1, StylesType, Nullable } from 'typescript';
|
7
|
+
import { Callback as Callback$1, StylesType, Nullable, StrictUnion } from 'typescript';
|
8
8
|
import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
|
9
9
|
import { InputFieldTypes as InputFieldTypes$1, FieldTypes as FieldTypes$1, UIFields as UIFields$1 } from 'fieldsConfiguration/types';
|
10
10
|
import { FontSizesTypes as FontSizesTypes$2, ThemeColors as ThemeColors$2, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
|
11
|
-
import { FeedContentTemplateTypes as FeedContentTemplateTypes$1, FeedContentProps as FeedContentProps$1 } from 'organisms/FeedContent/types';
|
12
11
|
import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
|
13
12
|
import { WithGoogleMapProps } from 'react-google-maps/lib/withGoogleMap';
|
14
13
|
import { WithScriptjsProps } from 'react-google-maps/lib/withScriptjs';
|
15
14
|
import { TextProps as TextProps$1, IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, InputProps as InputProps$1, CheckBoxProps as CheckBoxProps$1, RegularImageProps as RegularImageProps$1, ButtonProps as ButtonProps$1, TextButtonProps as TextButtonProps$1, AvatarProps as AvatarProps$1, TabProps as TabProps$1, TabTheme as TabTheme$1, RadioButtonsProps as RadioButtonsProps$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1 } from 'atoms';
|
16
|
-
import { MenuItem as MenuItem$1, FieldSectionProps as FieldSectionProps$1, MenuItemsProps as MenuItemsProps$1, InputFieldProps as InputFieldProps$1, TabProps as TabProps$2, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1 } from 'molecules';
|
15
|
+
import { MenuItem as MenuItem$1, FieldSectionProps as FieldSectionProps$1, MenuItemsProps as MenuItemsProps$1, InputFieldProps as InputFieldProps$1, TabProps as TabProps$2, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1, ImageProps as ImageProps$1 } from 'molecules';
|
17
16
|
import { Control, ControllerProps } from 'react-hook-form/dist/types';
|
18
17
|
import { SelectOption as SelectOption$1 } from 'atoms/Select/types';
|
19
18
|
import { ControllerProps as ControllerProps$1, DeepPartial, FieldValues, FormState, Control as Control$1 } from 'react-hook-form';
|
20
19
|
import { DrawerProps as DrawerProps$1 } from '@mui/material';
|
21
20
|
import { ProcessTrackerStatus as ProcessTrackerStatus$1, FilteredFeedContentType as FilteredFeedContentType$1, ConsentProps as ConsentProps$1, HeroSliderProps as HeroSliderProps$1, ProcessTrackerProps as ProcessTrackerProps$1 } from 'organisms';
|
21
|
+
import { FeedContentTemplateTypes as FeedContentTemplateTypes$1, FeedContentProps as FeedContentProps$1 } from 'organisms/FeedContent/types';
|
22
22
|
import { SetPasswordFields, MaxRuleValidation, MinRuleValidation } from 'organisms/SetPasswordForm/types';
|
23
23
|
import { UIFields as UIFields$2 } from 'fieldsConfiguration';
|
24
24
|
import { ConsentProps as ConsentProps$2 } from 'organisms/Consent/Consent';
|
@@ -34,9 +34,12 @@ import { AlertProps as AlertProps$2 } from 'molecules/Alert/Alert';
|
|
34
34
|
import { LoginFields as LoginFields$1 } from 'organisms/LoginForm/types';
|
35
35
|
import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewerContext/types';
|
36
36
|
import * as contexts_MlrRichTextViewerContext_MlrRichTextViewerContext from 'contexts/MlrRichTextViewerContext/MlrRichTextViewerContext';
|
37
|
+
import { ContainerProps as ContainerProps$1, ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1 } from 'containers';
|
38
|
+
import * as containers_types_types from 'containers/types/types';
|
39
|
+
import { ContainerProps as ContainerProps$2 } from 'containers/types/types';
|
37
40
|
export * from 'helpers/constants';
|
38
41
|
|
39
|
-
declare type ButtonVariant = 'primary' | 'secondary' | 'text';
|
42
|
+
declare type ButtonVariant = 'primary' | 'secondary' | 'text' | 'custom';
|
40
43
|
declare type BaseButtonProps = PropsWithChildren<{
|
41
44
|
onClick?: Callback$1;
|
42
45
|
variant?: ButtonVariant;
|
@@ -46,7 +49,8 @@ declare type BaseButtonProps = PropsWithChildren<{
|
|
46
49
|
buttonFont?: FontSizesTypes$1;
|
47
50
|
textColor?: ThemeColors$1 | string;
|
48
51
|
textSize?: number;
|
49
|
-
|
52
|
+
horizontalPadding?: SizesTypes$1;
|
53
|
+
verticalPadding?: SizesTypes$1;
|
50
54
|
buttonColor?: ThemeColors$1 | string;
|
51
55
|
buttonStroke?: ThemeColors$1 | string;
|
52
56
|
cornerRadius?: SizesTypes$1 | number;
|
@@ -55,6 +59,8 @@ declare type BaseButtonProps = PropsWithChildren<{
|
|
55
59
|
inactiveButtonColor?: ThemeColors$1 | string;
|
56
60
|
inactiveStrokeColor?: ThemeColors$1 | string;
|
57
61
|
styles?: StylesType;
|
62
|
+
colorTheme?: 'light' | 'dark';
|
63
|
+
href?: string;
|
58
64
|
}>;
|
59
65
|
declare type ButtonProps = BaseButtonProps & {
|
60
66
|
fullWidth?: boolean;
|
@@ -150,30 +156,32 @@ declare type IconProps = {
|
|
150
156
|
color?: ThemeColors$1 | string;
|
151
157
|
fill?: ThemeColors$1 | string;
|
152
158
|
pointerEvents?: 'auto' | 'none';
|
153
|
-
style?:
|
159
|
+
style?: CSSProperties;
|
154
160
|
};
|
155
161
|
declare const availableIcons: {
|
156
|
-
|
157
|
-
|
162
|
+
ArrowRight: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
163
|
+
Bell: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
164
|
+
Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
165
|
+
CaretDown: ({ color, size, }: Omit<IconProps, "name">) => JSX.Element;
|
158
166
|
CaretLeft: ({ color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
159
167
|
CaretRight: ({ color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
160
|
-
|
161
|
-
Check: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
162
|
-
|
163
|
-
|
168
|
+
CaretUp: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
169
|
+
Check: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
170
|
+
Close: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
171
|
+
Edit: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
172
|
+
Filter: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
164
173
|
Hide: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
165
|
-
|
166
|
-
Play: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
167
|
-
Minus: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
174
|
+
Info: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
168
175
|
InfoBoxIcon: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
169
|
-
Warning: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
170
|
-
Bell: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
171
|
-
Mobile: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
172
176
|
Mail: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
173
177
|
Menu: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
178
|
+
Minus: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
179
|
+
Mobile: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
180
|
+
Play: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
181
|
+
Save: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
174
182
|
Search: ({ size, color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
175
|
-
|
176
|
-
|
183
|
+
View: ({ color, size, }: Omit<IconProps, "name">) => JSX.Element;
|
184
|
+
Warning: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
177
185
|
};
|
178
186
|
declare type IconNames = keyof typeof availableIcons;
|
179
187
|
declare const Icon: ({ name, color, ...props }: IconProps) => JSX.Element;
|
@@ -195,29 +203,20 @@ declare type RegularImageProps = {
|
|
195
203
|
alt?: string;
|
196
204
|
width?: number | string;
|
197
205
|
height?: number | string;
|
198
|
-
styles?: StylesType;
|
199
206
|
onClick?: Callback$1;
|
200
207
|
cornerRadius?: number;
|
201
208
|
};
|
202
209
|
declare const RegularImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, RegularImageProps, never>;
|
203
210
|
declare const BackgroundImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, RegularImageProps, never>;
|
204
211
|
|
205
|
-
declare type TextButtonProps = Pick<BaseButtonProps, 'disabled' | 'onClick' | 'children' | '
|
212
|
+
declare type TextButtonProps = Pick<BaseButtonProps, 'disabled' | 'onClick' | 'children' | 'colorTheme' | 'size'> & {
|
206
213
|
buttonLink?: string;
|
207
214
|
elementId?: string;
|
208
215
|
};
|
209
|
-
declare const TextButton: styled_components.StyledComponent<"
|
210
|
-
activeOpacity?: number | undefined;
|
211
|
-
withoutOpacityEffect?: boolean | undefined;
|
212
|
-
disabled?: boolean | undefined;
|
213
|
-
} & {
|
214
|
-
children?: React$1.ReactNode;
|
215
|
-
} & {
|
216
|
-
withoutOpacityEffect: boolean;
|
217
|
-
} & Pick<BaseButtonProps, "disabled" | "onClick" | "textSize" | "textColor" | "styles" | "children" | "buttonPadding" | "buttonFont"> & {
|
216
|
+
declare const TextButton: styled_components.StyledComponent<"a", styled_components.DefaultTheme, Pick<BaseButtonProps, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & {
|
218
217
|
buttonLink?: string | undefined;
|
219
218
|
elementId?: string | undefined;
|
220
|
-
},
|
219
|
+
}, never>;
|
221
220
|
|
222
221
|
declare type ValidationTagStatus = 'DEFAULT' | 'ERROR' | 'SUCCESS';
|
223
222
|
declare type ValidationTagProps = {
|
@@ -226,15 +225,6 @@ declare type ValidationTagProps = {
|
|
226
225
|
};
|
227
226
|
declare const ValidationTag: ({ text, status }: ValidationTagProps) => JSX.Element;
|
228
227
|
|
229
|
-
declare type VideoProps = {
|
230
|
-
src: string;
|
231
|
-
style?: CSSProperties;
|
232
|
-
template?: FeedContentTemplateTypes$1;
|
233
|
-
autoplay?: boolean;
|
234
|
-
coverImage?: string;
|
235
|
-
};
|
236
|
-
declare const Video: ({ style, src, template, autoplay, coverImage }: VideoProps) => JSX.Element;
|
237
|
-
|
238
228
|
declare type TooltipProps = Pick<TooltipProps$1, 'overlay' | 'placement' | 'trigger' | 'visible' | 'children'>;
|
239
229
|
declare const StyleWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
240
230
|
declare const Tooltip: ({ trigger, placement, ...props }: TooltipProps) => JSX.Element;
|
@@ -267,7 +257,7 @@ declare type AvatarProps = {
|
|
267
257
|
backgroundColor?: ThemeColors$1;
|
268
258
|
textConfig?: {
|
269
259
|
color?: ThemeColors$1;
|
270
|
-
font?:
|
260
|
+
font?: FontSizesTypes$1;
|
271
261
|
};
|
272
262
|
content: {
|
273
263
|
initials?: string;
|
@@ -384,12 +374,12 @@ declare type TabProps<T = string, K = string> = {
|
|
384
374
|
tabFont: FontSizesTypes$1;
|
385
375
|
textSize: number;
|
386
376
|
tabPadding: SizesTypes$1 | number;
|
387
|
-
|
377
|
+
defaultTabTextColor: ThemeColors$1 | string;
|
388
378
|
selectedTabTextColor: ThemeColors$1 | string;
|
389
379
|
selectedTabIndicatorColor: ThemeColors$1 | string;
|
390
380
|
styles: StylesType;
|
391
381
|
}>;
|
392
|
-
declare const ZealTab: <T extends string, K extends string>({ options, onClick, text, tabKey, vertical, onOptionClick, tabTheme, tabFont, tabPadding, selectedTabIndicatorColor, textSize,
|
382
|
+
declare const ZealTab: <T extends string, K extends string>({ options, onClick, text, tabKey, vertical, onOptionClick, tabTheme, tabFont, tabPadding, selectedTabIndicatorColor, textSize, defaultTabTextColor, ...tabProps }: TabProps<T, K>, ref: React__default.ForwardedRef<TabElement>) => JSX.Element;
|
393
383
|
declare const Tab: <T, K>(props: {
|
394
384
|
tabKey: T;
|
395
385
|
text: string;
|
@@ -405,7 +395,7 @@ declare const Tab: <T, K>(props: {
|
|
405
395
|
tabFont: FontSizesTypes$1;
|
406
396
|
textSize: number;
|
407
397
|
tabPadding: SizesTypes$1 | number;
|
408
|
-
|
398
|
+
defaultTabTextColor: ThemeColors$1 | string;
|
409
399
|
selectedTabTextColor: ThemeColors$1 | string;
|
410
400
|
selectedTabIndicatorColor: ThemeColors$1 | string;
|
411
401
|
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
@@ -600,6 +590,10 @@ declare type AvatarDropdownProps<T> = {
|
|
600
590
|
declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
|
601
591
|
|
602
592
|
declare type TabType<T = string, K = string> = Pick<TabProps$1<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>;
|
593
|
+
declare type AdditionalTabContainerProps = {
|
594
|
+
containerStyle?: CSSProperties;
|
595
|
+
containerProps?: Record<string, unknown>;
|
596
|
+
};
|
603
597
|
declare type TabGroupProps<T = string, K = string> = {
|
604
598
|
tabs: TabType<T, K>[];
|
605
599
|
activeTabKey: T;
|
@@ -612,13 +606,13 @@ declare type TabGroupProps<T = string, K = string> = {
|
|
612
606
|
textSize?: number;
|
613
607
|
tabPadding?: SizesTypes$2 | number;
|
614
608
|
tabSpacing?: SizesTypes$2;
|
615
|
-
|
609
|
+
defaultTabTextColor?: ThemeColors$2 | string;
|
616
610
|
selectedTabTextColor?: ThemeColors$2 | string;
|
617
611
|
selectedTabIndicatorColor?: ThemeColors$2 | string;
|
618
|
-
|
619
|
-
|
612
|
+
wide?: AdditionalTabContainerProps;
|
613
|
+
compact?: AdditionalTabContainerProps;
|
620
614
|
};
|
621
|
-
declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme,
|
615
|
+
declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, ...props }: TabGroupProps<T, K>) => JSX.Element;
|
622
616
|
|
623
617
|
declare type FieldSectionProps<T extends object> = {
|
624
618
|
label: string;
|
@@ -731,6 +725,46 @@ declare type BottomNaVBarItemProps = {
|
|
731
725
|
};
|
732
726
|
declare const BottomNavBarItem: ({ name, icon: IconComponent, active, activeColor, onNavigate, }: BottomNaVBarItemProps) => JSX.Element;
|
733
727
|
|
728
|
+
declare type VideoProps = {
|
729
|
+
src: string;
|
730
|
+
} & Partial<{
|
731
|
+
width: number;
|
732
|
+
autoplay: boolean;
|
733
|
+
enableCoverImage: boolean;
|
734
|
+
coverImageSrc: string;
|
735
|
+
style: CSSProperties;
|
736
|
+
template: FeedContentTemplateTypes$1;
|
737
|
+
}>;
|
738
|
+
declare const Video: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, }: VideoProps) => JSX.Element;
|
739
|
+
|
740
|
+
declare type ImageProps = {
|
741
|
+
src: string;
|
742
|
+
} & Partial<{
|
743
|
+
altText: string;
|
744
|
+
link: string;
|
745
|
+
width: number;
|
746
|
+
height: number;
|
747
|
+
cornerRadius: number;
|
748
|
+
behaveAs: 'background' | 'regular';
|
749
|
+
styles: CSSProperties$1;
|
750
|
+
}>;
|
751
|
+
declare const Image: ({ src, link, altText, styles, width, height, behaveAs, cornerRadius, }: ImageProps) => JSX.Element;
|
752
|
+
|
753
|
+
declare type CarouselProps = {
|
754
|
+
children: JSX.Element[];
|
755
|
+
};
|
756
|
+
declare const Carousel: ({ children }: PropsWithChildren<CarouselProps>) => JSX.Element;
|
757
|
+
declare const Wrapper: styled_components.StyledComponent<"section", styled_components.DefaultTheme, {}, never>;
|
758
|
+
declare const SlidesWrapper: styled_components.StyledComponent<"ul", styled_components.DefaultTheme, {
|
759
|
+
translateX: number;
|
760
|
+
}, never>;
|
761
|
+
declare const Slide: styled_components.StyledComponent<"li", styled_components.DefaultTheme, {}, never>;
|
762
|
+
declare const ButtonsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
763
|
+
declare const ArrowIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
764
|
+
arrowSide: 'left' | 'right';
|
765
|
+
}, never>;
|
766
|
+
declare const NavigationDotsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
767
|
+
|
734
768
|
declare type SetPasswordRuleValidation = {
|
735
769
|
label: string;
|
736
770
|
rule: MaxRuleValidation | MinRuleValidation;
|
@@ -1055,10 +1089,11 @@ declare const ZealThemeProvider: (props: PropsWithChildren<{
|
|
1055
1089
|
theme?: DefaultTheme;
|
1056
1090
|
}>) => JSX.Element;
|
1057
1091
|
|
1058
|
-
declare type ThemeColors = 'primary' | 'secondary' | '
|
1092
|
+
declare type ThemeColors = 'primary' | 'secondary' | 'pink' | 'pinkTint' | 'pinkShade' | 'orange' | 'orangeTint' | 'orangeShade' | 'purple' | 'purpleTint' | 'purpleShade' | 'indigo' | 'indigoTint1' | 'indigoTint2' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'green' | 'greenTint' | 'greenShade' | 'yellow' | 'yellowTint' | 'yellowShade' | 'red' | 'redTint' | 'redShade' | 'black' | 'white' | 'blue' | 'blueTint' | 'blueShade' | 'background';
|
1059
1093
|
declare type SizesTypes = '5XL' | '4XL' | '3XL' | '2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
|
1060
|
-
declare type FontSizesTypes = Exclude<SizesTypes, '
|
1094
|
+
declare type FontSizesTypes = Exclude<SizesTypes, '5XL' | '4XL'>;
|
1061
1095
|
declare type BreakpointSizesTypes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
1096
|
+
declare type FontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
1062
1097
|
declare type ThemeColorsType = Record<ThemeColors, string>;
|
1063
1098
|
declare type ThemeTextType = Record<FontSizesTypes, {
|
1064
1099
|
'font-weight': string;
|
@@ -1106,4 +1141,153 @@ declare type AnnotationsList = {
|
|
1106
1141
|
|
1107
1142
|
declare const useMlrRichTextViewerContext: () => contexts_MlrRichTextViewerContext_MlrRichTextViewerContext.MlrRichTextViewerContextType;
|
1108
1143
|
|
1109
|
-
|
1144
|
+
declare const Container: ({ children, wide, compact, type, ...props }: ContainerProps$1) => JSX.Element;
|
1145
|
+
declare const ContainerComponent: ({ type, items, config }: ContainerComponentProps$1) => JSX.Element | null;
|
1146
|
+
|
1147
|
+
declare type ImageAttributes = {
|
1148
|
+
attributeType: 'image';
|
1149
|
+
imageSource: string;
|
1150
|
+
};
|
1151
|
+
interface TextAttributes {
|
1152
|
+
attributeType: 'text';
|
1153
|
+
text: string;
|
1154
|
+
}
|
1155
|
+
interface VideoAttributes {
|
1156
|
+
attributeType: 'video';
|
1157
|
+
videoSource: string;
|
1158
|
+
}
|
1159
|
+
interface LinkAttributes {
|
1160
|
+
attributeType: 'link';
|
1161
|
+
id: string;
|
1162
|
+
type: 'internalLink' | 'externalLink';
|
1163
|
+
internalLink: Nullable<string>;
|
1164
|
+
externalLink: Nullable<string>;
|
1165
|
+
name: string;
|
1166
|
+
}
|
1167
|
+
interface SelectAttributes {
|
1168
|
+
attributeType: 'select';
|
1169
|
+
value: string;
|
1170
|
+
options: SelectOption$1[];
|
1171
|
+
}
|
1172
|
+
interface BooleanAttributes {
|
1173
|
+
attributeType: 'boolean';
|
1174
|
+
value: boolean;
|
1175
|
+
}
|
1176
|
+
declare type MoleculeTypes = 'image' | 'text' | 'button' | 'video' | 'header-tab-group';
|
1177
|
+
interface BaseMolecule {
|
1178
|
+
id: string;
|
1179
|
+
instance: 'molecule';
|
1180
|
+
type: MoleculeTypes;
|
1181
|
+
}
|
1182
|
+
interface ImageMolecule extends BaseMolecule {
|
1183
|
+
type: 'image';
|
1184
|
+
attributes: {
|
1185
|
+
image: ImageAttributes;
|
1186
|
+
altText: TextAttributes;
|
1187
|
+
link: LinkAttributes;
|
1188
|
+
};
|
1189
|
+
config: {
|
1190
|
+
props: Omit<ImageProps$1, 'src' | 'link' | 'altText'>;
|
1191
|
+
};
|
1192
|
+
}
|
1193
|
+
interface TextMolecule extends BaseMolecule {
|
1194
|
+
type: 'text';
|
1195
|
+
attributes: {
|
1196
|
+
text: TextAttributes;
|
1197
|
+
seoStyle: SelectAttributes;
|
1198
|
+
};
|
1199
|
+
config: {
|
1200
|
+
props: {
|
1201
|
+
fontVariant: FontSizesTypes$1;
|
1202
|
+
textSize: number;
|
1203
|
+
textColor: ThemeColors$1 | string;
|
1204
|
+
letterSpacing: number;
|
1205
|
+
lineHeight: number;
|
1206
|
+
isRichText: boolean;
|
1207
|
+
styles: CSSProperties;
|
1208
|
+
};
|
1209
|
+
};
|
1210
|
+
}
|
1211
|
+
interface ButtonMolecule extends BaseMolecule {
|
1212
|
+
type: 'button';
|
1213
|
+
attributes: {
|
1214
|
+
title: TextAttributes;
|
1215
|
+
buttonLink: LinkAttributes;
|
1216
|
+
};
|
1217
|
+
config: {
|
1218
|
+
props: Omit<ButtonProps$1, 'disabled' | 'children' | 'link' | 'text' | 'onClick' | 'elementId'>;
|
1219
|
+
};
|
1220
|
+
}
|
1221
|
+
interface VideoMolecule extends BaseMolecule {
|
1222
|
+
type: 'video';
|
1223
|
+
attributes: {
|
1224
|
+
video: VideoAttributes;
|
1225
|
+
altText: TextAttributes;
|
1226
|
+
autoPlayVideo: BooleanAttributes;
|
1227
|
+
enableCoverImage: BooleanAttributes;
|
1228
|
+
coverImage: ImageAttributes;
|
1229
|
+
};
|
1230
|
+
config: {
|
1231
|
+
props: {
|
1232
|
+
width: number;
|
1233
|
+
styles: CSSProperties;
|
1234
|
+
};
|
1235
|
+
};
|
1236
|
+
}
|
1237
|
+
interface TabGroupMolecule extends BaseMolecule {
|
1238
|
+
type: 'header-tab-group';
|
1239
|
+
config: {
|
1240
|
+
props: TabGroupProps$1;
|
1241
|
+
wide: {
|
1242
|
+
containerStyle?: CSSProperties;
|
1243
|
+
containerProps?: Record<string, unknown>;
|
1244
|
+
};
|
1245
|
+
compact: {
|
1246
|
+
containerStyle?: CSSProperties;
|
1247
|
+
containerProps?: Record<string, unknown>;
|
1248
|
+
};
|
1249
|
+
};
|
1250
|
+
}
|
1251
|
+
declare type Molecule = StrictUnion<ImageMolecule | TextMolecule | ButtonMolecule | VideoMolecule | TabGroupMolecule>;
|
1252
|
+
|
1253
|
+
declare type ContainerType = 'row' | 'column' | 'slider';
|
1254
|
+
declare type ContainerPositionType = 'fixed' | 'sticky' | 'static';
|
1255
|
+
declare type ContainerScrollBehaviourType = 'vertical' | 'horizontal' | 'auto' | 'none';
|
1256
|
+
declare type ContainerPropsType = Partial<{
|
1257
|
+
position: ContainerPositionType;
|
1258
|
+
scrollBehaviour: ContainerScrollBehaviourType;
|
1259
|
+
cornerRadius: number;
|
1260
|
+
}>;
|
1261
|
+
declare type AdditionalContainerProps = Partial<{
|
1262
|
+
containerStyle: CSSProperties;
|
1263
|
+
containerProps: ContainerPropsType;
|
1264
|
+
}>;
|
1265
|
+
declare type ContainerProps = PropsWithChildren<Partial<{
|
1266
|
+
type: ContainerType;
|
1267
|
+
wide: AdditionalContainerProps;
|
1268
|
+
compact: AdditionalContainerProps;
|
1269
|
+
}>>;
|
1270
|
+
declare type ContainerComponentProps = {
|
1271
|
+
id: string;
|
1272
|
+
instance: 'container';
|
1273
|
+
type: ContainerType;
|
1274
|
+
config: {
|
1275
|
+
wide: AdditionalContainerProps;
|
1276
|
+
compact: AdditionalContainerProps;
|
1277
|
+
};
|
1278
|
+
items: (ContainerComponentProps | Molecule)[];
|
1279
|
+
};
|
1280
|
+
|
1281
|
+
declare const ContainerWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, Pick<ContainerProps$2, "type"> & {
|
1282
|
+
containerProps?: Partial<{
|
1283
|
+
position: containers_types_types.ContainerPositionType;
|
1284
|
+
scrollBehaviour: containers_types_types.ContainerScrollBehaviourType;
|
1285
|
+
cornerRadius: number;
|
1286
|
+
}> | undefined;
|
1287
|
+
}, never>;
|
1288
|
+
|
1289
|
+
declare const OrganismItem: ({ item }: {
|
1290
|
+
item: ContainerComponentProps$1 | Molecule$1;
|
1291
|
+
}) => JSX.Element | null;
|
1292
|
+
|
1293
|
+
export { AcquisitionForm, AcquisitionFormProps, AdditionalContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonMolecule, ButtonProps, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, Circle, CircleBoxProps, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, Container, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerType, ContainerWrapper, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, LinkAttributes, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismItem, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldProps, RadioButtonType, RadioButtons, RadioButtonsProps, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, Select, SelectAttributes, SelectField, SelectFieldProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Slide, SlidesWrapper, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextMolecule, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, Wrapper, ZealTheme, ZealThemeProvider, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|
package/package.json
CHANGED
@@ -1,11 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { FeedContentTemplateTypes } from 'organisms/FeedContent/types';
|
3
|
-
import { CSSProperties } from 'styled-components';
|
4
|
-
export declare type VideoProps = {
|
5
|
-
src: string;
|
6
|
-
style?: CSSProperties;
|
7
|
-
template?: FeedContentTemplateTypes;
|
8
|
-
autoplay?: boolean;
|
9
|
-
coverImage?: string;
|
10
|
-
};
|
11
|
-
export declare const Video: ({ style, src, template, autoplay, coverImage }: VideoProps) => JSX.Element;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { ComponentStory } from '@storybook/react';
|
3
|
-
import { Video as VideoComponent } from './Video';
|
4
|
-
declare const _default: {
|
5
|
-
title: string;
|
6
|
-
component: ({ style, src, template, autoplay, coverImage }: import("./Video").VideoProps) => JSX.Element;
|
7
|
-
};
|
8
|
-
export default _default;
|
9
|
-
export declare const Video: ComponentStory<typeof VideoComponent>;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { FeedContentTemplateTypes } from 'organisms/FeedContent/types';
|
3
|
-
import { CSSProperties } from 'styled-components';
|
4
|
-
export declare type VideoProps = {
|
5
|
-
src: string;
|
6
|
-
style?: CSSProperties;
|
7
|
-
template?: FeedContentTemplateTypes;
|
8
|
-
autoplay?: boolean;
|
9
|
-
coverImage?: string;
|
10
|
-
};
|
11
|
-
export declare const Video: ({ style, src, template, autoplay, coverImage }: VideoProps) => JSX.Element;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { ComponentStory } from '@storybook/react';
|
3
|
-
import { Video as VideoComponent } from './Video';
|
4
|
-
declare const _default: {
|
5
|
-
title: string;
|
6
|
-
component: ({ style, src, template, autoplay, coverImage }: import("./Video").VideoProps) => JSX.Element;
|
7
|
-
};
|
8
|
-
export default _default;
|
9
|
-
export declare const Video: ComponentStory<typeof VideoComponent>;
|