@paypal/checkout-components 5.0.421 → 5.0.422-alpha-04293bf.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/button.js +1 -1
- package/dist/test/button.js +1 -1
- package/package.json +1 -1
- package/src/funding/paylater/config.jsx +7 -0
- package/src/ui/buttons/styles/styleUtils.js +2 -0
- package/src/ui/buttons/styles/styleUtils.test.constants.js +731 -0
- package/src/ui/buttons/styles/styleUtils.test.js +190 -602
package/package.json
CHANGED
|
@@ -36,6 +36,13 @@ function getLabelText(
|
|
|
36
36
|
labelText = "Später Bezahlen";
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
if (
|
|
40
|
+
paylater?.products?.paylater?.eligible &&
|
|
41
|
+
paylater?.products?.paylater?.variant === "AT"
|
|
42
|
+
) {
|
|
43
|
+
labelText = "Später Bezahlen";
|
|
44
|
+
}
|
|
45
|
+
|
|
39
46
|
if (
|
|
40
47
|
(paylater?.products?.payIn3?.eligible &&
|
|
41
48
|
paylater?.products?.payIn3?.variant === "ES") ||
|
|
@@ -229,6 +229,7 @@ export function getResponsiveStyleVariables({
|
|
|
229
229
|
|
|
230
230
|
const shouldResizeLabel =
|
|
231
231
|
paylater?.products?.paylater?.variant === "DE" ||
|
|
232
|
+
paylater?.products?.paylater?.variant === "AT" ||
|
|
232
233
|
paylater?.products?.payIn3?.variant === "IT" ||
|
|
233
234
|
paylater?.products?.paylater?.variant === "IT" ||
|
|
234
235
|
paylater?.products?.payIn3?.variant === "ES" ||
|
|
@@ -331,6 +332,7 @@ export function getDisableMaxHeightResponsiveStyleVariables({
|
|
|
331
332
|
|
|
332
333
|
const shouldResizeLabel =
|
|
333
334
|
paylater?.products?.paylater?.variant === "DE" ||
|
|
335
|
+
paylater?.products?.paylater?.variant === "AT" ||
|
|
334
336
|
paylater?.products?.payIn3?.variant === "IT" ||
|
|
335
337
|
paylater?.products?.paylater?.variant === "IT" ||
|
|
336
338
|
paylater?.products?.payIn3?.variant === "ES" ||
|