UNPKG

drift-zoom

Version:

Easily add "zoom on hover" functionality to your site's images. Lightweight, no-dependency JavaScript.

287 lines (117 loc) 4.71 kB
# Changelog All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. ## [1.4.0](https://github.com/imgix/drift/compare/v1.3.5...v1.4.0) (2019-09-06) ### Bug Fixes * do not add drift-loading class after first hover ([#317](https://github.com/imgix/drift/issues/317)) ([750c4cf](https://github.com/imgix/drift/commit/750c4cf)) ### Features * **mobile:** add touch delay to allow scroll on mobile ([#315](https://github.com/imgix/drift/issues/315)) ([ceb6101](https://github.com/imgix/drift/commit/ceb6101)) ### [1.3.5](https://github.com/imgix/drift/compare/v1.3.4...v1.3.5) (2019-08-02) ### Bug Fixes * prevent zoom on mobile when handleTouch is set to false ([#293](https://github.com/imgix/drift/issues/293)) ([d1ea511](https://github.com/imgix/drift/commit/d1ea511)) * remove lingering DOM elements on destroy() ([#291](https://github.com/imgix/drift/issues/291)) ([e217752](https://github.com/imgix/drift/commit/e217752)) <a name="1.3.4"></a> ## [1.3.4](https://github.com/imgix/drift/compare/v1.3.3...v1.3.4) (2019-04-06) ### Bug Fixes * ensure that handleTouch & injectBaseStyles can be disabled ([#221](https://github.com/imgix/drift/issues/221)) ([346f3bf](https://github.com/imgix/drift/commit/346f3bf)), fixes [#220](https://github.com/imgix/drift/issues/220) <a name="1.3.3"></a> ## [1.3.3](https://github.com/imgix/drift/compare/v1.3.2...v1.3.3) (2018-11-02) ### Bug Fixes * stop loupe being shown in incorrect position on mouseenter ([#113](https://github.com/imgix/drift/issues/113)) ([710dfd7](https://github.com/imgix/drift/commit/710dfd7)) <a name="1.3.2"></a> ## [1.3.2](https://github.com/imgix/drift/compare/v1.3.1...v1.3.2) (2018-09-29) ### Bug Fixes * export Drift's public API ([#83](https://github.com/imgix/drift/issues/83)) ([82052c4](https://github.com/imgix/drift/commit/82052c4)), closes [#81](https://github.com/imgix/drift/issues/81) <a name="1.3.1"></a> ## [1.3.1](https://github.com/imgix/drift/compare/v1.3.0...v1.3.1) (2018-08-08) ### Bug Fixes * update closure file test to include more src files ([#78](https://github.com/imgix/drift/issues/78)) ([0a1aeca](https://github.com/imgix/drift/commit/0a1aeca)) <a name="1.3.0"></a> # [1.3.0](https://github.com/imgix/drift/compare/v1.2.2...v1.3.0) (2018-07-16) ### Bug Fixes * **zoom-pane:** set min and max values correctly when image is smaller than container ([#69](https://github.com/imgix/drift/issues/69)) ([03f9e26](https://github.com/imgix/drift/commit/03f9e26)) ### Features * add lib and es6 bundles, use closure compiler, remove gulp ([#70](https://github.com/imgix/drift/issues/70)) ([e48daa7](https://github.com/imgix/drift/commit/e48daa7)) <a name="1.2.2"></a> ## 1.2.2 (2018-07-09) <a name="1.2.0"></a> # 1.2.0 (2017-02-22) <a name="1.1.0"></a> # 1.1.0 (2016-12-13) <a name="1.0.0"></a> # 1.0.0 (2016-10-25) <a name="0.4.1"></a> ## 0.4.1 (2016-10-14) <a name="0.4.0"></a> # 0.4.0 (2016-09-26) <a name="0.3.4"></a> ## 0.3.4 (2016-08-04) <a name="0.3.3"></a> ## 0.3.3 (2016-08-02) <a name="0.3.2"></a> ## 0.3.2 (2016-07-15) <a name="0.3.1"></a> ## 0.3.1 (2016-07-12) <a name="0.3.0"></a> # 0.3.0 (2016-05-27) <a name="0.2.0"></a> # 0.2.0 (2016-05-03) <a name="0.1.8"></a> ## 0.1.8 (2016-05-02) <a name="0.1.7"></a> ## 0.1.7 (2016-03-21) <a name="0.1.6"></a> ## 0.1.6 (2016-03-03) <a name="0.1.5"></a> ## 0.1.5 (2016-01-22) <a name="0.1.4"></a> ## 0.1.4 (2016-01-17) <a name="0.1.3"></a> ## 0.1.3 (2016-01-14) <a name="0.1.2"></a> ## 0.1.2 (2016-01-08) <a name="0.1.1"></a> ## 0.1.1 (2015-12-30) <a name="0.1.0"></a> # 0.1.0 (2015-12-29) <a name="1.2.1"></a> ## 1.2.1 (2018-06-26) <a name="1.2.0"></a> # 1.2.0 (2017-02-22) <a name="1.1.0"></a> # 1.1.0 (2016-12-13) <a name="1.0.0"></a> # 1.0.0 (2016-10-25) <a name="0.4.1"></a> ## 0.4.1 (2016-10-14) <a name="0.4.0"></a> # 0.4.0 (2016-09-26) <a name="0.3.4"></a> ## 0.3.4 (2016-08-04) <a name="0.3.3"></a> ## 0.3.3 (2016-08-02) <a name="0.3.2"></a> ## 0.3.2 (2016-07-15) <a name="0.3.1"></a> ## 0.3.1 (2016-07-12) <a name="0.3.0"></a> # 0.3.0 (2016-05-27) <a name="0.2.0"></a> # 0.2.0 (2016-05-03) <a name="0.1.8"></a> ## 0.1.8 (2016-05-02) <a name="0.1.7"></a> ## 0.1.7 (2016-03-21) <a name="0.1.6"></a> ## 0.1.6 (2016-03-03) <a name="0.1.5"></a> ## 0.1.5 (2016-01-22) <a name="0.1.4"></a> ## 0.1.4 (2016-01-17) <a name="0.1.3"></a> ## 0.1.3 (2016-01-14) <a name="0.1.2"></a> ## 0.1.2 (2016-01-08) <a name="0.1.1"></a> ## 0.1.1 (2015-12-30) <a name="0.1.0"></a> # 0.1.0 (2015-12-29)