@paypal/checkout-components 5.0.403 → 5.0.404-alpha-e012ebc.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.403",
3
+ "version": "5.0.404-alpha-e012ebc.0",
4
4
  "description": "PayPal Checkout components, for integrating checkout products.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -37,6 +37,13 @@ function getLabelText(
37
37
  labelText = "Später Bezahlen";
38
38
  }
39
39
 
40
+ if (
41
+ paylater?.products?.paylater?.eligible &&
42
+ paylater?.products?.paylater?.variant === "AT"
43
+ ) {
44
+ labelText = "Später Bezahlen";
45
+ }
46
+
40
47
  if (
41
48
  (paylater?.products?.payIn3?.eligible &&
42
49
  paylater?.products?.payIn3?.variant === "ES") ||
@@ -124,6 +124,7 @@ export function getResponsiveStyleVariables({
124
124
 
125
125
  const shouldResizeLabel =
126
126
  paylater?.products?.paylater?.variant === "DE" ||
127
+ paylater?.products?.paylater?.variant === "AT" ||
127
128
  paylater?.products?.payIn3?.variant === "IT" ||
128
129
  paylater?.products?.paylater?.variant === "IT" ||
129
130
  paylater?.products?.payIn3?.variant === "ES" ||
@@ -225,6 +226,7 @@ export function getDisableMaxHeightResponsiveStyleVariables({
225
226
 
226
227
  const shouldResizeLabel =
227
228
  paylater?.products?.paylater?.variant === "DE" ||
229
+ paylater?.products?.paylater?.variant === "AT" ||
228
230
  paylater?.products?.payIn3?.variant === "IT" ||
229
231
  paylater?.products?.paylater?.variant === "IT" ||
230
232
  paylater?.products?.payIn3?.variant === "ES" ||