react-calendly
Advanced tools
Comparing version 2.0.4 to 2.1.0
@@ -1,2 +0,2 @@ | ||
import { createRef, createElement, Component, Fragment } from 'react'; | ||
import { createElement, Fragment, Component, createRef } from 'react'; | ||
@@ -684,3 +684,3 @@ /*! ***************************************************************************** | ||
return url; | ||
var backgroundColor = pageSettings.backgroundColor, hideEventTypeDetails = pageSettings.hideEventTypeDetails, hideLandingPageDetails = pageSettings.hideLandingPageDetails, primaryColor = pageSettings.primaryColor, textColor = pageSettings.textColor; | ||
var backgroundColor = pageSettings.backgroundColor, hideEventTypeDetails = pageSettings.hideEventTypeDetails, hideLandingPageDetails = pageSettings.hideLandingPageDetails, primaryColor = pageSettings.primaryColor, textColor = pageSettings.textColor, hideGdprBanner = pageSettings.hideGdprBanner; | ||
var queryStringIndex = url.indexOf("?"); | ||
@@ -697,2 +697,3 @@ var hasQueryString = queryStringIndex > -1; | ||
textColor ? "text_color=" + textColor : null, | ||
hideGdprBanner ? "hide_gdpr_banner=1" : null, | ||
] | ||
@@ -699,0 +700,0 @@ .filter(function (item) { return item !== null; }) |
@@ -688,3 +688,3 @@ 'use strict'; | ||
return url; | ||
var backgroundColor = pageSettings.backgroundColor, hideEventTypeDetails = pageSettings.hideEventTypeDetails, hideLandingPageDetails = pageSettings.hideLandingPageDetails, primaryColor = pageSettings.primaryColor, textColor = pageSettings.textColor; | ||
var backgroundColor = pageSettings.backgroundColor, hideEventTypeDetails = pageSettings.hideEventTypeDetails, hideLandingPageDetails = pageSettings.hideLandingPageDetails, primaryColor = pageSettings.primaryColor, textColor = pageSettings.textColor, hideGdprBanner = pageSettings.hideGdprBanner; | ||
var queryStringIndex = url.indexOf("?"); | ||
@@ -701,2 +701,3 @@ var hasQueryString = queryStringIndex > -1; | ||
textColor ? "text_color=" + textColor : null, | ||
hideGdprBanner ? "hide_gdpr_banner=1" : null, | ||
] | ||
@@ -703,0 +704,0 @@ .filter(function (item) { return item !== null; }) |
{ | ||
"name": "react-calendly", | ||
"version": "2.0.4", | ||
"version": "2.1.0", | ||
"description": "Calendly integration for React apps", | ||
@@ -5,0 +5,0 @@ "author": "tcampb", |
@@ -82,2 +82,7 @@ import { Props as BadgeWidgetOptions } from "./components/PopupWidget/PopupWidget"; | ||
primaryColor: string; | ||
/** | ||
* @description The General Data Protection Regulation governs data protection in the EU and EEA. Certain Calendly integrations require access to cookies with user information. If you do not embed the GDPR banner, users in those areas will not have the ability to give their consent in order to access integrations such as Google Analytics, Facebook Pixel, PayPal, and Stripe. | ||
* @see {@link https://help.calendly.com/hc/en-us/articles/360007385493-Cookie-FAQs} for further information. | ||
*/ | ||
hideGdprBanner: boolean; | ||
}>; | ||
@@ -114,2 +119,7 @@ export declare const loadScript: () => void; | ||
primaryColor: string; | ||
/** | ||
* @description The General Data Protection Regulation governs data protection in the EU and EEA. Certain Calendly integrations require access to cookies with user information. If you do not embed the GDPR banner, users in those areas will not have the ability to give their consent in order to access integrations such as Google Analytics, Facebook Pixel, PayPal, and Stripe. | ||
* @see {@link https://help.calendly.com/hc/en-us/articles/360007385493-Cookie-FAQs} for further information. | ||
*/ | ||
hideGdprBanner: boolean; | ||
}> | undefined) => string; | ||
@@ -116,0 +126,0 @@ export declare const openPopupWidget: (options: PopupWidgetOptions & { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
271673
17
2089