@adyen/kyc-components 2.71.1 → 2.71.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/README.md +0 -1
- package/dist/es/{4-people-CCqdlDEw.js → 4-people-CrQ1_lkt.js} +2 -2
- package/dist/es/adyen-kyc-components.es.js +299 -277
- package/dist/es/{arrow-left-Dtc2gya1.js → arrow-left-BvQ08XG_.js} +2 -2
- package/dist/es/{arrow-right-D_mdkZmE.js → arrow-right-BS0nSZuJ.js} +2 -2
- package/dist/es/{bank-gyBvaSp4.js → bank-Ce5iasfD.js} +2 -2
- package/dist/es/{bin-Bgdj6KzC.js → bin-DXheLYbv.js} +2 -2
- package/dist/es/{checkmark-tfEAu7lj.js → checkmark-BkvwdH2y.js} +2 -2
- package/dist/es/{checkmark-circle-nACBJ24q.js → checkmark-circle-Bs_HYw7i.js} +2 -2
- package/dist/es/{checkmark-circle-fill-BhvuqTl9.js → checkmark-circle-fill-BQ-GUCuT.js} +2 -2
- package/dist/es/{checkmark-small-63w5fAxg.js → checkmark-small-s7XfaKD5.js} +2 -2
- package/dist/es/{chevron-down-CkQS-knD.js → chevron-down-D-YCPRK_.js} +2 -2
- package/dist/es/{chevron-left-CBCMdMx6.js → chevron-left-EGqACRo2.js} +2 -2
- package/dist/es/{chevron-right-dIVWvPJu.js → chevron-right-Bap_0JTZ.js} +2 -2
- package/dist/es/{chevron-up-D93IGU9z.js → chevron-up-WyJaz_s-.js} +2 -2
- package/dist/es/{circle-Dgfa7GUy.js → circle-504y9uC_.js} +2 -2
- package/dist/es/{contract-DI03_xrF.js → contract-D5cQTwp-.js} +2 -2
- package/dist/es/{cross-circle-fill-small-CHMDaA3q.js → cross-circle-fill-small-CM2s6amN.js} +2 -2
- package/dist/es/{cross-o4n5KXxG.js → cross-hsLSHwHp.js} +2 -2
- package/dist/es/{document-1-DsCi9vmX.js → document-1-Bz9YHwe-.js} +2 -2
- package/dist/es/{document-blurred-2Zpodj3_.js → document-blurred-BiWap0xs.js} +2 -2
- package/dist/es/{document-cut-off-ClS7RiOp.js → document-cut-off-aQezqOif.js} +2 -2
- package/dist/es/{document-expired-CjksBq-N.js → document-expired-BhBXaWWQ.js} +2 -2
- package/dist/es/{document-front-DiAairT3.js → document-front-DYuhZGeQ.js} +2 -2
- package/dist/es/{document-person-DBlLin9u.js → document-person-B0phPWc-.js} +2 -2
- package/dist/es/{document-plus-NwgAdjyB.js → document-plus-VLYAs1Fb.js} +2 -2
- package/dist/es/{download-B8_c4ARV.js → download-CG_nuymh.js} +2 -2
- package/dist/es/{edit-1-D6f6zk9p.js → edit-1-Cftx09zU.js} +2 -2
- package/dist/es/{external-link-BjladU3E.js → external-link-lJsPkQGd.js} +2 -2
- package/dist/es/{headquarter-C6AsewcP.js → headquarter-DjOwUeVU.js} +2 -2
- package/dist/es/{hide-CigAXbWC.js → hide-CYvvSD4K.js} +2 -2
- package/dist/es/{hotel-JX0bjsSA.js → hotel-FELV3Iw2.js} +2 -2
- package/dist/es/{id-blurred-9dzBOWCE.js → id-blurred-B5lHEP8M.js} +2 -2
- package/dist/es/{id-cut-off-CohJCI2h.js → id-cut-off-Ba1FRzKO.js} +2 -2
- package/dist/es/{id-front-CSZfvdRg.js → id-front-CpNWN6nG.js} +2 -2
- package/dist/es/{id-glare-Q2JWo5ts.js → id-glare-DgCQON8k.js} +2 -2
- package/dist/es/{id-verification-instant-BUVBO4R3.js → id-verification-instant-Byt4Oul6.js} +2 -2
- package/dist/es/{id-verification-manual-B3YZALYU.js → id-verification-manual-CvcTkOSY.js} +2 -2
- package/dist/es/{idea-DwJIwJHR.js → idea-DCL-FW_D.js} +2 -2
- package/dist/es/{image-eUqBiRX_.js → image-FYEkKCbC.js} +2 -2
- package/dist/es/{info-Wao3PEQK.js → info-DKq722Fk.js} +2 -2
- package/dist/es/{instant-verification-method-CA54OgHe.js → instant-verification-method-IExplamx.js} +2 -2
- package/dist/es/{location-YXhcBMDy.js → location-CHomnGCd.js} +2 -2
- package/dist/es/{onfido-logo-Cs7hRVg3.js → onfido-logo-5ItMoZKg.js} +2 -2
- package/dist/es/{options-horizontal-nJ9-ButA.js → options-horizontal-CZ1OkPyD.js} +2 -2
- package/dist/es/{partner-COG2_Erh.js → partner-8G9YJWjj.js} +2 -2
- package/dist/es/{passport-blurred-B4UDQfmc.js → passport-blurred-CVG493IJ.js} +2 -2
- package/dist/es/{passport-cut-off-C0N2mgLk.js → passport-cut-off-COzA_TmB.js} +2 -2
- package/dist/es/{passport-front-BwA7wR91.js → passport-front-WJleLixT.js} +2 -2
- package/dist/es/{passport-glare-Mg2ixsYA.js → passport-glare-BP5WnJZj.js} +2 -2
- package/dist/es/{payout-iEmHhgQ4.js → payout-BeuHF0wj.js} +2 -2
- package/dist/es/{payout-verification-instant-BIcnFP-p.js → payout-verification-instant-C6cLlzet.js} +2 -2
- package/dist/es/{payout-verification-manual-DH9-DdlZ.js → payout-verification-manual-Bd7OA5Qd.js} +2 -2
- package/dist/es/{person-CdGfItMU.js → person-BR8LZq9h.js} +2 -2
- package/dist/es/{plaid-logo-RHMDew7g.js → plaid-logo-BbCkPSQQ.js} +2 -2
- package/dist/es/{plus-CwLva7fq.js → plus-DOnPWd2V.js} +2 -2
- package/dist/es/{plus-small-Dj1WRyFM.js → plus-small-OyC6T61U.js} +2 -2
- package/dist/es/{review-CxIN9azU.js → review-D4TUjcWF.js} +2 -2
- package/dist/es/{save-BofgDbDX.js → save-78QF2wal.js} +2 -2
- package/dist/es/{search-BjMkvQh0.js → search-AuGVVKrr.js} +2 -2
- package/dist/es/{show-uL6I-rMo.js → show-BoKwa35S.js} +2 -2
- package/dist/es/{store-CkhgQMl0.js → store-Bgwp0BqP.js} +2 -2
- package/dist/es/{tink-logo-CGHQCmGG.js → tink-logo-Bs5otA6O.js} +2 -2
- package/dist/es/{trustly-logo-B9WtAxlo.js → trustly-logo-Dpkew4wC.js} +2 -2
- package/dist/es/{upload-XDhHhAHV.js → upload-CPqQA9yj.js} +2 -2
- package/dist/es/{us-check-CYY6Crhr.js → us-check-C1rTBsCY.js} +2 -2
- package/dist/es/{us-check-account-number-C7KE5YzX.js → us-check-account-number-9lI1dXNC.js} +2 -2
- package/dist/es/{us-check-routing-number-DUbhsYAR.js → us-check-routing-number-s_KaAGSM.js} +2 -2
- package/dist/es/{warning-circle-fill-DADaWT65.js → warning-circle-fill-C4eCiCHk.js} +2 -2
- package/dist/es/{warning-filled-BfAQN-BF.js → warning-filled-Pt0MRhUi.js} +2 -2
- package/dist/style.css +293 -287
- package/dist/types/components/internal/Address/components/FieldContainerComponent.d.ts +2 -1
- package/dist/types/components/internal/PhoneInput/PhoneInput.d.ts +0 -5
- package/dist/types/core/analytics.d.ts +1 -1
- package/package.json +51 -52
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import './FieldContainer.scss';
|
|
2
|
+
import type { JSX } from 'preact';
|
|
2
3
|
import type { FieldContainerProps } from '../types';
|
|
3
4
|
/**
|
|
4
5
|
* USAGE: Specifically defined as a util to provide a wrapper for fields created within the Address component
|
|
@@ -6,4 +7,4 @@ import type { FieldContainerProps } from '../types';
|
|
|
6
7
|
* NOT TO BE USED: if you just want to add a Country or State dropdown outside of an Address component
|
|
7
8
|
* - then you should implement <CountryField> or <StateField> directly
|
|
8
9
|
*/
|
|
9
|
-
export declare function FieldContainerComponent({ legalEntityId, classNameModifiers, schema, data, valid, errors, fieldProblems, fieldName, trimOnBlur, hideField, maxlength, readOnly, optional, handleChangeFor, handleAddressSearch, handleFindAddress, }: FieldContainerProps):
|
|
10
|
+
export declare function FieldContainerComponent({ legalEntityId, classNameModifiers, schema, data, valid, errors, fieldProblems, fieldName, trimOnBlur, hideField, maxlength, readOnly, optional, handleChangeFor, handleAddressSearch, handleFindAddress, }: FieldContainerProps): JSX.Element;
|
|
@@ -3,10 +3,5 @@ import type { PhoneInputProps, PhoneInputSchema } from './types';
|
|
|
3
3
|
export declare const phoneFields: (keyof PhoneInputSchema)[];
|
|
4
4
|
export type PhonePrefixes = Partial<Record<CountryCode, string>>;
|
|
5
5
|
declare function PhoneInputComponent(props: PhoneInputProps): import("preact").JSX.Element;
|
|
6
|
-
declare namespace PhoneInputComponent {
|
|
7
|
-
var defaultProps: {
|
|
8
|
-
phoneLabel: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
6
|
export declare const PhoneInput: typeof PhoneInputComponent;
|
|
12
7
|
export default PhoneInput;
|
|
@@ -12,7 +12,7 @@ export type AssociatedLeAnalyticsParams = {
|
|
|
12
12
|
associatedLegalEntityOrgType?: string;
|
|
13
13
|
};
|
|
14
14
|
export declare const getAssociatedLeAnalyticsPayload: ({ associatedLegalEntity, associatedLegalEntityOrg, }: GetAssociatedLeAnalyticsParams) => AssociatedLeAnalyticsParams;
|
|
15
|
-
export declare const debouncedInputEvent: import("lodash").DebouncedFunc<(properties: SetOptional<AdditionalEventProperties, "actionLevel"> & {
|
|
15
|
+
export declare const debouncedInputEvent: import("lodash-es").DebouncedFunc<(properties: SetOptional<AdditionalEventProperties, "actionLevel"> & {
|
|
16
16
|
field: string;
|
|
17
17
|
}) => void>;
|
|
18
18
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "2.71.
|
|
3
|
+
"version": "2.71.3",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -31,53 +31,6 @@
|
|
|
31
31
|
"url": "https://github.com/Adyen/adyen-kyc-components/"
|
|
32
32
|
},
|
|
33
33
|
"type": "module",
|
|
34
|
-
"scripts": {
|
|
35
|
-
"build": "npm run clean && vite build",
|
|
36
|
-
"build:npm": "npm run build && npm run types:build",
|
|
37
|
-
"build:demo": "vite build --mode demo",
|
|
38
|
-
"build:cdn": "npm run clean && vite build --mode production-cdn && ./scripts/move-sourcemaps.sh",
|
|
39
|
-
"build:watch": "npm run build -- --watch",
|
|
40
|
-
"check:all": "concurrently \"npm run types:check\" \"npm run lint:quiet\" \"npm run lint:scss\" \"npm run prettier\" -n tsc,eslint,stylelint,prettier -c cyan,magenta,yellow,blue",
|
|
41
|
-
"check:commits": "commitlint --from",
|
|
42
|
-
"check:commits:since-main": "npm run check:commits -- main",
|
|
43
|
-
"clean": "rm -rf dist*",
|
|
44
|
-
"commit": "commit",
|
|
45
|
-
"submit": "bash ./scripts/pr-create.sh",
|
|
46
|
-
"env:generate": "vite-node ./env/generateEnv.ts",
|
|
47
|
-
"demo": "npm run build:demo && npm run demo:serve",
|
|
48
|
-
"demo:serve": "vite preview --mode demo",
|
|
49
|
-
"dev": "concurrently \"vite dev\" \"npm run types:watch\" -n vite,tsc -c green,cyan -k",
|
|
50
|
-
"dev:mocked": "concurrently \"vite dev --mode mocked\" \"npm run types:watch\" -n vite,tsc -c green,cyan -k",
|
|
51
|
-
"fix:all": "npm run fix:prettier && npm run fix:lint",
|
|
52
|
-
"fix:lint": "npm run lint:fix",
|
|
53
|
-
"fix:prettier": "npm run prettier:fix",
|
|
54
|
-
"lint:all": "concurrently \"npm run lint\" \"npm run lint:scss\" -p none",
|
|
55
|
-
"lint": "eslint --config ./.eslintrc.cjs --cache --cache-location ./node_modules/.cache/.eslintcache \"**/*\"",
|
|
56
|
-
"lint:fix": "npm run lint -- --fix",
|
|
57
|
-
"lint:quiet": "npm run lint -- --quiet",
|
|
58
|
-
"lint:quiet:fix": "npm run lint:fix -- --quiet",
|
|
59
|
-
"lint:scss": "stylelint 'src/**/*.scss' '!node_modules/**/*.scss'",
|
|
60
|
-
"lint:scss:fix": "npm run lint:scss -- --fix",
|
|
61
|
-
"prepare": "bash ./scripts/process-package-lock.sh",
|
|
62
|
-
"prettier": "prettier --config ./.prettierrc.json --ignore-unknown --check \"**/*\"",
|
|
63
|
-
"prettier:fix": "prettier --config ./.prettierrc.json --ignore-unknown --write \"**/*\"",
|
|
64
|
-
"release": "release-it",
|
|
65
|
-
"repo:setup": "bash ./scripts/first-time-setup.sh",
|
|
66
|
-
"sentry:upload-sourcemaps": "bash ./scripts/upload-sentry-sourcemaps.sh",
|
|
67
|
-
"start": "npm run dev",
|
|
68
|
-
"storybook": "vite-node .storybook/scripts/runStorybook.ts",
|
|
69
|
-
"storybook:build": "vite-node .storybook/scripts/buildStorybook.ts",
|
|
70
|
-
"test": "vitest",
|
|
71
|
-
"test:coverage": "vitest --coverage",
|
|
72
|
-
"test:e2e": "playwright test",
|
|
73
|
-
"test:e2e:debug": "cross-env PWDEBUG=console playwright test --debug",
|
|
74
|
-
"test:e2e:ui": "playwright test --ui",
|
|
75
|
-
"test:ui": "vitest --ui",
|
|
76
|
-
"test:watch": "npm run test --watch",
|
|
77
|
-
"types:build": "tsc --project tsconfig-build.json",
|
|
78
|
-
"types:check": "tsc && tsc-strict",
|
|
79
|
-
"types:watch": "tsc --watch --preserveWatchOutput"
|
|
80
|
-
},
|
|
81
34
|
"dependencies": {
|
|
82
35
|
"@adyen/adyen-document-viewer": "^1.1.3",
|
|
83
36
|
"@adyen/bento-design-tokens": "^1.13.1",
|
|
@@ -110,9 +63,10 @@
|
|
|
110
63
|
"@testing-library/jest-dom": "^5.17.0",
|
|
111
64
|
"@testing-library/preact": "^3.2.3",
|
|
112
65
|
"@testing-library/user-event": "^14.4.3",
|
|
113
|
-
"@types/dompurify": "
|
|
66
|
+
"@types/dompurify": "3.0.5",
|
|
114
67
|
"@types/inquirer": "^9.0.3",
|
|
115
68
|
"@types/lodash-es": "^4.17.12",
|
|
69
|
+
"@types/testing-library__jest-dom": "^5.14.9",
|
|
116
70
|
"@types/validator": "^13.12.0",
|
|
117
71
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
118
72
|
"@typescript-eslint/parser": "^5.62.0",
|
|
@@ -140,9 +94,9 @@
|
|
|
140
94
|
"msw": "^2.3.5",
|
|
141
95
|
"phone": "^3.1.40",
|
|
142
96
|
"postcss": "^8.4.29",
|
|
143
|
-
"prettier": "^
|
|
97
|
+
"prettier": "^3.6.2",
|
|
144
98
|
"pseudolocale": "^2.0.0",
|
|
145
|
-
"
|
|
99
|
+
"rollup": "^4.20.0",
|
|
146
100
|
"sass": "^1.66.1",
|
|
147
101
|
"stylelint": "^15.9.0",
|
|
148
102
|
"stylelint-config-recommended-scss": "^11.0.0",
|
|
@@ -166,5 +120,50 @@
|
|
|
166
120
|
},
|
|
167
121
|
"engines": {
|
|
168
122
|
"node": ">=20"
|
|
123
|
+
},
|
|
124
|
+
"scripts": {
|
|
125
|
+
"build": "pnpm clean && vite build",
|
|
126
|
+
"build:npm": "pnpm build && pnpm types:build",
|
|
127
|
+
"build:demo": "vite build --mode demo",
|
|
128
|
+
"build:cdn": "pnpm clean && vite build --mode production-cdn && ./scripts/move-sourcemaps.sh",
|
|
129
|
+
"build:watch": "pnpm build --watch",
|
|
130
|
+
"check:all": "concurrently \"pnpm types:check\" \"pnpm lint:quiet\" \"pnpm lint:scss\" \"pnpm prettier\" -n tsc,eslint,stylelint,prettier -c cyan,magenta,yellow,blue",
|
|
131
|
+
"check:commits": "commitlint --from",
|
|
132
|
+
"check:commits:since-main": "pnpm check:commits main-v2",
|
|
133
|
+
"clean": "rm -rf dist*",
|
|
134
|
+
"commit": "commit",
|
|
135
|
+
"submit": "bash ./scripts/pr-create.sh",
|
|
136
|
+
"env:generate": "vite-node ./env/generateEnv.ts",
|
|
137
|
+
"demo": "pnpm build:demo && pnpm demo:serve",
|
|
138
|
+
"demo:serve": "vite preview --mode demo",
|
|
139
|
+
"dev": "concurrently \"vite dev\" \"pnpm types:watch\" -n vite,tsc -c green,cyan -k",
|
|
140
|
+
"dev:mocked": "concurrently \"vite dev --mode mocked\" \"pnpm types:watch\" -n vite,tsc -c green,cyan -k",
|
|
141
|
+
"fix:all": "pnpm fix:prettier && pnpm fix:lint",
|
|
142
|
+
"fix:lint": "pnpm lint:fix",
|
|
143
|
+
"fix:prettier": "pnpm prettier:fix",
|
|
144
|
+
"lint:all": "concurrently \"pnpm lint\" \"pnpm lint:scss\" -p none",
|
|
145
|
+
"lint": "eslint --config ./.eslintrc.cjs --cache --cache-location ./node_modules/.cache/.eslintcache \"**/*\"",
|
|
146
|
+
"lint:fix": "pnpm lint --fix",
|
|
147
|
+
"lint:quiet": "pnpm lint --quiet",
|
|
148
|
+
"lint:quiet:fix": "pnpm lint:fix --quiet",
|
|
149
|
+
"lint:scss": "stylelint 'src/**/*.scss' '!node_modules/**/*.scss'",
|
|
150
|
+
"lint:scss:fix": "pnpm lint:scss --fix",
|
|
151
|
+
"prettier": "prettier --config ./.prettierrc.json --ignore-unknown --check \"**/*\"",
|
|
152
|
+
"prettier:fix": "prettier --config ./.prettierrc.json --ignore-unknown --write \"**/*\"",
|
|
153
|
+
"repo:setup": "bash ./scripts/first-time-setup.sh",
|
|
154
|
+
"sentry:upload-sourcemaps": "bash ./scripts/upload-sentry-sourcemaps.sh",
|
|
155
|
+
"start": "pnpm dev",
|
|
156
|
+
"storybook": "vite-node .storybook/scripts/runStorybook.ts",
|
|
157
|
+
"storybook:build": "vite-node .storybook/scripts/buildStorybook.ts",
|
|
158
|
+
"test": "vitest",
|
|
159
|
+
"test:coverage": "vitest --coverage",
|
|
160
|
+
"test:e2e": "playwright test",
|
|
161
|
+
"test:e2e:debug": "cross-env PWDEBUG=console playwright test --debug",
|
|
162
|
+
"test:e2e:ui": "playwright test --ui",
|
|
163
|
+
"test:ui": "vitest --ui",
|
|
164
|
+
"test:watch": "pnpm test --watch",
|
|
165
|
+
"types:build": "tsc --project tsconfig-build.json",
|
|
166
|
+
"types:check": "tsc && tsc-strict",
|
|
167
|
+
"types:watch": "tsc --watch --preserveWatchOutput"
|
|
169
168
|
}
|
|
170
|
-
}
|
|
169
|
+
}
|