@verifiedinc-public/shared-ui-elements 5.25.1-beta.0 → 5.25.2
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/buttons/ExportToPdfButton.d.ts +2 -2
- package/dist/components/form/OneClickForm/components/DataField/DataFieldInputLabel.d.ts +1 -6
- package/dist/components/form/OneClickForm/components/DataField/formats/DataFieldImage.d.ts +1 -5
- package/dist/components/form/OneClickForm/constants/credentialTypes.d.ts +1 -0
- package/dist/components/index.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/index-Ce9hgvNZ.mjs +151 -0
- package/package.json +1 -1
- package/dist/shared/index-B3HRKeGe.mjs +0 -151
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { ButtonProps } from '@mui/material';
|
2
2
|
import { default as React } from 'react';
|
3
3
|
/**
|
4
4
|
* A button that exports the content of a target element to a PDF file.
|
@@ -7,7 +7,7 @@ import { default as React } from 'react';
|
|
7
7
|
* @param {string} filename - The name of the file to export. Without the .pdf extension.
|
8
8
|
* @param {ButtonProps} buttonProps - The props to pass to the button.
|
9
9
|
*/
|
10
|
-
export interface ExportToPdfButtonProps extends
|
10
|
+
export interface ExportToPdfButtonProps extends ButtonProps {
|
11
11
|
targetId: string;
|
12
12
|
filename?: string;
|
13
13
|
children: React.ReactNode;
|
@@ -1,19 +1,14 @@
|
|
1
1
|
import { PropsWithChildren, ReactElement, ReactNode } from 'react';
|
2
|
-
import { OverridableStringUnion } from '@mui/types';
|
3
|
-
import { Variant } from '@mui/material/styles/createTypography';
|
4
2
|
import { SxProps } from '@mui/material';
|
5
|
-
import { TypographyPropsVariantOverrides } from '@mui/material/Typography/Typography';
|
6
3
|
type DataFieldLabelInputProps = PropsWithChildren & {
|
7
4
|
label?: ReactNode;
|
8
|
-
variant?: OverridableStringUnion<'inherit' | Variant, TypographyPropsVariantOverrides>;
|
9
5
|
sx?: SxProps;
|
10
6
|
};
|
11
7
|
/**
|
12
8
|
* Component to display a credential label.
|
13
|
-
* @param variant
|
14
9
|
* @param label
|
15
10
|
* @param sx
|
16
11
|
* @constructor
|
17
12
|
*/
|
18
|
-
export declare function DataFieldInputLabel({
|
13
|
+
export declare function DataFieldInputLabel({ label, sx, }: DataFieldLabelInputProps): ReactElement;
|
19
14
|
export {};
|
@@ -1,10 +1,6 @@
|
|
1
1
|
import { ReactElement } from 'react';
|
2
|
-
type DataFieldImageProps = {
|
3
|
-
hasMultipleInstances: boolean;
|
4
|
-
};
|
5
2
|
/**
|
6
3
|
* This component is responsible to render the credential of type Image.
|
7
4
|
* @constructor
|
8
5
|
*/
|
9
|
-
export declare function DataFieldImage(
|
10
|
-
export {};
|
6
|
+
export declare function DataFieldImage(): ReactElement;
|
@@ -4,4 +4,5 @@ export declare const credentialTypes: {
|
|
4
4
|
readonly AddressCredential: "AddressCredential";
|
5
5
|
readonly Line2Credential: "Line2Credential";
|
6
6
|
readonly PhoneCredential: "PhoneCredential";
|
7
|
+
readonly GovernmentIdDocumentImageCredential: "GovernmentIdDocumentImageCredential";
|
7
8
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{A as a,c as s,Y as e,R as t,B as r,_ as n,Z as i,C as o,D as d,h as p,g as l,W as m,E as c,F as C,I as h,b as u,L as S,M as g,O as P,j as y,N as B,e as I,f,P as T,Q as k,U as b,S as F,d as L,X as O,T as R,i as E,a as D,V as N,K as v,G as x,u as A,s as M,o as w,t as V,k as H,q as W,z as j,y as q,p as Q,H as U,r as z,l as G,J,m as K,n as X,v as Y,$ as Z,w as _,x as $,a0 as aa}from"../shared/index-
|
1
|
+
"use strict";import{A as a,c as s,Y as e,R as t,B as r,_ as n,Z as i,C as o,D as d,h as p,g as l,W as m,E as c,F as C,I as h,b as u,L as S,M as g,O as P,j as y,N as B,e as I,f,P as T,Q as k,U as b,S as F,d as L,X as O,T as R,i as E,a as D,V as N,K as v,G as x,u as A,s as M,o as w,t as V,k as H,q as W,z as j,y as q,p as Q,H as U,r as z,l as G,J,m as K,n as X,v as Y,$ as Z,w as _,x as $,a0 as aa}from"../shared/index-Ce9hgvNZ.mjs";import{a as sa,b as ea,P as ta,S as ra}from"../shared/PageSectionHeader-DdpDhBZG.mjs";import{B as na,C as ia,i as oa,E as da,L as pa,j as la,M as ma,g as ca,O as Ca,P as ha,R as ua,e as Sa,d as ga,S as Pa,a as ya,b as Ba,k as Ia,c as fa,f as Ta,W as ka,h as ba,m as Fa,u as La}from"../shared/SignupBigNumbers-BdyRxkxu.mjs";import{SnackbarProvider as Oa}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,t as Banner,r as BasePhoneInput,na as BigNumber,n as BrandFilterInput,i as Button,o as CredentialRequestsEditor,ia as CustomAlertComponent,d as DateInput,p as DateRangeInput,l as EmailInput,oa as EmptyChartSection,da as ErrorCodesChart,m as ExactBirthdayBanner,c as ExportToPdfButton,C as FullWidthAlert,h as Image,u as LegalLink,S as LinkButton,pa as LoadingChartSection,g as MandatoryEnum,la as MetricLastUpdated,ma as MonthlySignupsOverviewTable,P as OTPInput,y as OneClickForm,ca as OneClickOverTimeChart,Ca as OneClickPercentageChart,B as OneClickPoweredByVerified,sa as PageHeader,ea as PageSectionHeader,ta as Paragraph,I as PhoneInput,ha as PieChart,f as PrettyPhoneInput,T as PrivacyPolicyNotice,k as QRCodeDisplay,ua as ReasonCodesChart,b as ResendPhoneBanner,Sa as RiskScoreBarChart,ga as RiskScorePieChart,F as SSNInput,ra as SectionHeader,L as SelectInput,Pa as SeriesChart,ya as SeriesChartLegend,Ba as SeriesPercentageChart,Ia as SignupBigNumbers,fa as SimpleBarChart,Ta as SimpleLegend,Oa as SnackbarProvider,O as TestPhoneNumbersBanner,R as TextButton,E as TimezoneInput,D as Typography,N as VerifiedImage,v as VerifiedIncLogo,ka as When,x as extractChildrenFromCredentialFieldSet,A as extractTypesFromSchema,M as filterRepeatedCredentials,w as findCorrectSchemaProperty,V as findCredentialsByType,H as getCredentialTypeDisplayInfo,W as getCredentialValues,j as getLastPathName,q as getParentPath,Q as getReferencedSchemaNames,U as hasMandatoryFieldEmpty,z as isNewCredentialAgainstInstance,G as isRequiredCredentialDisplayInfo,J as isSomeFieldInputAllowed,K as isValidInputCredential,X as makeCredentialDisplayInfoList,ba as mapMonthlySignupsOverviewTableData,Fa as mapTimeSeriesData,Y as sortCredentialsBySchema,Z as toOption,_ as transformToFormObject,$ as transformToFormSchema,aa as useBrandFilterInput,La as useSnackbar};
|
package/dist/index.mjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{A as a,c as s,Y as e,R as t,B as r,_ as o,Z as i,C as n,D as m,h as l,g as d,W as p,E as u,F as c,I as h,b as C,L as S,M as g,O as f,j as P,N as y,e as k,f as b,P as B,Q as T,U as D,S as I,d as O,X as R,T as w,i as N,a as v,V as F,K as L,G as M,u as x,s as E,o as A,t as V,k as Y,q as z,z as G,y as W,p as U,H as j,r as q,l as H,J as Q,m as X,n as J,v as K,$ as Z,w as _,x as $,a0 as aa}from"./shared/index-
|
1
|
+
"use strict";import{A as a,c as s,Y as e,R as t,B as r,_ as o,Z as i,C as n,D as m,h as l,g as d,W as p,E as u,F as c,I as h,b as C,L as S,M as g,O as f,j as P,N as y,e as k,f as b,P as B,Q as T,U as D,S as I,d as O,X as R,T as w,i as N,a as v,V as F,K as L,G as M,u as x,s as E,o as A,t as V,k as Y,q as z,z as G,y as W,p as U,H as j,r as q,l as H,J as Q,m as X,n as J,v as K,$ as Z,w as _,x as $,a0 as aa}from"./shared/index-Ce9hgvNZ.mjs";import{a as sa,b as ea,P as ta,S as ra}from"./shared/PageSectionHeader-DdpDhBZG.mjs";import{B as oa,C as ia,i as na,E as ma,L as la,j as da,M as pa,g as ua,O as ca,P as ha,R as Ca,e as Sa,d as ga,S as fa,a as Pa,b as ya,k as ka,c as ba,f as Ba,W as Ta,h as Da,m as Ia,u as Oa}from"./shared/SignupBigNumbers-BdyRxkxu.mjs";import{b as Ra,k as wa,a as Na,i as va,u as Fa,j as La,d as Ma,c as xa,e as Ea,f as Aa,g as Va,h as Ya}from"./shared/useDebounceCallback-HZNAtMNH.mjs";import{u as za,a as Ga}from"./shared/usePrevious-DG_IMu2h.mjs";import{a as Wa,b as Ua,u as ja}from"./shared/useOnClickOutside-DgJxDzLx.mjs";import{u as qa}from"./shared/useCounter-BV32zXDQ.mjs";import{u as Ha}from"./shared/useResizeObserver-D434c1uN.mjs";import{b as Qa,a as Xa,x as Ja,m as Ka,e as Za,d as _a,q as $a,v as as,h as ss,j as es,g as ts,p as rs,u as os,n as is,c as ns,l as ms,o as ls,s as ds,f as ps,i as us,r as cs,A as hs,t as Cs,z as Ss,k as gs,w as fs,y as Ps}from"./shared/shadows-DlwsIS8Q.mjs";import{wrapPromise as ys}from"./utils/wrapPromise/index.mjs";import{f as ks,b as bs,a as Bs,c as Ts,u as Ds}from"./shared/uuidColor-LRbEKYAZ.mjs";import{c as Is,g as Os,a as Rs,p as ws,s as Ns,v as vs}from"./shared/phone-eqP--V9t.mjs";import{masks as Fs}from"./utils/masks/index.mjs";import{o as Ls}from"./shared/omitProperty-DZYdN2vK.mjs";import{s as Ms}from"./shared/ssn-CTUJ2_Vl.mjs";import{toCapitalize as xs,toSentenceCase as Es}from"./utils/string/index.mjs";import{k as As}from"./shared/formatKebabToPretty-Du43TgPC.mjs";import{alpha as Vs,contrastColor as Ys,darken as zs,lighten as Gs}from"./utils/color/index.mjs";import{U as Ws,d as Us,e as js,f as qs,g as Hs,a as Qs,s as Xs}from"./shared/unix.schema-CM7mF14M.mjs";import{M as Js,S as Ks,p as Zs}from"./shared/ssn.schema-CX80CpX4.mjs";import{SnackbarProvider as _s}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,t as Banner,r as BasePhoneInput,oa as BigNumber,o as BrandFilterInput,i as Button,n as CredentialRequestsEditor,ia as CustomAlertComponent,m as DateInput,l as DateRangeInput,d as EmailInput,na as EmptyChartSection,ma as ErrorCodesChart,p as ExactBirthdayBanner,u as ExportToPdfButton,c as FullWidthAlert,h as Image,C as LegalLink,S as LinkButton,la as LoadingChartSection,g as MandatoryEnum,Js as MaskedAndUnmaskedSSNSchema,da as MetricLastUpdated,pa as MonthlySignupsOverviewTable,f as OTPInput,P as OneClickForm,ua as OneClickOverTimeChart,ca as OneClickPercentageChart,y as OneClickPoweredByVerified,sa as PageHeader,ea as PageSectionHeader,ta as Paragraph,k as PhoneInput,ha as PieChart,b as PrettyPhoneInput,B as PrivacyPolicyNotice,T as QRCodeDisplay,Ca as ReasonCodesChart,D as ResendPhoneBanner,Sa as RiskScoreBarChart,ga as RiskScorePieChart,I as SSNInput,Ks as SSNSchema,ra as SectionHeader,O as SelectInput,fa as SeriesChart,Pa as SeriesChartLegend,ya as SeriesPercentageChart,ka as SignupBigNumbers,ba as SimpleBarChart,Ba as SimpleLegend,_s as SnackbarProvider,R as TestPhoneNumbersBanner,w as TextButton,N as TimezoneInput,v as Typography,Ws as USDateSchema,F as VerifiedImage,L as VerifiedIncLogo,Ta as When,Vs as alpha,Qa as black,Xa as blue,Ja as colors,Ys as contrastColor,Is as countries,Ka as dangerContrast,Za as darkBlue,_a as darkGreen,$a as darkGrey,as as darkGreyContrast,ss as darkRed,es as darkYellow,zs as darken,Us as descriptionSchema,js as emailSchema,M as extractChildrenFromCredentialFieldSet,x as extractTypesFromSchema,qs as fieldSchema,E as filterRepeatedCredentials,A as findCorrectSchemaProperty,V as findCredentialsByType,ks as formatDateMMDDYYYY,bs as formatDateMMYY,Bs as formatDateToTimestamp,Ts as formatExtendedDate,Y as getCredentialTypeDisplayInfo,z as getCredentialValues,Hs as getDateSchemaWithPastValidation,G as getLastPathName,W as getParentPath,Os as getPhoneData,Rs as getPhoneDataByFieldName,U as getReferencedSchemaNames,Qs as getUnixSchema,ts as green,rs as grey,os as greyContrast,j as hasMandatoryFieldEmpty,is as infoContrast,q as isNewCredentialAgainstInstance,H as isRequiredCredentialDisplayInfo,Q as isSomeFieldInputAllowed,X as isValidInputCredential,As as kebabCaseToPretty,ns as lightBlue,ms as lightGreen,ls as lightGrey,ds as lightGreyContrast,ps as lightRed,us as lightYellow,Gs as lighten,J as makeCredentialDisplayInfoList,Da as mapMonthlySignupsOverviewTableData,Ia as mapTimeSeriesData,Fs as masks,Ls as omitProperties,ws as parseToPhoneNational,Zs as phoneSchema,cs as red,hs as shadows,Ns as sortByCountryName,K as sortCredentialsBySchema,Ms as ssnFormatter,Xs as stateSchema,Cs as textDisabled,Ss as theme,xs as toCapitalize,Z as toOption,Es as toSentenceCase,_ as transformToFormObject,$ as transformToFormSchema,aa as useBrandFilterInput,Ra as useCallbackRef,za as useCopyToClipboard,qa as useCounter,wa as useDebounceCallback,Wa as useDebounceValue,Na as useDisclosure,va as useIntersectionObserver,Fa as useLocalStorage,La as useNavigatorOnline,Ua as useOnClickOutside,Ga as usePrevious,ja as useQRCode,Ha as useResizeObserver,Ma as useScript,xa as useSearchParams,Oa as useSnackbar,Ea as useThrottle,Aa as useToggle,Va as useWindowScroll,Ya as useWindowSize,Ds as uuidToHashedColor,vs as validatePhone,gs as warningContrast,fs as white,ys as wrapPromise,Ps as yellow};
|