| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-09-18 | refactor: avoid repetition | Eltrac | |
| Since we are constantly adjusting shadow's positions and fetching original positions, encapsulate them into functions. | |||
| 2025-09-18 | refactor: avoid repeating animation logic | Eltrac | |
| 2025-09-18 | style: consistent unit assignment | Eltrac | |
| 2025-09-18 | fix: missing transition when closing | QuarkPixel | |
| 2025-09-18 | fix: display nothing when image not fully loaded | QuarkPixel | |
| 2025-09-18 | fix: viewport change causes animation position error | QuarkPixel | |
| 2025-09-18 | feat(config): make libra more customizable through config.js and | QuarkPixel | |
| libra.css | |||
| 2025-09-17 | feat: configurable offset | Eltrac | |
| 2025-09-17 | fix: did not add 'open' class to open shadow | Eltrac | |
| 2025-09-17 | fix: top, left, with, height attr not set properly | Eltrac | |
| Add 'px' unit after top, left, width, height values. Providing a number value might cause some occasional problems. | |||
| 2025-09-17 | fix: fix shadow positioning using getBoundingClientRect | Eltrac | |
| 2025-09-16 | refactor: move image handling to shadow class | Eltrac | |
| - lightbox module no longer handles original image visibility - lightbox module no longer handles shadow placement - lightbox module now only fetch and use shadow object | |||
| 2025-09-16 | refactor: shorter variable name | Eltrac | |
| 2025-09-16 | refactor: move animation logic to individual module | Eltrac | |
| 2025-09-16 | fix: unexpected zoom-out animation | Eltrac | |
| 2025-09-16 | fix: smoother zoom-in animation, more accurate positioning | Eltrac | |
| 2025-09-15 | refactor: use transform instead of requestAnimationFrame | Eltrac | |
| 2025-09-15 | chore: remove console logs | Eltrac | |
| 2025-09-15 | refactor: rename project to libra, minify output | Eltrac | |
| 2025-09-15 | fix: exit animation not working | Eltrac | |
| delay destruction after animation is played | |||
| 2025-09-15 | refactor: shadow is no longer a child of overlay | Eltrac | |
| 2025-09-15 | feat: add margin to lightbox | Eltrac | |
| 2025-09-15 | fix: sometimes images are clipped vertically | Eltrac | |
| 2025-09-15 | fix: zoomIn animation not complete | Eltrac | |
| 2025-09-15 | refactor(animation): calculate final states | Eltrac | |
| 2025-09-15 | feat: correctly close lightbox | Eltrac | |
| 2025-09-15 | refactor: lightbox ID generation and shadow management | Eltrac | |
| Replaces the async SHA-256 based unique ID generation with a synchronous hashCode method in Utility. Refactors LightBox to manage Shadow instances in a local cache instead of querying the DOM, and removes the static find method from Shadow. Also extracts image link wrapping logic into a helper method for clarity. | |||
| 2025-09-15 | refactor: LightBox and Shadow classes for clarity and reuse | Eltrac | |
| Added section comments and reorganized methods in both LightBox and Shadow for better readability. Shadow now supports finding existing instances, tracks open state, and separates initialization logic. Improved animation handling and event binding for closing shadows. | |||
| 2025-09-15 | refactor: rename 'zoom/zoomed' to 'open' | Eltrac | |
| 2025-09-15 | initial commit | Eltrac | |
