@paypal/common-components
Advanced tools
Comparing version 1.0.41 to 1.0.42
{ | ||
"name": "@paypal/common-components", | ||
"version": "1.0.41", | ||
"version": "1.0.42", | ||
"description": "PayPal common components, for integrating checkout products.", | ||
@@ -5,0 +5,0 @@ "main": "dist/ui.js", |
@@ -455,3 +455,3 @@ /* @flow */ | ||
background-color: black; | ||
background-color: rgba(0, 0, 0, 0.4); | ||
background-color: rgba(0, 0, 0, 0.8); | ||
background: radial-gradient(50% 50%, ellipse closest-corner, rgba(0,0,0,0.6) 1%, rgba(0,0,0,0.8) 100%); | ||
@@ -458,0 +458,0 @@ |
@@ -82,2 +82,3 @@ /* @flow */ | ||
// Note: alerts block the event loop until they are closed. | ||
if (isIos()) { | ||
@@ -89,7 +90,6 @@ // eslint-disable-next-line no-alert | ||
window.alert( | ||
'Don\'t see the popup window?\n\nSelect "Window" in your toolbar to find "Log in to your PayPal account"' | ||
'Don\'t see the popup window after clicking "OK"?\n\nSelect "Window" in your toolbar to find "Log in to your PayPal account"' | ||
); | ||
} else { | ||
focus(); | ||
} | ||
focus(); | ||
} | ||
@@ -196,3 +196,6 @@ | ||
<div class="paypal-checkout-continue"> | ||
<a onClick={focus} href="#"> | ||
{/* This handler should be guarded with e.stopPropagation. | ||
This will stop the event from bubbling up to the overlay click handler | ||
and causing unexpected behavior. */} | ||
<a onClick={focusCheckout} href="#"> | ||
{content.continueMessage} | ||
@@ -255,2 +258,3 @@ </a> | ||
// Note: alerts block the event loop until they are closed. | ||
if (isIos()) { | ||
@@ -262,7 +266,6 @@ // eslint-disable-next-line no-alert | ||
window.alert( | ||
'Don\'t see the popup window?\n\nSelect "Window" in your toolbar to find "Log in to your Venmo account"' | ||
'Don\'t see the popup window after clicking "OK"?\n\nSelect "Window" in your toolbar to find "Log in to your Venmo account"' | ||
); | ||
} else { | ||
focus(); | ||
} | ||
focus(); | ||
} | ||
@@ -364,3 +367,6 @@ | ||
<div class="venmo-checkout-continue"> | ||
<a onClick={focus} href="#"> | ||
{/* This handler should be guarded with e.stopPropagation. | ||
This will stop the event from bubbling up to the overlay click handler | ||
and causing unexpected behavior. */} | ||
<a onClick={focusCheckout} href="#"> | ||
{content.continueMessage} | ||
@@ -367,0 +373,0 @@ </a> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89672
1759