@zealicsolutions/web-ui 0.1.85 → 0.1.87

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.
@@ -17,5 +17,6 @@ export declare type AlertProps = {
17
17
  fontColor?: ThemeColors;
18
18
  destinationLink?: string;
19
19
  onDestinationHandler?: Callback;
20
+ containerStyles?: CSSProperties;
20
21
  };
21
- export declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, ...props }: AlertProps) => JSX.Element;
22
+ export declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, containerStyles, ...props }: AlertProps) => JSX.Element;
@@ -3,7 +3,7 @@ import type { ComponentStory } from '@storybook/react';
3
3
  import { Alert as AlertComponent, AlertProps } from './Alert';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ logo, title, withCloseIcon, description, style, fontColor, ...props }: AlertProps) => JSX.Element;
6
+ component: ({ logo, title, withCloseIcon, description, style, fontColor, containerStyles, ...props }: AlertProps) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
9
  export declare const Alert: ComponentStory<typeof AlertComponent>;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { FeedContentProps } from './types';
3
- export declare const FeedContent: ({ template, ...props }: FeedContentProps) => JSX.Element;
3
+ export declare const FeedContent: ({ feedContentTemplate, ...props }: FeedContentProps) => JSX.Element;
@@ -3,7 +3,7 @@ import { ComponentStory } from '@storybook/react';
3
3
  import { FeedContent as FeedContentComponent } from './FeedContent';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ template, ...props }: import("./types").FeedContentProps) => JSX.Element;
6
+ component: ({ feedContentTemplate, ...props }: import("./types").FeedContentProps) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
9
  export declare const FeedContent: ComponentStory<typeof FeedContentComponent>;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { FeedContentProps } from 'organisms/FeedContent/types';
3
- export declare const ExpandedContent: ({ document, lastUpdated, description, title, image, video, isMobile, buttonConfig, template, type, imageStyles, videoStyles, }: Omit<FeedContentProps, 'isExpanded'>) => JSX.Element;
3
+ export declare const ExpandedContent: ({ document, lastUpdated, description, title, image, video, isMobile, buttonConfig, feedContentTemplate, feedContentType, imageStyles, videoStyles, }: Omit<FeedContentProps, 'isExpanded'>) => JSX.Element;
@@ -3,8 +3,8 @@ import { CSSProperties } from 'styled-components';
3
3
  import { Callback, Nullable } from 'typescript';
4
4
  export declare type FeedContentTemplateTypes = 'full_width_content' | 'standard_content' | 'auto_play' | '';
5
5
  export declare type FeedContentProps = {
6
- type: Omit<FilteredFeedContentType, 'all'>;
7
- template: FeedContentTemplateTypes;
6
+ feedContentType: Omit<FilteredFeedContentType, 'all'>;
7
+ feedContentTemplate: FeedContentTemplateTypes;
8
8
  image?: string;
9
9
  video?: string;
10
10
  document?: string;
@@ -10,25 +10,23 @@ export default _default;
10
10
  export declare const FeedContentContainer: ComponentStory<typeof FeedContentContainerComponent>;
11
11
  export declare const feedContentContainerMockProps: {
12
12
  feedContent: ({
13
- type: string;
13
+ feedContentType: string;
14
14
  buttonConfig: {
15
15
  disabled: boolean;
16
16
  };
17
- isExpanded: boolean;
18
17
  image: string;
19
- template: FeedContentTemplateTypes;
18
+ feedContentTemplate: FeedContentTemplateTypes;
20
19
  lastUpdated: string;
21
20
  title: string;
22
21
  description: string;
23
22
  video?: undefined;
24
23
  } | {
25
- type: string;
24
+ feedContentType: string;
26
25
  buttonConfig: {
27
26
  disabled: boolean;
28
27
  };
29
- isExpanded: boolean;
30
28
  image: string;
31
- template: FeedContentTemplateTypes;
29
+ feedContentTemplate: FeedContentTemplateTypes;
32
30
  lastUpdated: string;
33
31
  title: string;
34
32
  description: string;
package/dist/index.d.ts CHANGED
@@ -579,8 +579,9 @@ declare type AlertProps = {
579
579
  fontColor?: ThemeColors$2;
580
580
  destinationLink?: string;
581
581
  onDestinationHandler?: Callback;
582
+ containerStyles?: CSSProperties;
582
583
  };
583
- declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, ...props }: AlertProps) => JSX.Element;
584
+ declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, containerStyles, ...props }: AlertProps) => JSX.Element;
584
585
 
585
586
  declare type OrientationType = 'horizontal' | 'vertical';
586
587
  declare type StepperProps = {
@@ -683,8 +684,8 @@ declare const Footer: (props: FooterProps) => JSX.Element;
683
684
 
684
685
  declare type FeedContentTemplateTypes = 'full_width_content' | 'standard_content' | 'auto_play' | '';
685
686
  declare type FeedContentProps = {
686
- type: Omit<FilteredFeedContentType$1, 'all'>;
687
- template: FeedContentTemplateTypes;
687
+ feedContentType: Omit<FilteredFeedContentType$1, 'all'>;
688
+ feedContentTemplate: FeedContentTemplateTypes;
688
689
  image?: string;
689
690
  video?: string;
690
691
  document?: string;
@@ -703,7 +704,7 @@ declare type FeedContentProps = {
703
704
  videoStyles?: CSSProperties;
704
705
  };
705
706
 
706
- declare const FeedContent: ({ template, ...props }: FeedContentProps) => JSX.Element;
707
+ declare const FeedContent: ({ feedContentTemplate, ...props }: FeedContentProps) => JSX.Element;
707
708
 
708
709
  declare type FooterContentInfo = {
709
710
  phoneNumber: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.1.85",
3
+ "version": "0.1.87",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"