- Added
onPageHeightResize
option touseCalendlyEventListener
hook. This function is called when the Calendly scheduling page's height changes. The event payload includes the new height in pixels.
- Added
smsReminderNumber
prefill option (#171).
- Removes unused sourcemaps (#169).
- All components now include an optional
LoadingSpinner
prop. This prop is a React component that will be rendered while the Calendly iframe is loading; the default Calendly loading spinner will be displayed if this property is not provided.
PopupWidget
,PopupModal
, andPopupButton
components will throw an error when opened without arootElement
prop (#143).
- Added
salesforce_uuid
prefill option (#128).
- Fixed issue that caused the
email
andguests
prefill options to not be properly encoded (#116).
- Replaced
CalendlyEventListener
component withuseCalendlyEventListener
hook (#45). - Updated
react
&react-dom
peer dependency versions;react-calendly@4.0.0
now requires react and react-dom version >=16.8.
- Adds React v18 support (#106).
- Fixes uri encoding bug (#102).
- Removes Calendly widget script dependency (https://assets.calendly.com/assets/external/widget.js).
- Removes
openPopupWidget
andclosePopupWidget
functions (replaced byPopupModal
component). - Adds
PopupModal
component.
- [#96] Added title attribute to the Calendly scheduling page iframe.
- [#88] Fixed bug that caused the loading spinner to remain on the page even after the Calendly widget had finished loading.