@verifiedinc-public/shared-ui-elements 3.1.0 → 3.1.1

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.
@@ -9,4 +9,4 @@ import { ButtonProps } from '@mui/material';
9
9
  *
10
10
  * @param {ButtonProps} props LinkButton takes the same props as the MUI button component
11
11
  */
12
- export declare const LinkButton: ({ children, type, variant, size, color, ...props }: ButtonProps) => JSX.Element;
12
+ export declare const LinkButton: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
@@ -1 +1 @@
1
- "use strict";import{A as a,d as s,l as e,B as t,m as n,C as r,i as o,D as i,E as p,j as c,F as u,I as d,c as l,L as m,O as B,P as I,g as h,b as P,Q as S,R as k,e as g,S as y,f as T,k as b,T as f,a as A,V as C,h as L,W as E,u as N}from"../shared/index-Dp5MPKbl.mjs";import{SnackbarProvider as R}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,t as Banner,n as Button,r as CredentialRequestsEditor,o as CustomAlertComponent,i as DateInput,p as EmailInput,c as ExactBirthdayBanner,u as FullWidthAlert,d as Image,l as LegalLink,m as LinkButton,B as OTPInput,I as Paragraph,h as PhoneInput,P as PrivacyPolicyNotice,S as QRCodeDisplay,k as ResendPhoneBanner,g as SSNInput,y as SectionHeader,T as SelectInput,R as SnackbarProvider,b as TestPhoneNumbersBanner,f as TextButton,A as Typography,C as VerifiedImage,L as VerifiedIncLogo,E as When,N as useSnackbar};
1
+ "use strict";import{A as a,d as s,l as e,B as t,m as n,C as r,i as o,D as i,E as p,j as c,F as u,I as d,c as l,L as m,O as B,P as I,g as h,b as P,Q as S,R as k,e as g,S as y,f as T,k as b,T as f,a as A,V as C,h as L,W as E,u as N}from"../shared/index-YQfmNqZx.mjs";import{SnackbarProvider as R}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,t as Banner,n as Button,r as CredentialRequestsEditor,o as CustomAlertComponent,i as DateInput,p as EmailInput,c as ExactBirthdayBanner,u as FullWidthAlert,d as Image,l as LegalLink,m as LinkButton,B as OTPInput,I as Paragraph,h as PhoneInput,P as PrivacyPolicyNotice,S as QRCodeDisplay,k as ResendPhoneBanner,g as SSNInput,y as SectionHeader,T as SelectInput,R as SnackbarProvider,b as TestPhoneNumbersBanner,f as TextButton,A as Typography,C as VerifiedImage,L as VerifiedIncLogo,E as When,N as useSnackbar};
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- "use strict";import{A as n,d as i,l,B as m,m as u,C as c,i as d,D as h,E as p,j as g,F as S,I as f,c as k,L as y,O as D,P,g as C,b,Q as w,R as B,e as T,S as I,f as N,k as R,T as Y,a as v,V as x,h as A,W as F,n as G,o as L,q as M,r as W,p as V,s as E,u as U,v as j}from"./shared/index-Dp5MPKbl.mjs";import{c as O,a as Q,e as q,b as z,k as H,u as $,f as K,d as Z,g as J,h as X,i as _,j as aa}from"./shared/useIntersectionObserver-BX_TdOtC.mjs";import{u as sa}from"./shared/useQRCode-DXiPIj-D.mjs";import{u as ea}from"./shared/useCounter-BV32zXDQ.mjs";import{b as ta,a as ra,v as oa,e as na,d as ia,p as la,u as ma,h as ua,j as ca,g as da,o as ha,s as pa,m as ga,c as Sa,l as fa,n as ka,q as ya,f as Da,i as Pa,r as Ca,z as ba,t as wa,x as Ba,k as Ta,w as Ia,y as Na}from"./shared/shadows-CNjkm81P.mjs";import{masks as Ra}from"./utils/masks/index.mjs";import{M as Ya,S as va,U as xa,d as Aa,e as Fa,f as Ga,g as La,a as Ma,s as Wa}from"./shared/unix.schema-CMYTtXco.mjs";import{p as Va}from"./shared/phone.schema-XBbyizhq.mjs";import{SnackbarProvider as Ea}from"notistack";async function Ua(s){try{return[await s,null]}catch(a){return[null,a]}}const ja=s=>{let a=new Date(Number(s));if(!s){const e=new Date;a=new Date(e.getFullYear(),e.getMonth(),e.getDate())}const t=String(a.getDate()).padStart(2,"0"),r=String(a.getMonth()+1).padStart(2,"0"),o=a.getFullYear();return[r,t,o].join("/")},Oa=s=>{const a=new Date(s);return a.setUTCHours(12),String(+a)},Qa=s=>s.replace(/(\d{3})-?(\d{2})-?(\d{4})/,"\u2022\u2022\u2022-\u2022\u2022-$3");export{n as AcceptTermsNotice,i as Alert,l as Backdrop,m as Banner,u as Button,c as CredentialRequestsEditor,d as CustomAlertComponent,h as DateInput,p as EmailInput,g as ExactBirthdayBanner,S as FullWidthAlert,f as Image,k as LegalLink,y as LinkButton,Ya as MaskedAndUnmaskedSSNSchema,D as OTPInput,P as Paragraph,C as PhoneInput,b as PrivacyPolicyNotice,w as QRCodeDisplay,B as ResendPhoneBanner,T as SSNInput,va as SSNSchema,I as SectionHeader,N as SelectInput,Ea as SnackbarProvider,R as TestPhoneNumbersBanner,Y as TextButton,v as Typography,xa as USDateSchema,x as VerifiedImage,A as VerifiedIncLogo,F as When,ta as black,ra as blue,oa as colors,G as countries,na as darkBlue,ia as darkGreen,la as darkGrey,ma as darkGreyContrast,ua as darkRed,ca as darkYellow,Aa as descriptionSchema,Fa as emailSchema,Ga as fieldSchema,ja as formatDateMMDDYYYY,Oa as formatDateToTimestamp,La as getDateSchemaWithPastValidation,L as getPhoneData,M as getPhoneDataByFieldName,Ma as getUnixSchema,da as green,ha as grey,pa as greyContrast,ga as infoContrast,Sa as lightBlue,fa as lightGreen,ka as lightGrey,ya as lightGreyContrast,Da as lightRed,Pa as lightYellow,Ra as masks,W as omitProperties,V as parseToPhoneNational,Va as phoneSchema,Ca as red,ba as shadows,E as sortByCountryName,Qa as ssnFormatter,Wa as stateSchema,wa as textDisabled,Ba as theme,O as useCallbackRef,Q as useCopyToClipboard,ea as useCounter,q as useDebounceValue,z as useDisclosure,H as useIntersectionObserver,$ as useLocalStorage,sa as useQRCode,K as useScript,Z as useSearchParams,U as useSnackbar,J as useThrottle,X as useToggle,_ as useWindowScroll,aa as useWindowSize,j as validatePhone,Ta as warningContrast,Ia as white,Ua as wrapPromise,Na as yellow};
1
+ "use strict";import{A as n,d as i,l,B as m,m as u,C as c,i as d,D as h,E as p,j as g,F as S,I as f,c as k,L as y,O as D,P,g as C,b,Q as w,R as B,e as T,S as I,f as N,k as R,T as Y,a as v,V as x,h as A,W as F,n as G,o as L,q as M,r as W,p as V,s as E,u as U,v as j}from"./shared/index-YQfmNqZx.mjs";import{c as O,a as Q,e as q,b as z,k as H,u as $,f as K,d as Z,g as J,h as X,i as _,j as aa}from"./shared/useIntersectionObserver-BX_TdOtC.mjs";import{u as sa}from"./shared/useQRCode-DXiPIj-D.mjs";import{u as ea}from"./shared/useCounter-BV32zXDQ.mjs";import{b as ta,a as ra,v as oa,e as na,d as ia,p as la,u as ma,h as ua,j as ca,g as da,o as ha,s as pa,m as ga,c as Sa,l as fa,n as ka,q as ya,f as Da,i as Pa,r as Ca,z as ba,t as wa,x as Ba,k as Ta,w as Ia,y as Na}from"./shared/shadows-CNjkm81P.mjs";import{masks as Ra}from"./utils/masks/index.mjs";import{M as Ya,S as va,U as xa,d as Aa,e as Fa,f as Ga,g as La,a as Ma,s as Wa}from"./shared/unix.schema-CMYTtXco.mjs";import{p as Va}from"./shared/phone.schema-XBbyizhq.mjs";import{SnackbarProvider as Ea}from"notistack";async function Ua(s){try{return[await s,null]}catch(a){return[null,a]}}const ja=s=>{let a=new Date(Number(s));if(!s){const e=new Date;a=new Date(e.getFullYear(),e.getMonth(),e.getDate())}const t=String(a.getDate()).padStart(2,"0"),r=String(a.getMonth()+1).padStart(2,"0"),o=a.getFullYear();return[r,t,o].join("/")},Oa=s=>{const a=new Date(s);return a.setUTCHours(12),String(+a)},Qa=s=>s.replace(/(\d{3})-?(\d{2})-?(\d{4})/,"\u2022\u2022\u2022-\u2022\u2022-$3");export{n as AcceptTermsNotice,i as Alert,l as Backdrop,m as Banner,u as Button,c as CredentialRequestsEditor,d as CustomAlertComponent,h as DateInput,p as EmailInput,g as ExactBirthdayBanner,S as FullWidthAlert,f as Image,k as LegalLink,y as LinkButton,Ya as MaskedAndUnmaskedSSNSchema,D as OTPInput,P as Paragraph,C as PhoneInput,b as PrivacyPolicyNotice,w as QRCodeDisplay,B as ResendPhoneBanner,T as SSNInput,va as SSNSchema,I as SectionHeader,N as SelectInput,Ea as SnackbarProvider,R as TestPhoneNumbersBanner,Y as TextButton,v as Typography,xa as USDateSchema,x as VerifiedImage,A as VerifiedIncLogo,F as When,ta as black,ra as blue,oa as colors,G as countries,na as darkBlue,ia as darkGreen,la as darkGrey,ma as darkGreyContrast,ua as darkRed,ca as darkYellow,Aa as descriptionSchema,Fa as emailSchema,Ga as fieldSchema,ja as formatDateMMDDYYYY,Oa as formatDateToTimestamp,La as getDateSchemaWithPastValidation,L as getPhoneData,M as getPhoneDataByFieldName,Ma as getUnixSchema,da as green,ha as grey,pa as greyContrast,ga as infoContrast,Sa as lightBlue,fa as lightGreen,ka as lightGrey,ya as lightGreyContrast,Da as lightRed,Pa as lightYellow,Ra as masks,W as omitProperties,V as parseToPhoneNational,Va as phoneSchema,Ca as red,ba as shadows,E as sortByCountryName,Qa as ssnFormatter,Wa as stateSchema,wa as textDisabled,Ba as theme,O as useCallbackRef,Q as useCopyToClipboard,ea as useCounter,q as useDebounceValue,z as useDisclosure,H as useIntersectionObserver,$ as useLocalStorage,sa as useQRCode,K as useScript,Z as useSearchParams,U as useSnackbar,J as useThrottle,X as useToggle,_ as useWindowScroll,aa as useWindowSize,j as validatePhone,Ta as warningContrast,Ia as white,Ua as wrapPromise,Na as yellow};