diff --git a/.changeset/upgrade-web-elements-2-5-3.md b/.changeset/upgrade-web-elements-2-5-3.md new file mode 100644 index 0000000..d4158a3 --- /dev/null +++ b/.changeset/upgrade-web-elements-2-5-3.md @@ -0,0 +1,9 @@ +--- +"@nylas/react": patch +--- + +- [nylas-scheduling] Fixed confirmation redirect URL incorrectly appending query parameters with ? instead of & when the confirmationRedirectUrl already contains existing query parameters. URLs with pre-existing parameters (e.g. JWT tokens) now correctly preserve all query parameters. + +- Fix deferred initialization when rescheduleBookingRef or cancelBookingRef is set via JavaScript after mount (CDN / vanilla HTML pattern). Watch handlers now emit the bookingRefExtracted event, include error handling for malformed booking refs, and properly coordinate with the base provider during deferred init. + +- [nylas-page-styling] The Page Styles section in the scheduler editor now renders translated labels by default when no custom slot content is provided. Labels for "Company logo URL", "Primary color", "Submit button label", and "Thank you message" are now available in all supported languages (en, es, fr, de, sv, zh, ja, nl, ko). The color picker's "Select a color" placeholder is also now translated. diff --git a/packages/react/package.json b/packages/react/package.json index adf303d..f748949 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -78,7 +78,7 @@ "dependencies": { "@nylas/connect": "workspace:^", "@nylas/core": "^1.2.0", - "@nylas/web-elements": "2.5.2", + "@nylas/web-elements": "2.5.3", "@stencil/react-output-target": "^1.2.0", "axios": "^1.7.7", "dayjs": "1.11.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1d6ce6b..aade0f8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -61,8 +61,8 @@ importers: specifier: ^1.2.0 version: 1.2.0(@stencil/core@4.36.3) '@nylas/web-elements': - specifier: 2.5.2 - version: 2.5.2(rollup@4.50.1) + specifier: 2.5.3 + version: 2.5.3(rollup@4.50.1) '@stencil/react-output-target': specifier: ^1.2.0 version: 1.2.0(@stencil/core@4.36.3)(@types/react@19.2.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0) @@ -676,8 +676,8 @@ packages: '@nylas/identity@3.1.0': resolution: {integrity: sha512-EBW17UBAvsj1cT+BEbawdce9Uy04IsElr8hJJRB3lf8Aod/icdn0mxWdWCyCNrjW6fhRwz0Cv3Sh88DbTbC7yA==} - '@nylas/web-elements@2.5.2': - resolution: {integrity: sha512-b8qm0UglAwC71rSCxWla24gCbIGfGMMLHCEWg+8h5gTq9M4BbAcZmMZj30QGiyvYNBaPe1DKWY9xJSSU3y3gsQ==} + '@nylas/web-elements@2.5.3': + resolution: {integrity: sha512-9gZ/SXcZfbG5IISa2PE6MQpQ1xemEU6YloHzO4zwYbxg52Svg3H2Yd6o+4jsWvIOxRluljN3BYfuPn/hcujZiA==} '@oxlint/darwin-arm64@1.16.0': resolution: {integrity: sha512-t9sBjbcG15Jgwgw2wY+rtfKEazdkKM/YhcdyjmGYeSjBXaczLfp/gZe03taC2qUHK+t6cxSYNkOLXRLWxaf3tw==} @@ -3731,7 +3731,7 @@ snapshots: react: 18.2.0 uuid: 8.3.2 - '@nylas/web-elements@2.5.2(rollup@4.50.1)': + '@nylas/web-elements@2.5.3(rollup@4.50.1)': dependencies: '@fullcalendar/core': 6.1.8 '@fullcalendar/daygrid': 6.1.8(@fullcalendar/core@6.1.8)