@adyen/kyc-components 3.18.1 → 3.19.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.
Files changed (48) hide show
  1. package/dist/es/adyen-kyc-components.es.js +1367 -484
  2. package/dist/style.css +1134 -2304
  3. package/dist/types/components/BusinessDetails/forms.d.ts +2 -1
  4. package/dist/types/components/CompanyOtherDetails/types.d.ts +2 -1
  5. package/dist/types/components/CompanyRegistrationDetails/types.d.ts +1 -0
  6. package/dist/types/components/Dropins/CompanyDropin/components/CompanyDropinComponent.d.ts +1 -1
  7. package/dist/types/components/Dropins/CompanyDropin/types.d.ts +0 -2
  8. package/dist/types/components/Dropins/HighExposureDropin/components/AdditionalFieldsForHighExposureCompany.d.ts +4 -0
  9. package/dist/types/components/Dropins/HighExposureDropin/components/AdditionalFieldsForHighExposureParentCompany.d.ts +4 -0
  10. package/dist/types/components/Dropins/HighExposureDropin/components/AdditionalFieldsForHighExposureUltimateParentCompany.d.ts +4 -0
  11. package/dist/types/components/Dropins/HighExposureDropin/components/HighExposureDropinComponent.d.ts +6 -0
  12. package/dist/types/components/Dropins/HighExposureDropin/types.d.ts +34 -0
  13. package/dist/types/components/Dropins/HighExposureDropin/validate.d.ts +3 -0
  14. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/OnboardingDropinComponent.d.ts +2 -1
  15. package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/UpdateLegalEntityForHighExposure.d.ts +2 -0
  16. package/dist/types/components/Individual/types.d.ts +3 -1
  17. package/dist/types/components/SingpassBanner/index.d.ts +2 -0
  18. package/dist/types/components/SingpassSelection/index.d.ts +1 -0
  19. package/dist/types/components/SingpassSelection/types.d.ts +4 -0
  20. package/dist/types/components/index.d.ts +2 -0
  21. package/dist/types/components/internal/DocumentGuidance/DocumentGuidance.d.ts +1 -1
  22. package/dist/types/components/internal/FormFields/Field/Field.d.ts +5 -3
  23. package/dist/types/components/internal/IdFieldTypeSelector/countryIdNumberTypes.d.ts +8 -0
  24. package/dist/types/components/internal/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +4 -1
  25. package/dist/types/components/internal/StockISINField/types.d.ts +1 -1
  26. package/dist/types/components/internal/StockTickerSymbol/StockTickerSymbolField.d.ts +3 -0
  27. package/dist/types/components/internal/StockTickerSymbol/fieldConfig.d.ts +3 -0
  28. package/dist/types/components/internal/StockTickerSymbol/index.d.ts +1 -0
  29. package/dist/types/components/internal/StockTickerSymbol/types.d.ts +5 -0
  30. package/dist/types/components/internal/TaxId/fieldConfig.d.ts +3 -0
  31. package/dist/types/core/Context/ExperimentContext/types.d.ts +1 -0
  32. package/dist/types/core/Context/StateContext/types.d.ts +2 -1
  33. package/dist/types/core/Services/componentApi/{get-service-agreement-acceptance-info.d.ts → get-service-agreement-acceptance-infos.d.ts} +1 -1
  34. package/dist/types/core/Services/componentApi/push-events.d.ts +1 -2
  35. package/dist/types/core/hooks/useAnalytics.d.ts +9 -3
  36. package/dist/types/core/hooks/useCanSeeEntitySelection.d.ts +6 -0
  37. package/dist/types/core/process-field-configurations.d.ts +2 -0
  38. package/dist/types/core/user-events.d.ts +4 -8
  39. package/dist/types/core/utils.d.ts +1 -1
  40. package/dist/types/utils/api/processValidationErrors.d.ts +4 -1
  41. package/dist/types/utils/get-props.d.ts +17 -0
  42. package/dist/types/utils/getNestedPropertyKeys.d.ts +1 -1
  43. package/dist/types/utils/mapping/componentApiMapping.d.ts +11 -0
  44. package/dist/types/utils/mapping/mapping.d.ts +3 -0
  45. package/dist/types/utils/verification/helpers/verify-id-number-helper.d.ts +8 -3
  46. package/dist/types/utils/verification/verificationUtils.d.ts +14 -4
  47. package/package.json +7 -4
  48. package/dist/types/core/models/id-verification-status.d.ts +0 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.18.1",
3
+ "version": "3.19.1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -59,8 +59,9 @@
59
59
  "storybook:build": "vite-node ./.storybook/buildStorybook.ts",
60
60
  "test": "vitest",
61
61
  "test:coverage": "vitest --coverage",
62
- "test:e2e": "playwright test --project local-chrome",
63
- "test:e2e:debug": "cross-env PWDEBUG=console playwright test --debug --project chromium",
62
+ "test:e2e": "playwright test",
63
+ "test:e2e:debug": "cross-env PWDEBUG=console playwright test --debug",
64
+ "test:e2e:ui": "playwright test --ui",
64
65
  "test:ui": "vitest --ui",
65
66
  "test:watch": "npm run test --watch",
66
67
  "types:build": "tsc --project tsconfig-build.json",
@@ -69,10 +70,11 @@
69
70
  },
70
71
  "dependencies": {
71
72
  "@adyen/adyen-document-viewer": "^1.1.0",
73
+ "@adyen/bento-design-tokens": "^1.13.1",
72
74
  "@adyen/openbankingsdk": "^0.1.2",
73
75
  "classnames": "^2.3.2",
74
76
  "isomorphic-dompurify": "^0.13.0",
75
- "lodash": "^4.17.21",
77
+ "lodash-es": "^4.17.21",
76
78
  "onfido-sdk-ui": "12.3.5",
77
79
  "preact": "^10.17.1",
78
80
  "validator": "^13.5.2"
@@ -93,6 +95,7 @@
93
95
  "@testing-library/user-event": "^14.4.3",
94
96
  "@types/dompurify": "^3.0.5",
95
97
  "@types/inquirer": "^9.0.3",
98
+ "@types/lodash-es": "^4.17.12",
96
99
  "@types/validator": "^13.12.0",
97
100
  "@typescript-eslint/eslint-plugin": "^5.62.0",
98
101
  "@typescript-eslint/parser": "^5.62.0",
@@ -1,7 +0,0 @@
1
- import type { VerifyIdNumberResponse } from './api/verify-id-number';
2
- export interface IdVerificationStatus {
3
- status: string;
4
- data: VerifyIdNumberResponse;
5
- fieldName: string;
6
- translationKey?: string;
7
- }