cal.pub0.org/apps/web/components
Hariom Balhara 6dfc19247e
fix: Embed `theme` not working using Embed API (#10163)
## What does this PR do?

Fixes #10187
See [Tests Done](https://www.loom.com/share/f03e0191b60143d8b45a505042dbfa11)

## Type of change
  - [x] Bug fix (non-breaking change which fixes an issue)

## How should this be tested?
- [x] Configure embed to use `dark` theme and verify that dark theme is shown on event booking page(when user has light theme set). This is failing in main
- Additional Tests for embed to avoid any new regression
	- [x] - Configure "auto" theme using embed API and see it reacts to system theme
	- [x] - Don't configure any theme and see that "light" theme is shown even when we switch system theme(Because User has configured light theme in App)
-  Tests outside embed to avoid any new regression
	- [x] - See that light theme is shown even after switching system theme
	- [x] - Now, switch the user theme to dark and see that it reflects the change. 

## Mandatory Tasks

 [x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.
2023-07-17 18:02:42 -07:00
..
apps fix: Add feedback when user installs app [CAL-2144] (#10169) 2023-07-15 05:43:10 +02:00
auth refactor: TwoFactor.tsx (#9392) 2023-06-09 08:19:33 +00:00
availability Replace react icons with lucidedev (#8146) 2023-04-12 17:26:31 +02:00
booking fix: More instances of Avatar and booker links fixed (#10083) 2023-07-13 19:22:21 +05:30
dialog feat: Enable Apps for Teams & Orgs [CAL-1782] (#9337) 2023-07-06 16:48:39 +00:00
error chore: Sync packages mismatches (#9725) 2023-06-22 15:25:37 -07:00
eventtype disable guests field when offer seats is enabled (#10132) 2023-07-13 13:57:30 +02:00
getting-started fix: no feedback on buttons on /getting-started page. (#10152) 2023-07-14 09:03:11 +00:00
integrations Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
layouts feat: Organizations (#8993) 2023-06-14 21:40:20 +00:00
schemas added EventReservationSchema to success page (#5777) 2022-12-05 21:35:44 +00:00
security feat: Auto submit 2FA if all inputs have a value (#9729) 2023-07-13 20:54:57 +00:00
settings feat: Auto submit 2FA if all inputs have a value (#9729) 2023-07-13 20:54:57 +00:00
setup fix: onboard-pricing-options-self-host (#10105) 2023-07-12 20:20:03 +00:00
team/screens fix: Important Booking Page fixes (#10130) 2023-07-13 19:38:41 +05:30
ui fix: Embed `theme` not working using Embed API (#10163) 2023-07-17 18:02:42 -07:00
AddToHomescreen.tsx Replace react icons with lucidedev (#8146) 2023-04-12 17:26:31 +02:00
AppListCard.tsx feat: Enable Apps for Teams & Orgs [CAL-1782] (#9337) 2023-07-06 16:48:39 +00:00
AppsShell.tsx Fixing App tabs routing (#3711) 2022-08-05 05:21:43 +00:00
BookingsShell.tsx Remove shallow routing (#3401) 2022-07-17 15:42:13 +05:30
Embed.tsx feat: Add divider and set spacing on modals with the type=creation prop (feat-add-divider) 2023-06-29 08:47:16 +01:00
I18nLanguageHandler.tsx Remove getDirFromLang, in favour of doing this in the I18nLanguageHan… (#8425) 2023-04-21 00:45:22 +00:00
Loader.tsx 🧹 One `calcom/ui` import to rule them all (#5561) 2022-11-22 19:55:25 -07:00
NavTabs.tsx chore: Sync packages mismatches (#9725) 2023-06-22 15:25:37 -07:00
PageWrapper.tsx chore: Credits with commit hash (#9999) 2023-07-10 16:10:30 +02:00
SettingsShell.tsx Event Type: Title not displayed in the mobile view (#7451) 2023-04-19 13:17:54 -07:00