@adyen/kyc-components 4.2.0 → 4.3.0-beta.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/{AcceptTermsOfServiceComponent-DDj3rbOx.js → AcceptTermsOfServiceComponent-DHOEbKRw.js} +30 -25
- package/dist/{AccountSetupRejected--ItoNQ2p.js → AccountSetupRejected-BtePboYl.js} +2 -5
- package/dist/{ActionBar-BQ3qEC6p.js → ActionBar-CQZiRESM.js} +2 -2
- package/dist/{Address-BeNF2HFn.js → Address-CZsphDQn.js} +11 -13
- package/dist/{Avatar-BjYbzIQC.js → Avatar-umWLtbNh.js} +2 -2
- package/dist/{BusinessFinancingComponent-BQj2ehD2.js → BusinessFinancingComponent-Bq1XvxN0.js} +6 -6
- package/dist/{BusinessFinancingDropin-C2qel0rF.js → BusinessFinancingDropin-DGNDmZPX.js} +200 -123
- package/dist/{BusinessFinancingPage-QTOcfbBt.js → BusinessFinancingPage-B3Mppy3e.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-CNBTnHYV.js → BusinessTypeSelectionPage-DFwTrEj2.js} +9 -9
- package/dist/{Checkbox-PcQW98Hc.js → Checkbox-grZtL86z.js} +2 -2
- package/dist/{Confirm-D7uRirpk.js → Confirm-gSH15YjO.js} +3 -3
- package/dist/{ConstitutionalDocument-DX2n4nuI.js → ConstitutionalDocument-C1ho_WGb.js} +39 -22
- package/dist/{ContactDetails-DqtPuOz3.js → ContactDetails-beFUwzWU.js} +6 -9
- package/dist/{ContextGuidance-BBPWGkJc.js → ContextGuidance-DN9_2r5g.js} +2 -3
- package/dist/{CountryField-9-8UreyJ.js → CountryField-CK9UwJHn.js} +4 -6
- package/dist/{CreateIndividualComponent-DMtlWBqw.js → CreateIndividualComponent-TaKBME08.js} +7 -7
- package/dist/{CreateTransferInstrumentComponent-D0prW4xg.js → CreateTransferInstrumentComponent-WGgDfmsE.js} +4 -4
- package/dist/{Currency-Cjnl8BIe.js → Currency-DEgTOLD3.js} +7 -7
- package/dist/{CustomerSupport-CPaXjNH1.js → CustomerSupport-CByUZkgX.js} +10 -11
- package/dist/{DebugModal-Crim4ok3.js → DebugModal-1rEVOPzu.js} +8 -9
- package/dist/{DecisionMakerDetailsPage-CRnyPLiF.js → DecisionMakerDetailsPage-dB5GuLx1.js} +9 -9
- package/dist/{DecisionMakers-laVUncMl.js → DecisionMakers-DS14GhtC.js} +23 -33
- package/dist/{Dropzone-L5oCc5ZM.js → Dropzone-CI7gyNBs.js} +4 -4
- package/dist/{EmbeddedStatus-Bc6bUaC6.js → EmbeddedStatus-BdQ39yKX.js} +3 -3
- package/dist/{EndStateLayout-irx07x7E.js → EndStateLayout-CmNueoBE.js} +2 -2
- package/dist/{EntityAssociation-CvlitxTW.js → EntityAssociation-CCExGpww.js} +5 -6
- package/dist/{EntityGuidanceStatus-CVBuyGry.js → EntityGuidanceStatus-DYkFfoBr.js} +4 -4
- package/dist/{ErrorPanel-GWNSNY8U.js → ErrorPanel-CmGFPsaG.js} +2 -3
- package/dist/{Field-BxFn1eol.js → Field-BuHaTPvn.js} +3 -3
- package/dist/{FormNavigation-BUF4Hm5v.js → FormNavigation-B4rGWlDy.js} +3 -3
- package/dist/{FormWrapper-B215nZbo.js → FormWrapper-BC0uqTgd.js} +9 -9
- package/dist/{Image-BrHT9RgB.js → Image-CLQ4EuPK.js} +2 -2
- package/dist/{Individual.rules-CSzG8cP-.js → Individual.rules-vC5TbPZA.js} +8 -8
- package/dist/{IndividualDropin-a9OrNzNE.js → IndividualDropin-DvQ-z4rT.js} +177 -132
- package/dist/{InputDate-C-KJumMv.js → InputDate-DRD072Dy.js} +2 -2
- package/dist/{InputText-CdqQ2Npg.js → InputText-BUnL2S1h.js} +2 -2
- package/dist/{Introduction-CWh2x4Ey.js → Introduction-DaWEcxk1.js} +4 -4
- package/dist/{JpAddress-5Np6iypt.js → JpAddress-DLD5oFVR.js} +11 -12
- package/dist/{LandingLayout-D_GwiUpJ.js → LandingLayout-DtrCsF3s.js} +2 -3
- package/dist/{LegalCompanyNameField-DNG1YgY-.js → LegalCompanyNameField-D4TnW4PU.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-fxFVfuS4.js → LegalRepresentativeDetailsPage-jZLVn4-D.js} +6 -6
- package/dist/{Link-BrhjD5PB.js → Link-xCQbA-9e.js} +2 -2
- package/dist/{ListItem-CFd_eKi6.js → ListItem-DSqo8-K1.js} +3 -3
- package/dist/{LoaderWrapper-vIs9v-bF.js → LoaderWrapper-7vOgmEsk.js} +2 -2
- package/dist/ManageIndividualComponent-CCIhrOiG.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-rdafMeu0.js → ManageTermsOfServiceComponent-CD8xsVbW.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-BPAV8xNI.js → ManageTransferInstrumentComponent-QxybfaMB.js} +12 -15
- package/dist/{MaskedInput-FKbjMCcf.js → MaskedInput-Bg8sJ8Sz.js} +5 -5
- package/dist/{MaybeModal-DpIm1du4.js → MaybeModal-dbukcqGt.js} +3 -3
- package/dist/{Modal-y1WKajuS.js → Modal-C5NXMpqk.js} +2 -2
- package/dist/{Name-B2sN5T7w.js → Name-DyGu-N0I.js} +5 -5
- package/dist/{OnboardingDropinComponent-DAgv7ZtY.js → OnboardingDropinComponent-B_W8eeJV.js} +59 -61
- package/dist/{PayoutDetailsDropin-DUYkjwtA.js → PayoutDetailsDropin-C6FSD0nU.js} +63 -61
- package/dist/{RadioGroup-KZagZTkQ.js → RadioGroup-BP8CNtf9.js} +2 -2
- package/dist/{RadioGroupCard-Vb3xY6Jd.js → RadioGroupCard-DUxGxMW2.js} +2 -2
- package/dist/{Review-CwKhhTUJ.js → Review-DdowS_67.js} +6 -8
- package/dist/{RootBusinessDetailsPage-BlhpFvIA.js → RootBusinessDetailsPage-DGaPZVX3.js} +4 -4
- package/dist/{RootBusinessLinesPage-DPYb8RNj.js → RootBusinessLinesPage-RUqhW4fz.js} +28 -34
- package/dist/{RootIndividualDetailsPage-DNj-gmXk.js → RootIndividualDetailsPage-CC5xZsrC.js} +8 -8
- package/dist/{Select-Cn8HCFO1.js → Select-DtconBUQ.js} +4 -4
- package/dist/{SignPCIComponent-CfghxPD_.js → SignPCIComponent-_IAj-hon.js} +17 -16
- package/dist/{SingpassSelection-TJvShg6u.js → SingpassSelection-WatLq--G.js} +6 -6
- package/dist/{SoleProprietorshipPage-DpW2BnqX.js → SoleProprietorshipPage-ChABh93Y.js} +4 -4
- package/dist/{SourceOfFundsPage-DCjD1_jQ.js → SourceOfFundsPage-CgLOgUd4.js} +37 -37
- package/dist/{StepProgressIndicator-CTcluX6o.js → StepProgressIndicator-Dc7Tml_I.js} +1 -1
- package/dist/{StoreProvider-2rl-plv5.js → StoreProvider-C-jrVTWp.js} +873 -206
- package/dist/{StructuredList-BNLhk_zV.js → StructuredList-Bh1vlAFE.js} +1 -1
- package/dist/{Summary-BA-RCSe5.js → Summary-BEaMvlq_.js} +7 -8
- package/dist/{TaxInformationField-BkAck6oq.js → TaxInformationField-B5-jJ7Eb.js} +186 -210
- package/dist/{TaxReportingDropin-ClfyxcG1.js → TaxReportingDropin-CrIW9iYH.js} +15 -17
- package/dist/{TextArea-BBgONn8j.js → TextArea-j1AG1rrF.js} +2 -2
- package/dist/{TileGroup-COWNMWXf.js → TileGroup-CRXdfE4_.js} +3 -3
- package/dist/{TrustDetailsPage-BzldtvzC.js → TrustDetailsPage-C77SN50n.js} +34 -48
- package/dist/{TrustMemberCompanyPage-260J2i6K.js → TrustMemberCompanyPage-BJ8bGLiS.js} +5 -5
- package/dist/{TrustMemberIndividualPage-fWJYEZYF.js → TrustMemberIndividualPage-BnXdAysv.js} +6 -6
- package/dist/{TrustMemberRoleAndTypePage-3X8UFjOz.js → TrustMemberRoleAndTypePage-Dl3NWfe-.js} +21 -23
- package/dist/{TrustMembersOverview-BAt2B9lv.js → TrustMembersOverview-DY1Gmewy.js} +10 -14
- package/dist/{UnincorporatedPartnershipIndividualPage-YASSfuf8.js → UnincorporatedPartnershipIndividualPage-DI_gEl_-.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D_ty05Bb.js → UnincorporatedPartnershipMemberCompanyPage-CHueVUrD.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DEDnWDma.js → UnincorporatedPartnershipMemberRoleAndTypePage-m8_d5tqB.js} +11 -12
- package/dist/{UnincorporatedPartnershipMembersOverview-DkmIW_Qf.js → UnincorporatedPartnershipMembersOverview-D-xD5eFQ.js} +7 -11
- package/dist/{VerificationErrorAlert-Dk__b2Ns.js → VerificationErrorAlert-DGCWu0L2.js} +2 -3
- package/dist/{ViewVerificationStatusComponent-D_5ZZo6V.js → ViewVerificationStatusComponent--iI2ei_a.js} +3 -4
- package/dist/{accountHolderUtils-D78ugcQ9.js → accountHolderUtils-C2OlbJ51.js} +2 -2
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-invited-decision-maker.js +86 -16
- package/dist/adyen-kyc-components.js +19 -47
- package/dist/adyen-onboarding.js +3 -3
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-CJIcB4Zh.js → bafinUtils-C297BWva.js} +2 -2
- package/dist/bg-BG-BNRJzjXu.js +13 -0
- package/dist/{bg-BG-K7feXvEc.js → bg-BG-DbFzLQK7.js} +1 -2
- package/dist/{commonValidators-ziT0GvBq.js → commonValidators-CCjmpuF-.js} +2 -2
- package/dist/cs-CZ-BMnoWiIi.js +13 -0
- package/dist/{cs-CZ-CYQO0o5V.js → cs-CZ-CBuNZ7UO.js} +1 -2
- package/dist/{da-DK-CGWvmdkq.js → da-DK-CLdNh9JT.js} +1 -2
- package/dist/da-DK-D17SWJin.js +13 -0
- package/dist/{de-DE-DHDJhahG.js → de-DE-BT5g7ZXC.js} +1 -2
- package/dist/de-DE-DC90bn2y.js +13 -0
- package/dist/{dropinUtils-DIFlH1Oh.js → dropinUtils-BZzBJOLK.js} +4 -4
- package/dist/el-GR-B2xt_Hn1.js +13 -0
- package/dist/{el-GR-DHNlnOwf.js → el-GR-BvRBuezU.js} +1 -2
- package/dist/{en-US-D1sB335h.js → en-US-BtFr9JRa.js} +10 -1
- package/dist/en-US-CfIkXJPX.js +13 -0
- package/dist/{en-US-DoiQhi0j.js → en-US-CgakND3H.js} +1 -2
- package/dist/{es-ES-CxnsKEh4.js → es-ES-4FS7NoE7.js} +1 -2
- package/dist/es-ES-CzG-lilL.js +13 -0
- package/dist/et-EE-B7OzU-54.js +13 -0
- package/dist/{et-EE-BQixWUEV.js → et-EE-CksV5_e1.js} +1 -2
- package/dist/fi-FI-DooPgPb1.js +13 -0
- package/dist/{fi-FI-57-xkioo.js → fi-FI-XpnJRPgt.js} +1 -2
- package/dist/{formUtils-CNFS-TZ-.js → formUtils-B4IA171l.js} +3 -18
- package/dist/fr-FR-29mQrnro.js +13 -0
- package/dist/{fr-FR-BxiX8Zfi.js → fr-FR-TqAhPvzz.js} +1 -2
- package/dist/{getName-Bti12K-o.js → getName-ff7GRCPB.js} +2 -2
- package/dist/{getProblemsForEntity-BX1inH7F.js → getProblemsForEntity-BawudFMK.js} +2 -2
- package/dist/hr-HR-BFu1_Xrc.js +13 -0
- package/dist/{hr-HR-BynZTNSB.js → hr-HR-CKZ_yuXC.js} +1 -2
- package/dist/{hu-HU-BtRIDozk.js → hu-HU-BEV8uVRt.js} +1 -2
- package/dist/hu-HU-nf030gFT.js +13 -0
- package/dist/{iframeWidget-JLfCMf_x.js → iframeWidget-CTg-yqbt.js} +4 -4
- package/dist/{isEmpty-OXRV2qGb.js → isEmpty-Cu6FSL8p.js} +2 -2
- package/dist/it-IT-CToDWXlu.js +13 -0
- package/dist/{it-IT-masgjk9F.js → it-IT-D-jYXj6V.js} +1 -2
- package/dist/{ja-JP-vv3-YsHU.js → ja-JP-8yMqZqF2.js} +1 -2
- package/dist/ja-JP-BkAEknQ-.js +13 -0
- package/dist/{japanSupportUtils-Co72AcSs.js → japanSupportUtils-Cti0IcPz.js} +2 -2
- package/dist/{localizeDateString-DXp3crqk.js → localizeDateString-0tXkduO2.js} +2 -2
- package/dist/{lt-LT-2BMif2Bk.js → lt-LT-CK0t2AVY.js} +1 -2
- package/dist/lt-LT-DxzEdyVV.js +13 -0
- package/dist/lv-LV-D-j-4Dao.js +13 -0
- package/dist/{lv-LV-CHdEDRVO.js → lv-LV-JvlzK9X-.js} +1 -2
- package/dist/{mapExistingFile-SAc645fC.js → mapExistingFile-DKT0jbo0.js} +4 -4
- package/dist/mapJpAddressSchemaToAddressLocalizations-DQu3DXe4.js +88 -0
- package/dist/{mapLegalEntityToIndividualSchema-yKl9QZpe.js → mapLegalEntityToIndividualSchema-ZmAAvk9K.js} +40 -42
- package/dist/{mapTransferInstrumentToPayoutAccount-BU--vaxN.js → mapTransferInstrumentToPayoutAccount-BogO6kRJ.js} +2 -2
- package/dist/nl-NL-C8CEGqAc.js +13 -0
- package/dist/{nl-NL-D1b5RUJ0.js → nl-NL-Jhr-ICkK.js} +1 -2
- package/dist/{no-NO-Dkh4SWbB.js → no-NO-BH6DId3q.js} +1 -2
- package/dist/no-NO-DbVtqyON.js +13 -0
- package/dist/{patternValidators-BuKCm6wv.js → patternValidators-BDuN6yoZ.js} +2 -2
- package/dist/{pl-PL-BkGihn5Q.js → pl-PL-B5c0NNHB.js} +1 -2
- package/dist/pl-PL-Bxtudsvi.js +13 -0
- package/dist/{process-field-configurations-B289w3QC.js → process-field-configurations-CPAL_-Z4.js} +4 -4
- package/dist/{pt-BR-BRdIEO2O.js → pt-BR-4Iozxvfr.js} +1 -2
- package/dist/pt-BR-CL4JYBNe.js +13 -0
- package/dist/{pt-PT-BfL7qUzo.js → pt-PT-09L8XznW.js} +1 -2
- package/dist/pt-PT-C-OZtnUM.js +13 -0
- package/dist/{resolveEnvironment-5C9O6OKL.js → resolveEnvironment-DJYy04Zt.js} +5 -5
- package/dist/{ro-RO-C2yBVFht.js → ro-RO-D7-7tmTR.js} +1 -2
- package/dist/ro-RO-Dq1NTg-A.js +13 -0
- package/dist/{roleMetadata-C2o-1qrX.js → roleMetadata-CsQgP06-.js} +3 -3
- package/dist/sk-SK-CMvUjDgW.js +13 -0
- package/dist/{sk-SK-C74EF23u.js → sk-SK-D3tsz1Pg.js} +1 -2
- package/dist/sl-SI-BslBqaxO.js +13 -0
- package/dist/{sl-SI-CvUzNn9Z.js → sl-SI-Y9h1ht45.js} +1 -2
- package/dist/style.css +1877 -1856
- package/dist/styles-CLV89_hH.js +1877 -1856
- package/dist/{sv-SE-BsLkPEzn.js → sv-SE-DFSm22oQ.js} +1 -2
- package/dist/sv-SE-Dm_WHV9V.js +13 -0
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -0
- package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +7 -0
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/components/BankAccount/fields/BankAccountNumber/BankAccountNumber.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/BankCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/BranchCode.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/Iban/Iban.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +4 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +14 -1
- package/dist/types/components/Business/utils/submit.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
- package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.d.ts +14 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +1 -3
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.d.ts +1 -1
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -0
- package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +1 -1
- package/dist/types/components/Individual/forms/IdVerificationMethod/{individualOnfidoConflictsSchema.d.ts → individualConflictsSchema.d.ts} +12 -12
- package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual.d.ts +7 -7
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +3 -3
- package/dist/types/components/Individual/forms/Individual.types.d.ts +13 -5
- package/dist/types/components/Individual/forms/form-ids.d.ts +2 -2
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +2 -2
- package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -2
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +2 -2
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -6
- package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +2 -2
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +3 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerGettingStarted/InvitedDecisionMakerGettingStarted.d.ts +4 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +1 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +2 -0
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +14 -0
- package/dist/types/components/Shared/Summary/Summary.d.ts +1 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +0 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +8 -14
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +13 -0
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
- package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +1 -2
- package/dist/types/context/StateContext/types.d.ts +2 -2
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +2 -2
- package/dist/types/hooks/useForm/types.d.ts +0 -3
- package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
- package/dist/types/language/types.d.ts +1 -1
- package/dist/types/language/utils.d.ts +3 -2
- package/dist/types/stores/formState.d.ts +2 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +5 -5
- package/dist/types/utils/formUtils.d.ts +2 -4
- package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
- package/dist/types/utils/textTransformation/toFullWidth.d.ts +2 -3
- package/dist/{types-DEOqe9wP.js → types-CEookCt2.js} +2 -2
- package/dist/types-CQ2p58-6.js +36 -0
- package/dist/{types-DBaOva2_.js → types-Ccyga0T3.js} +2 -2
- package/dist/{types-BnDQ6S_S.js → types-D6yU8_jd.js} +2 -2
- package/dist/{types-BW4HQI5X.js → types-yb-6qrgr.js} +2 -3
- package/dist/unincorporated-partnership-D8XzcFAz.js +17 -0
- package/dist/{useAssociatedLegalEntity-CgCHuC7s.js → useAssociatedLegalEntity-DxIrdCiW.js} +2 -2
- package/dist/{useBusinessDetailsData-BHwHp3lk.js → useBusinessDetailsData-B-lAYrsg.js} +176 -192
- package/dist/{useBusinessLines-VpNdSmkM.js → useBusinessLines-Csvpr85-.js} +2 -2
- package/dist/{useCanSeeIntroduction-BHxmXYYO.js → useCanSeeIntroduction-CtoZS8gv.js} +3 -3
- package/dist/{useCreateLegalEntity-afT__j7Q.js → useCreateLegalEntity-CRmpSW-p.js} +2 -2
- package/dist/{useDataMissingRemediations-BbKOIyd3.js → useDataMissingRemediations-DKYVGUPb.js} +2 -2
- package/dist/{useDeleteTransferInstrument-BDKsAGlv.js → useDeleteTransferInstrument-Dbt3iSDq.js} +3 -3
- package/dist/{useForm-Dpiyw6Md.js → useForm-PNo1-TUg.js} +3 -3
- package/dist/{useFormContext-DuIAV1IO.js → useFormContext-DZ0JzOzl.js} +9 -8
- package/dist/{useGlobalData-CAxZyB0c.js → useGlobalData-DkxLk7lN.js} +2 -2
- package/dist/{useMultiForm-OnNcru5A.js → useMultiForm-BKHh9pIa.js} +4 -4
- package/dist/{useNavigate-Csyylapb.js → useNavigate-CIa35xrx.js} +30 -30
- package/dist/{useOnboardingStatus-D-MOei3W.js → useOnboardingStatus-UlcW0uJt.js} +2 -2
- package/dist/{usePciQuestionnaireList-B0DMLOq-.js → usePciQuestionnaireList-DuGLuR49.js} +2 -2
- package/dist/{useSalesChannels-3bkByPI7.js → useSalesChannels-Dce6D7J1.js} +4 -4
- package/dist/{useScenarios-Dgegi_R_.js → useScenarios-HttV-8Oo.js} +2 -2
- package/dist/{useTaskStatus-Cm1yZ1mq.js → useTaskStatus-DNhqpQ2D.js} +2 -2
- package/dist/{useTermsOfServiceStatus-CJw8hWCa.js → useTermsOfServiceStatus-CmMOe9uh.js} +2 -2
- package/dist/{useToastContext-DrAgxHEK.js → useToastContext-pGIuUtOK.js} +2 -2
- package/dist/{useTrustMembers-CoYK-ddb.js → useTrustMembers-BVMLWQPp.js} +4 -4
- package/dist/{useUnincorporatedPartnershipMembers-CG1s17Ko.js → useUnincorporatedPartnershipMembers-lNQMZi00.js} +5 -5
- package/dist/{useUpdateBusinessLines-BOiNRvpa.js → useUpdateBusinessLines-D5dzDvDz.js} +5 -5
- package/dist/{useUpdateLegalEntity-CxXQbqdN.js → useUpdateLegalEntity-Zci5El_5.js} +3 -3
- package/dist/{utils-Di5ZPizP.js → utils-BBCW8T5n.js} +2 -2
- package/dist/{utils-yElwanzp.js → utils-DO61bZBE.js} +2 -2
- package/dist/{utils-CYdFoqsI.js → utils-DW097Fth.js} +2 -2
- package/dist/{utils-0SrqDXVO.js → utils-DmGPdHLa.js} +3 -3
- package/dist/{utils-SSHuQH95.js → utils-LSf8dbhe.js} +5 -5
- package/dist/{validate-Cd2gOwkx.js → validate-CqF9k0Xk.js} +3 -3
- package/dist/{validate-DGFjwtXb.js → validate-H0lJr72L.js} +2 -2
- package/dist/{validationError-BIQwQynW.js → validationError-Cg6KszQD.js} +3 -3
- package/package.json +28 -25
- package/dist/Accordion-DwhJ6dID.js +0 -88
- package/dist/Alert-C0Uk8vQL.js +0 -169
- package/dist/DropinLayout-CBP_cHLC.js +0 -17
- package/dist/Header-B-wXVUdY.js +0 -83
- package/dist/ManageIndividualComponent-Br0VJtX6.js +0 -46
- package/dist/TaskVerificationStatus-dcodYxh1.js +0 -129
- package/dist/bg-BG-6XzbmxcW.js +0 -13
- package/dist/cs-CZ-C6vEQ8P9.js +0 -13
- package/dist/da-DK-DzcTI92X.js +0 -13
- package/dist/datasetUtil-BHQp0-xL.js +0 -58
- package/dist/de-DE-dPfrbCii.js +0 -13
- package/dist/el-GR-Dazirlmt.js +0 -13
- package/dist/en-US-cVpRgdC8.js +0 -13
- package/dist/es-ES--IvNed_Q.js +0 -13
- package/dist/et-EE-CsTXSlnY.js +0 -13
- package/dist/fi-FI-BUixKfXH.js +0 -13
- package/dist/fr-FR-BM-qNLci.js +0 -13
- package/dist/hr-HR-BF74vdPD.js +0 -13
- package/dist/hu-HU-DYhMVR_c.js +0 -13
- package/dist/it-IT-D63gRTDc.js +0 -13
- package/dist/ja-JP-DL0IjTzn.js +0 -13
- package/dist/lt-LT-BX8dOAzK.js +0 -13
- package/dist/lv-LV-dA8yYdKe.js +0 -13
- package/dist/mapJpAddressSchemaToAddressLocalizations-Xj0Z0De4.js +0 -162
- package/dist/nl-NL-KQ6bciOb.js +0 -13
- package/dist/no-NO-Ds3VioxT.js +0 -13
- package/dist/pl-PL-BgbxWHGE.js +0 -13
- package/dist/pt-BR-Ct4s4jXV.js +0 -13
- package/dist/pt-PT-DBEsmXQX.js +0 -13
- package/dist/ro-RO-C00Ig8CL.js +0 -13
- package/dist/sk-SK-BbJWayDh.js +0 -13
- package/dist/sl-SI-hxwQIw_i.js +0 -13
- package/dist/sv-SE-0PQ-U1u6.js +0 -13
- package/dist/unincorporated-partnership-MeN1dp53.js +0 -97
- package/dist/useDataset-DorBN2cW.js +0 -76
- package/dist/useSetting-DW9rg-sF.js +0 -19
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "17b9d6dc-8710-4fb6-9b2a-4867bd8044c6", e._sentryDebugIdIdentifier = "sentry-dbid-17b9d6dc-8710-4fb6-9b2a-4867bd8044c6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { ai as entriesOf } from "./StoreProvider-C-jrVTWp.js";
|
|
11
11
|
class ValidationResult {
|
|
12
12
|
validationResults;
|
|
13
13
|
constructor(results) {
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ef54c360-fe2e-40d9-9b59-83226ed0decf", e._sentryDebugIdIdentifier = "sentry-dbid-ef54c360-fe2e-40d9-9b59-83226ed0decf");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { L as LegalEntityTypes, z as Typography } from "./StoreProvider-C-jrVTWp.js";
|
|
12
12
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-0tXkduO2.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fd1f10b1-88cd-4368-9bb3-45dd292d2615", e._sentryDebugIdIdentifier = "sentry-dbid-fd1f10b1-88cd-4368-9bb3-45dd292d2615");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
|
|
11
|
-
import {
|
|
12
|
-
import { a as allowIndividualWithoutSoleProp } from "./accountHolderUtils-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
11
|
+
import { a4 as getLegalEntityCountry, bC as getCapabilities, L as LegalEntityTypes, a$ as hasOwnEntityAssociationOfType, a5 as CountryCodes } from "./StoreProvider-C-jrVTWp.js";
|
|
12
|
+
import { a as allowIndividualWithoutSoleProp } from "./accountHolderUtils-C2OlbJ51.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-vC5TbPZA.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-D6yU8_jd.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0bfb6730-e52b-4ff9-8386-d3b88602d3ff", e._sentryDebugIdIdentifier = "sentry-dbid-0bfb6730-e52b-4ff9-8386-d3b88602d3ff");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import "@tanstack/preact-query";
|
|
11
|
-
import {
|
|
12
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
11
|
+
import { a3 as httpPost, al as httpDelete, j as httpGet, a8 as createLogger, bl as StateContext, u as useTranslation, m as useAnalyticsContext, p as Icon, z as Typography, G as Loader, q as IconButton } from "./StoreProvider-C-jrVTWp.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BBCW8T5n.js";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5698fcf0-dad9-44e6-9caf-fedec51ca787", e._sentryDebugIdIdentifier = "sentry-dbid-5698fcf0-dad9-44e6-9caf-fedec51ca787");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { aD as hasText } from "./StoreProvider-C-jrVTWp.js";
|
|
11
11
|
const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
12
12
|
if (!legalEntityIdentifier) {
|
|
13
13
|
return true;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9e5d75f2-901c-408d-8161-3873c37833fb", e._sentryDebugIdIdentifier = "sentry-dbid-9e5d75f2-901c-408d-8161-3873c37833fb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { h as TaskTypes, b6 as remediationPayoutApiKeyMapping, b7 as remediationBusinessDetailsApiKeyMapping, b8 as remediationIndividualApiKeyMapping } from "./StoreProvider-C-jrVTWp.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|
|
@@ -41,7 +41,7 @@ const mapField = (lePath, dropinTask) => {
|
|
|
41
41
|
switch (dropinTask) {
|
|
42
42
|
case TaskTypes.INDIVIDUAL: {
|
|
43
43
|
const mappedPath = overrideKeyMapping?.[TaskTypes.INDIVIDUAL]?.[lePath];
|
|
44
|
-
return mappedPath ? mappedPath :
|
|
44
|
+
return mappedPath ? mappedPath : remediationIndividualApiKeyMapping[lePath];
|
|
45
45
|
}
|
|
46
46
|
case TaskTypes.BUSINESS_DETAILS: {
|
|
47
47
|
const mappedPath = overrideKeyMapping?.[TaskTypes.BUSINESS_DETAILS]?.[lePath];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0-beta.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -86,31 +86,32 @@
|
|
|
86
86
|
"dependencies": {
|
|
87
87
|
"@adyen/adyen-document-viewer": "^1.4.2",
|
|
88
88
|
"@adyen/openbankingsdk": "^0.2.3",
|
|
89
|
-
"@adyen/ui-assets-icons-16": "^7.
|
|
90
|
-
"@preact/signals": "^2.
|
|
89
|
+
"@adyen/ui-assets-icons-16": "^7.7.5",
|
|
90
|
+
"@preact/signals": "^2.8.2",
|
|
91
91
|
"@tanstack/preact-query": "^5.93.0",
|
|
92
92
|
"classnames": "^2.5.1",
|
|
93
93
|
"container-query-polyfill": "^1.0.2",
|
|
94
|
-
"i18next": "^25.8.
|
|
94
|
+
"i18next": "^25.8.18",
|
|
95
95
|
"monogon": "^0.3.4",
|
|
96
96
|
"named-slots": "^0.4.2",
|
|
97
97
|
"onfido-sdk-ui": "14.55.0",
|
|
98
|
-
"preact": "^10.
|
|
98
|
+
"preact": "^10.29.0",
|
|
99
99
|
"preact-custom-element": "^4.6.0",
|
|
100
100
|
"wouter-preact": "^3.9.0"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
|
-
"@adyen/bento-design-tokens": "^1.
|
|
103
|
+
"@adyen/bento-design-tokens": "^1.87.1",
|
|
104
104
|
"@commitlint/cli": "^19.8.1",
|
|
105
105
|
"@commitlint/config-conventional": "^19.8.1",
|
|
106
106
|
"@commitlint/prompt-cli": "^19.8.1",
|
|
107
107
|
"@eslint/compat": "^1.4.1",
|
|
108
|
-
"@eslint/js": "^9.39.
|
|
109
|
-
"@playwright/test": "^1.58.
|
|
108
|
+
"@eslint/js": "^9.39.4",
|
|
109
|
+
"@playwright/test": "^1.58.2",
|
|
110
110
|
"@preact/eslint-plugin-signals": "^0.2.0",
|
|
111
111
|
"@preact/preset-vite": "^2.10.3",
|
|
112
112
|
"@sentry/bundler-plugin-core": "3.5.0",
|
|
113
113
|
"@sentry/cli": "2.42.2",
|
|
114
|
+
"@slack/types": "^2.19.0",
|
|
114
115
|
"@storybook/addon-a11y": "10.1.10",
|
|
115
116
|
"@storybook/addon-docs": "10.1.10",
|
|
116
117
|
"@storybook/addon-vitest": "10.1.10",
|
|
@@ -121,18 +122,19 @@
|
|
|
121
122
|
"@testing-library/jest-dom": "^6.9.1",
|
|
122
123
|
"@testing-library/preact": "3.2.3",
|
|
123
124
|
"@testing-library/user-event": "^14.6.1",
|
|
124
|
-
"@types/react": "^19.2.
|
|
125
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
126
|
-
"@typescript-eslint/parser": "^8.
|
|
125
|
+
"@types/react": "^19.2.14",
|
|
126
|
+
"@typescript-eslint/eslint-plugin": "^8.57.0",
|
|
127
|
+
"@typescript-eslint/parser": "^8.57.0",
|
|
127
128
|
"@vitest/browser-playwright": "4.0.10",
|
|
128
129
|
"@vitest/coverage-v8": "4.0.10",
|
|
129
130
|
"@vitest/ui": "4.0.10",
|
|
130
|
-
"axios": "^1.13.
|
|
131
|
+
"axios": "^1.13.6",
|
|
131
132
|
"chalk": "^5.6.2",
|
|
132
133
|
"concurrently": "^9.2.1",
|
|
133
134
|
"cross-env": "^7.0.3",
|
|
134
|
-
"
|
|
135
|
-
"
|
|
135
|
+
"ctrf-cli": "^0.0.5",
|
|
136
|
+
"dotenv": "^17.3.1",
|
|
137
|
+
"eslint": "^9.39.4",
|
|
136
138
|
"eslint-config-prettier": "^10.1.8",
|
|
137
139
|
"eslint-import-resolver-typescript": "^3.10.1",
|
|
138
140
|
"eslint-plugin-check-file": "^3.3.1",
|
|
@@ -144,36 +146,37 @@
|
|
|
144
146
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
145
147
|
"eslint-plugin-react-you-might-not-need-an-effect": "^0.5.6",
|
|
146
148
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
147
|
-
"eslint-plugin-testing-library": "^7.
|
|
149
|
+
"eslint-plugin-testing-library": "^7.16.0",
|
|
148
150
|
"eslint-plugin-unicorn": "^61.0.2",
|
|
149
|
-
"happy-dom": "^20.
|
|
151
|
+
"happy-dom": "^20.8.3",
|
|
150
152
|
"inquirer": "^12.11.1",
|
|
151
153
|
"jsonc-eslint-parser": "^2.4.2",
|
|
152
154
|
"msw": "2.7.3",
|
|
153
155
|
"msw-storybook-addon": "^2.0.6",
|
|
154
|
-
"openapi-typescript": "^7.
|
|
155
|
-
"phone": "^3.1.
|
|
156
|
-
"
|
|
156
|
+
"openapi-typescript": "^7.13.0",
|
|
157
|
+
"phone": "^3.1.71",
|
|
158
|
+
"playwright-ctrf-json-reporter": "^0.0.27",
|
|
159
|
+
"postcss": "^8.5.8",
|
|
157
160
|
"preact-iso": "2.11.1",
|
|
158
161
|
"prettier": "^3.8.1",
|
|
159
|
-
"react": "npm:@preact/compat@^18.3.
|
|
160
|
-
"react-dom": "npm:@preact/compat@^18.3.
|
|
162
|
+
"react": "npm:@preact/compat@^18.3.2",
|
|
163
|
+
"react-dom": "npm:@preact/compat@^18.3.2",
|
|
161
164
|
"react-i18next": "^15.7.4",
|
|
162
165
|
"remark-gfm": "^4.0.1",
|
|
163
166
|
"rollup-plugin-visualizer": "^5.14.0",
|
|
164
167
|
"ruins": "^0.2.3",
|
|
165
|
-
"sass": "^1.
|
|
168
|
+
"sass": "^1.98.0",
|
|
166
169
|
"storybook": "10.1.10",
|
|
167
170
|
"storybook-addon-tag-badges": "3.0.4",
|
|
168
171
|
"stylelint": "^16.26.1",
|
|
169
172
|
"stylelint-config-recommended-scss": "^14.1.0",
|
|
170
173
|
"stylelint-config-sass-guidelines": "^12.1.0",
|
|
171
174
|
"stylelint-scss": "^6.14.0",
|
|
172
|
-
"svgo": "^4.0.
|
|
175
|
+
"svgo": "^4.0.1",
|
|
173
176
|
"tsc-alias": "^1.8.16",
|
|
174
177
|
"type-fest": "^4.41.0",
|
|
175
178
|
"typescript": "^5.9.3",
|
|
176
|
-
"typescript-eslint": "^8.
|
|
179
|
+
"typescript-eslint": "^8.57.0",
|
|
177
180
|
"vite": "^7.3.1",
|
|
178
181
|
"vite-node": "^3.2.4",
|
|
179
182
|
"vite-plugin-shadow-styles": "^0.0.3",
|
|
@@ -236,7 +239,7 @@
|
|
|
236
239
|
"test:m2e:debug": "NODE_OPTIONS=--no-experimental-strip-types PWDEBUG=console playwright test --debug",
|
|
237
240
|
"test:m2e:ui": "NODE_OPTIONS=--no-experimental-strip-types playwright test --ui",
|
|
238
241
|
"test:e2e": "NODE_OPTIONS=--no-experimental-strip-types playwright test --config=playwright.e2e.config.ts",
|
|
239
|
-
"test:e2e:ui": "NODE_OPTIONS=--no-experimental-strip-types
|
|
242
|
+
"test:e2e:ui": "NODE_OPTIONS=--no-experimental-strip-types playwright test --config=playwright.e2e.config.ts --ui",
|
|
240
243
|
"test:performance": "PERFORMANCE_TEST=true playwright test performance",
|
|
241
244
|
"test:ui": "vitest --ui",
|
|
242
245
|
"test:watch": "pnpm test --watch",
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e8ad0e32-177b-4016-a8aa-3edcde6a16e5", e._sentryDebugIdIdentifier = "sentry-dbid-e8ad0e32-177b-4016-a8aa-3edcde6a16e5");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import cx from "classnames";
|
|
12
|
-
import { defineSlots } from "named-slots";
|
|
13
|
-
import { r as Icon, z as Typography, a1 as Skeleton } from "./StoreProvider-2rl-plv5.js";
|
|
14
|
-
const accordion = "adyen-kyc-accordion";
|
|
15
|
-
const accordionSummary = "adyen-kyc-accordion-summary";
|
|
16
|
-
const accordionBasic = "adyen-kyc-accordion-basic";
|
|
17
|
-
const accordionInfo = "adyen-kyc-accordion-info";
|
|
18
|
-
const accordionError = "adyen-kyc-accordion-error";
|
|
19
|
-
const accordionWarning = "adyen-kyc-accordion-warning";
|
|
20
|
-
const accordionSuccess = "adyen-kyc-accordion-success";
|
|
21
|
-
const accordionNarrow = "adyen-kyc-accordion-narrow";
|
|
22
|
-
const accordionContent = "adyen-kyc-accordion-content";
|
|
23
|
-
const accordionWithIcon = "adyen-kyc-accordion-with-icon";
|
|
24
|
-
const accordionArrow = "adyen-kyc-accordion-arrow";
|
|
25
|
-
const accordionArrowRight = "adyen-kyc-accordion-arrow-right";
|
|
26
|
-
const styles = {
|
|
27
|
-
accordion,
|
|
28
|
-
accordionSummary,
|
|
29
|
-
accordionBasic,
|
|
30
|
-
accordionInfo,
|
|
31
|
-
accordionError,
|
|
32
|
-
accordionWarning,
|
|
33
|
-
accordionSuccess,
|
|
34
|
-
accordionNarrow,
|
|
35
|
-
accordionContent,
|
|
36
|
-
accordionWithIcon,
|
|
37
|
-
accordionArrow,
|
|
38
|
-
accordionArrowRight
|
|
39
|
-
};
|
|
40
|
-
const Accordion = ({
|
|
41
|
-
children,
|
|
42
|
-
expandOnLeft = false,
|
|
43
|
-
onToggle,
|
|
44
|
-
className,
|
|
45
|
-
variant = "basic",
|
|
46
|
-
narrow = false
|
|
47
|
-
}) => {
|
|
48
|
-
const { Slot } = defineSlots(children, ["title", "content", "icon"]);
|
|
49
|
-
const handleToggle = (e) => {
|
|
50
|
-
if (!onToggle) return;
|
|
51
|
-
onToggle(e.newState === "closed" ? "close" : "open");
|
|
52
|
-
};
|
|
53
|
-
const variantMap = {
|
|
54
|
-
basic: styles.accordionBasic,
|
|
55
|
-
info: styles.accordionInfo,
|
|
56
|
-
error: styles.accordionError,
|
|
57
|
-
warning: styles.accordionWarning,
|
|
58
|
-
success: styles.accordionSuccess
|
|
59
|
-
};
|
|
60
|
-
return /* @__PURE__ */ jsxs(
|
|
61
|
-
"details",
|
|
62
|
-
{
|
|
63
|
-
onToggle: handleToggle,
|
|
64
|
-
className: cx(className, styles.accordion, variantMap[variant], {
|
|
65
|
-
[styles.accordionWithIcon]: expandOnLeft,
|
|
66
|
-
[styles.accordionNarrow]: narrow
|
|
67
|
-
}),
|
|
68
|
-
children: [
|
|
69
|
-
/* @__PURE__ */ jsxs("summary", { className: styles.accordionSummary, children: [
|
|
70
|
-
expandOnLeft && /* @__PURE__ */ jsx(Icon, { name: "chevron-down", className: styles.accordionArrow }),
|
|
71
|
-
/* @__PURE__ */ jsx(Slot, { name: "icon" }),
|
|
72
|
-
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "body-strongest", children: /* @__PURE__ */ jsx(Slot, { name: "title", children: /* @__PURE__ */ jsx(Skeleton, {}) }) }),
|
|
73
|
-
!expandOnLeft && /* @__PURE__ */ jsx(
|
|
74
|
-
Icon,
|
|
75
|
-
{
|
|
76
|
-
name: "chevron-down",
|
|
77
|
-
className: cx(styles.accordionArrow, styles.accordionArrowRight)
|
|
78
|
-
}
|
|
79
|
-
)
|
|
80
|
-
] }),
|
|
81
|
-
/* @__PURE__ */ jsx("div", { className: styles.accordionContent, children: /* @__PURE__ */ jsx(Slot, { name: "content", children: /* @__PURE__ */ jsx(Skeleton, {}) }) })
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
);
|
|
85
|
-
};
|
|
86
|
-
export {
|
|
87
|
-
Accordion as A
|
|
88
|
-
};
|
package/dist/Alert-C0Uk8vQL.js
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d20c8234-5dd9-4b0c-a53f-66b069375bb0", e._sentryDebugIdIdentifier = "sentry-dbid-d20c8234-5dd9-4b0c-a53f-66b069375bb0");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import cx from "classnames";
|
|
12
|
-
import { isValidElement } from "preact";
|
|
13
|
-
import { useState } from "preact/hooks";
|
|
14
|
-
import { A as Accordion } from "./Accordion-DwhJ6dID.js";
|
|
15
|
-
import { u as useTranslation, z as Typography, V as Button, r as Icon } from "./StoreProvider-2rl-plv5.js";
|
|
16
|
-
const alert = "adyen-kyc-alert";
|
|
17
|
-
const alertWithoutIcon = "adyen-kyc-alert-without-icon";
|
|
18
|
-
const alertExplanation = "adyen-kyc-alert-explanation";
|
|
19
|
-
const alertActions = "adyen-kyc-alert-actions";
|
|
20
|
-
const alertBasic = "adyen-kyc-alert-basic";
|
|
21
|
-
const alertInfo = "adyen-kyc-alert-info";
|
|
22
|
-
const alertError = "adyen-kyc-alert-error";
|
|
23
|
-
const alertWarning = "adyen-kyc-alert-warning";
|
|
24
|
-
const alertSuccess = "adyen-kyc-alert-success";
|
|
25
|
-
const alertHeader = "adyen-kyc-alert-header";
|
|
26
|
-
const alertHeaderWithoutChildren = "adyen-kyc-alert-header-without-children";
|
|
27
|
-
const alertIcon = "adyen-kyc-alert-icon";
|
|
28
|
-
const alertIconInfo = "adyen-kyc-alert-icon-info";
|
|
29
|
-
const alertIconError = "adyen-kyc-alert-icon-error";
|
|
30
|
-
const alertIconWarning = "adyen-kyc-alert-icon-warning";
|
|
31
|
-
const alertIconSuccess = "adyen-kyc-alert-icon-success";
|
|
32
|
-
const alertTitle = "adyen-kyc-alert-title";
|
|
33
|
-
const styles = {
|
|
34
|
-
alert,
|
|
35
|
-
alertWithoutIcon,
|
|
36
|
-
alertExplanation,
|
|
37
|
-
alertActions,
|
|
38
|
-
alertBasic,
|
|
39
|
-
alertInfo,
|
|
40
|
-
alertError,
|
|
41
|
-
alertWarning,
|
|
42
|
-
alertSuccess,
|
|
43
|
-
alertHeader,
|
|
44
|
-
alertHeaderWithoutChildren,
|
|
45
|
-
alertIcon,
|
|
46
|
-
alertIconInfo,
|
|
47
|
-
alertIconError,
|
|
48
|
-
alertIconWarning,
|
|
49
|
-
alertIconSuccess,
|
|
50
|
-
alertTitle
|
|
51
|
-
};
|
|
52
|
-
const variantMap = {
|
|
53
|
-
basic: styles.alertBasic,
|
|
54
|
-
info: styles.alertInfo,
|
|
55
|
-
error: styles.alertError,
|
|
56
|
-
warning: styles.alertWarning,
|
|
57
|
-
success: styles.alertSuccess
|
|
58
|
-
};
|
|
59
|
-
const iconVariantMap = {
|
|
60
|
-
basic: "",
|
|
61
|
-
// does not exist
|
|
62
|
-
info: styles.alertIconInfo,
|
|
63
|
-
error: styles.alertIconError,
|
|
64
|
-
warning: styles.alertIconWarning,
|
|
65
|
-
success: styles.alertIconSuccess
|
|
66
|
-
};
|
|
67
|
-
const Alert = ({
|
|
68
|
-
title,
|
|
69
|
-
variant = "basic",
|
|
70
|
-
type = "default",
|
|
71
|
-
className,
|
|
72
|
-
actions,
|
|
73
|
-
children,
|
|
74
|
-
icon,
|
|
75
|
-
testId,
|
|
76
|
-
onClose,
|
|
77
|
-
onToggle
|
|
78
|
-
}) => {
|
|
79
|
-
const { t } = useTranslation("ui");
|
|
80
|
-
const [isClosed, setIsClosed] = useState(false);
|
|
81
|
-
if (isClosed) return null;
|
|
82
|
-
const closeAlert = () => {
|
|
83
|
-
if (onClose) onClose();
|
|
84
|
-
setIsClosed(true);
|
|
85
|
-
};
|
|
86
|
-
const renderIcon = () => {
|
|
87
|
-
if (icon === false) return void 0;
|
|
88
|
-
if (isValidElement(icon)) {
|
|
89
|
-
return icon;
|
|
90
|
-
}
|
|
91
|
-
return /* @__PURE__ */ jsx("span", { className: cx(styles.alertIcon, iconVariantMap[variant]), children: /* @__PURE__ */ jsx(AlertIcon, { variant }) });
|
|
92
|
-
};
|
|
93
|
-
const renderedIcon = renderIcon();
|
|
94
|
-
if (type === "collapsible") {
|
|
95
|
-
return /* @__PURE__ */ jsxs(Accordion, { variant, onToggle: onToggle || void 0, narrow: true, className, children: [
|
|
96
|
-
/* @__PURE__ */ jsx("template", { slot: "title", children: title }),
|
|
97
|
-
/* @__PURE__ */ jsx("template", { slot: "icon", children: renderedIcon }),
|
|
98
|
-
/* @__PURE__ */ jsxs("template", { slot: "content", children: [
|
|
99
|
-
children,
|
|
100
|
-
!!actions && /* @__PURE__ */ jsx("div", { className: styles.alertActions, children: actions })
|
|
101
|
-
] })
|
|
102
|
-
] });
|
|
103
|
-
}
|
|
104
|
-
if (type === "callToAction") {
|
|
105
|
-
return /* @__PURE__ */ jsxs(
|
|
106
|
-
"div",
|
|
107
|
-
{
|
|
108
|
-
className: cx(styles.alert, className, variantMap[variant], {
|
|
109
|
-
[styles.alertWithoutIcon]: !renderedIcon
|
|
110
|
-
}),
|
|
111
|
-
role: "alert",
|
|
112
|
-
"data-testid": testId,
|
|
113
|
-
children: [
|
|
114
|
-
/* @__PURE__ */ jsxs(
|
|
115
|
-
"div",
|
|
116
|
-
{
|
|
117
|
-
className: cx(styles.alertHeader, {
|
|
118
|
-
[styles.alertHeaderWithoutChildren]: !children
|
|
119
|
-
}),
|
|
120
|
-
children: [
|
|
121
|
-
renderedIcon,
|
|
122
|
-
title && /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "body-strongest", className: styles.alertTitle, children: title }),
|
|
123
|
-
!!actions && /* @__PURE__ */ jsx("div", { className: styles.alertActions, children: actions })
|
|
124
|
-
]
|
|
125
|
-
}
|
|
126
|
-
),
|
|
127
|
-
!!children && /* @__PURE__ */ jsx("div", { className: styles.alertExplanation, children })
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
);
|
|
131
|
-
}
|
|
132
|
-
return /* @__PURE__ */ jsxs(
|
|
133
|
-
"div",
|
|
134
|
-
{
|
|
135
|
-
className: cx(styles.alert, className, variantMap[variant], {
|
|
136
|
-
[styles.alertWithoutIcon]: !renderedIcon
|
|
137
|
-
}),
|
|
138
|
-
role: "alert",
|
|
139
|
-
"data-testid": testId,
|
|
140
|
-
children: [
|
|
141
|
-
/* @__PURE__ */ jsxs("div", { className: styles.alertHeader, children: [
|
|
142
|
-
renderedIcon,
|
|
143
|
-
title && /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "body-strongest", className: styles.alertTitle, children: title }),
|
|
144
|
-
type === "dismissible" && /* @__PURE__ */ jsx(Button, { variant: "tertiary", icon: "cross", onClick: closeAlert, children: t(($) => $["close"]) })
|
|
145
|
-
] }),
|
|
146
|
-
!!children && /* @__PURE__ */ jsx("div", { className: styles.alertExplanation, children }),
|
|
147
|
-
!!actions && /* @__PURE__ */ jsx("div", { className: styles.alertActions, children: actions })
|
|
148
|
-
]
|
|
149
|
-
}
|
|
150
|
-
);
|
|
151
|
-
};
|
|
152
|
-
const AlertIcon = ({ variant }) => {
|
|
153
|
-
switch (variant) {
|
|
154
|
-
case "success":
|
|
155
|
-
return /* @__PURE__ */ jsx(Icon, { name: "checkmark" });
|
|
156
|
-
case "error":
|
|
157
|
-
return /* @__PURE__ */ jsx(Icon, { name: "error" });
|
|
158
|
-
case "warning":
|
|
159
|
-
return /* @__PURE__ */ jsx(Icon, { name: "warning" });
|
|
160
|
-
case "info":
|
|
161
|
-
case "basic":
|
|
162
|
-
default:
|
|
163
|
-
return /* @__PURE__ */ jsx(Icon, { name: "info-circle-filled" });
|
|
164
|
-
}
|
|
165
|
-
};
|
|
166
|
-
export {
|
|
167
|
-
AlertIcon as A,
|
|
168
|
-
Alert as a
|
|
169
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b6f69b45-f97a-4b68-8ee1-badeece37da9", e._sentryDebugIdIdentifier = "sentry-dbid-b6f69b45-f97a-4b68-8ee1-badeece37da9");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
const DropinLayout = ({ content, footer }) => /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-dropin", children: [
|
|
12
|
-
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__content", children: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__content-main", children: content }) }),
|
|
13
|
-
footer && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__footer-container", children: footer })
|
|
14
|
-
] });
|
|
15
|
-
export {
|
|
16
|
-
DropinLayout as D
|
|
17
|
-
};
|
package/dist/Header-B-wXVUdY.js
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a7f067c7-d7b1-4d87-9afe-1eae7441f5ea", e._sentryDebugIdIdentifier = "sentry-dbid-a7f067c7-d7b1-4d87-9afe-1eae7441f5ea");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import cx from "classnames";
|
|
12
|
-
import { defineSlots } from "named-slots";
|
|
13
|
-
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-dcodYxh1.js";
|
|
15
|
-
const header = "adyen-kyc-header";
|
|
16
|
-
const headerMargin = "adyen-kyc-header-margin";
|
|
17
|
-
const headerMarginSecondary = "adyen-kyc-header-margin-secondary";
|
|
18
|
-
const headerLeft = "adyen-kyc-header-left";
|
|
19
|
-
const headerCenter = "adyen-kyc-header-center";
|
|
20
|
-
const headerRight = "adyen-kyc-header-right";
|
|
21
|
-
const headerContent = "adyen-kyc-header-content";
|
|
22
|
-
const headerActions = "adyen-kyc-header-actions";
|
|
23
|
-
const headerTitle = "adyen-kyc-header-title";
|
|
24
|
-
const headerTitlePrimary = "adyen-kyc-header-title-primary";
|
|
25
|
-
const headerTitleSecondary = "adyen-kyc-header-title-secondary";
|
|
26
|
-
const headerDescription = "adyen-kyc-header-description";
|
|
27
|
-
const headerDescriptionPrimary = "adyen-kyc-header-description-primary";
|
|
28
|
-
const headerDescriptionSecondary = "adyen-kyc-header-description-secondary";
|
|
29
|
-
const styles = {
|
|
30
|
-
header,
|
|
31
|
-
headerMargin,
|
|
32
|
-
headerMarginSecondary,
|
|
33
|
-
headerLeft,
|
|
34
|
-
headerCenter,
|
|
35
|
-
headerRight,
|
|
36
|
-
headerContent,
|
|
37
|
-
headerActions,
|
|
38
|
-
headerTitle,
|
|
39
|
-
headerTitlePrimary,
|
|
40
|
-
headerTitleSecondary,
|
|
41
|
-
headerDescription,
|
|
42
|
-
headerDescriptionPrimary,
|
|
43
|
-
headerDescriptionSecondary
|
|
44
|
-
};
|
|
45
|
-
const alignmentStyles = {
|
|
46
|
-
left: styles.headerLeft,
|
|
47
|
-
center: styles.headerCenter,
|
|
48
|
-
right: styles.headerRight
|
|
49
|
-
};
|
|
50
|
-
const Header = ({
|
|
51
|
-
align = "left",
|
|
52
|
-
children,
|
|
53
|
-
description,
|
|
54
|
-
secondary = false,
|
|
55
|
-
status,
|
|
56
|
-
title
|
|
57
|
-
}) => {
|
|
58
|
-
const { Slot, hasSlot } = defineSlots(children ?? [], ["actions", "description"]);
|
|
59
|
-
const HeadingElement = secondary ? "h2" : "h1";
|
|
60
|
-
const rootClassname = cx(styles.header, alignmentStyles[align], {
|
|
61
|
-
[styles.headerMargin]: !secondary,
|
|
62
|
-
[styles.headerMarginSecondary]: secondary
|
|
63
|
-
});
|
|
64
|
-
const titleClassname = cx(styles.headerTitle, {
|
|
65
|
-
[styles.headerTitlePrimary]: !secondary,
|
|
66
|
-
[styles.headerTitleSecondary]: secondary
|
|
67
|
-
});
|
|
68
|
-
const descriptionClassname = cx(styles.headerDescription, {
|
|
69
|
-
[styles.headerDescriptionPrimary]: !secondary,
|
|
70
|
-
[styles.headerDescriptionSecondary]: secondary
|
|
71
|
-
});
|
|
72
|
-
return /* @__PURE__ */ jsxs("header", { className: rootClassname, children: [
|
|
73
|
-
status && /* @__PURE__ */ jsx(TaskVerificationStatus, { status, responsive: false }),
|
|
74
|
-
/* @__PURE__ */ jsxs("div", { className: styles.headerContent, children: [
|
|
75
|
-
/* @__PURE__ */ jsx(HeadingElement, { className: titleClassname, children: title }),
|
|
76
|
-
(hasSlot("description") || description) && /* @__PURE__ */ jsx("div", { className: descriptionClassname, children: /* @__PURE__ */ jsx(Slot, { name: "description", children: description }) })
|
|
77
|
-
] }),
|
|
78
|
-
hasSlot("actions") && /* @__PURE__ */ jsx("div", { className: styles.headerActions, children: /* @__PURE__ */ jsx(StackLayout, { gap: "small", horizontal: true, children: /* @__PURE__ */ jsx(Slot, { name: "actions" }) }) })
|
|
79
|
-
] });
|
|
80
|
-
};
|
|
81
|
-
export {
|
|
82
|
-
Header as H
|
|
83
|
-
};
|