@zealicsolutions/web-ui 0.1.79 → 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.
- package/dist/cjs/index.js +11 -11
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/molecules/Alert/Alert.d.ts +2 -0
- package/dist/cjs/src/organisms/DynamicContentZone/DynamicContentZone.d.ts +1 -1
- package/dist/cjs/src/organisms/FeedContent/types.d.ts +3 -1
- package/dist/cjs/src/organisms/ProcessTracker/ProcessTracker.d.ts +7 -2
- package/dist/cjs/src/organisms/ProcessTracker/ProcessTracker.stories.d.ts +1 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/molecules/Alert/Alert.d.ts +2 -0
- package/dist/esm/src/organisms/DynamicContentZone/DynamicContentZone.d.ts +1 -1
- package/dist/esm/src/organisms/FeedContent/types.d.ts +3 -1
- package/dist/esm/src/organisms/ProcessTracker/ProcessTracker.d.ts +7 -2
- package/dist/esm/src/organisms/ProcessTracker/ProcessTracker.stories.d.ts +1 -1
- package/dist/index.d.ts +11 -2
- package/package.json +1 -1
@@ -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: '
|
9
|
+
elementType: 'process_tracker';
|
10
10
|
}) | (FeedContentProps & {
|
11
11
|
elementType: 'feed_content';
|
12
12
|
});
|
@@ -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>;
|
package/dist/index.d.ts
CHANGED
@@ -576,6 +576,8 @@ declare type AlertProps = {
|
|
576
576
|
onClose: Callback;
|
577
577
|
};
|
578
578
|
fontColor?: ThemeColors$2;
|
579
|
+
destinationLink?: string;
|
580
|
+
onDestinationHandler?: Callback;
|
579
581
|
};
|
580
582
|
declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, ...props }: AlertProps) => JSX.Element;
|
581
583
|
|
@@ -694,6 +696,8 @@ declare type FeedContentProps = {
|
|
694
696
|
};
|
695
697
|
isMobile?: boolean;
|
696
698
|
isExpanded: boolean;
|
699
|
+
destinationLink?: string;
|
700
|
+
onDestinationHandler?: Callback;
|
697
701
|
};
|
698
702
|
|
699
703
|
declare const FeedContent: ({ template, ...props }: FeedContentProps) => JSX.Element;
|
@@ -821,8 +825,13 @@ declare type ProcessTrackerProps = {
|
|
821
825
|
}[];
|
822
826
|
currentStep?: number;
|
823
827
|
style?: CSSProperties;
|
828
|
+
withCloseIcon?: {
|
829
|
+
onClose: Callback;
|
830
|
+
};
|
831
|
+
destinationLink?: string;
|
832
|
+
onDestinationHandler?: Callback;
|
824
833
|
};
|
825
|
-
declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, }: ProcessTrackerProps) => JSX.Element;
|
834
|
+
declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, withCloseIcon, }: ProcessTrackerProps) => JSX.Element;
|
826
835
|
|
827
836
|
declare type FilteredFeedContentType = 'article' | 'document' | 'video' | 'all';
|
828
837
|
declare type FeedContentContainerProps = {
|
@@ -836,7 +845,7 @@ declare const FeedContentContainer: ({ feedHeader, feedContent, isMobile, }: Fee
|
|
836
845
|
declare type DynamicElementProps = (AlertProps$1 & {
|
837
846
|
elementType: 'alert';
|
838
847
|
}) | (ProcessTrackerProps$1 & {
|
839
|
-
elementType: '
|
848
|
+
elementType: 'process_tracker';
|
840
849
|
}) | (FeedContentProps$1 & {
|
841
850
|
elementType: 'feed_content';
|
842
851
|
});
|