@zealicsolutions/web-ui 0.1.73 → 0.1.74

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.
@@ -1,13 +1,15 @@
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
13
  active: number;
12
14
  };
13
- export declare const Step: ({ stepsNumber, step: { title, description }, orientation, order, active, }: StepProps) => JSX.Element;
15
+ export declare const Step: ({ stepsNumber, step: { title, description, status }, orientation, order, active, }: StepProps) => JSX.Element;
@@ -1,9 +1,11 @@
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?: string;
6
+ title: string;
6
7
  description?: string;
8
+ status?: ProcessTrackerStatus;
7
9
  }[];
8
10
  active: number;
9
11
  orientation?: OrientationType;
@@ -2,9 +2,10 @@ 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 StepWrapper: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {
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;
@@ -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
- states?: {
9
+ statuses?: {
8
10
  title: string;
9
11
  description: string;
12
+ status: ProcessTrackerStatus;
10
13
  }[];
11
14
  activeStep?: number;
12
15
  style?: CSSProperties;
13
16
  };
14
- export declare const ProcessTracker: ({ title, states, isMobile, description, activeStep, style, }: ProcessTrackerProps) => JSX.Element;
17
+ export declare const ProcessTracker: ({ title, statuses, isMobile, description, activeStep, 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 'organisms';
3
+ import { ProcessTracker as ProcessTrackerComponent, ProcessTrackerProps } from './ProcessTracker';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ title, states, isMobile, description, activeStep, style, }: ProcessTrackerProps) => JSX.Element;
6
+ component: ({ title, statuses, isMobile, description, activeStep, 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,8 +582,9 @@ 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?: string;
585
+ title: string;
586
586
  description?: string;
587
+ status?: ProcessTrackerStatus$1;
587
588
  }[];
588
589
  active: number;
589
590
  orientation?: OrientationType;
@@ -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
- states?: {
817
+ statuses?: {
816
818
  title: string;
817
819
  description: string;
820
+ status: ProcessTrackerStatus;
818
821
  }[];
819
822
  activeStep?: number;
820
823
  style?: CSSProperties;
821
824
  };
822
- declare const ProcessTracker: ({ title, states, isMobile, description, activeStep, style, }: ProcessTrackerProps) => JSX.Element;
825
+ declare const ProcessTracker: ({ title, statuses, isMobile, description, activeStep, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.1.73",
3
+ "version": "0.1.74",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"