Skip to content

Releases: codeandwander/blx

v1.1.1

03 Mar 11:21
eebadb0

Choose a tag to compare

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

19 Jan 14:48
298e776

Choose a tag to compare

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

15 Jan 15:10
8c5c4b2

Choose a tag to compare

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

15 Jan 14:30
8c02dcd

Choose a tag to compare

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

15 Jan 09:30
5463c09

Choose a tag to compare

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

15 Jan 09:18
327d2a7

Choose a tag to compare

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

12 Jan 17:40
74ea29e

Choose a tag to compare

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

08 Dec 18:12
a39670e

Choose a tag to compare

✨ 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

08 Dec 16:32
1580231

Choose a tag to compare

✨ 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.

v1.0.3

02 Dec 13:30
8889e0b

Choose a tag to compare

In this release:
✔ Added the new inline-svg package
✔ Wrapped it in the same IIFE structure as the others
✔ Registered it via the global loader
✔ Updated the main repository README