cal.pub0.org/packages/embeds/embed-snippet
Hariom Balhara 174ed9f6d1
Embed Snippet Generator (#2597)
* Add support to dynamically change the theme

* Add Embed UI in app

* Update UI as per Figma

* Dynamicaly update Embed Code

* Get differnet modes working in preview

* Support Embed on EventType Edit, Team Link Fix and Mobile unsupported

* Fix auto theme switch in Embed Snippet generator

* Fix types

* Self Review fixes

* Remove Embed from App section

* Move get query after the middleware to let middleware work on it

* Add sandboxes in the document

* Add error handling for embed loading

* Fix types

* Update snapshots and fix bug identified by tests

* UI Fixes

* Add Embed Tests

* Respond in preview to width and height

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-05-05 08:29:49 -06:00
..
src Embed Snippet Generator (#2597) 2022-05-05 08:29:49 -06:00
README.md Embed: Bump Versions and update Readmes and descriptions (#2507) 2022-04-15 18:55:36 +01:00
env.d.ts [Feature]Booking Embed (#2227) 2022-03-31 09:45:47 +01:00
package.json Embed: Bump Versions and update Readmes and descriptions (#2507) 2022-04-15 18:55:36 +01:00
tsconfig.json [Feature]Booking Embed (#2227) 2022-03-31 09:45:47 +01:00
vite.config.js Embed Snippet Generator (#2597) 2022-05-05 08:29:49 -06:00

README.md

embed-snippet

Vanilla JS embed snippet that is responsible to fetch @calcom/embed-core and thus show Cal Link as an embed on a page.

Development

yarn build will generate dist/snippet.es.js

  • which can be used as <script type="module" src=...
  • You can also copy the appropriate portion of the code and install it directly as <script>CODE_SUGGESTED_TO_BE_COPIED</script>