Releases: orestbida/iframemanager
Releases · orestbida/iframemanager
iframemanager v1.3.0
Features
- Add
.reset()
function to fix re-render issues (react/svelte ...) by @icetee in #55 - Allow usage of the
{data-id}
placeholder inside the notice text by @orestbida in 1dff7c3 (#46) - Allow usage of optional callback in
embedUrl
by @espertype in #58
Bug Fixes
- Internal parameters defined in the configuration are also added to the iframe as an attribute by @orestbida in #43
- Broken build workflow by @orestbida in #61
Misc
New Contributors
- @espertype made their first contribution in #58
- @icetee made their first contribution in #55
Full Changelog: v1.2.5...v1.3.0
iframemanager v1.2.5
Bug Fixes
- Fix issue with
visibility
in v1.2.4 where buttons/links remain clickable despite notice being hidden 1d7fa0f
Misc
Full Changelog: v1.2.4...v1.2.5
iframemanager v1.2.4
iframemanager v1.2.3
Bug Fixes
- Fix iframes outside viewport are not reset via
rejectService('<specific_service>')
22f47d7 (ref. #40)
Misc
- Update pnpm lockfile: use version 6 64a8a99
Full Changelog: v1.2.2...v1.2.3
iframemanager v1.2.2
iframemanager v1.2.1
Bug Fixes
- Fix invalid iframe src when
iframe.params
is empty string 2e11b28 (ref. #35) - Fix loading circle does not hide properly on some custom widgets d9c033c
Other
- Update dev. dependencies 472679b
Full Changelog: 1.2.0...v1.2.1
iframemanager v1.2.0
New Features
- Add
.getState()
to retrieve the current state such as accepted/rejected services 93de56b - Add
.getConfig()
to retrieve any config. value/prop. 93de56b - Add
onChange
callback, executed whenever a service's state is changed fe085ca - Add support for custom widgets generated by external API (twitter, facebook, instagram ...) 3c7b6be
- Add css variables for easier customization
Tweaks
- Improve support for custom placeholders when javascript is not enabled (ref. #12)
- Make buttons optional (you can now have 0, 1 or 2 buttons) abe9e68
- Use service name as default cookie name if no explicit
cookie.name
is provided:'im_<service>'
1c244b1
Bug Fixes
- Fix potential flash of unstyled content when css is lazy-loaded eefc6ca
- Fix ugly bold font, use
font-weight: 600
instead ofbold
29d867d
Other
- Code refactoring
- Update all dev. dependencies
- Update demo example
Full Changelog: v1.1.0...1.2.0
iframemanager v1.1.0
Features
- Add support for custom aspect ratios via
data-ratio="x:y"
8680851 (ref. #4) - Allow any attribute on the
iframe
element viadata-iframe-<attribute>
ebb8b53 (ref. #2) - Allow any attribute on the
iframe
element via the internaliframe
object ebb8b53
Bugfixes
Other
- Add basic build tools (terser + postcss) 7e1f0a3
- Update demo: add Google Maps embed example
- Code refactoring
Full Changelog: v1.0...v1.1.0
iframemanager v1.0
First release