@verifiedinc-public/shared-ui-elements 3.1.1 → 3.1.3
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/index.mjs +1 -1
- package/dist/components/typographies/PageHeader.d.ts +8 -0
- package/dist/components/typographies/PageSectionHeader.d.ts +8 -0
- package/dist/components/typographies/index.d.ts +2 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/index-f0sOpo6B.mjs +105 -0
- package/dist/shared/shadows-Dhd7FrwF.mjs +1 -0
- package/dist/shared/useOnClickOutside-Bvjq5s1M.mjs +1 -0
- package/dist/shared/useQRCode-DKyiMOAs.mjs +1 -0
- package/dist/styles/index.mjs +1 -1
- package/dist/styles/typography.d.ts +27 -30
- package/package.json +1 -1
- package/dist/shared/index-YQfmNqZx.mjs +0 -105
- package/dist/shared/shadows-CNjkm81P.mjs +0 -1
- package/dist/shared/useIntersectionObserver-BX_TdOtC.mjs +0 -1
- package/dist/shared/useQRCode-DXiPIj-D.mjs +0 -1
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{A as a,
|
1
|
+
"use strict";import{A as a,f as s,n as e,B as t,o as r,C as n,k as o,D as i,E as c,l as p,F as d,I as u,e as l,L as m,O as P,a as B,b as I,P as g,i as h,d as S,Q as k,R as y,g as T,S as b,h as f,m as A,T as C,c as L,V as E,j as N,W as R,u as x}from"../shared/index-f0sOpo6B.mjs";import{SnackbarProvider as D}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,t as Banner,r as Button,n as CredentialRequestsEditor,o as CustomAlertComponent,i as DateInput,c as EmailInput,p as ExactBirthdayBanner,d as FullWidthAlert,u as Image,l as LegalLink,m as LinkButton,P as OTPInput,B as PageHeader,I as PageSectionHeader,g as Paragraph,h as PhoneInput,S as PrivacyPolicyNotice,k as QRCodeDisplay,y as ResendPhoneBanner,T as SSNInput,b as SectionHeader,f as SelectInput,D as SnackbarProvider,A as TestPhoneNumbersBanner,C as TextButton,L as Typography,E as VerifiedImage,N as VerifiedIncLogo,R as When,x as useSnackbar};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
2
|
+
interface PageHeaderProps {
|
3
|
+
title: string | ReactNode;
|
4
|
+
description?: string | ReactNode;
|
5
|
+
titleRightChildren?: ReactNode;
|
6
|
+
}
|
7
|
+
export declare function PageHeader(props: Readonly<PageHeaderProps>): ReactElement;
|
8
|
+
export {};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
2
|
+
interface PageSectionHeaderProps {
|
3
|
+
title: string | ReactNode;
|
4
|
+
description?: string | ReactNode;
|
5
|
+
titleRightChildren?: ReactNode;
|
6
|
+
}
|
7
|
+
export declare function PageSectionHeader(props: Readonly<PageSectionHeaderProps>): ReactElement;
|
8
|
+
export {};
|
package/dist/hooks/index.d.ts
CHANGED
package/dist/hooks/index.mjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{c as s,a,e,b as
|
1
|
+
"use strict";import{c as s,a,e,b as u,k as o,u as r,l as i,f as l,d as t,g as c,h as n,i as p,j as d}from"../shared/useOnClickOutside-Bvjq5s1M.mjs";import{a as m,u as C}from"../shared/useQRCode-DKyiMOAs.mjs";import{u as b}from"../shared/useCounter-BV32zXDQ.mjs";export{s as useCallbackRef,a as useCopyToClipboard,b as useCounter,e as useDebounceValue,u as useDisclosure,o as useIntersectionObserver,r as useLocalStorage,i as useOnClickOutside,m as usePrevious,C as useQRCode,l as useScript,t as useSearchParams,c as useThrottle,n as useToggle,p as useWindowScroll,d as useWindowSize};
|
package/dist/index.mjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";import{A as n,
|
1
|
+
"use strict";import{A as n,f as i,n as l,B as u,o as m,C as c,k as d,D as h,E as p,l as g,F as S,I as f,e as k,L as P,O as y,a as D,b as C,P as w,i as b,d as B,Q as T,R as I,g as N,S as v,h as R,m as Y,T as x,c as A,V as F,j as G,W as L,p as M,r as W,s as O,w as U,q as V,t as j,u as H,v as E}from"./shared/index-f0sOpo6B.mjs";import{c as Q,a as q,e as z,b as $,k as J,u as K,l as Z,f as _,d as X,g as aa,h as sa,i as ea,j as ta}from"./shared/useOnClickOutside-Bvjq5s1M.mjs";import{a as ra,u as oa}from"./shared/useQRCode-DKyiMOAs.mjs";import{u as na}from"./shared/useCounter-BV32zXDQ.mjs";import{b as ia,a as la,v as ua,e as ma,d as ca,p as da,u as ha,h as pa,j as ga,g as Sa,o as fa,s as ka,m as Pa,c as ya,l as Da,n as Ca,q as wa,f as ba,i as Ba,r as Ta,z as Ia,t as Na,x as va,k as Ra,w as Ya,y as xa}from"./shared/shadows-Dhd7FrwF.mjs";import{masks as Aa}from"./utils/masks/index.mjs";import{M as Fa,S as Ga,U as La,d as Ma,e as Wa,f as Oa,g as Ua,a as Va,s as ja}from"./shared/unix.schema-CMYTtXco.mjs";import{p as Ha}from"./shared/phone.schema-XBbyizhq.mjs";import{SnackbarProvider as Ea}from"notistack";async function Qa(s){try{return[await s,null]}catch(a){return[null,a]}}const qa=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("/")},za=s=>{const a=new Date(s);return a.setUTCHours(12),String(+a)},$a=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,u as Banner,m 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,P as LinkButton,Fa as MaskedAndUnmaskedSSNSchema,y as OTPInput,D as PageHeader,C as PageSectionHeader,w as Paragraph,b as PhoneInput,B as PrivacyPolicyNotice,T as QRCodeDisplay,I as ResendPhoneBanner,N as SSNInput,Ga as SSNSchema,v as SectionHeader,R as SelectInput,Ea as SnackbarProvider,Y as TestPhoneNumbersBanner,x as TextButton,A as Typography,La as USDateSchema,F as VerifiedImage,G as VerifiedIncLogo,L as When,ia as black,la as blue,ua as colors,M as countries,ma as darkBlue,ca as darkGreen,da as darkGrey,ha as darkGreyContrast,pa as darkRed,ga as darkYellow,Ma as descriptionSchema,Wa as emailSchema,Oa as fieldSchema,qa as formatDateMMDDYYYY,za as formatDateToTimestamp,Ua as getDateSchemaWithPastValidation,W as getPhoneData,O as getPhoneDataByFieldName,Va as getUnixSchema,Sa as green,fa as grey,ka as greyContrast,Pa as infoContrast,ya as lightBlue,Da as lightGreen,Ca as lightGrey,wa as lightGreyContrast,ba as lightRed,Ba as lightYellow,Aa as masks,U as omitProperties,V as parseToPhoneNational,Ha as phoneSchema,Ta as red,Ia as shadows,j as sortByCountryName,$a as ssnFormatter,ja as stateSchema,Na as textDisabled,va as theme,Q as useCallbackRef,q as useCopyToClipboard,na as useCounter,z as useDebounceValue,$ as useDisclosure,J as useIntersectionObserver,K as useLocalStorage,Z as useOnClickOutside,ra as usePrevious,oa as useQRCode,_ as useScript,X as useSearchParams,H as useSnackbar,aa as useThrottle,sa as useToggle,ea as useWindowScroll,ta as useWindowSize,E as validatePhone,Ra as warningContrast,Ya as white,Qa as wrapPromise,xa as yellow};
|