Skip to content

Commit f78e65d

Browse files
nylas-it-opsgithub-actions[bot]b3ndoi
authored
chore(@nylas/react): upgrade @nylas/web-elements to 2.5.5 (#65)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Luka Bulatovic <luka.bulatovic.w@gmail.com>
1 parent 2e7d463 commit f78e65d

3 files changed

Lines changed: 14 additions & 6 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@nylas/react": patch
3+
---
4+
5+
Upgrade @nylas/web-elements dependency to 2.5.5:
6+
- Fix time slot selection and date picker clicks being non-functional after upgrading to v2.5.0. When configurationId or other auth props were set post-mount (e.g. via React), the scheduler entered a deferred init path where click handlers on the date picker and timeslot picker were registered before the connector existed. Clicking a date or time slot appeared to do nothing. The connector reference is now resolved at click time rather than at registration time, so all interactions work correctly regardless of when auth props arrive.
7+
8+
- [nylas-scheduling] Fix schedulerApiUrl prop being ignored on full page refresh when using React wrappers. The component now correctly waits for React's commit phase to apply props before reading schedulerApiUrl to create the scheduler connector, ensuring the correct API region is used on both client-side navigation and hard page refreshes.

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"dependencies": {
7979
"@nylas/connect": "workspace:^",
8080
"@nylas/core": "^1.2.0",
81-
"@nylas/web-elements": "2.5.4",
81+
"@nylas/web-elements": "2.5.5",
8282
"@stencil/react-output-target": "^1.2.0",
8383
"axios": "^1.7.7",
8484
"dayjs": "1.11.7",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)