@zealicsolutions/web-ui 0.2.95 → 0.2.96

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,64 +1,3 @@
1
- import { ButtonMolecule, ContainerComponentProps, TabGroupMolecule } from 'containers';
1
+ import { ContainerComponentProps } from 'containers';
2
2
  export declare const formContainerProps: ContainerComponentProps;
3
- export declare const columnContainerProps: {
4
- id: string;
5
- instance: string;
6
- type: string;
7
- config: {
8
- wide: {
9
- containerProps: {
10
- position: string;
11
- scrollBehaviour: string;
12
- cornerRadius: number;
13
- };
14
- containerStyle: {
15
- gap: number;
16
- padding: number;
17
- backgroundColor: string;
18
- };
19
- };
20
- compact: {
21
- containerProps: {};
22
- containerStyle: {
23
- flexDirection: string;
24
- gap: number;
25
- };
26
- };
27
- };
28
- items: (ButtonMolecule | TabGroupMolecule | {
29
- id: string;
30
- instance: string;
31
- type: string;
32
- attributes: {
33
- image: {
34
- attributeType: string;
35
- imageSource: string;
36
- };
37
- altText: {
38
- attributeType: string;
39
- text: string;
40
- };
41
- link: {
42
- attributeType: string;
43
- id: string;
44
- externalLink: string;
45
- type: string;
46
- name: string;
47
- internalLink: string;
48
- };
49
- };
50
- config: {
51
- props: {
52
- cornerRadius: number;
53
- behaveAs: string;
54
- };
55
- };
56
- })[];
57
- tabsProps: {
58
- tabs: {
59
- tabKey: string;
60
- text: string;
61
- }[];
62
- activeTabKey: string;
63
- };
64
- };
3
+ export declare const columnContainerProps: ContainerComponentProps;
@@ -3,6 +3,7 @@ import { StylesType } from 'typescript';
3
3
  export declare type ImageProps = {
4
4
  src: string;
5
5
  } & Partial<{
6
+ id: string;
6
7
  altText: string;
7
8
  link: string;
8
9
  width: number;
@@ -11,4 +12,4 @@ export declare type ImageProps = {
11
12
  behaveAs: 'background' | 'regular';
12
13
  styles: StylesType;
13
14
  }>;
14
- export declare const Image: ({ src, link, altText, styles, width, height, behaveAs, cornerRadius, }: ImageProps) => JSX.Element;
15
+ export declare const Image: ({ src, link, altText, styles, width, height, id, behaveAs, cornerRadius, }: ImageProps) => JSX.Element;
@@ -3,7 +3,7 @@ import type { StoryFn } from '@storybook/react';
3
3
  import { Image as ImageComponent } from './Image';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ src, link, altText, styles, width, height, behaveAs, cornerRadius, }: import("./Image").ImageProps) => JSX.Element;
6
+ component: ({ src, link, altText, styles, width, height, id, behaveAs, cornerRadius, }: import("./Image").ImageProps) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
9
  export declare const Image: StoryFn<typeof ImageComponent>;
package/dist/index.d.ts CHANGED
@@ -1190,6 +1190,7 @@ declare const Video: ({ style, src, width, template, autoplay, enableCoverImage,
1190
1190
  declare type ImageProps = {
1191
1191
  src: string;
1192
1192
  } & Partial<{
1193
+ id: string;
1193
1194
  altText: string;
1194
1195
  link: string;
1195
1196
  width: number;
@@ -1198,7 +1199,7 @@ declare type ImageProps = {
1198
1199
  behaveAs: 'background' | 'regular';
1199
1200
  styles: StylesType;
1200
1201
  }>;
1201
- declare const Image: ({ src, link, altText, styles, width, height, behaveAs, cornerRadius, }: ImageProps) => JSX.Element;
1202
+ declare const Image: ({ src, link, altText, styles, width, height, id, behaveAs, cornerRadius, }: ImageProps) => JSX.Element;
1202
1203
 
1203
1204
  declare type CarouselProps = {
1204
1205
  children: JSX.Element[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.2.95",
3
+ "version": "0.2.96",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"