@zealicsolutions/web-ui 0.3.31 → 0.3.32

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.
@@ -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 { CSSProperties } from 'styled-components';
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: CSSProperties;
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>;