@zealicsolutions/web-ui 0.1.72 → 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,6 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { CSSProperties } from 'styled-components';
3
3
  import { FontSizesTypes, ThemeColors } from 'theme';
4
+ export declare const MATRIX_MESSAGE_ELEMENT_ID = "matrix-message";
5
+ export declare const COMMUNICATION_LINK_ELEMENT_ID = "communication-link";
6
+ export declare const MATRIX_MESSAGE_DATA_ID = "matrix-message-id";
7
+ export declare const COMMUNICATION_LINK_DATA_URL = "communication-link-url";
8
+ export declare const COMMUNICATION_LINK_DATA_TEXT = "communication-link-text";
4
9
  export declare type RichTextEditorProps = Partial<{
5
10
  value: string;
6
11
  font: FontSizesTypes;
@@ -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';
@@ -264,6 +264,11 @@ declare const GoogleMap: react__default.ComponentClass<{
264
264
  position: MapPosition;
265
265
  } & WithScriptjsProps & WithGoogleMapProps, any>;
266
266
 
267
+ declare const MATRIX_MESSAGE_ELEMENT_ID = "matrix-message";
268
+ declare const COMMUNICATION_LINK_ELEMENT_ID = "communication-link";
269
+ declare const MATRIX_MESSAGE_DATA_ID = "matrix-message-id";
270
+ declare const COMMUNICATION_LINK_DATA_URL = "communication-link-url";
271
+ declare const COMMUNICATION_LINK_DATA_TEXT = "communication-link-text";
267
272
  declare type RichTextEditorProps = Partial<{
268
273
  value: string;
269
274
  font: FontSizesTypes$2;
@@ -577,8 +582,9 @@ declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColo
577
582
  declare type OrientationType = 'horizontal' | 'vertical';
578
583
  declare type StepperProps = {
579
584
  steps: {
580
- title?: string;
585
+ title: string;
581
586
  description?: string;
587
+ status?: ProcessTrackerStatus$1;
582
588
  }[];
583
589
  active: number;
584
590
  orientation?: OrientationType;
@@ -803,18 +809,20 @@ declare type ConsentProps<T extends string = string> = {
803
809
  };
804
810
  declare const Consent: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: ConsentProps<T>) => JSX.Element;
805
811
 
812
+ declare type ProcessTrackerStatus = 'complete' | 'incomplete' | 'in_progress';
806
813
  declare type ProcessTrackerProps = {
807
- title?: string;
808
- description?: string;
814
+ title?: Nullable<string>;
815
+ description?: Nullable<string>;
809
816
  isMobile?: boolean;
810
- states?: {
817
+ statuses?: {
811
818
  title: string;
812
819
  description: string;
820
+ status: ProcessTrackerStatus;
813
821
  }[];
814
822
  activeStep?: number;
815
823
  style?: CSSProperties;
816
824
  };
817
- 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;
818
826
 
819
827
  declare type FilteredFeedContentType = 'article' | 'document' | 'video' | 'all';
820
828
  declare type FeedContentContainerProps = {
@@ -875,4 +883,4 @@ declare type AnnotationsList = {
875
883
 
876
884
  declare const useMlrRichTextViewerContext: () => contexts_MlrRichTextViewerContext_MlrRichTextViewerContext.MlrRichTextViewerContextType;
877
885
 
878
- export { AcquisitionForm, AcquisitionFormProps, Alert, AlertProps, AnnotationsList, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BaseButtonProps, Body, BodyProps, BreakpointSizesTypes, Button, ButtonProps, 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, 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.72",
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"