@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paypal/checkout-components",
3
- "version": "5.0.421",
3
+ "version": "5.0.422-alpha-04293bf.0",
4
4
  "description": "PayPal Checkout components, for integrating checkout products.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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" ||