@adyen/kyc-components 3.49.0 → 3.49.2

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.
@@ -1,7 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { b as createContext, d as createSignal, o as onMount, e as createEffect, c as createMemo, a as createComponent, P as Portal, S as Show, t as template, i as insert, f as createRenderEffect, h as className, j as clearDelegatedEvents, k as delegateEvents, u as useContext, l as onCleanup, s as sortFns, m as mutationSortFns, n as on, p as setAttribute, q as getSidedProp, r as use, v as createUniqueId, w as batch, x as getQueryStatusLabel, y as getMutationStatusColor, z as getQueryStatusColor, A as getQueryStatusColorByLabel, B as displayValue, F as For, C as convertRemToPixels, D as untrack, $ as $TRACK, E as useTransition, G as spread, H as mergeProps, I as createRoot, J as serialize, K as Index, L as updateNestedDataByPath, M as addEventListener, N as stringify, O as Match, Q as Switch, R as deleteNestedDataByPath, T as splitProps, U as Dynamic, V as createComputed } from "./index-BUsoJwWB.js";
4
+ import { b as createContext, d as createSignal, o as onMount, e as createEffect, c as createMemo, a as createComponent, P as Portal, S as Show, t as template, i as insert, f as createRenderEffect, h as className, j as clearDelegatedEvents, k as delegateEvents, u as useContext, l as onCleanup, s as sortFns, m as mutationSortFns, n as on, p as setAttribute, q as getSidedProp, r as use, v as createUniqueId, w as batch, x as getQueryStatusLabel, y as getMutationStatusColor, z as getQueryStatusColor, A as getQueryStatusColorByLabel, B as displayValue, F as For, C as convertRemToPixels, D as untrack, $ as $TRACK, E as useTransition, G as spread, H as mergeProps, I as createRoot, J as serialize, K as Index, L as updateNestedDataByPath, M as addEventListener, N as stringify, O as Match, Q as Switch, R as deleteNestedDataByPath, T as splitProps, U as Dynamic, V as createComputed } from "./index-B3fvfRtD.js";
5
5
  var isNonNullable = (i2) => i2 != null;
6
6
  var filterNonNullable = (arr) => arr.filter(isNonNullable);
7
7
  function chain(callbacks) {
@@ -1,5 +1,5 @@
1
- import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-CklLzOTw.js";
2
- import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-BUsoJwWB.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-DvtM_CXZ.js";
2
+ import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-B3fvfRtD.js";
3
3
  var DevtoolsComponent = (props) => {
4
4
  const [localStore, setLocalStore] = createLocalStorage({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,5 +1,5 @@
1
- import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./B4MFY5CR-CklLzOTw.js";
2
- import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-BUsoJwWB.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./B4MFY5CR-DvtM_CXZ.js";
2
+ import { g as getPreferredColorScheme, c as createMemo, a as createComponent } from "./index-B3fvfRtD.js";
3
3
  var DevtoolsPanelComponent = (props) => {
4
4
  const [localStore, setLocalStore] = createLocalStorage({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,4 +1,4 @@
1
- import { W } from "./index-BUsoJwWB.js";
1
+ import { W } from "./index-B3fvfRtD.js";
2
2
  export {
3
3
  W as default
4
4
  };
@@ -4409,7 +4409,6 @@ class UserEvents {
4409
4409
  addEvent(eventName, properties) {
4410
4410
  const completeEvent = { ...this.baseTrackingPayload, ...properties };
4411
4411
  this.add({ type: "add_event", name: eventName, properties: { ...completeEvent } });
4412
- console.log("addevent", "name", eventName, completeEvent);
4413
4412
  this.notifySubscribers();
4414
4413
  }
4415
4414
  /**
@@ -4501,11 +4500,11 @@ const Field = ({
4501
4500
  const returnValue = typeof errorMessage === "string" && errorMessage || typeof formatGuidance === "string" && formatGuidance || "invalid";
4502
4501
  userEvents.addFieldEvent("Encountered error", {
4503
4502
  actionType: "input",
4504
- field: label,
4503
+ field: name,
4505
4504
  returnType: "validation",
4506
4505
  returnValue
4507
4506
  });
4508
- }, [label, errorMessage, formatGuidance]);
4507
+ }, [name, errorMessage, formatGuidance]);
4509
4508
  return /* @__PURE__ */ jsx(
4510
4509
  "div",
4511
4510
  {
@@ -4790,12 +4789,11 @@ function Checkbox({
4790
4789
  enableTracking = false,
4791
4790
  ...props
4792
4791
  }) {
4793
- const field = typeof label === "string" ? label : props.name;
4794
4792
  const handleChange = (newValue) => {
4795
4793
  if (enableTracking) {
4796
4794
  userEvents.addFieldEvent("Interacted with form field", {
4797
4795
  actionType: "input",
4798
- field,
4796
+ field: props.name,
4799
4797
  returnValue: String(newValue)
4800
4798
  });
4801
4799
  }
@@ -12220,7 +12218,7 @@ const isExistingFile = (file) => "existing" in file && file.existing;
12220
12218
  const isNewlyUploadedFile = (file) => !isExistingFile(file);
12221
12219
  function DropzoneFile(props) {
12222
12220
  var _a2;
12223
- const { label, file, errorMessage, onDelete } = props;
12221
+ const { file, errorMessage, onDelete } = props;
12224
12222
  const { i18n } = useI18nContext();
12225
12223
  let documentIcon;
12226
12224
  const formatSize = (bytes) => {
@@ -12241,11 +12239,11 @@ function DropzoneFile(props) {
12241
12239
  if (!errorMessage) return;
12242
12240
  userEvents.addFieldEvent("Encountered error", {
12243
12241
  actionType: "change",
12244
- field: label || "dropzone",
12242
+ field: "dropzone file",
12245
12243
  returnType: "validation",
12246
12244
  returnValue: errorMessage
12247
12245
  });
12248
- }, [label, errorMessage]);
12246
+ }, [errorMessage]);
12249
12247
  return /* @__PURE__ */ jsxs(
12250
12248
  "div",
12251
12249
  {
@@ -12444,7 +12442,7 @@ function Dropzone(props) {
12444
12442
  if (enableTracking) {
12445
12443
  userEvents.addFieldEvent("Interacted with form field", {
12446
12444
  actionType: "change",
12447
- field: label || "file picker"
12445
+ field: name || "file picker"
12448
12446
  });
12449
12447
  }
12450
12448
  const currentFiles = (data == null ? void 0 : data[name]) || [];
@@ -12517,7 +12515,6 @@ function Dropzone(props) {
12517
12515
  return /* @__PURE__ */ jsx(
12518
12516
  DropzoneFile,
12519
12517
  {
12520
- label,
12521
12518
  file,
12522
12519
  onDelete: () => handleFileDelete(file),
12523
12520
  errorMessage: (_a3 = errors == null ? void 0 : errors[name]) == null ? void 0 : _a3.errorMessage
@@ -21269,6 +21266,7 @@ function FilePicker({
21269
21266
  errorMessage,
21270
21267
  multiple = false,
21271
21268
  label,
21269
+ name,
21272
21270
  iconPrefix = "generic-document",
21273
21271
  enableTracking = false,
21274
21272
  // file validation options
@@ -21315,7 +21313,7 @@ function FilePicker({
21315
21313
  if (enableTracking) {
21316
21314
  userEvents.addFieldEvent("Interacted with form field", {
21317
21315
  actionType: "change",
21318
- field: label || "dropzone"
21316
+ field: name || "dropzone"
21319
21317
  });
21320
21318
  }
21321
21319
  setFiles([...newFiles, ...files]);
@@ -21334,7 +21332,6 @@ function FilePicker({
21334
21332
  files.map((file) => /* @__PURE__ */ jsx(
21335
21333
  DropzoneFile,
21336
21334
  {
21337
- label,
21338
21335
  file,
21339
21336
  onDelete: () => handleFileDelete(file),
21340
21337
  errorMessage,
@@ -21712,6 +21709,7 @@ function BankDocument(props) {
21712
21709
  FilePicker,
21713
21710
  {
21714
21711
  ...childProps,
21712
+ name: "bankStatementDocument",
21715
21713
  files: data.bankStatementDocument ?? [],
21716
21714
  setFiles: handleChangeFor("bankStatementDocument"),
21717
21715
  isValid: valid.bankStatementDocument ?? isBankStatementOptional,
@@ -29974,7 +29972,6 @@ const useFormComposer = ({
29974
29972
  externalBackClick,
29975
29973
  onSubmit
29976
29974
  }) => {
29977
- const { i18n } = useI18nContext();
29978
29975
  const [shouldValidate, setShouldValidate] = useState(false);
29979
29976
  const [activeForm, setActiveForm] = useState(forms[0]);
29980
29977
  const isFormSummaryStep = (form) => form.formId === summaryStep.formId;
@@ -30004,7 +30001,7 @@ const useFormComposer = ({
30004
30001
  ...baseTrackingPayload,
30005
30002
  actionLevel: "page",
30006
30003
  actionType: "next",
30007
- page: i18n.get(formName)
30004
+ page: formName
30008
30005
  });
30009
30006
  };
30010
30007
  const gotoFormByFormIndex = (nextFormIndex) => {
@@ -36749,7 +36746,9 @@ const DecisionMakers = ({
36749
36746
  const decisionMakers = getOwnDecisionMakers(legalEntityResponse);
36750
36747
  const registeredCountry = (_b2 = (_a2 = legalEntityResponse == null ? void 0 : legalEntityResponse.organization) == null ? void 0 : _a2.registeredAddress) == null ? void 0 : _b2.country;
36751
36748
  const availableDecisionMakers = getAvailableDecisionMakerRoleTypes(registeredCountry);
36752
- const homeButtonLabel = i18n.get("saveAndGoToOverview");
36749
+ const translationKeys = {
36750
+ home: "saveAndGoToOverview"
36751
+ };
36753
36752
  const { remediationMessages } = useDataMissingRemediations({
36754
36753
  legalEntityId: legalEntityResponse.id,
36755
36754
  problems: capabilityProblems
@@ -36779,10 +36778,10 @@ const DecisionMakers = ({
36779
36778
  task: TaskTypes.DECISION_MAKER_OVERVIEW,
36780
36779
  actionLevel: "task",
36781
36780
  actionType: "alert",
36782
- label: remediationMessages.DECISION_MAKER
36781
+ label: "missingDecisionMaker"
36783
36782
  });
36784
36783
  }
36785
- }, [showWarning]);
36784
+ }, [remediationMessages.DECISION_MAKER, showWarning]);
36786
36785
  const uniqueDecisionMakersPerType = (roleType) => uniqueDecisionMakers.filter(({ types }) => types.includes(roleType)).length;
36787
36786
  const allowedDecisionMakerTypes = getAllowedDecisionMakerRoles(
36788
36787
  legalEntityResponse,
@@ -36918,12 +36917,12 @@ const DecisionMakers = ({
36918
36917
  task: TaskTypes.DECISION_MAKER_OVERVIEW,
36919
36918
  actionLevel: "task",
36920
36919
  actionType: "back",
36921
- label: homeButtonLabel,
36920
+ label: translationKeys.home,
36922
36921
  noOfDecisionMakers: decisionMakers.length
36923
36922
  });
36924
36923
  navigateBackToTaskList();
36925
36924
  },
36926
- homeButtonLabel
36925
+ homeButtonLabel: i18n.get(translationKeys.home)
36927
36926
  }
36928
36927
  )
36929
36928
  ] })
@@ -37100,11 +37099,11 @@ const Introduction = ({
37100
37099
  onExitIntroduction();
37101
37100
  }
37102
37101
  }, [introductionScreens]);
37103
- const buttonLabels = {
37104
- skip: i18n.get("goToOverviewFromIntroduction"),
37105
- back: i18n.get("back"),
37106
- next: i18n.get("next"),
37107
- start: i18n.get("start")
37102
+ const translationKeys = {
37103
+ skip: "goToOverviewFromIntroduction",
37104
+ back: "back",
37105
+ next: "next",
37106
+ start: "start"
37108
37107
  };
37109
37108
  return (introductionScreens == null ? void 0 : introductionScreens.length) ? /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-introduction", children: [
37110
37109
  /* @__PURE__ */ jsx(
@@ -37117,12 +37116,12 @@ const Introduction = ({
37117
37116
  /* @__PURE__ */ jsx("div", { className: "adyen-kyc-introduction__skip", children: /* @__PURE__ */ jsx(
37118
37117
  Button,
37119
37118
  {
37120
- label: buttonLabels.skip,
37119
+ label: i18n.get(translationKeys.skip),
37121
37120
  onClick: () => {
37122
37121
  userEvents.addEvent("Clicked button", {
37123
37122
  ...pageEventDetails,
37124
37123
  actionType: "skip",
37125
- label: buttonLabels.skip
37124
+ label: translationKeys.skip
37126
37125
  });
37127
37126
  onExitIntroduction();
37128
37127
  },
@@ -37144,12 +37143,12 @@ const Introduction = ({
37144
37143
  Button,
37145
37144
  {
37146
37145
  disabled: activeIndex === 0,
37147
- label: buttonLabels.back,
37146
+ label: i18n.get(translationKeys.back),
37148
37147
  onClick: () => {
37149
37148
  userEvents.addEvent("Clicked button", {
37150
37149
  ...pageEventDetails,
37151
37150
  actionType: "back",
37152
- label: buttonLabels.back
37151
+ label: translationKeys.back
37153
37152
  });
37154
37153
  setActiveIndex((currentValue) => currentValue - 1);
37155
37154
  },
@@ -37160,12 +37159,12 @@ const Introduction = ({
37160
37159
  activeIndex + 1 === introductionScreens.length ? /* @__PURE__ */ jsx(
37161
37160
  Button,
37162
37161
  {
37163
- label: buttonLabels.start,
37162
+ label: i18n.get(translationKeys.start),
37164
37163
  onClick: () => {
37165
37164
  userEvents.addEvent("Success", {
37166
37165
  actionLevel: "task",
37167
37166
  actionType: "start",
37168
- label: buttonLabels.start
37167
+ label: translationKeys.start
37169
37168
  });
37170
37169
  onExitIntroduction();
37171
37170
  },
@@ -37174,12 +37173,12 @@ const Introduction = ({
37174
37173
  ) : /* @__PURE__ */ jsx(
37175
37174
  Button,
37176
37175
  {
37177
- label: buttonLabels.next,
37176
+ label: i18n.get(translationKeys.next),
37178
37177
  onClick: () => {
37179
37178
  userEvents.addEvent("Clicked button", {
37180
37179
  ...pageEventDetails,
37181
37180
  actionType: "next",
37182
- label: buttonLabels.next
37181
+ label: translationKeys.next
37183
37182
  });
37184
37183
  setActiveIndex((currentValue) => currentValue + 1);
37185
37184
  },
@@ -37696,7 +37695,7 @@ function TaskList({
37696
37695
  task: TaskTypes.TASKS_OVERVIEW,
37697
37696
  actionLevel: "task",
37698
37697
  actionType: "alert",
37699
- label: remediationMessages.DECISION_MAKER
37698
+ label: "missingDecisionMaker"
37700
37699
  });
37701
37700
  }
37702
37701
  }, [showDecisionMakersWarning]);
@@ -38630,7 +38629,7 @@ function IndividualDropin({
38630
38629
  legalEntityId: updatedLegalEntity.id,
38631
38630
  entityType: updatedLegalEntity.type,
38632
38631
  countryOfRegistration: ((_c3 = dataSubmitted.personalDetails) == null ? void 0 : _c3.residencyCountry) || null,
38633
- idDocumentType: idDocumentType || null
38632
+ documentType: idDocumentType || null
38634
38633
  });
38635
38634
  }
38636
38635
  return updatedLegalEntity;
@@ -38764,7 +38763,7 @@ function IndividualDropin({
38764
38763
  actionLevel: "task",
38765
38764
  actionType: "submit",
38766
38765
  countryOfRegistration: ((_b3 = dataSubmitted == null ? void 0 : dataSubmitted.personalDetails) == null ? void 0 : _b3.residencyCountry) || null,
38767
- idDocumentType: idDocumentType || null
38766
+ documentType: idDocumentType || null
38768
38767
  });
38769
38768
  legalEntity2.entityAssociations = filterOutUnwantedAssociationsIfRootLE(
38770
38769
  taskType,
@@ -39206,7 +39205,7 @@ function PayoutDetailsDropin({
39206
39205
  userEvents.addEvent("Landed on page", {
39207
39206
  actionLevel: "task",
39208
39207
  actionType: "start",
39209
- isUsingNewBankingFlowExperiment: true
39208
+ isUsingNewBankingFlowExperiment: enableEmphasizedCredentialBankingFlow
39210
39209
  });
39211
39210
  }, []);
39212
39211
  useEffect(() => {
@@ -39599,8 +39598,10 @@ function PciDropin({
39599
39598
  const { showToast } = useToastContext();
39600
39599
  const [loadingStatus, setLoadingStatus] = useState();
39601
39600
  const hasExpired = useHasExpired();
39602
- const signButtonLabel = i18n.get("sign");
39603
- const homeButtonLabel = i18n.get("finishLater");
39601
+ const translationKeys = {
39602
+ home: "finishLater",
39603
+ sign: "sign"
39604
+ };
39604
39605
  const { handleChangeFor, triggerValidation, data, valid, isValid, errors } = useForm({
39605
39606
  schema: PciFields,
39606
39607
  rules: pciValidationRules
@@ -39630,7 +39631,7 @@ function PciDropin({
39630
39631
  const baseTracking = {
39631
39632
  actionLevel: "task",
39632
39633
  actionType: "sign",
39633
- label: signButtonLabel
39634
+ label: translationKeys.sign
39634
39635
  };
39635
39636
  userEvents.addEvent("Clicked button", baseTracking);
39636
39637
  triggerValidation();
@@ -39663,7 +39664,7 @@ function PciDropin({
39663
39664
  userEvents.addEvent("Clicked button", {
39664
39665
  actionLevel: "task",
39665
39666
  actionType: "back",
39666
- label: homeButtonLabel
39667
+ label: translationKeys.home
39667
39668
  });
39668
39669
  handleHomeClick();
39669
39670
  };
@@ -39743,8 +39744,8 @@ function PciDropin({
39743
39744
  ] }) }),
39744
39745
  /* @__PURE__ */ jsxs(ModalFooter, { children: [
39745
39746
  /* @__PURE__ */ jsx("div", { style: { flex: "1" } }),
39746
- /* @__PURE__ */ jsx(Button, { label: homeButtonLabel, secondary: true, icon: "save", onClick: goHome }),
39747
- /* @__PURE__ */ jsx(Button, { label: signButtonLabel, onClick: handleSignClick })
39747
+ /* @__PURE__ */ jsx(Button, { label: i18n.get(translationKeys.home), secondary: true, icon: "save", onClick: goHome }),
39748
+ /* @__PURE__ */ jsx(Button, { label: i18n.get(translationKeys.sign), onClick: handleSignClick })
39748
39749
  ] })
39749
39750
  ] });
39750
39751
  }
@@ -40653,8 +40654,10 @@ function ServiceAgreementDropin({
40653
40654
  const canSign = (serviceAgreementTypes == null ? void 0 : serviceAgreementTypes.includes(activeForm == null ? void 0 : activeForm.serviceAgreementType)) && !(activeForm == null ? void 0 : activeForm.acceptanceId);
40654
40655
  const isLastStep = activeFormIndex === forms.length - 1;
40655
40656
  const showSignedAlert = !!(activeForm == null ? void 0 : activeForm.acceptanceId);
40656
- const homeButtonLabel = i18n.get("goToOverview");
40657
- const nextButtonLabel = i18n.get(canSign ? "sign" : "next");
40657
+ const translationKeys = {
40658
+ home: "goToOverview",
40659
+ next: canSign ? "sign" : "next"
40660
+ };
40658
40661
  const handleServiceAgreementIsNotAvailableInThatLanguage = useCallback(() => {
40659
40662
  showToast({
40660
40663
  label: i18n.get("failedToGetServiceAgreementInSelectedLanguageFallbackToEn"),
@@ -40699,7 +40702,7 @@ function ServiceAgreementDropin({
40699
40702
  actionLevel: "task",
40700
40703
  actionType: "sign"
40701
40704
  };
40702
- userEvents.addEvent("Clicked button", { ...baseTracking, label: nextButtonLabel });
40705
+ userEvents.addEvent("Clicked button", { ...baseTracking, label: translationKeys.next });
40703
40706
  triggerValidation();
40704
40707
  if (loadingStatus === "loading" || !serviceAgreement || !data.signer) return;
40705
40708
  if (isValid) {
@@ -40735,7 +40738,7 @@ function ServiceAgreementDropin({
40735
40738
  userEvents.addEvent("Clicked button", {
40736
40739
  actionLevel: "task",
40737
40740
  actionType: "back",
40738
- label: homeButtonLabel
40741
+ label: translationKeys.home
40739
40742
  });
40740
40743
  handleHomeClick();
40741
40744
  };
@@ -40955,9 +40958,9 @@ function ServiceAgreementDropin({
40955
40958
  ActionBar,
40956
40959
  {
40957
40960
  onHome: goHome,
40958
- homeButtonLabel,
40961
+ homeButtonLabel: i18n.get(translationKeys.home),
40959
40962
  onNext: canSign ? handleSignClick : () => gotoForm(activeFormIndex + 1),
40960
- nextButtonLabel,
40963
+ nextButtonLabel: i18n.get(translationKeys.next),
40961
40964
  nextButtonDisabled: forms.length === 0 || !canSign && isLastStep,
40962
40965
  onBack: () => gotoForm(activeFormIndex - 1),
40963
40966
  hideBackButton: activeFormIndex === 0,
@@ -50623,7 +50626,7 @@ const ConfigurationApiProvider = ({
50623
50626
  }) => {
50624
50627
  const authContext = useAuthContext();
50625
50628
  const { isEmbeddedDropin, loadingContext } = authContext;
50626
- const sdkVersion = "3.49.0";
50629
+ const sdkVersion = "3.49.2";
50627
50630
  const rootLegalEntityId = useGlobalStore((store) => store.rootLegalEntity.id);
50628
50631
  useAnalytics({
50629
50632
  onUserEvent,
@@ -51507,7 +51510,7 @@ const DebugModal = ({ onExit }) => {
51507
51510
  const [tab, setTab] = useState("metadata");
51508
51511
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
51509
51512
  const metadata = {
51510
- sdkVersion: "3.49.0",
51513
+ sdkVersion: "3.49.2",
51511
51514
  locale: i18n.locale,
51512
51515
  rootLegalEntityId: rootLegalEntity.id
51513
51516
  };
@@ -54504,7 +54507,7 @@ var TanstackQueryDevtools = (_k = class {
54504
54507
  if (__privateGet(this, _Component)) {
54505
54508
  Devtools = __privateGet(this, _Component);
54506
54509
  } else {
54507
- Devtools = lazy(() => import("./HO4MOOFI-DEViuS9B.js"));
54510
+ Devtools = lazy(() => import("./HO4MOOFI-BPdL391L.js"));
54508
54511
  __privateSet(this, _Component, Devtools);
54509
54512
  }
54510
54513
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -54626,7 +54629,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
54626
54629
  if (__privateGet(this, _Component2)) {
54627
54630
  Devtools = __privateGet(this, _Component2);
54628
54631
  } else {
54629
- Devtools = lazy(() => import("./HUY7CZI3-BQciooRq.js"));
54632
+ Devtools = lazy(() => import("./HUY7CZI3-Cl0-ZtHu.js"));
54630
54633
  __privateSet(this, _Component2, Devtools);
54631
54634
  }
54632
54635
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -10,7 +10,8 @@ export interface FilePickerProps extends FileValidationOptions {
10
10
  errorMessage?: TranslationKey;
11
11
  multiple?: boolean;
12
12
  label?: string;
13
+ name: string;
13
14
  iconPrefix?: string;
14
15
  enableTracking?: boolean;
15
16
  }
16
- export declare function FilePicker({ files, setFiles, isValid, errorMessage, multiple, label, iconPrefix, enableTracking, allowedFileTypes, maxSize, isOptional, maxNumberOfFiles, }: FilePickerProps): JSX.Element;
17
+ export declare function FilePicker({ files, setFiles, isValid, errorMessage, multiple, label, name, iconPrefix, enableTracking, allowedFileTypes, maxSize, isOptional, maxNumberOfFiles, }: FilePickerProps): JSX.Element;
@@ -23,5 +23,4 @@ export interface DropzoneFileProps {
23
23
  errorMessage?: TranslationKey;
24
24
  onDelete: () => void;
25
25
  iconPrefix?: string;
26
- label?: string;
27
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.49.0",
3
+ "version": "3.49.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",