@zealicsolutions/web-ui 0.3.54 → 0.3.56
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/molecules/InputField/InputField.d.ts +0 -4
- package/dist/cjs/src/molecules/Video/Video.d.ts +2 -1
- package/dist/cjs/src/molecules/Video/Video.stories.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/molecules/InputField/InputField.d.ts +0 -4
- package/dist/esm/src/molecules/Video/Video.d.ts +2 -1
- package/dist/esm/src/molecules/Video/Video.stories.d.ts +1 -1
- package/dist/index.d.ts +4 -5
- package/package.json +1 -1
@@ -1,7 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { InputProps } from 'atoms';
|
3
3
|
import { ConditionConfig, FormStateType } from 'containers';
|
4
|
-
import { InputFieldTypes } from 'fieldsConfiguration';
|
5
4
|
import { Control, ControllerProps } from 'react-hook-form/dist/types';
|
6
5
|
import type { AnyObject, StylesType } from 'typescript';
|
7
6
|
import { FieldLabelsProps } from '../FieldLabels/FieldLabels';
|
@@ -19,7 +18,4 @@ export declare type InputFieldProps = Partial<{
|
|
19
18
|
state: FormStateType;
|
20
19
|
formData: AnyObject;
|
21
20
|
}>;
|
22
|
-
declare type ReturnValueType = Record<FormStateType, string>;
|
23
|
-
export declare const getMockValueForSuccessState: (type: InputFieldTypes) => ReturnValueType;
|
24
21
|
export declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, }: InputFieldProps) => JSX.Element | null;
|
25
|
-
export {};
|
@@ -6,6 +6,7 @@ export declare type VideoProps = {
|
|
6
6
|
src: string;
|
7
7
|
} & Partial<{
|
8
8
|
width: number;
|
9
|
+
height: number;
|
9
10
|
autoplay: boolean;
|
10
11
|
enableCoverImage: boolean;
|
11
12
|
coverImageSrc: string;
|
@@ -13,4 +14,4 @@ export declare type VideoProps = {
|
|
13
14
|
styles: StylesType;
|
14
15
|
template: FeedContentTemplateTypes;
|
15
16
|
}>;
|
16
|
-
export declare const Video: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, styles, }: VideoProps) => JSX.Element | null;
|
17
|
+
export declare const Video: ({ style, src, width, height, 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, styles, }: import("./Video").VideoProps) => JSX.Element | null;
|
6
|
+
component: ({ style, src, width, height, 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>;
|