@zealicsolutions/web-ui 0.1.79 → 0.1.81
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 +8 -8
- 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/components/ExpandedContent.d.ts +1 -1
- package/dist/cjs/src/organisms/FeedContent/components/FullWidthContentTemplate.d.ts +1 -1
- package/dist/cjs/src/organisms/FeedContent/constants.d.ts +2 -0
- package/dist/cjs/src/organisms/FeedContent/types.d.ts +7 -2
- package/dist/cjs/src/organisms/FeedContentContainer/FeedContentContainer.d.ts +1 -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/components/ExpandedContent.d.ts +1 -1
- package/dist/esm/src/organisms/FeedContent/components/FullWidthContentTemplate.d.ts +1 -1
- package/dist/esm/src/organisms/FeedContent/constants.d.ts +2 -0
- package/dist/esm/src/organisms/FeedContent/types.d.ts +7 -2
- package/dist/esm/src/organisms/FeedContentContainer/FeedContentContainer.d.ts +1 -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 +15 -4
- 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,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, }: Omit<FeedContentProps, 'isExpanded'>) => JSX.Element;
|
3
|
+
export declare const ExpandedContent: ({ document, lastUpdated, description, title, image, video, isMobile, buttonConfig, template, type, imageStyles, videoStyles, }: 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 FullWidthContentTemplate: (props:
|
3
|
+
export declare const FullWidthContentTemplate: (props: FeedContentProps) => JSX.Element;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { FilteredFeedContentType } from 'organisms';
|
2
|
-
import {
|
3
|
-
|
2
|
+
import { CSSProperties } from 'styled-components';
|
3
|
+
import { Callback, Nullable } from 'typescript';
|
4
|
+
export declare type FeedContentTemplateTypes = 'full_width_content' | 'standard_content' | 'auto_play' | '';
|
4
5
|
export declare type FeedContentProps = {
|
5
6
|
type: Omit<FilteredFeedContentType, 'all'>;
|
6
7
|
template: FeedContentTemplateTypes;
|
@@ -16,4 +17,8 @@ export declare type FeedContentProps = {
|
|
16
17
|
};
|
17
18
|
isMobile?: boolean;
|
18
19
|
isExpanded: boolean;
|
20
|
+
destinationLink?: string;
|
21
|
+
onDestinationHandler?: Callback;
|
22
|
+
imageStyles?: CSSProperties;
|
23
|
+
videoStyles?: CSSProperties;
|
19
24
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { FeedContentHeaderProps } from 'molecules';
|
3
3
|
import { FeedContentProps } from 'organisms/FeedContent/types';
|
4
|
-
export declare type FilteredFeedContentType = '
|
4
|
+
export declare type FilteredFeedContentType = 'article_content' | 'document_content' | 'video_content' | 'all';
|
5
5
|
export declare type FeedContentContainerProps = {
|
6
6
|
type: 'feed';
|
7
7
|
feedHeader: Omit<FeedContentHeaderProps, 'isMobile'>;
|
@@ -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
|
|
@@ -678,7 +680,7 @@ declare const LoginForm: ({ logoUrl, fields, isTooltipVisible, onSubmit, options
|
|
678
680
|
declare type FooterProps = FooterAProps | FooterBProps | FooterCProps;
|
679
681
|
declare const Footer: (props: FooterProps) => JSX.Element;
|
680
682
|
|
681
|
-
declare type FeedContentTemplateTypes = '
|
683
|
+
declare type FeedContentTemplateTypes = 'full_width_content' | 'standard_content' | 'auto_play' | '';
|
682
684
|
declare type FeedContentProps = {
|
683
685
|
type: Omit<FilteredFeedContentType$1, 'all'>;
|
684
686
|
template: FeedContentTemplateTypes;
|
@@ -694,6 +696,10 @@ declare type FeedContentProps = {
|
|
694
696
|
};
|
695
697
|
isMobile?: boolean;
|
696
698
|
isExpanded: boolean;
|
699
|
+
destinationLink?: string;
|
700
|
+
onDestinationHandler?: Callback;
|
701
|
+
imageStyles?: CSSProperties;
|
702
|
+
videoStyles?: CSSProperties;
|
697
703
|
};
|
698
704
|
|
699
705
|
declare const FeedContent: ({ template, ...props }: FeedContentProps) => JSX.Element;
|
@@ -821,10 +827,15 @@ declare type ProcessTrackerProps = {
|
|
821
827
|
}[];
|
822
828
|
currentStep?: number;
|
823
829
|
style?: CSSProperties;
|
830
|
+
withCloseIcon?: {
|
831
|
+
onClose: Callback;
|
832
|
+
};
|
833
|
+
destinationLink?: string;
|
834
|
+
onDestinationHandler?: Callback;
|
824
835
|
};
|
825
|
-
declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, }: ProcessTrackerProps) => JSX.Element;
|
836
|
+
declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, withCloseIcon, }: ProcessTrackerProps) => JSX.Element;
|
826
837
|
|
827
|
-
declare type FilteredFeedContentType = '
|
838
|
+
declare type FilteredFeedContentType = 'article_content' | 'document_content' | 'video_content' | 'all';
|
828
839
|
declare type FeedContentContainerProps = {
|
829
840
|
type: 'feed';
|
830
841
|
feedHeader: Omit<FeedContentHeaderProps$1, 'isMobile'>;
|
@@ -836,7 +847,7 @@ declare const FeedContentContainer: ({ feedHeader, feedContent, isMobile, }: Fee
|
|
836
847
|
declare type DynamicElementProps = (AlertProps$1 & {
|
837
848
|
elementType: 'alert';
|
838
849
|
}) | (ProcessTrackerProps$1 & {
|
839
|
-
elementType: '
|
850
|
+
elementType: 'process_tracker';
|
840
851
|
}) | (FeedContentProps$1 & {
|
841
852
|
elementType: 'feed_content';
|
842
853
|
});
|