@adyen/kyc-components 3.43.2 → 3.43.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13404,8 +13404,9 @@ function AddressForm(props) {
|
|
|
13404
13404
|
);
|
|
13405
13405
|
};
|
|
13406
13406
|
const addressSchema = getAddressSchemaForCountry(data.country);
|
|
13407
|
-
const setAddressField = ({ houseNumberOrName, street }) => {
|
|
13407
|
+
const setAddressField = ({ houseNumberOrName, street, line1 }) => {
|
|
13408
13408
|
const hasHouseNumber = !!houseNumberOrName;
|
|
13409
|
+
if (!street && line1) return handleChangeFor("address", "input")(line1);
|
|
13409
13410
|
if (hasHouseNumber) {
|
|
13410
13411
|
const isHouseNumberFirst = data.country ? COUNTRIES_WITH_HOUSE_NUMBER_FIRST.includes(data.country) : false;
|
|
13411
13412
|
const needsComma = data.country ? COUNTRIES_WITH_COMMA_SEPARATED.includes(data.country) : false;
|
|
@@ -13614,8 +13615,9 @@ function FieldContainer({
|
|
|
13614
13615
|
const [showSearchList, setShowSearchList] = useState(false);
|
|
13615
13616
|
const [selectedAddressId, setSelectedAddressId] = useState();
|
|
13616
13617
|
const setAddressField = useCallback(
|
|
13617
|
-
({ houseNumberOrName, street }) => {
|
|
13618
|
+
({ houseNumberOrName, street, line1 }) => {
|
|
13618
13619
|
const hasHouseNumber = !!houseNumberOrName;
|
|
13620
|
+
if (!street && line1) return handleChangeFor("address", "input")(line1);
|
|
13619
13621
|
if (hasHouseNumber) {
|
|
13620
13622
|
const isHouseNumberFirst = data.country ? COUNTRIES_WITH_HOUSE_NUMBER_FIRST.includes(data.country) : false;
|
|
13621
13623
|
const needsComma = data.country ? COUNTRIES_WITH_COMMA_SEPARATED.includes(data.country) : false;
|
|
@@ -43830,7 +43832,7 @@ const ConfigurationApiProvider = ({
|
|
|
43830
43832
|
}) => {
|
|
43831
43833
|
const authContext = useAuthContext();
|
|
43832
43834
|
const { isEmbeddedDropin, loadingContext } = authContext;
|
|
43833
|
-
const sdkVersion = "3.43.
|
|
43835
|
+
const sdkVersion = "3.43.3";
|
|
43834
43836
|
useAnalytics({
|
|
43835
43837
|
onUserEvent,
|
|
43836
43838
|
legalEntityId: rootLegalEntityId,
|
|
@@ -44675,7 +44677,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
44675
44677
|
const { i18n } = useI18nContext();
|
|
44676
44678
|
const [tab, setTab] = useState("metadata");
|
|
44677
44679
|
const metadata = {
|
|
44678
|
-
sdkVersion: "3.43.
|
|
44680
|
+
sdkVersion: "3.43.3",
|
|
44679
44681
|
locale: i18n.locale,
|
|
44680
44682
|
rootLegalEntityId
|
|
44681
44683
|
};
|
package/dist/style.css
CHANGED
|
@@ -2838,7 +2838,8 @@ fieldset {
|
|
|
2838
2838
|
flex: 1;
|
|
2839
2839
|
}
|
|
2840
2840
|
|
|
2841
|
-
.adyen-layout-xs-only .adyen-kyc-dropin__content-main
|
|
2841
|
+
.adyen-layout-xs-only .adyen-kyc-dropin__content-main,
|
|
2842
|
+
.adyen-layout-xs-only .adyen-kyc-form-with-sidebar {
|
|
2842
2843
|
flex-direction: column;
|
|
2843
2844
|
}.adyen-kyc-expiry-modal__footer {
|
|
2844
2845
|
display: flex;
|