@zealicsolutions/web-ui 0.3.30 → 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>;
package/dist/index.d.ts CHANGED
@@ -1302,9 +1302,10 @@ declare type VideoProps = {
1302
1302
  enableCoverImage: boolean;
1303
1303
  coverImageSrc: string;
1304
1304
  style: CSSProperties;
1305
+ styles: StylesType;
1305
1306
  template: FeedContentTemplateTypes$1;
1306
1307
  }>;
1307
- declare const Video: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, }: VideoProps) => JSX.Element | null;
1308
+ declare const Video: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, styles, }: VideoProps) => JSX.Element | null;
1308
1309
 
1309
1310
  declare type ImageProps = {
1310
1311
  src: string;
@@ -1600,7 +1601,7 @@ interface VideoMolecule extends BaseMolecule {
1600
1601
  config: {
1601
1602
  props: Partial<{
1602
1603
  width: number;
1603
- styles: CSSProperties;
1604
+ styles: StylesType;
1604
1605
  }>;
1605
1606
  };
1606
1607
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.3.30",
3
+ "version": "0.3.32",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"