@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>;
|
package/dist/index.d.ts
CHANGED
@@ -19,8 +19,8 @@ import { InputProps as InputProps$1, RadioButtonsProps as RadioButtonsProps$1, B
|
|
19
19
|
import { Control, ControllerProps } from 'react-hook-form/dist/types';
|
20
20
|
import { SelectOption as SelectOption$1 } from 'atoms/Select/types';
|
21
21
|
import { ControllerProps as ControllerProps$1, DeepPartial, FieldValues, FormState } from 'react-hook-form';
|
22
|
+
import { ProcessTrackerStatus as ProcessTrackerStatus$1, FilteredFeedContentType as FilteredFeedContentType$1, ConsentProps as ConsentProps$1, ProcessTrackerProps as ProcessTrackerProps$1 } from 'organisms';
|
22
23
|
import { FieldSectionProps as FieldSectionProps$1, MenuItemsProps as MenuItemsProps$1, InputFieldProps as InputFieldProps$1, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1 } from 'molecules';
|
23
|
-
import { FilteredFeedContentType as FilteredFeedContentType$1, ConsentProps as ConsentProps$1, ProcessTrackerProps as ProcessTrackerProps$1 } from 'organisms';
|
24
24
|
import { SetPasswordFields, MaxRuleValidation, MinRuleValidation } from 'organisms/SetPasswordForm/types';
|
25
25
|
import { ConsentProps as ConsentProps$2 } from 'organisms/Consent/Consent';
|
26
26
|
import { FooterAProps } from 'organisms/Footer/FooterA';
|
@@ -582,13 +582,14 @@ declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColo
|
|
582
582
|
declare type OrientationType = 'horizontal' | 'vertical';
|
583
583
|
declare type StepperProps = {
|
584
584
|
steps: {
|
585
|
-
title
|
585
|
+
title: string;
|
586
586
|
description?: string;
|
587
|
+
status?: ProcessTrackerStatus$1;
|
587
588
|
}[];
|
588
|
-
|
589
|
+
currentStep: number;
|
589
590
|
orientation?: OrientationType;
|
590
591
|
};
|
591
|
-
declare const Stepper: ({
|
592
|
+
declare const Stepper: ({ steps, orientation, currentStep }: StepperProps) => JSX.Element;
|
592
593
|
|
593
594
|
declare type PdfDocumentProps = {
|
594
595
|
source: string;
|
@@ -808,18 +809,20 @@ declare type ConsentProps<T extends string = string> = {
|
|
808
809
|
};
|
809
810
|
declare const Consent: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: ConsentProps<T>) => JSX.Element;
|
810
811
|
|
812
|
+
declare type ProcessTrackerStatus = 'complete' | 'incomplete' | 'in_progress';
|
811
813
|
declare type ProcessTrackerProps = {
|
812
|
-
title?: string
|
813
|
-
description?: string
|
814
|
+
title?: Nullable<string>;
|
815
|
+
description?: Nullable<string>;
|
814
816
|
isMobile?: boolean;
|
815
|
-
|
817
|
+
statuses?: {
|
816
818
|
title: string;
|
817
819
|
description: string;
|
820
|
+
status: ProcessTrackerStatus;
|
818
821
|
}[];
|
819
|
-
|
822
|
+
currentStep?: number;
|
820
823
|
style?: CSSProperties;
|
821
824
|
};
|
822
|
-
declare const ProcessTracker: ({ title,
|
825
|
+
declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, }: ProcessTrackerProps) => JSX.Element;
|
823
826
|
|
824
827
|
declare type FilteredFeedContentType = 'article' | 'document' | 'video' | 'all';
|
825
828
|
declare type FeedContentContainerProps = {
|
@@ -880,4 +883,4 @@ declare type AnnotationsList = {
|
|
880
883
|
|
881
884
|
declare const useMlrRichTextViewerContext: () => contexts_MlrRichTextViewerContext_MlrRichTextViewerContext.MlrRichTextViewerContextType;
|
882
885
|
|
883
|
-
export { AcquisitionForm, AcquisitionFormProps, Alert, AlertProps, AnnotationsList, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BaseButtonProps, Body, BodyProps, BreakpointSizesTypes, Button, ButtonProps, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, Circle, CircleBoxProps, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, Drawer, EmphasizedText, EmphasizedTextProps, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, Footer, FooterContentInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconNames, IconProps, Image, ImageProps, Input, InputField, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, LinkButton, LinkButtonProps, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldProps, RadioButtonType, RadioButtons, RadioButtonsProps, RichTextEditorProps, RichTextViewer, Select, SelectField, SelectFieldProps, SelectableCardGroup, SelectableCardGroupProps, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, TabGroup, TabGroupProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoProps, ZealTheme, ZealThemeProvider, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|
886
|
+
export { AcquisitionForm, AcquisitionFormProps, Alert, AlertProps, AnnotationsList, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BaseButtonProps, Body, BodyProps, BreakpointSizesTypes, Button, ButtonProps, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, Circle, CircleBoxProps, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, Drawer, EmphasizedText, EmphasizedTextProps, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, Footer, FooterContentInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconNames, IconProps, Image, ImageProps, Input, InputField, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, LinkButton, LinkButtonProps, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldProps, RadioButtonType, RadioButtons, RadioButtonsProps, RichTextEditorProps, RichTextViewer, Select, SelectField, SelectFieldProps, SelectableCardGroup, SelectableCardGroupProps, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, TabGroup, TabGroupProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoProps, ZealTheme, ZealThemeProvider, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|