@zealicsolutions/web-ui 0.3.31 → 0.3.32
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/containers/types/moleculeTypes.d.ts +2 -3
- 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 +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +2 -3
- 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 +3 -2
- package/package.json +1 -1
@@ -1,8 +1,7 @@
|
|
1
1
|
import { SelectOption } from 'atoms';
|
2
2
|
import { AdditionalTabContainerProps, ButtonProps, CheckboxFieldProps, Consent, ImageProps, InputFieldProps, RadioButtonFieldProps, SelectFieldProps, TabGroupProps, TextMoleculeProps } from 'molecules';
|
3
3
|
import { UseFormReturn } from 'react-hook-form';
|
4
|
-
import {
|
5
|
-
import type { AnyObject, Nullable, StrictUnion } from 'typescript';
|
4
|
+
import type { AnyObject, Nullable, StrictUnion, StylesType } from 'typescript';
|
6
5
|
import { ConditionConfig, ContainerComponentProps } from './types';
|
7
6
|
export declare type ActionTypes = 'link' | 'popup' | 'drawer' | 'download' | 'submit' | 'reset' | 'destroy';
|
8
7
|
export declare type DownloadFile = {
|
@@ -133,7 +132,7 @@ export interface VideoMolecule extends BaseMolecule {
|
|
133
132
|
config: {
|
134
133
|
props: Partial<{
|
135
134
|
width: number;
|
136
|
-
styles:
|
135
|
+
styles: StylesType;
|
137
136
|
}>;
|
138
137
|
};
|
139
138
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { FeedContentTemplateTypes } from 'organisms/FeedContent/types';
|
3
3
|
import { CSSProperties } from 'styled-components';
|
4
|
+
import { StylesType } from 'typescript';
|
4
5
|
export declare type VideoProps = {
|
5
6
|
src: string;
|
6
7
|
} & Partial<{
|
@@ -9,6 +10,7 @@ export declare type VideoProps = {
|
|
9
10
|
enableCoverImage: boolean;
|
10
11
|
coverImageSrc: string;
|
11
12
|
style: CSSProperties;
|
13
|
+
styles: StylesType;
|
12
14
|
template: FeedContentTemplateTypes;
|
13
15
|
}>;
|
14
|
-
export declare const Video: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, }: VideoProps) => JSX.Element | null;
|
16
|
+
export declare const Video: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, styles, }: VideoProps) => JSX.Element | null;
|
@@ -3,7 +3,7 @@ import type { StoryFn } from '@storybook/react';
|
|
3
3
|
import { Video as VideoComponent } from './Video';
|
4
4
|
declare const _default: {
|
5
5
|
title: string;
|
6
|
-
component: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, }: import("./Video").VideoProps) => JSX.Element | null;
|
6
|
+
component: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, styles, }: import("./Video").VideoProps) => JSX.Element | null;
|
7
7
|
};
|
8
8
|
export default _default;
|
9
9
|
export declare const Video: StoryFn<typeof VideoComponent>;
|