@zealicsolutions/web-ui 0.1.78 → 0.1.80

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.
@@ -15,5 +15,7 @@ export declare type AlertProps = {
15
15
  onClose: Callback;
16
16
  };
17
17
  fontColor?: ThemeColors;
18
+ destinationLink?: string;
19
+ onDestinationHandler?: Callback;
18
20
  };
19
21
  export declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, ...props }: AlertProps) => JSX.Element;
@@ -6,7 +6,7 @@ import { CSSProperties } from 'styled-components';
6
6
  export declare type DynamicElementProps = (AlertProps & {
7
7
  elementType: 'alert';
8
8
  }) | (ProcessTrackerProps & {
9
- elementType: 'tracker';
9
+ elementType: 'process_tracker';
10
10
  }) | (FeedContentProps & {
11
11
  elementType: 'feed_content';
12
12
  });
@@ -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, }: Omit<FeedContentProps, 'type' | 'isExpanded'>) => JSX.Element;
3
+ export declare const ExpandedContent: ({ document, lastUpdated, description, title, image, video, isMobile, buttonConfig, template, type, }: Omit<FeedContentProps, 'isExpanded'>) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { FeedContentProps } from 'organisms/FeedContent/types';
3
- export declare const StandardContentTemplate: (props: Omit<FeedContentProps, 'type'>) => JSX.Element;
3
+ export declare const StandardContentTemplate: (props: FeedContentProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { FilteredFeedContentType } from 'organisms';
2
- import { Nullable } from 'typescript';
2
+ import { Callback, Nullable } from 'typescript';
3
3
  export declare type FeedContentTemplateTypes = 'full_width' | 'standard' | 'autoplay' | '';
4
4
  export declare type FeedContentProps = {
5
5
  type: Omit<FilteredFeedContentType, 'all'>;
@@ -16,4 +16,6 @@ export declare type FeedContentProps = {
16
16
  };
17
17
  isMobile?: boolean;
18
18
  isExpanded: boolean;
19
+ destinationLink?: string;
20
+ onDestinationHandler?: Callback;
19
21
  };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { CSSProperties } from 'styled-components';
3
- import { Nullable } from 'typescript';
3
+ import { Callback, Nullable } from 'typescript';
4
4
  export declare type ProcessTrackerStatus = 'complete' | 'incomplete' | 'in_progress';
5
5
  export declare type ProcessTrackerProps = {
6
6
  title?: Nullable<string>;
@@ -13,5 +13,10 @@ export declare type ProcessTrackerProps = {
13
13
  }[];
14
14
  currentStep?: number;
15
15
  style?: CSSProperties;
16
+ withCloseIcon?: {
17
+ onClose: Callback;
18
+ };
19
+ destinationLink?: string;
20
+ onDestinationHandler?: Callback;
16
21
  };
17
- export declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, }: ProcessTrackerProps) => JSX.Element;
22
+ export declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, withCloseIcon, }: ProcessTrackerProps) => JSX.Element;
@@ -3,7 +3,7 @@ import { ComponentStory } from '@storybook/react';
3
3
  import { ProcessTracker as ProcessTrackerComponent, ProcessTrackerProps } from './ProcessTracker';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ title, statuses, isMobile, description, currentStep, style, }: ProcessTrackerProps) => JSX.Element;
6
+ component: ({ title, statuses, isMobile, description, currentStep, style, withCloseIcon, }: ProcessTrackerProps) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
9
  export declare const ProcessTracker: ComponentStory<typeof ProcessTrackerComponent>;