summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-09-15docs: add note about HTML structureEltrac
2025-09-15docs: add note about GIF speed in READMEEltrac
2025-09-15docs: fix image linkEltrac
2025-09-15docs: add screenshotEltrac
2025-09-15chore(git): set up building workflowEltrac
2025-09-15chore: remove console logsEltrac
2025-09-15refactor(test): rename import urlEltrac
2025-09-15fix: lightbox might be open at unexpected positionEltrac
2025-09-15docs: create README.mdEltrac
2025-09-15refactor: rename libo.css to libra.csssEltrac
2025-09-15refactor: rename project to libra, minify outputEltrac
2025-09-15chore(build): set up npm and parcelEltrac
2025-09-15fix: `this.openLightBox` is undefined due to scope issuesEltrac
2025-09-15refactor: move test files to test folderEltrac
2025-09-15refactor: clearer code structrueEltrac
2025-09-15feat: add shadow to opened imageEltrac
2025-09-15perf: use `closeCurrent` instead of `closeAll`Eltrac
this reduce time complexity from O(n) to O(1)
2025-09-15feat: close lightbox when scrollingEltrac
2025-09-15feat: blurrier overlayEltrac
2025-09-15fix: exit animation not workingEltrac
delay destruction after animation is played
2025-09-15feat: keyboard shortcutsEltrac
2025-09-15refactor: shadow is no longer a child of overlayEltrac
2025-09-15feat: add margin to lightboxEltrac
2025-09-15feat: quicker transition, cursor pointerEltrac
2025-09-15fix: sometimes images are clipped verticallyEltrac
2025-09-15fix: zoomIn animation not completeEltrac
2025-09-15refactor: click overlay to dismissEltrac
2025-09-15refactor(animation): calculate final statesEltrac
2025-09-15fix: generate truly unique IDsEltrac
2025-09-15feat: correctly close lightboxEltrac
2025-09-15refactor: lightbox ID generation and shadow managementEltrac
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-15refactor: LightBox and Shadow classes for clarity and reuseEltrac
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-15refactor: rename 'zoom/zoomed' to 'open'Eltrac
2025-09-15initial commitEltrac