idmission-web-sdk 1.0.68 → 1.0.69
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/components/camera/CameraVideoTag.d.ts +3 -1
- package/dist/components/common/ExitCaptureButton.d.ts +2 -1
- package/dist/components/common/GuidanceMessage.d.ts +2 -0
- package/dist/components/common/LoaderButton.d.ts +4 -1
- package/dist/components/common/overlay.d.ts +2 -2
- package/dist/components/customer_flows/IdValidation.d.ts +4 -1
- package/dist/components/customer_flows/VideoIdValidation.d.ts +4 -1
- package/dist/components/face_liveness/FaceCaptureGuideOverlay.d.ts +3 -1
- package/dist/components/id_capture/DocumentCaptureGuideOverlay.d.ts +574 -2
- package/dist/components/id_capture/FlipIdPrompt.d.ts +16 -1
- package/dist/components/id_capture/IdCapture.d.ts +10 -1
- package/dist/components/id_capture/IdCaptureLoadingOverlay.d.ts +13 -1
- package/dist/components/id_capture/IdCaptureSuccess.d.ts +561 -2
- package/dist/components/id_capture/IdCaptureWizard.d.ts +14 -5
- package/dist/components/video_id/IdVideoCaptureWizard.d.ts +6 -2
- package/dist/sdk2.cjs.development.js +730 -634
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +731 -635
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +730 -634
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/themes/color.d.ts +13 -0
- package/dist/themes/index.d.ts +129 -11
- package/dist/version.d.ts +1 -1
- package/package.json +8 -8
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React, { ReactElement } from 'react';
|
|
2
|
-
export declare const CameraVideoTag: (
|
|
2
|
+
export declare const CameraVideoTag: ({ className, }: {
|
|
3
|
+
className?: string | undefined;
|
|
4
|
+
}) => ReactElement;
|
|
3
5
|
export declare const FullscreenVideoTag: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, {
|
|
4
6
|
$isRearFacing?: boolean | undefined;
|
|
5
7
|
}>>;
|
|
@@ -281,6 +281,7 @@ export declare const ExitCaptureStyledButton: import("styled-components").IStyle
|
|
|
281
281
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
282
282
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
283
283
|
}>;
|
|
284
|
-
export declare const ExitCaptureButton: ({ onClick }: {
|
|
284
|
+
export declare const ExitCaptureButton: ({ onClick, className, }: {
|
|
285
285
|
onClick?: (() => void) | undefined;
|
|
286
|
+
className?: string | undefined;
|
|
286
287
|
}) => React.JSX.Element;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
export type GuidanceMessageVariant = 'default' | 'positive' | 'negative';
|
|
2
3
|
export declare const GuidanceMessageContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
4
|
$top?: string | undefined;
|
|
4
5
|
}>>;
|
|
5
6
|
export declare const GuidanceMessage: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
6
7
|
$background?: string | undefined;
|
|
7
8
|
$textColor?: string | undefined;
|
|
9
|
+
$variant?: GuidanceMessageVariant | undefined;
|
|
8
10
|
}>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export type LoaderButtonVariant = 'primary' | 'secondary' | 'positive' | 'negative' | 'warning';
|
|
2
3
|
export type LoaderButtonColors = {
|
|
3
4
|
backgroundColor?: string;
|
|
4
5
|
textColor?: string;
|
|
@@ -7,10 +8,12 @@ export type LoaderButtonColors = {
|
|
|
7
8
|
};
|
|
8
9
|
export type LoaderButtonProps = {
|
|
9
10
|
children?: ReactNode;
|
|
11
|
+
className?: string;
|
|
10
12
|
disabled?: boolean;
|
|
11
13
|
finished?: boolean;
|
|
12
14
|
colors?: LoaderButtonColors;
|
|
13
15
|
onClick?: () => void;
|
|
14
16
|
style?: CSSProperties;
|
|
17
|
+
variant?: LoaderButtonVariant;
|
|
15
18
|
};
|
|
16
|
-
export declare const LoaderButton: ({ children, colors, disabled, finished, onClick, style, }: LoaderButtonProps) => React.JSX.Element;
|
|
19
|
+
export declare const LoaderButton: ({ children, className, colors, disabled, finished, onClick, style, variant, }: LoaderButtonProps) => React.JSX.Element;
|
|
@@ -281,7 +281,7 @@ export declare const OverlayInner: import("styled-components").IStyledComponent<
|
|
|
281
281
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
282
282
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
283
283
|
}>;
|
|
284
|
-
export declare const
|
|
284
|
+
export declare const OverlayImageContainer: import("styled-components").IStyledComponent<"web", {
|
|
285
285
|
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
286
286
|
key?: import("react").Key | null | undefined;
|
|
287
287
|
defaultChecked?: boolean | undefined;
|
|
@@ -553,7 +553,7 @@ export declare const OverlayImageWrapper: import("styled-components").IStyledCom
|
|
|
553
553
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
554
554
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
555
555
|
}>;
|
|
556
|
-
export declare const
|
|
556
|
+
export declare const OverlayImageRow: import("styled-components").IStyledComponent<"web", {
|
|
557
557
|
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
558
558
|
key?: import("react").Key | null | undefined;
|
|
559
559
|
defaultChecked?: boolean | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
2
|
import { CardData, PersonalData, SubmissionRequest, SubmissionResponse } from '../../contexts/SubmissionContext';
|
|
3
|
-
import { IdCaptureWizardAssets, IdCaptureWizardColors, IdCaptureWizardVerbiage } from '../id_capture/IdCaptureWizard';
|
|
3
|
+
import { IdCaptureWizardAssets, IdCaptureWizardClassNames, IdCaptureWizardColors, IdCaptureWizardVerbiage } from '../id_capture/IdCaptureWizard';
|
|
4
4
|
import { AdditionalDocumentCaptureWizardVerbiage } from '../additional_document_capture/AdditionalDocumentCaptureWizard';
|
|
5
5
|
import { AdditionalDocument } from '../additional_document_capture/AdditionalDocumentCapture';
|
|
6
6
|
import { LangOption } from '../../lib/locales';
|
|
@@ -8,6 +8,7 @@ import { SignatureCaptureVerbiage } from '../signature_capture/SignatureCapture'
|
|
|
8
8
|
import { VideoSignatureColors, VideoSignatureVerbiage } from '../video_signature_capture/VideoSignatureWizard';
|
|
9
9
|
import { ThemeInput } from '../../themes';
|
|
10
10
|
export type IdValidationAssets = IdCaptureWizardAssets;
|
|
11
|
+
export type IdValidationClassNames = IdCaptureWizardClassNames;
|
|
11
12
|
export type IdValidationColors = IdCaptureWizardColors & {
|
|
12
13
|
videoSignatureCapture?: VideoSignatureColors;
|
|
13
14
|
};
|
|
@@ -81,6 +82,8 @@ export interface IdValidationProps extends PropsWithChildren {
|
|
|
81
82
|
captureAdditionalDocuments?: AdditionalDocument[];
|
|
82
83
|
/** Name of an included theme or object containing theme properties. **/
|
|
83
84
|
theme?: ThemeInput;
|
|
85
|
+
/** Object containing any classNames for inner components. **/
|
|
86
|
+
classNames?: IdValidationClassNames;
|
|
84
87
|
/** Object containing any asset overrides. */
|
|
85
88
|
assets?: IdValidationAssets;
|
|
86
89
|
/** Object containing any color overrides. */
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
2
|
import { CardData, LivenessCheckRequest, PersonalData, SubmissionRequest, SubmissionResponse } from '../../contexts/SubmissionContext';
|
|
3
3
|
import { CustomerSuppliedVerbiage, LangOption } from '../../lib/locales';
|
|
4
|
-
import { VideoIdWizardAssets, VideoIdWizardColors, VideoIdWizardVerbiage } from '../video_id/IdVideoCaptureWizard';
|
|
4
|
+
import { VideoIdWizardAssets, VideoIdWizardClassNames, VideoIdWizardColors, VideoIdWizardVerbiage } from '../video_id/IdVideoCaptureWizard';
|
|
5
5
|
import { IdCaptureWizardProps } from '../id_capture/IdCaptureWizard';
|
|
6
6
|
import { FaceLivenessWizardProps } from '../face_liveness/FaceLivenessWizard';
|
|
7
7
|
import { ThemeInput } from '../../themes';
|
|
8
8
|
export type VideoIdValidationAssets = VideoIdWizardAssets;
|
|
9
|
+
export type VideoIdValidationClassNames = VideoIdWizardClassNames;
|
|
9
10
|
export type VideoIdValidationColors = VideoIdWizardColors;
|
|
10
11
|
export type VideoIdValidationVerbiage = VideoIdWizardVerbiage;
|
|
11
12
|
export interface VideoIdValidationProps extends PropsWithChildren {
|
|
@@ -79,6 +80,8 @@ export interface VideoIdValidationProps extends PropsWithChildren {
|
|
|
79
80
|
theme?: ThemeInput;
|
|
80
81
|
/** Object containing any asset overrides. */
|
|
81
82
|
assets?: VideoIdValidationAssets;
|
|
83
|
+
/** Object containing any classNames for inner components. **/
|
|
84
|
+
classNames?: VideoIdValidationClassNames;
|
|
82
85
|
/** Object containing any color overrides. */
|
|
83
86
|
colors?: VideoIdValidationColors;
|
|
84
87
|
/** Object containing any verbiage overrides. */
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
+
export type FaceCaptureGuideOverlayVariant = 'satisfied' | 'unsatisfied';
|
|
2
3
|
export type FaceCaptureGuideOverlayProps = {
|
|
4
|
+
variant?: FaceCaptureGuideOverlayVariant;
|
|
3
5
|
borderWidth?: number;
|
|
4
6
|
borderColor?: string;
|
|
5
7
|
};
|
|
6
|
-
export declare const FaceCaptureGuideOverlay: ({ borderWidth, borderColor, }: FaceCaptureGuideOverlayProps) => ReactElement;
|
|
8
|
+
export declare const FaceCaptureGuideOverlay: ({ variant, borderWidth, borderColor, }: FaceCaptureGuideOverlayProps) => ReactElement;
|