Releases: codeandwander/blx
Releases · codeandwander/blx
v1.1.1
What's Changed
- Add CSS animation hooks (is-entering / is-leaving) to BLX Modal by @Copilot in #10
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
- [WIP] Add Mapbox map integration with custom styles for Webflow by @Copilot in #9
Full Changelog: v1.0.10...v1.1.0
v1.0.10
What's Changed
- Fix tooltip overlap by using margin-bottom instead of translateY by @Copilot in #8
Full Changelog: v1.0.9...v1.0.10
v1.0.9
What's Changed
- Add copy-to-clipboard package and comprehensive documentation for all packages by @Copilot in #6
- Fix copy-to-clipboard tooltip not showing for sibling elements with custom attributes by @Copilot in #7
Full Changelog: v1.0.8...v1.0.9
v1.0.8
What's Changed
- [WIP] Fix share buttons to open in new windows and update LinkedIn link by @Copilot in #5
Full Changelog: v1.0.7...v1.0.8
v1.0.7
What's Changed
- Add social share package for LinkedIn, Twitter, Facebook, and Email by @Copilot in #4
Full Changelog: v1.0.6...v1.0.7
v1.0.6
What's Changed
- Standardize package structure and naming conventions by @Copilot in #1
- Add GitHub Action to auto-minify JavaScript packages for CDN delivery by @Copilot in #2
- Remove local minification - delegate to jsDelivr by @Copilot in #3
New Contributors
- @Copilot made their first contribution in #1
Full Changelog: v1.0.5...v1.0.6
v1.0.5
✨ What’s new
Portal on demand
- Modals are moved to only when opened in overlay mode.
- On close, they are restored to their original DOM position.
- No eager DOM mutations on page load.
Breakpoint-aware overlay behaviour
- Overlay behaviour is controlled via blx-prop:
- no prop → overlay enabled on all breakpoints
- tablet → overlay at ≤ 991px
- mobile → overlay at ≤ 767px
- When overlay is not allowed, triggers intentionally do nothing and layout is handled purely via CSS.
Automatic reset on resize
- If a modal is open in overlay mode and the viewport leaves its allowed breakpoint range, the modal closes and is restored inline.
- Scroll lock and open state are always safely released.
Improved inline + overlay pattern
Enables patterns such as:
- sidebar / drawer on desktop
- modal overlay on tablet and mobile
- No reinitialisation, no mode switching, no layout guessing in JavaScript.
v1.0.4
✨ New
- Introduced BLX core utilities loader, loaded before packages.
- Added shared breakpoint utility (tablet ≤ 991px, mobile ≤ 767px) using matchMedia.
- New BLX Modal package following the standard BLX pattern (IIFE + explicit init).
🧩 Modal enhancements
- Added blx-el="modal-group" to scope a trigger and modal together in a CMS- and DOM-agnostic way.
- Added blx-id fallback pairing for cases where triggers and modals are not close in the DOM.
- Introduced scroll-lock as a blx-prop option to disable background scroll while a modal is open.
- Added close on Esc support.
- Unified close behaviour via blx-el="modal-close" (buttons, backdrops, etc.).
- Modals are automatically moved to to avoid fixed position, overflow, and stacking-context issues.
📐 Responsive behaviour
- Modals can be conditionally enabled via blx-prop:
- tablet → active at ≤ 991px
- mobile → active at ≤ 767px
- No prop → modal works at all breakpoints.