@adyen/kyc-components 2.50.5 → 2.51.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/es/adyen-kyc-components.es.js +1625 -1015
- package/dist/es/arrow-left-BLTu7dpi.js +5 -0
- package/dist/es/{arrow-right-C4o8oS1C.js → arrow-right-BntH-Qlw.js} +2 -2
- package/dist/es/{bin-CGwewvcn.js → bin-Bj6qtSTy.js} +1 -1
- package/dist/es/check-ZYTuehgv.js +5 -0
- package/dist/es/checkmark-DxCwXAIK.js +5 -0
- package/dist/es/{checkmark-small-D_9HLctx.js → checkmark-small-BsdIbd2G.js} +1 -1
- package/dist/es/{chevron-down-C8-1xmDI.js → chevron-down-BIOZPblQ.js} +2 -2
- package/dist/es/chevron-left-B_GtBez_.js +11 -0
- package/dist/es/{chevron-right-BDZzxAre.js → chevron-right-DTyHLnb5.js} +2 -2
- package/dist/es/{chevron-up-BLtnROd5.js → chevron-up-0etcs99k.js} +1 -1
- package/dist/es/{company-2-JG34IScE.js → company-2-B3NuVpZ7.js} +1 -1
- package/dist/es/company-CYi9zTX1.js +5 -0
- package/dist/es/contract-Ca5T1p29.js +5 -0
- package/dist/es/controlling-person-BQledQz3.js +5 -0
- package/dist/es/{cross-D-SQig6J.js → cross-_WDtYXwH.js} +2 -2
- package/dist/es/decision-maker-IOjBp4Cn.js +5 -0
- package/dist/es/document-Daivbade.js +5 -0
- package/dist/es/document-blurred-gtj03M4x.js +28 -0
- package/dist/es/document-cut-off-D2vCeeIS.js +23 -0
- package/dist/es/document-expired-_4Syh1xW.js +29 -0
- package/dist/es/document-front-9Glzn7ZR.js +21 -0
- package/dist/es/{download-COfxdarq.js → download-6WUrs5fL.js} +2 -2
- package/dist/es/edit-vu4T5TEr.js +5 -0
- package/dist/es/field-error-Dc-vt_Ng.js +5 -0
- package/dist/es/id-blurred-A45CVnPk.js +50 -0
- package/dist/es/id-cut-off-DMoJYcGr.js +46 -0
- package/dist/es/id-front-CTIDY7Nu.js +43 -0
- package/dist/es/id-glare-DRN1UgPb.js +40 -0
- package/dist/es/id-verification-instant-JpZYE7gU.js +49 -0
- package/dist/es/id-verification-manual-CnkUMBXD.js +46 -0
- package/dist/es/image-C5KqhIDJ.js +8 -0
- package/dist/es/{info-circle-DkHN1ugA.js → info-circle-DvvWfz1E.js} +1 -1
- package/dist/es/light-bulb-B9fSxkAk.js +5 -0
- package/dist/es/{location-B1Til-7Q.js → location-6Th9xn5O.js} +1 -1
- package/dist/es/more-horiz-BW6d91R8.js +5 -0
- package/dist/es/new-document-Cpqmj9Kl.js +5 -0
- package/dist/es/onfido-logo-DWX1GbUz.js +9 -0
- package/dist/es/owners-DT55tjrZ.js +5 -0
- package/dist/es/passport-blurred-Cw3cn4-0.js +50 -0
- package/dist/es/passport-cut-off-B0WAEH9S.js +47 -0
- package/dist/es/passport-front-DOkc7OdE.js +43 -0
- package/dist/es/passport-glare-DZiLpHLG.js +41 -0
- package/dist/es/payout-W95Oslv1.js +5 -0
- package/dist/es/payout-verification-instant-D9r3JgYA.js +31 -0
- package/dist/es/payout-verification-manual-BVzHrwSY.js +32 -0
- package/dist/es/pci-5RzbfIJy.js +5 -0
- package/dist/es/plaid-logo-CldAG-6v.js +13 -0
- package/dist/es/{plus-DAnbeoyS.js → plus-DUFyqbPe.js} +1 -1
- package/dist/es/remove-CR7nAYBO.js +5 -0
- package/dist/es/{review-CeQeKHXH.js → review-C4CnZ2XP.js} +1 -1
- package/dist/es/save-DsoIf4Q0.js +5 -0
- package/dist/es/search-3G14C_IW.js +5 -0
- package/dist/es/{signatory-BVoLPYPu.js → signatory-BUpU_luQ.js} +1 -1
- package/dist/es/store-CNHDWfwi.js +5 -0
- package/dist/es/tink-logo-CPPNzyT1.js +5 -0
- package/dist/es/trust-PKlVgWsv.js +5 -0
- package/dist/es/trustly-logo-QZ7eqdLL.js +11 -0
- package/dist/es/upload-CA264b-V.js +8 -0
- package/dist/es/{user-D6swzlYs.js → user-Dt1-0v-v.js} +1 -1
- package/dist/es/{user-business-CwS5j1qX.js → user-business-BZ3Ko-Oi.js} +1 -1
- package/dist/es/{users-3-BdjQ9rEA.js → users-3-Dshq7JI-.js} +1 -1
- package/dist/es/warning-vQPFTjLC.js +5 -0
- package/dist/es/wrong-BFDOMiyi.js +5 -0
- package/dist/style.css +284 -152
- package/dist/types/components/AdditionalInformation/component/AdditionalInformationComponent.d.ts +1 -1
- package/dist/types/components/BasicInformation/component/BasicInformationComponent.d.ts +2 -2
- package/dist/types/components/BasicInformation/types.d.ts +1 -1
- package/dist/types/components/BusinessDetails/forms.d.ts +1 -1
- package/dist/types/components/Dropins/DropinLayout/DropinLayout.d.ts +1 -1
- package/dist/types/components/Dropins/DropinLayout/EmbeddedActionBar/EmbeddedActionBar.d.ts +7 -0
- package/dist/types/components/Dropins/DropinLayout/types.d.ts +3 -0
- package/dist/types/components/Dropins/FormWrapper/FormWrapper.d.ts +4 -1
- package/dist/types/components/Dropins/IndividualDropin/components/IndividualDropinComponent.d.ts +1 -1
- package/dist/types/components/Dropins/types.d.ts +1 -0
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +4 -1
- package/dist/types/components/EmbeddedDropins/ManageIndividualComponent/ManageIndividualComponent.d.ts +6 -0
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/types.d.ts +1 -9
- package/dist/types/components/IdVerificationMethod/idVerificationMethodMetadata.d.ts +5 -4
- package/dist/types/components/Individual/types.d.ts +1 -0
- package/dist/types/components/LegalEntityStatus/LegalEntityStatus.d.ts +9 -0
- package/dist/types/components/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +4 -4
- package/dist/types/components/TrustRegistrationDetails/validate.d.ts +1 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/internal/Address/validate.d.ts +2 -0
- package/dist/types/components/internal/Alert/types.d.ts +1 -1
- package/dist/types/components/internal/DocumentGuidance/types.d.ts +3 -1
- package/dist/types/components/internal/EmbeddedStatus/EmbeddedStatus.d.ts +16 -0
- package/dist/types/components/internal/EmbeddedStatus/statusToTag.d.ts +12 -0
- package/dist/types/components/internal/Icon/Icon.d.ts +4 -47
- package/dist/types/components/internal/LegalCompanyNameField/fieldConfig.d.ts +2 -0
- package/dist/types/components/internal/NewModal/Modal.d.ts +11 -0
- package/dist/types/components/internal/Skeleton/Skeleton.d.ts +8 -0
- package/dist/types/components/internal/Svg/Svg.d.ts +13 -0
- package/dist/types/components/internal/Svg/index.d.ts +1 -0
- package/dist/types/components/internal/Svg/svgs.d.ts +68 -0
- package/dist/types/core/Context/ConfigurationApiContext/ConfigurationApiContext.d.ts +0 -1
- package/dist/types/core/Context/CoreContext.d.ts +2 -0
- package/dist/types/core/Context/ExperimentContext/types.d.ts +1 -1
- package/dist/types/core/hooks/useFormComposer.d.ts +1 -0
- package/dist/types/core/hooks/usePolling.d.ts +9 -0
- package/dist/types/core/models/api/view-verification-status.d.ts +1 -1
- package/dist/types/core/models/file.d.ts +1 -0
- package/dist/types/core/models/sole-prop.d.ts +2 -4
- package/dist/types/utils/coerceError.d.ts +1 -0
- package/dist/types/utils/mapping/documentGuidanceMap.d.ts +1 -1
- package/dist/types/utils/regex/patternValidators.d.ts +1 -0
- package/dist/types/utils/validatorUtils.d.ts +3 -2
- package/package.json +1 -1
- package/dist/es/arrow-left-CCxYxfCP.js +0 -5
- package/dist/es/check-CeSLN4_9.js +0 -5
- package/dist/es/checkmark-DEh9MPYR.js +0 -5
- package/dist/es/chevron-left-DSyI3arz.js +0 -11
- package/dist/es/company-D5_F_6SW.js +0 -5
- package/dist/es/contract-C6wDy9zU.js +0 -5
- package/dist/es/controlling-person-C4KoSyi2.js +0 -5
- package/dist/es/decision-maker-Cef3-OzY.js +0 -5
- package/dist/es/document-Cg4kZHpA.js +0 -5
- package/dist/es/edit--fDhojib.js +0 -5
- package/dist/es/field-error-WElEN1mN.js +0 -5
- package/dist/es/light-bulb-DEUhbRWP.js +0 -5
- package/dist/es/more-horiz-BieZKfy3.js +0 -5
- package/dist/es/new-document-BEAJnXCG.js +0 -5
- package/dist/es/owners-D1pksb86.js +0 -5
- package/dist/es/payout-BFiI--HY.js +0 -5
- package/dist/es/pci-DMQLRoAn.js +0 -5
- package/dist/es/remove-CEmd9YX7.js +0 -5
- package/dist/es/save-vVXwP4OB.js +0 -5
- package/dist/es/search-hf3HRVbu.js +0 -5
- package/dist/es/store-D2z639xh.js +0 -5
- package/dist/es/trust-CpcaQaV7.js +0 -5
- package/dist/es/warning-99uFf1WU.js +0 -5
- package/dist/es/wrong-1wvh7nZe.js +0 -5
- package/dist/types/core/Services/agnostic/get-images.d.ts +0 -1
- package/dist/types/core/Services/agnostic/index.d.ts +0 -1
package/dist/style.css
CHANGED
|
@@ -238,6 +238,7 @@ button[disabled]:hover {
|
|
|
238
238
|
color: var(--adyen-sdk-color-link-primary, #00112c);
|
|
239
239
|
cursor: pointer;
|
|
240
240
|
display: inline;
|
|
241
|
+
font-size: inherit;
|
|
241
242
|
padding: var(--adyen-sdk-spacer-000, 0px);
|
|
242
243
|
vertical-align: baseline;
|
|
243
244
|
}
|
|
@@ -297,6 +298,10 @@ button[disabled]:hover {
|
|
|
297
298
|
}
|
|
298
299
|
.adyen-kyc-icon svg {
|
|
299
300
|
height: 1em;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.adyen-kyc-image {
|
|
304
|
+
display: inline-block;
|
|
300
305
|
}/* #region Borders */
|
|
301
306
|
/* #endregion */
|
|
302
307
|
/* #region Z-index */
|
|
@@ -1647,7 +1652,7 @@ button[disabled]:hover {
|
|
|
1647
1652
|
.adyen-layout-xs-only .adyen-kyc-document-guidance__container {
|
|
1648
1653
|
display: grid;
|
|
1649
1654
|
grid-template-columns: repeat(2, 1fr);
|
|
1650
|
-
gap: var(--adyen-sdk-spacer-060, 12px) var(--adyen-sdk-spacer-
|
|
1655
|
+
gap: var(--adyen-sdk-spacer-060, 12px) var(--adyen-sdk-spacer-020, 4px);
|
|
1651
1656
|
}
|
|
1652
1657
|
.adyen-layout-md .adyen-kyc-document-guidance__container {
|
|
1653
1658
|
display: flex;
|
|
@@ -1660,12 +1665,40 @@ button[disabled]:hover {
|
|
|
1660
1665
|
display: flex;
|
|
1661
1666
|
flex-direction: column;
|
|
1662
1667
|
align-items: center;
|
|
1663
|
-
|
|
1668
|
+
margin: var(--adyen-sdk-spacer-000, 0px) auto;
|
|
1669
|
+
}
|
|
1670
|
+
.adyen-layout-md .adyen-kyc-document-guidance__item {
|
|
1664
1671
|
margin: var(--adyen-sdk-spacer-000, 0px);
|
|
1665
1672
|
}
|
|
1673
|
+
.adyen-kyc-document-guidance__item svg {
|
|
1674
|
+
height: 100px;
|
|
1675
|
+
}
|
|
1666
1676
|
|
|
1667
1677
|
.adyen-kyc-document-guidance__description {
|
|
1668
|
-
|
|
1678
|
+
display: flex;
|
|
1679
|
+
align-items: center;
|
|
1680
|
+
margin-top: var(--adyen-sdk-spacer-010, 2px);
|
|
1681
|
+
width: 100%;
|
|
1682
|
+
font-weight: var(--adyen-sdk-text-body-stronger-font-weight, 500);
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
.adyen-kyc-document-guidance__icon {
|
|
1686
|
+
display: flex;
|
|
1687
|
+
margin-right: var(--adyen-sdk-spacer-040, 8px);
|
|
1688
|
+
height: 16px;
|
|
1689
|
+
width: 16px;
|
|
1690
|
+
color: var(--adyen-sdk-color-background-primary, #ffffff);
|
|
1691
|
+
padding: var(--adyen-sdk-spacer-020, 4px);
|
|
1692
|
+
border-radius: 50%;
|
|
1693
|
+
}
|
|
1694
|
+
.adyen-kyc-document-guidance__icon--valid {
|
|
1695
|
+
background-color: var(--adyen-sdk-color-background-success-strong, #07893c);
|
|
1696
|
+
}
|
|
1697
|
+
.adyen-kyc-document-guidance__icon--invalid {
|
|
1698
|
+
background-color: var(--adyen-sdk-color-background-critical-strong, #e22d2d);
|
|
1699
|
+
}
|
|
1700
|
+
.adyen-kyc-document-guidance__icon svg {
|
|
1701
|
+
height: 8px;
|
|
1669
1702
|
}/* #region Borders */
|
|
1670
1703
|
/* #endregion */
|
|
1671
1704
|
/* #region Z-index */
|
|
@@ -1678,13 +1711,11 @@ button[disabled]:hover {
|
|
|
1678
1711
|
border: var(--adyen-sdk-border-width-s, 1px) dashed var(--adyen-sdk-color-outline-secondary, #c9cdd3);
|
|
1679
1712
|
border-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
1680
1713
|
display: flex;
|
|
1681
|
-
flex-direction:
|
|
1682
|
-
|
|
1683
|
-
font-family: var(--adyen-sdk-text-caption-font-family, Inter, Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
1684
|
-
font-weight: var(--adyen-sdk-text-caption-font-weight, 400);
|
|
1685
|
-
line-height: var(--adyen-sdk-text-caption-line-height, 18px);
|
|
1714
|
+
flex-direction: column;
|
|
1715
|
+
padding: var(--adyen-sdk-spacer-080, 20px) var(--adyen-sdk-spacer-090, 24px);
|
|
1686
1716
|
min-height: 70px;
|
|
1687
1717
|
transition: all 0.2s ease-out;
|
|
1718
|
+
margin-top: var(--adyen-sdk-spacer-040, 8px);
|
|
1688
1719
|
}
|
|
1689
1720
|
.adyen-kyc-dropzone--dragged {
|
|
1690
1721
|
border: var(--adyen-sdk-border-width-s, 1px) solid var(--adyen-sdk-color-outline-secondary-active, #00112c);
|
|
@@ -1694,48 +1725,29 @@ button[disabled]:hover {
|
|
|
1694
1725
|
border: var(--adyen-sdk-border-width-s, 1px) dashed var(--adyen-sdk-color-outline-critical, #e22d2d);
|
|
1695
1726
|
}
|
|
1696
1727
|
.adyen-kyc-dropzone__icon {
|
|
1697
|
-
align-items: center;
|
|
1698
1728
|
display: flex;
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1729
|
+
align-items: center;
|
|
1730
|
+
justify-content: center;
|
|
1731
|
+
background-color: var(--adyen-sdk-color-background-secondary, #f7f7f8);
|
|
1732
|
+
border-radius: 50%;
|
|
1733
|
+
height: 32px;
|
|
1734
|
+
width: 32px;
|
|
1735
|
+
margin: var(--adyen-sdk-spacer-000, 0px) auto var(--adyen-sdk-spacer-060, 12px);
|
|
1702
1736
|
}
|
|
1703
1737
|
.adyen-kyc-dropzone__labels {
|
|
1704
|
-
align-self: center;
|
|
1705
1738
|
display: flex;
|
|
1706
1739
|
flex-direction: column;
|
|
1707
|
-
margin:
|
|
1740
|
+
margin-bottom: var(--adyen-sdk-spacer-060, 12px);
|
|
1741
|
+
text-align: center;
|
|
1742
|
+
}
|
|
1743
|
+
.adyen-kyc-dropzone__labels h4 {
|
|
1744
|
+
margin-bottom: var(--adyen-sdk-spacer-020, 4px);
|
|
1708
1745
|
}
|
|
1709
1746
|
.adyen-kyc-dropzone__input {
|
|
1710
1747
|
display: none;
|
|
1711
1748
|
}
|
|
1712
|
-
.adyen-kyc-dropzone__drag-text {
|
|
1713
|
-
color: var(--adyen-sdk-color-label-primary, #00112c);
|
|
1714
|
-
font-size: var(--adyen-sdk-text-caption-font-size, 12px);
|
|
1715
|
-
font-weight: var(--adyen-sdk-text-caption-stronger-font-weight, 500);
|
|
1716
|
-
margin-bottom: var(--adyen-sdk-spacer-020, 4px);
|
|
1717
|
-
}
|
|
1718
1749
|
.adyen-kyc-dropzone__button {
|
|
1719
|
-
|
|
1720
|
-
border: 0;
|
|
1721
|
-
color: var(--adyen-sdk-color-label-highlight, #0070f5);
|
|
1722
|
-
cursor: pointer;
|
|
1723
|
-
font-size: var(--adyen-sdk-text-caption-font-size, 12px);
|
|
1724
|
-
font-weight: var(--adyen-sdk-text-caption-stronger-font-weight, 500);
|
|
1725
|
-
padding: var(--adyen-sdk-spacer-000, 0px);
|
|
1726
|
-
text-transform: lowercase;
|
|
1727
|
-
}
|
|
1728
|
-
.adyen-kyc-dropzone__supports-text {
|
|
1729
|
-
color: var(--adyen-sdk-color-label-secondary, #5c687c);
|
|
1730
|
-
font-size: var(--adyen-sdk-text-caption-font-size, 12px);
|
|
1731
|
-
}
|
|
1732
|
-
.adyen-kyc-dropzone .adyen-kyc-icon-new-document {
|
|
1733
|
-
color: var(--adyen-sdk-color-label-tertiary, #8d95a3);
|
|
1734
|
-
display: flex;
|
|
1735
|
-
font-size: var(--adyen-sdk-text-title-l-font-size, 24px);
|
|
1736
|
-
font-family: var(--adyen-sdk-text-title-l-font-family, Inter, Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
1737
|
-
font-weight: var(--adyen-sdk-text-title-l-font-weight, 600);
|
|
1738
|
-
line-height: var(--adyen-sdk-text-title-l-line-height, 34px);
|
|
1750
|
+
text-align: center;
|
|
1739
1751
|
}/* #region Borders */
|
|
1740
1752
|
/* #endregion */
|
|
1741
1753
|
/* #region Z-index */
|
|
@@ -1745,72 +1757,49 @@ button[disabled]:hover {
|
|
|
1745
1757
|
/* #region Inline components */
|
|
1746
1758
|
/* #endregion */
|
|
1747
1759
|
.adyen-kyc-dropzone-file {
|
|
1760
|
+
display: flex;
|
|
1748
1761
|
align-items: center;
|
|
1749
|
-
|
|
1762
|
+
justify-content: space-between;
|
|
1763
|
+
background: var(--adyen-sdk-color-background-secondary, #f7f7f8);
|
|
1750
1764
|
border-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
1751
|
-
display: flex;
|
|
1752
|
-
flex-direction: row;
|
|
1753
|
-
font-size: var(--adyen-sdk-text-caption-font-size, 12px);
|
|
1754
|
-
font-family: var(--adyen-sdk-text-caption-font-family, Inter, Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
1755
|
-
font-weight: var(--adyen-sdk-text-caption-font-weight, 400);
|
|
1756
|
-
line-height: var(--adyen-sdk-text-caption-line-height, 18px);
|
|
1757
1765
|
margin-bottom: var(--adyen-sdk-spacer-070, 16px);
|
|
1758
|
-
|
|
1766
|
+
padding: var(--adyen-sdk-spacer-060, 12px) var(--adyen-sdk-spacer-070, 16px);
|
|
1767
|
+
width: 100%;
|
|
1768
|
+
margin-top: var(--adyen-sdk-spacer-040, 8px);
|
|
1769
|
+
}
|
|
1770
|
+
.adyen-kyc-dropzone-file--error {
|
|
1771
|
+
background-color: var(--adyen-sdk-color-background-critical-weak, #fef4f4);
|
|
1772
|
+
}
|
|
1773
|
+
.adyen-kyc-dropzone-file--error .adyen-kyc-dropzone-file__icon {
|
|
1774
|
+
color: var(--adyen-sdk-color-background-critical-strong, #e22d2d);
|
|
1759
1775
|
}
|
|
1760
1776
|
.adyen-kyc-dropzone-file__icon {
|
|
1761
1777
|
align-items: center;
|
|
1762
1778
|
display: flex;
|
|
1763
|
-
margin:
|
|
1764
|
-
|
|
1765
|
-
max-width: 60px;
|
|
1779
|
+
margin-right: var(--adyen-sdk-spacer-040, 8px);
|
|
1780
|
+
color: var(--adyen-sdk-color-background-success-strong, #07893c);
|
|
1766
1781
|
}
|
|
1767
1782
|
.adyen-kyc-dropzone-file__labels {
|
|
1768
|
-
margin: auto auto auto var(--adyen-sdk-spacer-000, 0px);
|
|
1769
1783
|
overflow: hidden;
|
|
1784
|
+
display: flex;
|
|
1785
|
+
align-items: center;
|
|
1770
1786
|
}
|
|
1771
1787
|
.adyen-kyc-dropzone-file__name {
|
|
1772
|
-
color: var(--adyen-sdk-color-label-primary, #00112c);
|
|
1773
|
-
font-size: var(--adyen-sdk-text-caption-font-size, 12px);
|
|
1774
|
-
font-weight: var(--adyen-sdk-text-caption-stronger-font-weight, 500);
|
|
1775
|
-
margin-bottom: var(--adyen-sdk-spacer-020, 4px);
|
|
1776
1788
|
overflow: hidden;
|
|
1777
1789
|
text-overflow: ellipsis;
|
|
1778
1790
|
white-space: nowrap;
|
|
1791
|
+
max-width: 600px;
|
|
1779
1792
|
}
|
|
1780
1793
|
.adyen-kyc-dropzone-file__size {
|
|
1781
|
-
|
|
1782
|
-
font-size: var(--adyen-sdk-text-caption-font-size, 12px);
|
|
1794
|
+
margin-left: var(--adyen-sdk-spacer-040, 8px);
|
|
1783
1795
|
}
|
|
1784
1796
|
.adyen-kyc-dropzone-file__error {
|
|
1785
1797
|
color: var(--adyen-sdk-color-label-critical, #e22d2d);
|
|
1798
|
+
margin-top: var(--adyen-sdk-spacer-020, 4px);
|
|
1786
1799
|
}
|
|
1787
1800
|
.adyen-kyc-dropzone-file__button {
|
|
1788
|
-
background: none;
|
|
1789
1801
|
border: 0;
|
|
1790
|
-
cursor: pointer;
|
|
1791
|
-
display: flex;
|
|
1792
|
-
margin: var(--adyen-sdk-spacer-070, 16px);
|
|
1793
1802
|
padding: var(--adyen-sdk-spacer-000, 0px);
|
|
1794
|
-
}
|
|
1795
|
-
.adyen-kyc-dropzone-file .adyen-kyc-icon {
|
|
1796
|
-
display: flex;
|
|
1797
|
-
}
|
|
1798
|
-
.adyen-kyc-dropzone-file .adyen-kyc-icon-checkmark {
|
|
1799
|
-
color: var(--adyen-sdk-color-label-success, #07893c);
|
|
1800
|
-
font-size: var(--adyen-sdk-text-title-l-font-size, 24px);
|
|
1801
|
-
font-family: var(--adyen-sdk-text-title-l-font-family, Inter, Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
1802
|
-
font-weight: var(--adyen-sdk-text-title-l-font-weight, 600);
|
|
1803
|
-
line-height: var(--adyen-sdk-text-title-l-line-height, 34px);
|
|
1804
|
-
}
|
|
1805
|
-
.adyen-kyc-dropzone-file .adyen-kyc-icon-wrong {
|
|
1806
|
-
color: var(--adyen-sdk-color-label-critical, #e22d2d);
|
|
1807
|
-
font-size: var(--adyen-sdk-text-title-l-font-size, 24px);
|
|
1808
|
-
font-family: var(--adyen-sdk-text-title-l-font-family, Inter, Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
1809
|
-
font-weight: var(--adyen-sdk-text-title-l-font-weight, 600);
|
|
1810
|
-
line-height: var(--adyen-sdk-text-title-l-line-height, 34px);
|
|
1811
|
-
}
|
|
1812
|
-
.adyen-kyc-dropzone-file .adyen-kyc-icon-remove {
|
|
1813
|
-
color: var(--adyen-sdk-color-label-tertiary, #8d95a3);
|
|
1814
1803
|
}/* #region Borders */
|
|
1815
1804
|
/* #endregion */
|
|
1816
1805
|
/* #region Z-index */
|
|
@@ -2006,6 +1995,7 @@ button[disabled]:hover {
|
|
|
2006
1995
|
}.adyen-kyc-id-verification-method__guidance {
|
|
2007
1996
|
color: var(--adyen-sdk-color-label-secondary, #5c687c);
|
|
2008
1997
|
font-size: var(--adyen-sdk-text-body-font-size, 14px);
|
|
1998
|
+
margin-bottom: var(--adyen-sdk-spacer-040, 8px);
|
|
2009
1999
|
}.adyen-kyc-field--idNumberWithExempt .adyen-kyc-input--text {
|
|
2010
2000
|
margin-bottom: var(--adyen-sdk-spacer-040, 8px);
|
|
2011
2001
|
}
|
|
@@ -2212,28 +2202,16 @@ button[disabled]:hover {
|
|
|
2212
2202
|
gap: var(--adyen-sdk-spacer-020, 4px);
|
|
2213
2203
|
justify-content: end;
|
|
2214
2204
|
}
|
|
2215
|
-
.adyen-kyc-field-verification-methods__icon {
|
|
2216
|
-
margin-bottom: var(--adyen-sdk-spacer-030, 6px);
|
|
2217
|
-
}
|
|
2218
2205
|
|
|
2219
2206
|
.adyen-kyc-radio-group-card__illustration {
|
|
2220
2207
|
display: flex;
|
|
2221
2208
|
justify-content: center;
|
|
2222
2209
|
}
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
margin: var(--adyen-sdk-spacer-000, 0px);
|
|
2226
|
-
padding-left: var(--adyen-sdk-spacer-060, 12px);
|
|
2227
|
-
}
|
|
2228
|
-
.adyen-kyc-guidance-list__item {
|
|
2229
|
-
margin-bottom: var(--adyen-sdk-spacer-020, 4px);
|
|
2210
|
+
.adyen-kyc-radio-group-card__illustration svg {
|
|
2211
|
+
height: 75px;
|
|
2230
2212
|
}
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
font-size: var(--adyen-sdk-text-caption-font-size, 12px);
|
|
2234
|
-
font-family: var(--adyen-sdk-text-caption-font-family, Inter, Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
2235
|
-
font-weight: var(--adyen-sdk-text-caption-font-weight, 400);
|
|
2236
|
-
line-height: var(--adyen-sdk-text-caption-line-height, 18px);
|
|
2213
|
+
.adyen-layout-md .adyen-kyc-radio-group-card__illustration svg {
|
|
2214
|
+
height: 125px;
|
|
2237
2215
|
}
|
|
2238
2216
|
|
|
2239
2217
|
.adyen-kyc-instant-verification-error,
|
|
@@ -2271,8 +2249,16 @@ button[disabled]:hover {
|
|
|
2271
2249
|
font-weight: var(--adyen-sdk-text-title-font-weight, 600);
|
|
2272
2250
|
line-height: var(--adyen-sdk-text-title-line-height, 26px);
|
|
2273
2251
|
}
|
|
2252
|
+
.adyen-kyc-additional-information fieldset {
|
|
2253
|
+
border: none;
|
|
2254
|
+
padding: 0;
|
|
2255
|
+
margin: 0;
|
|
2256
|
+
}
|
|
2274
2257
|
.adyen-kyc-additional-information .adyen-kyc-field-wrapper {
|
|
2275
2258
|
flex-direction: column;
|
|
2259
|
+
}
|
|
2260
|
+
.adyen-kyc-additional-information .adyen-kyc-form-header {
|
|
2261
|
+
margin: 0 !important;
|
|
2276
2262
|
}.adyen-kyc-field--dbaName {
|
|
2277
2263
|
margin-left: 0 !important;
|
|
2278
2264
|
}.adyen-kyc-verified-business-card {
|
|
@@ -2310,11 +2296,7 @@ button[disabled]:hover {
|
|
|
2310
2296
|
flex-direction: row;
|
|
2311
2297
|
justify-content: flex-start;
|
|
2312
2298
|
text-decoration: underline;
|
|
2313
|
-
}.adyen-kyc-
|
|
2314
|
-
display: none;
|
|
2315
|
-
}
|
|
2316
|
-
|
|
2317
|
-
.adyen-kyc-basic-information {
|
|
2299
|
+
}.adyen-kyc-basic-information {
|
|
2318
2300
|
display: flex;
|
|
2319
2301
|
flex-direction: column;
|
|
2320
2302
|
}
|
|
@@ -2333,7 +2315,8 @@ button[disabled]:hover {
|
|
|
2333
2315
|
}.adyen-kyc-business-details {
|
|
2334
2316
|
min-height: 480px;
|
|
2335
2317
|
}
|
|
2336
|
-
.adyen-kyc-business-details--hide
|
|
2318
|
+
.adyen-kyc-business-details--hide,
|
|
2319
|
+
.adyen-kyc-business-details [class*="--hide"] {
|
|
2337
2320
|
display: none;
|
|
2338
2321
|
}
|
|
2339
2322
|
.adyen-kyc-business-details .adyen-kyc-form-header {
|
|
@@ -2351,7 +2334,7 @@ button[disabled]:hover {
|
|
|
2351
2334
|
font-weight: var(--adyen-sdk-text-body-font-weight, 400);
|
|
2352
2335
|
line-height: var(--adyen-sdk-text-body-line-height, 20px);
|
|
2353
2336
|
color: var(--adyen-sdk-color-label-primary, #00112c);
|
|
2354
|
-
}.adyen-kyc-business-
|
|
2337
|
+
}.adyen-kyc-business-selection--loading {
|
|
2355
2338
|
min-height: 228px;
|
|
2356
2339
|
display: flex;
|
|
2357
2340
|
flex-direction: column;
|
|
@@ -2515,7 +2498,7 @@ button[disabled]:hover {
|
|
|
2515
2498
|
display: flex;
|
|
2516
2499
|
flex-direction: column;
|
|
2517
2500
|
}
|
|
2518
|
-
.adyen-kyc-business-information--
|
|
2501
|
+
.adyen-kyc-business-information--fetching {
|
|
2519
2502
|
flex-direction: row;
|
|
2520
2503
|
min-height: 228px;
|
|
2521
2504
|
justify-content: center;
|
|
@@ -2700,6 +2683,52 @@ button[disabled]:hover {
|
|
|
2700
2683
|
/* #endregion */
|
|
2701
2684
|
/* #region Inline components */
|
|
2702
2685
|
/* #endregion */
|
|
2686
|
+
.adyen-kyc-progress {
|
|
2687
|
+
width: 100%;
|
|
2688
|
+
}
|
|
2689
|
+
.adyen-kyc-progress__bar {
|
|
2690
|
+
display: flex;
|
|
2691
|
+
flex: 1;
|
|
2692
|
+
padding: var(--adyen-sdk-spacer-000, 0px);
|
|
2693
|
+
margin: var(--adyen-sdk-spacer-000, 0px);
|
|
2694
|
+
}
|
|
2695
|
+
.adyen-kyc-progress__bar--thick li {
|
|
2696
|
+
height: 6px;
|
|
2697
|
+
}
|
|
2698
|
+
.adyen-kyc-progress__bar--thick li:first-of-type {
|
|
2699
|
+
border-top-left-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
2700
|
+
border-bottom-left-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
2701
|
+
}
|
|
2702
|
+
.adyen-kyc-progress__bar--thick li:last-of-type {
|
|
2703
|
+
border-top-right-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
2704
|
+
border-bottom-right-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
2705
|
+
}
|
|
2706
|
+
.adyen-kyc-progress__step {
|
|
2707
|
+
background-color: var(--adyen-sdk-color-background-tertiary, #eeeff1);
|
|
2708
|
+
display: flex;
|
|
2709
|
+
flex: 1;
|
|
2710
|
+
height: 4px;
|
|
2711
|
+
}
|
|
2712
|
+
.adyen-kyc-progress__step--active {
|
|
2713
|
+
background-color: var(--adyen-sdk-color-background-inverse-primary, #00112c);
|
|
2714
|
+
}
|
|
2715
|
+
.adyen-kyc-progress__step-label {
|
|
2716
|
+
border: 0;
|
|
2717
|
+
clip: rect(0, 0, 0, 0);
|
|
2718
|
+
height: 1px;
|
|
2719
|
+
overflow: hidden;
|
|
2720
|
+
padding: var(--adyen-sdk-spacer-000, 0px) !important;
|
|
2721
|
+
position: absolute;
|
|
2722
|
+
white-space: nowrap;
|
|
2723
|
+
width: 1px;
|
|
2724
|
+
}/* #region Borders */
|
|
2725
|
+
/* #endregion */
|
|
2726
|
+
/* #region Z-index */
|
|
2727
|
+
/* #endregion */
|
|
2728
|
+
/* #region Timing functions */
|
|
2729
|
+
/* #endregion */
|
|
2730
|
+
/* #region Inline components */
|
|
2731
|
+
/* #endregion */
|
|
2703
2732
|
.adyen-kyc-dropin {
|
|
2704
2733
|
color: var(--adyen-sdk-color-label-primary, #00112c);
|
|
2705
2734
|
font-family: var(--adyen-sdk-text-body-font-family, Inter, Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
@@ -2755,6 +2784,91 @@ button[disabled]:hover {
|
|
|
2755
2784
|
.adyen-kyc-dropin__main {
|
|
2756
2785
|
border-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
2757
2786
|
width: 100%;
|
|
2787
|
+
}.adyen-kyc-modal2 {
|
|
2788
|
+
border: none;
|
|
2789
|
+
box-sizing: border-box;
|
|
2790
|
+
display: flex;
|
|
2791
|
+
flex-direction: column;
|
|
2792
|
+
width: 100%;
|
|
2793
|
+
background-color: transparent;
|
|
2794
|
+
padding: 0;
|
|
2795
|
+
max-width: 600px;
|
|
2796
|
+
height: 100%;
|
|
2797
|
+
max-height: 640px;
|
|
2798
|
+
}
|
|
2799
|
+
@media screen and (max-width: 480px) {
|
|
2800
|
+
.adyen-kyc-modal2 {
|
|
2801
|
+
width: 100%;
|
|
2802
|
+
height: 100%;
|
|
2803
|
+
max-width: 100%;
|
|
2804
|
+
max-height: 100%;
|
|
2805
|
+
margin: 0;
|
|
2806
|
+
border-radius: 0;
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
.adyen-kyc-modal2-wrapper {
|
|
2811
|
+
overflow: hidden;
|
|
2812
|
+
--adyen-kyc-modal2-internal-margin: 16px;
|
|
2813
|
+
background: var(--adyen-sdk-color-background-primary, #ffffff);
|
|
2814
|
+
margin: var(--adyen-kyc-modal2-internal-margin);
|
|
2815
|
+
border-radius: 20px;
|
|
2816
|
+
height: calc(100% - var(--adyen-kyc-modal2-internal-margin) * 2);
|
|
2817
|
+
display: flex;
|
|
2818
|
+
flex-direction: column;
|
|
2819
|
+
position: relative;
|
|
2820
|
+
}
|
|
2821
|
+
@media screen and (max-width: 480px) {
|
|
2822
|
+
.adyen-kyc-modal2-wrapper {
|
|
2823
|
+
--adyen-kyc-modal2-internal-margin: 0;
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
.adyen-kyc-modal2::backdrop {
|
|
2828
|
+
background-color: var(--adyen-sdk-color-support-overlay, #00112c);
|
|
2829
|
+
opacity: 0.75;
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2832
|
+
.adyen-kyc-modal2-top-bar {
|
|
2833
|
+
width: 100%;
|
|
2834
|
+
position: absolute;
|
|
2835
|
+
top: 0;
|
|
2836
|
+
padding: var(--adyen-sdk-spacer-050, 10px);
|
|
2837
|
+
padding-bottom: 0;
|
|
2838
|
+
display: flex;
|
|
2839
|
+
justify-content: space-between;
|
|
2840
|
+
}
|
|
2841
|
+
|
|
2842
|
+
.adyen-kyc-modal2-content {
|
|
2843
|
+
flex: 1;
|
|
2844
|
+
overflow-y: auto;
|
|
2845
|
+
}
|
|
2846
|
+
|
|
2847
|
+
.adyen-kyc-modal2-footer {
|
|
2848
|
+
padding: var(--adyen-sdk-spacer-050, 10px) 0;
|
|
2849
|
+
border-top: var(--adyen-sdk-border-width-s, 1px) solid var(--adyen-sdk-color-outline-primary, #dbdee2);
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2852
|
+
.adyen-kyc-modal2__fullscreen {
|
|
2853
|
+
margin: 0;
|
|
2854
|
+
max-width: 100vw;
|
|
2855
|
+
height: 100vh;
|
|
2856
|
+
width: 100vw;
|
|
2857
|
+
}.adyen-kyc-embedded-action-bar {
|
|
2858
|
+
display: flex;
|
|
2859
|
+
justify-content: space-between;
|
|
2860
|
+
margin: 0 var(--adyen-sdk-spacer-070, 16px);
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
.adyen-kyc-embedded-action-bar > section {
|
|
2864
|
+
min-width: 30%;
|
|
2865
|
+
display: flex;
|
|
2866
|
+
align-items: center;
|
|
2867
|
+
gap: var(--adyen-sdk-spacer-040, 8px);
|
|
2868
|
+
}
|
|
2869
|
+
|
|
2870
|
+
.adyen-kyc-embedded-action-bar-right {
|
|
2871
|
+
justify-content: end;
|
|
2758
2872
|
}/* #region Borders */
|
|
2759
2873
|
/* #endregion */
|
|
2760
2874
|
/* #region Z-index */
|
|
@@ -3525,52 +3639,6 @@ button[disabled]:hover {
|
|
|
3525
3639
|
}
|
|
3526
3640
|
.adyen-kyc-introduction__nav button {
|
|
3527
3641
|
flex-grow: 1;
|
|
3528
|
-
}/* #region Borders */
|
|
3529
|
-
/* #endregion */
|
|
3530
|
-
/* #region Z-index */
|
|
3531
|
-
/* #endregion */
|
|
3532
|
-
/* #region Timing functions */
|
|
3533
|
-
/* #endregion */
|
|
3534
|
-
/* #region Inline components */
|
|
3535
|
-
/* #endregion */
|
|
3536
|
-
.adyen-kyc-progress {
|
|
3537
|
-
width: 100%;
|
|
3538
|
-
}
|
|
3539
|
-
.adyen-kyc-progress__bar {
|
|
3540
|
-
display: flex;
|
|
3541
|
-
flex: 1;
|
|
3542
|
-
padding: var(--adyen-sdk-spacer-000, 0px);
|
|
3543
|
-
margin: var(--adyen-sdk-spacer-000, 0px);
|
|
3544
|
-
}
|
|
3545
|
-
.adyen-kyc-progress__bar--thick li {
|
|
3546
|
-
height: 6px;
|
|
3547
|
-
}
|
|
3548
|
-
.adyen-kyc-progress__bar--thick li:first-of-type {
|
|
3549
|
-
border-top-left-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
3550
|
-
border-bottom-left-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
3551
|
-
}
|
|
3552
|
-
.adyen-kyc-progress__bar--thick li:last-of-type {
|
|
3553
|
-
border-top-right-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
3554
|
-
border-bottom-right-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
3555
|
-
}
|
|
3556
|
-
.adyen-kyc-progress__step {
|
|
3557
|
-
background-color: var(--adyen-sdk-color-background-tertiary, #eeeff1);
|
|
3558
|
-
display: flex;
|
|
3559
|
-
flex: 1;
|
|
3560
|
-
height: 4px;
|
|
3561
|
-
}
|
|
3562
|
-
.adyen-kyc-progress__step--active {
|
|
3563
|
-
background-color: var(--adyen-sdk-color-background-inverse-primary, #00112c);
|
|
3564
|
-
}
|
|
3565
|
-
.adyen-kyc-progress__step-label {
|
|
3566
|
-
border: 0;
|
|
3567
|
-
clip: rect(0, 0, 0, 0);
|
|
3568
|
-
height: 1px;
|
|
3569
|
-
overflow: hidden;
|
|
3570
|
-
padding: var(--adyen-sdk-spacer-000, 0px) !important;
|
|
3571
|
-
position: absolute;
|
|
3572
|
-
white-space: nowrap;
|
|
3573
|
-
width: 1px;
|
|
3574
3642
|
}.adyen-kyc-singpass-selection {
|
|
3575
3643
|
max-width: 544px;
|
|
3576
3644
|
margin-left: auto;
|
|
@@ -3910,6 +3978,70 @@ button[disabled]:hover {
|
|
|
3910
3978
|
}
|
|
3911
3979
|
.adyen-kyc-signer-card__name {
|
|
3912
3980
|
flex-grow: 1;
|
|
3981
|
+
}.adyen-kyc-skeleton {
|
|
3982
|
+
width: 100%;
|
|
3983
|
+
height: 100%;
|
|
3984
|
+
background-color: var(--adyen-sdk-color-outline-secondary, #c9cdd3);
|
|
3985
|
+
border-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
3986
|
+
animation: 2s ease-in-out 0.5s infinite normal none running skeleton;
|
|
3987
|
+
}
|
|
3988
|
+
|
|
3989
|
+
.adyen-kyc-skeleton__circle {
|
|
3990
|
+
border-radius: 50%;
|
|
3991
|
+
}
|
|
3992
|
+
|
|
3993
|
+
.adyen-kyc-skeleton__text {
|
|
3994
|
+
height: 1em !important;
|
|
3995
|
+
margin: 0.2em 0 !important;
|
|
3996
|
+
}
|
|
3997
|
+
|
|
3998
|
+
@keyframes skeleton {
|
|
3999
|
+
0% {
|
|
4000
|
+
opacity: 1;
|
|
4001
|
+
}
|
|
4002
|
+
50% {
|
|
4003
|
+
opacity: 0.4;
|
|
4004
|
+
}
|
|
4005
|
+
100% {
|
|
4006
|
+
opacity: 1;
|
|
4007
|
+
}
|
|
4008
|
+
}.adyen-kyc-embedded-status {
|
|
4009
|
+
display: flex;
|
|
4010
|
+
justify-content: space-between;
|
|
4011
|
+
align-items: center;
|
|
4012
|
+
gap: var(--adyen-sdk-spacer-060, 12px);
|
|
4013
|
+
width: 420px;
|
|
4014
|
+
cursor: pointer;
|
|
4015
|
+
/* html button default styling removal */
|
|
4016
|
+
border: 0;
|
|
4017
|
+
background: inherit;
|
|
4018
|
+
text-align: left;
|
|
4019
|
+
padding: 0;
|
|
4020
|
+
}
|
|
4021
|
+
|
|
4022
|
+
.adyen-kyc-embedded-status__avatar {
|
|
4023
|
+
display: flex;
|
|
4024
|
+
justify-content: center;
|
|
4025
|
+
align-items: center;
|
|
4026
|
+
width: 40px;
|
|
4027
|
+
height: 40px;
|
|
4028
|
+
border-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
4029
|
+
}
|
|
4030
|
+
|
|
4031
|
+
.adyen-kyc-embedded-status__avatar:not(.adyen-kyc-embedded-status__loading) {
|
|
4032
|
+
color: var(--adyen-sdk-color-label-inverse-primary, #ffffff);
|
|
4033
|
+
background-color: var(--adyen-sdk-color-background-inverse-primary, #00112c);
|
|
4034
|
+
}
|
|
4035
|
+
|
|
4036
|
+
.adyen-kyc-embedded-status__info {
|
|
4037
|
+
display: flex;
|
|
4038
|
+
flex-direction: column;
|
|
4039
|
+
flex: 1;
|
|
4040
|
+
overflow-x: auto;
|
|
4041
|
+
}
|
|
4042
|
+
|
|
4043
|
+
.adyen-kyc-embedded-status__info .adyen-kyc-embedded-status__title {
|
|
4044
|
+
font-weight: var(--adyen-sdk-text-title-m-font-weight, 600);
|
|
3913
4045
|
}.adyen-kyc__high-exposure-company .adyen-kyc-typography--title-l,
|
|
3914
4046
|
.adyen-kyc__high-exposure-company .adyen-kyc-typography--body {
|
|
3915
4047
|
margin-bottom: var(--adyen-sdk-spacer-070, 16px);
|
package/dist/types/components/AdditionalInformation/component/AdditionalInformationComponent.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import './AdditionalInformationComponent.scss';
|
|
|
2
2
|
import type { BusinessDetailsSchema } from '../../BusinessDetails/types';
|
|
3
3
|
import { type AdditionalInformationProps, type AdditionalInformationSchema } from '../types';
|
|
4
4
|
export declare const ADDITIONAL_INFORMATION_FORM_ID: keyof BusinessDetailsSchema;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const ADDITIONAL_INFORMATION_FIELDS: Array<keyof AdditionalInformationSchema>;
|
|
6
6
|
export declare function AdditionalInformationComponent({ data, labels, placeholders, helperText, heading, description, readOnly, shouldValidate, formVerificationErrors, fieldValidationErrors, allFields, requiredFields, obscuredFields, optionalFields, readOnlyFields, trustedFields, country, companyType, verifiedBusiness, showCompanyStructure, }: AdditionalInformationProps): import("preact").JSX.Element;
|
|
@@ -2,5 +2,5 @@ import './BasicInformationComponent.scss';
|
|
|
2
2
|
import type { BusinessDetailsSchema } from '../../BusinessDetails/types';
|
|
3
3
|
import type { BasicInformationProps, BasicInformationSchema } from '../types';
|
|
4
4
|
export declare const BASIC_INFORMATION_FORM_ID: keyof BusinessDetailsSchema;
|
|
5
|
-
export declare const
|
|
6
|
-
export declare function BasicInformationComponent({ data, labels, placeholders, helperText, heading, description, readOnly, shouldValidate, formVerificationErrors, fieldValidationErrors, allFields, requiredFields, obscuredFields, optionalFields, readOnlyFields, trustedFields, country, companyType, isTopLevelEntity,
|
|
5
|
+
export declare const BASIC_INFORMATION_FIELDS: Array<keyof BasicInformationSchema>;
|
|
6
|
+
export declare function BasicInformationComponent({ data, labels, placeholders, helperText, heading, description, readOnly, shouldValidate, formVerificationErrors, fieldValidationErrors, allFields, requiredFields, obscuredFields, optionalFields, readOnlyFields, trustedFields, country, companyType, isTopLevelEntity, setVerifiedBusiness, searchName, className, }: BasicInformationProps): import("preact").JSX.Element;
|
|
@@ -15,7 +15,7 @@ export interface BasicInformationProps extends BaseInnerFormProps<BasicInformati
|
|
|
15
15
|
companyType: CompanyTypesValue | undefined;
|
|
16
16
|
isTopLevelEntity: boolean;
|
|
17
17
|
baseTrackingPayload: BaseTrackingPayload;
|
|
18
|
-
isBusinessSelection: boolean;
|
|
19
18
|
setVerifiedBusiness: Dispatch<StateUpdater<CompanyDatasetResponse | undefined>>;
|
|
20
19
|
searchName: string | undefined;
|
|
20
|
+
className?: string;
|
|
21
21
|
}
|
|
@@ -7,6 +7,7 @@ export declare const getForms: (country: CountryCode) => {
|
|
|
7
7
|
readonly formId: "basicInformation";
|
|
8
8
|
readonly formName: "basicInformationFormName";
|
|
9
9
|
readonly formHeading: "basicInformationFormHeading";
|
|
10
|
+
readonly formDescription: "basicInformationFormDescription";
|
|
10
11
|
readonly fields: ("country" | "businessName" | "stateOrProvince" | keyof import("../internal/BusinessRegistrationNumberField/types").BusinessRegistrationNumberFieldSchema | keyof import("../internal/TaxInformationField/types").TaxInformationFieldSchema)[];
|
|
11
12
|
};
|
|
12
13
|
readonly companyStructure: {
|
|
@@ -20,7 +21,6 @@ export declare const getForms: (country: CountryCode) => {
|
|
|
20
21
|
readonly formId: "additionalInformation";
|
|
21
22
|
readonly formName: "additionalInformationFormName";
|
|
22
23
|
readonly formHeading: "additionalInformationFormHeading";
|
|
23
|
-
readonly formDescription: "additionalInformationFormDescription";
|
|
24
24
|
readonly fields: (keyof AdditionalInformationSchema)[];
|
|
25
25
|
};
|
|
26
26
|
readonly companyRegistrationAddress: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './DropinLayout.scss';
|
|
2
2
|
import type { DropinLayoutProps } from './types';
|
|
3
|
-
export declare const DropinLayout: (
|
|
3
|
+
export declare const DropinLayout: ({ content, footer, showAsModal, onBack, onClose, }: DropinLayoutProps) => import("preact").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import './EmbeddedActionBar.scss';
|
|
2
|
+
import type { ComponentChildren } from 'preact';
|
|
3
|
+
export interface EmbeddedActionBarProps {
|
|
4
|
+
left: ComponentChildren;
|
|
5
|
+
right?: ComponentChildren;
|
|
6
|
+
}
|
|
7
|
+
export declare const EmbeddedActionBar: ({ left, right }: EmbeddedActionBarProps) => import("preact").JSX.Element;
|
|
@@ -18,6 +18,7 @@ export interface FormWrapperProps {
|
|
|
18
18
|
taskName: TranslationKey;
|
|
19
19
|
handleNextClick(): void;
|
|
20
20
|
handleBackClick?(): void;
|
|
21
|
+
handleCloseClick?(): void;
|
|
21
22
|
gotoFormByFormIndex(index: number): void;
|
|
22
23
|
handleHomeClick?(): void;
|
|
23
24
|
nextButtonLabel: string;
|
|
@@ -34,8 +35,10 @@ export interface FormWrapperProps {
|
|
|
34
35
|
hideBackButton?: boolean;
|
|
35
36
|
hideNextButton?: boolean;
|
|
36
37
|
hideNavigation?: boolean;
|
|
38
|
+
asModal?: boolean;
|
|
37
39
|
problems?: EntityProblems;
|
|
38
40
|
canSubmit?: boolean;
|
|
39
41
|
onSubmit(): void;
|
|
42
|
+
currentStep?: number;
|
|
40
43
|
}
|
|
41
|
-
export declare const FormWrapper: ({ summary, taskName, children, handleNextClick, handleBackClick, handleHomeClick, nextButtonLabel, backButtonLabel, homeButtonLabel, loadingStatus, gotoFormByFormIndex, forms, activeForm, handleGetIdVerificationToken, validateForm, baseTrackingPayload, hideDropinLayout, hideFooter, hideHomeButton, hideBackButton, hideNextButton, hideNavigation, canSubmit, onSubmit, problems, }: FormWrapperProps) => import("preact").JSX.Element;
|
|
44
|
+
export declare const FormWrapper: ({ summary, taskName, children, handleNextClick, handleBackClick, handleHomeClick, handleCloseClick, nextButtonLabel, backButtonLabel, homeButtonLabel, loadingStatus, gotoFormByFormIndex, forms, activeForm, handleGetIdVerificationToken, validateForm, baseTrackingPayload, hideDropinLayout, hideFooter, hideHomeButton, hideBackButton, hideNextButton, hideNavigation, asModal, canSubmit, onSubmit, problems, currentStep, }: FormWrapperProps) => import("preact").JSX.Element;
|