@verifiedinc-public/shared-ui-elements 6.8.2 → 7.0.0
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/chart/index.mjs +1 -1
- package/dist/components/form/AddressInput/hook.d.ts +1 -3
- package/dist/components/form/AddressInput/index.d.ts +1 -1
- package/dist/components/form/NewOneClickForm/core/declarations.d.ts +4 -0
- package/dist/components/form/NewOneClickForm/core/fields/address.d.ts +185 -0
- package/dist/components/form/NewOneClickForm/core/fields/birthDate.d.ts +21 -0
- package/dist/components/form/NewOneClickForm/core/fields/constants.d.ts +6 -0
- package/dist/components/form/NewOneClickForm/core/fields/driversLicense.d.ts +291 -0
- package/dist/components/form/NewOneClickForm/core/fields/fullName.d.ts +94 -0
- package/dist/components/form/NewOneClickForm/core/fields/index.d.ts +563 -0
- package/dist/components/form/NewOneClickForm/core/fields/phone.d.ts +20 -0
- package/dist/components/form/NewOneClickForm/core/fields/sex.d.ts +29 -0
- package/dist/components/form/NewOneClickForm/core/fields/ssn.d.ts +21 -0
- package/dist/components/form/NewOneClickForm/core/fields/types.d.ts +62 -0
- package/dist/components/form/NewOneClickForm/core/form/form.d.ts +9 -0
- package/dist/components/form/NewOneClickForm/core/form/formBuilder.d.ts +11 -0
- package/dist/components/form/NewOneClickForm/core/form/formField.d.ts +50 -0
- package/dist/components/form/NewOneClickForm/core/form/formFieldBuilder.d.ts +14 -0
- package/dist/components/form/NewOneClickForm/core/form/index.d.ts +4 -0
- package/dist/components/form/NewOneClickForm/core/form/utils.d.ts +7 -0
- package/dist/components/form/NewOneClickForm/core/formats/address.format.d.ts +8 -0
- package/dist/components/form/NewOneClickForm/core/formats/date.format.d.ts +1 -0
- package/dist/components/form/NewOneClickForm/core/formats/index.d.ts +4 -0
- package/dist/components/form/NewOneClickForm/core/formats/ssn.format.d.ts +1 -0
- package/dist/components/form/NewOneClickForm/core/formats/state.format.d.ts +1 -0
- package/dist/components/form/NewOneClickForm/core/mappers/create-patch.map.d.ts +6 -0
- package/dist/components/form/NewOneClickForm/core/mappers/index.d.ts +2 -0
- package/dist/components/form/NewOneClickForm/core/mappers/share.map.d.ts +4 -0
- package/dist/components/form/NewOneClickForm/core/shared/us-states.d.ts +73 -0
- package/dist/components/form/NewOneClickForm/core/validations/address/address.schema.d.ts +37 -0
- package/dist/components/form/NewOneClickForm/core/validations/address/city.schema.d.ts +7 -0
- package/dist/components/form/NewOneClickForm/core/validations/address/country.schema.d.ts +7 -0
- package/dist/components/form/NewOneClickForm/core/validations/address/index.d.ts +7 -0
- package/dist/components/form/NewOneClickForm/core/validations/address/line1.schema.d.ts +7 -0
- package/dist/components/form/NewOneClickForm/core/validations/address/line2.schema.d.ts +6 -0
- package/dist/components/form/NewOneClickForm/core/validations/address/state.schema.d.ts +7 -0
- package/dist/components/form/NewOneClickForm/core/validations/address/zipcode.schema.d.ts +7 -0
- package/dist/components/form/NewOneClickForm/core/validations/driversLicense/driversLicense.schema.d.ts +69 -0
- package/dist/components/form/NewOneClickForm/core/validations/driversLicense/index.d.ts +1 -0
- package/dist/components/form/NewOneClickForm/core/validations/index.d.ts +4 -0
- package/dist/components/form/NewOneClickForm/core/validations/name/first.schema.d.ts +6 -0
- package/dist/components/form/NewOneClickForm/core/validations/name/fullName.schema.d.ts +14 -0
- package/dist/components/form/NewOneClickForm/core/validations/name/index.d.ts +4 -0
- package/dist/components/form/NewOneClickForm/core/validations/name/last.schema.d.ts +6 -0
- package/dist/components/form/NewOneClickForm/core/validations/name/middle.schema.d.ts +6 -0
- package/dist/components/form/NewOneClickForm/core/validations/other/birthDate.schema.d.ts +2 -0
- package/dist/components/form/NewOneClickForm/core/validations/other/date.schema.d.ts +6 -0
- package/dist/components/form/NewOneClickForm/core/validations/other/documentNumber.schema.d.ts +6 -0
- package/dist/components/form/NewOneClickForm/core/validations/other/index.d.ts +6 -0
- package/dist/components/form/NewOneClickForm/core/validations/other/phone.schema.d.ts +6 -0
- package/dist/components/form/NewOneClickForm/core/validations/other/sex.schema.d.ts +19 -0
- package/dist/components/form/NewOneClickForm/core/validations/other/ssn.schema.d.ts +6 -0
- package/dist/components/form/NewOneClickForm/index.d.ts +3 -0
- package/dist/components/form/NewOneClickForm/react/core/field.hook.d.ts +83 -0
- package/dist/components/form/NewOneClickForm/react/core/form.context.d.ts +25 -0
- package/dist/components/form/NewOneClickForm/react/index.d.ts +3 -0
- package/dist/components/form/NewOneClickForm/react/ui/fields/input/address.field.d.ts +3 -0
- package/dist/components/form/NewOneClickForm/react/ui/fields/input/clear-field-adornment.d.ts +8 -0
- package/dist/components/form/NewOneClickForm/react/ui/fields/input/date.field.d.ts +3 -0
- package/dist/components/form/NewOneClickForm/react/ui/fields/input/field.d.ts +1 -0
- package/dist/components/form/NewOneClickForm/react/ui/fields/input/label.d.ts +3 -0
- package/dist/components/form/NewOneClickForm/react/ui/fields/input/select.field.d.ts +3 -0
- package/dist/components/form/NewOneClickForm/react/ui/fields/input/ssn.field.d.ts +3 -0
- package/dist/components/form/NewOneClickForm/react/ui/fields/input/text.field.d.ts +3 -0
- package/dist/components/form/NewOneClickForm/react/ui/fields/readonly/field.d.ts +1 -0
- package/dist/components/form/NewOneClickForm/react/ui/fields/readonly/multi.field.d.ts +3 -0
- package/dist/components/form/NewOneClickForm/react/ui/fields/readonly/single.field.d.ts +3 -0
- package/dist/components/form/NewOneClickForm/react/ui/fields/shared.d.ts +17 -0
- package/dist/components/form/NewOneClickForm/react/ui/fields/style.d.ts +28 -0
- package/dist/components/form/NewOneClickForm/react/ui/form-content.d.ts +9 -0
- package/dist/components/form/NewOneClickForm/react/ui/form.context.d.ts +29 -0
- package/dist/components/form/NewOneClickForm/react/ui/form.d.ts +17 -0
- package/dist/components/form/NewOneClickForm/react/ui/index.d.ts +1 -0
- package/dist/components/form/NewOneClickForm/types.d.ts +14 -0
- package/dist/components/index.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/ContentWithLoader-DZt02ZR9.mjs +155 -0
- package/dist/shared/{SignupBigNumbers-Bfd44o0C.mjs → SignupBigNumbers-D7VQsFhd.mjs} +1 -1
- package/dist/shared/makeGoogleFont-Dj4rOqZX.mjs +1 -0
- package/dist/shared/{omitProperty-CgN5EPAy.mjs → omitProperty-Dw6AqKH-.mjs} +1 -1
- package/dist/shared/uuidColor-IahzMgLw.mjs +20 -0
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/ssn.d.ts +1 -0
- package/dist/utils/string/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/shared/ContentWithLoader-DRXoEKwC.mjs +0 -155
- package/dist/shared/makeGoogleFont-DJFPTTVt.mjs +0 -1
- package/dist/shared/toSentenceCase-C6ZGgmg7.mjs +0 -1
- package/dist/shared/uuidColor-DxkgIjlu.mjs +0 -20
package/dist/utils/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{wrapPromise as a}from"./wrapPromise/index.mjs";import{f as s,b as o,a as r,c as
|
|
1
|
+
"use strict";import{wrapPromise as a}from"./wrapPromise/index.mjs";import{f as s,b as o,a as r,c as e,t,u as m}from"../shared/uuidColor-IahzMgLw.mjs";import{c as i,g as d,a as n,p,s as l,v as f}from"../shared/phone-DCga5nUC.mjs";import{masks as C}from"./masks/index.mjs";import{o as T}from"../shared/omitProperty-Dw6AqKH-.mjs";import{D as P,b as D,m as F,s as h,a as U}from"../shared/makeGoogleFont-Dj4rOqZX.mjs";import{toCapitalize as g,toSentenceCase as y}from"./string/index.mjs";import{k as S}from"../shared/formatKebabToPretty-Du43TgPC.mjs";import{alpha as c,contrastColor as u,darken as Y,getThemeFromPrimaryColor as k,lighten as M}from"./color/index.mjs";import{addressFormatter as A,fromUSAddress as N,parseCountryCode as _,toUSaddress as b,toUSaddressPretty as x}from"./address/index.mjs";export{P as DEFAULT_FONT_FAMILY,D as DEFAULT_FONT_WEIGHTS,A as addressFormatter,c as alpha,u as contrastColor,i as countries,Y as darken,s as formatDateMMDDYYYY,o as formatDateMMYY,r as formatDateToTimestamp,e as formatExtendedDate,N as fromUSAddress,d as getPhoneData,n as getPhoneDataByFieldName,k as getThemeFromPrimaryColor,S as kebabCaseToPretty,M as lighten,F as makeGoogleFontUrl,C as masks,T as omitProperties,_ as parseCountryCode,p as parseToPhoneNational,l as sortByCountryName,h as ssnFormatter,U as ssnRegex,g as toCapitalize,y as toSentenceCase,b as toUSaddress,x as toUSaddressPretty,t as toUTCMilliseconds,m as uuidToHashedColor,f as validatePhone,a as wrapPromise};
|
package/dist/utils/ssn.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{
|
|
1
|
+
"use strict";import{k as a}from"../../shared/formatKebabToPretty-Du43TgPC.mjs";function o(e){return e.split(" ").map(t=>`${t.charAt(0).toUpperCase()}${t.slice(1).toLowerCase()}`).join(" ")}function r(e){return`${e.charAt(0).toUpperCase()}${e.slice(1).toLowerCase()}`}export{a as kebabCaseToPretty,o as toCapitalize,r as toSentenceCase};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verifiedinc-public/shared-ui-elements",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "A set of UI components, utilities that is shareable with the core apps.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"keywords": [],
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"test": "npm run vitest",
|
|
53
|
-
"vitest": "vitest",
|
|
53
|
+
"vitest": "vitest --run",
|
|
54
54
|
"lint": "npm run eslint && npm run prettier:check && npm run typecheck",
|
|
55
55
|
"eslint": "eslint",
|
|
56
56
|
"prettier": "prettier --write .",
|