@zealicsolutions/web-ui 0.2.84 → 0.2.85

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,11 +1,32 @@
1
+ import { CSSProperties } from 'styled-components';
1
2
  import type { Callback } from 'typescript';
2
3
  export declare type RegularImageProps = {
3
4
  src: string;
4
- alt?: string;
5
- width?: number | string;
6
- height?: number | string;
7
- onClick?: Callback;
8
- cornerRadius?: number;
9
- };
10
- export declare const RegularImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, RegularImageProps, never>;
11
- export declare const BackgroundImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, RegularImageProps, never>;
5
+ } & Partial<{
6
+ alt: string;
7
+ style: CSSProperties;
8
+ width: number | string;
9
+ height: number | string;
10
+ onClick: Callback;
11
+ cornerRadius: number;
12
+ }>;
13
+ export declare const RegularImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
14
+ src: string;
15
+ } & Partial<{
16
+ alt: string;
17
+ style: CSSProperties;
18
+ width: number | string;
19
+ height: number | string;
20
+ onClick: Callback;
21
+ cornerRadius: number;
22
+ }>, never>;
23
+ export declare const BackgroundImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
24
+ src: string;
25
+ } & Partial<{
26
+ alt: string;
27
+ style: CSSProperties;
28
+ width: number | string;
29
+ height: number | string;
30
+ onClick: Callback;
31
+ cornerRadius: number;
32
+ }>, never>;
@@ -2,7 +2,16 @@ import type { ComponentStory } from '@storybook/react';
2
2
  import { RegularImage as RegularImageComponent } from './RegularImage';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, import("./RegularImage").RegularImageProps, never>;
5
+ component: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
6
+ src: string;
7
+ } & Partial<{
8
+ alt: string;
9
+ style: import("styled-components").CSSProperties;
10
+ width: string | number;
11
+ height: string | number;
12
+ onClick: import("../../typescript").Callback;
13
+ cornerRadius: number;
14
+ }>, never>;
6
15
  };
7
16
  export default _default;
8
17
  export declare const RegularImage: ComponentStory<typeof RegularImageComponent>;
@@ -2,4 +2,13 @@
2
2
  import { BaseColumnProps } from './types';
3
3
  export declare const Column: ({ item }: BaseColumnProps) => JSX.Element;
4
4
  export declare const ImageContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
- export declare const ColumnImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, import("atoms").RegularImageProps, never>;
5
+ export declare const ColumnImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
6
+ src: string;
7
+ } & Partial<{
8
+ alt: string;
9
+ style: import("styled-components").CSSProperties;
10
+ width: string | number;
11
+ height: string | number;
12
+ onClick: import("../../typescript").Callback;
13
+ cornerRadius: number;
14
+ }>, never>;
@@ -12,5 +12,14 @@ export declare const ColumnCardWrapper: import("styled-components").StyledCompon
12
12
  export declare const ColumnImageWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
13
13
  isMobile: boolean;
14
14
  }, never>;
15
- export declare const ColumnBackgroundImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, import("atoms").RegularImageProps, never>;
15
+ export declare const ColumnBackgroundImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
16
+ src: string;
17
+ } & Partial<{
18
+ alt: string;
19
+ style: import("styled-components").CSSProperties;
20
+ width: string | number;
21
+ height: string | number;
22
+ onClick: import("../../typescript").Callback;
23
+ cornerRadius: number;
24
+ }>, never>;
16
25
  export declare const ColumnBackgroundImageOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,7 +1,16 @@
1
1
  export declare const Wrapper: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {
2
2
  isMobile?: boolean | undefined;
3
3
  }, never>;
4
- export declare const FooterImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, import("atoms").RegularImageProps, never>;
4
+ export declare const FooterImage: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
5
+ src: string;
6
+ } & Partial<{
7
+ alt: string;
8
+ style: import("styled-components").CSSProperties;
9
+ width: string | number;
10
+ height: string | number;
11
+ onClick: import("../../typescript").Callback;
12
+ cornerRadius: number;
13
+ }>, never>;
5
14
  export declare const ContactInfoWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
15
  export declare const FooterContentWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7
16
  isMobile?: boolean | undefined;
package/dist/index.d.ts CHANGED
@@ -200,14 +200,34 @@ declare const Spinner: styled_components.StyledComponent<"div", styled_component
200
200
 
201
201
  declare type RegularImageProps = {
202
202
  src: string;
203
- alt?: string;
204
- width?: number | string;
205
- height?: number | string;
206
- onClick?: Callback$1;
207
- cornerRadius?: number;
208
- };
209
- declare const RegularImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, RegularImageProps, never>;
210
- declare const BackgroundImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, RegularImageProps, never>;
203
+ } & Partial<{
204
+ alt: string;
205
+ style: CSSProperties;
206
+ width: number | string;
207
+ height: number | string;
208
+ onClick: Callback$1;
209
+ cornerRadius: number;
210
+ }>;
211
+ declare const RegularImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, {
212
+ src: string;
213
+ } & Partial<{
214
+ alt: string;
215
+ style: CSSProperties;
216
+ width: number | string;
217
+ height: number | string;
218
+ onClick: Callback$1;
219
+ cornerRadius: number;
220
+ }>, never>;
221
+ declare const BackgroundImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, {
222
+ src: string;
223
+ } & Partial<{
224
+ alt: string;
225
+ style: CSSProperties;
226
+ width: number | string;
227
+ height: number | string;
228
+ onClick: Callback$1;
229
+ cornerRadius: number;
230
+ }>, never>;
211
231
 
212
232
  declare type TextButtonProps = Pick<BaseButtonProps, 'disabled' | 'onClick' | 'children' | 'colorTheme' | 'size'> & {
213
233
  buttonLink?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.2.84",
3
+ "version": "0.2.85",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"