Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iframes support #2

Merged
merged 13 commits into from
Apr 4, 2024
Merged

Iframes support #2

merged 13 commits into from
Apr 4, 2024

Conversation

tg666
Copy link
Contributor

@tg666 tg666 commented Dec 7, 2023

No description provided.

@tg666 tg666 added the enhancement New feature or request label Dec 7, 2023
@tg666 tg666 requested a review from jelen07 December 14, 2023 01:49
tg666 and others added 11 commits December 14, 2023 03:06
- added new banner type `EmbedBanner`
- added new client `embed/client` that will be used in iframes
- existing client moved to the `standard/client`
- standard client is able to create iframe banner from elements with attribute `data-amp-mode="embed"`
- property `client.version` now returning object of type `ClientVersion`
- updated dependencies
- migrated the whole package from CommonJS to ESM
- fixed dev/prod build and added embed client to the outputs
- improved embed banners handling
- responsive breakpoints from external banners can be now manager by JS client after invoking the method `ExternalBanner.delegateResponsiveBehaviour()`
- both clients are now merged into the single module
- export `AMPClientFactory` now contains two methods - `create()` and `createEmbed()`
- optimized bundle size with `lodash-webpack-plugin`
@tg666 tg666 marked this pull request as ready for review December 14, 2023 02:07
@tg666 tg666 merged commit 97d9073 into main Apr 4, 2024
@tg666 tg666 deleted the feature/iframes branch April 4, 2024 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants