@zealicsolutions/web-ui 0.1.73 → 0.1.75
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/Stepper/Step.d.ts +3 -2
- package/dist/cjs/src/molecules/Stepper/Stepper.d.ts +5 -3
- package/dist/cjs/src/molecules/Stepper/styles.d.ts +5 -4
- package/dist/cjs/src/organisms/ProcessTracker/ProcessTracker.d.ts +8 -5
- package/dist/cjs/src/organisms/ProcessTracker/ProcessTracker.stories.d.ts +2 -2
- package/dist/esm/index.js +5 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/molecules/Stepper/Step.d.ts +3 -2
- package/dist/esm/src/molecules/Stepper/Stepper.d.ts +5 -3
- package/dist/esm/src/molecules/Stepper/styles.d.ts +5 -4
- package/dist/esm/src/organisms/ProcessTracker/ProcessTracker.d.ts +8 -5
- package/dist/esm/src/organisms/ProcessTracker/ProcessTracker.stories.d.ts +2 -2
- package/dist/index.d.ts +13 -10
- package/package.json +1 -1
@@ -1,13 +1,14 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
+
import { ProcessTrackerStatus } from 'organisms';
|
2
3
|
import { OrientationType } from './Stepper';
|
3
4
|
export declare type StepProps = {
|
4
5
|
step: {
|
5
6
|
title?: string;
|
6
7
|
description?: string;
|
8
|
+
status?: ProcessTrackerStatus;
|
7
9
|
};
|
8
10
|
stepsNumber: number;
|
9
11
|
order: number;
|
10
12
|
orientation?: OrientationType;
|
11
|
-
active: number;
|
12
13
|
};
|
13
|
-
export declare const Step: ({ stepsNumber, step: { title, description }, orientation, order,
|
14
|
+
export declare const Step: ({ stepsNumber, step: { title, description, status }, orientation, order, }: StepProps) => JSX.Element;
|
@@ -1,11 +1,13 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
+
import { ProcessTrackerStatus } from 'organisms';
|
2
3
|
export declare type OrientationType = 'horizontal' | 'vertical';
|
3
4
|
export declare type StepperProps = {
|
4
5
|
steps: {
|
5
|
-
title
|
6
|
+
title: string;
|
6
7
|
description?: string;
|
8
|
+
status?: ProcessTrackerStatus;
|
7
9
|
}[];
|
8
|
-
|
10
|
+
currentStep: number;
|
9
11
|
orientation?: OrientationType;
|
10
12
|
};
|
11
|
-
export declare const Stepper: ({
|
13
|
+
export declare const Stepper: ({ steps, orientation, currentStep }: StepperProps) => JSX.Element;
|
@@ -2,19 +2,20 @@ import { OrientationType } from 'molecules/Stepper/Stepper';
|
|
2
2
|
export declare const StepperWrapper: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {
|
3
3
|
orientation?: OrientationType | undefined;
|
4
4
|
}, never>;
|
5
|
-
export declare const
|
5
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {
|
6
6
|
orientation?: OrientationType | undefined;
|
7
7
|
}, never>;
|
8
|
+
export declare const StepWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
8
9
|
export declare const VerticalWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
9
10
|
orientation?: OrientationType | undefined;
|
10
11
|
isLastChild?: boolean | undefined;
|
11
12
|
}, never>;
|
12
13
|
export declare const CustomStep: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
13
|
-
|
14
|
-
|
14
|
+
isComplete?: boolean | undefined;
|
15
|
+
isProgress?: boolean | undefined;
|
15
16
|
orientation?: OrientationType | undefined;
|
16
17
|
}, never>;
|
17
18
|
export declare const ConnectionLine: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
18
19
|
orientation?: OrientationType | undefined;
|
19
|
-
|
20
|
+
isComplete?: boolean | undefined;
|
20
21
|
}, never>;
|
@@ -1,14 +1,17 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { CSSProperties } from 'styled-components';
|
3
|
+
import { Nullable } from 'typescript';
|
4
|
+
export declare type ProcessTrackerStatus = 'complete' | 'incomplete' | 'in_progress';
|
3
5
|
export declare type ProcessTrackerProps = {
|
4
|
-
title?: string
|
5
|
-
description?: string
|
6
|
+
title?: Nullable<string>;
|
7
|
+
description?: Nullable<string>;
|
6
8
|
isMobile?: boolean;
|
7
|
-
|
9
|
+
statuses?: {
|
8
10
|
title: string;
|
9
11
|
description: string;
|
12
|
+
status: ProcessTrackerStatus;
|
10
13
|
}[];
|
11
|
-
|
14
|
+
currentStep?: number;
|
12
15
|
style?: CSSProperties;
|
13
16
|
};
|
14
|
-
export declare const ProcessTracker: ({ title,
|
17
|
+
export declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, }: ProcessTrackerProps) => JSX.Element;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { ComponentStory } from '@storybook/react';
|
3
|
-
import { ProcessTracker as ProcessTrackerComponent, ProcessTrackerProps } from '
|
3
|
+
import { ProcessTracker as ProcessTrackerComponent, ProcessTrackerProps } from './ProcessTracker';
|
4
4
|
declare const _default: {
|
5
5
|
title: string;
|
6
|
-
component: ({ title,
|
6
|
+
component: ({ title, statuses, isMobile, description, currentStep, style, }: ProcessTrackerProps) => JSX.Element;
|
7
7
|
};
|
8
8
|
export default _default;
|
9
9
|
export declare const ProcessTracker: ComponentStory<typeof ProcessTrackerComponent>;
|