8331059b7c
* Added embed files for new booker routes. * Updated nextjs config to redirect to correct embed url. * Notify embed of booker size after animation completes. * Don't use animations and 100vh in embed. * Added booker layout toggles to embed settings (wip) * Booker header positioning tweaks * Show correct layout in embed * Don't show pricing event meta if stripe app is not installed * Support custom border booker for embed * wip on passing layout prop to iframe for previews * Only show booker layout settings in embed-create-popup if booker layout feature is enabled. * Made layout prop in preview state for embed optional * Made layout prop in preview state for embed optional * Get layout toggle working * Fixed types * Added themebasis prop * Fix potential circular import that should then fix type errors * Fixed type error by fixing casing. * Type fixes * Added translations * More translations * Remove comment * Removed uneccessary addition to package.json * Removed todo since it's solved in another way --------- Co-authored-by: Hariom Balhara <hariombalhara@gmail.com> |
||
---|---|---|
.. | ||
embed-core | ||
embed-react | ||
embed-snippet | ||
README.md | ||
vite.config.js |
README.md
Embeds
This folder contains all the various flavours of embeds.
core
contains the core library written in vanilla JS that manages the embed.
snippet
contains the Vanilla JS Code Snippet that can be installed on any website and would automatically fetch the core
library.
Please see the respective folder READMEs for details on them.
Publishing to NPM - Soon to be automated using changesets github action
To publish the packages. Following steps should be followed. All commands are to be run at the root.
yarn changeset
-> Creates changelog files and adds summary to changelog. Select embed packages only here.yarn changeset version
-> Bumps the versions as required- Get the PR reviewed and merged
yarn publish-embed
-> Releases all packages. We can't useyarn changeset publish
because it doesn't support workspace: prefix removal yet. See https://github.com/changesets/changesets/issues/432#issuecomment-1016365428