@dpouris/gswap 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ export { GSwap as GSwap } from "./src/main";
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GSwap = void 0;
4
+ var main_1 = require("./src/main");
5
+ Object.defineProperty(exports, "GSwap", { enumerable: true, get: function () { return main_1.GSwap; } });
@@ -1 +1 @@
1
- export { GSwap } from "./main";
1
+ export { GSwap as GSwap } from "./main";
package/dist/src/main.js CHANGED
@@ -165,7 +165,7 @@ _GSwap_currentImg = new WeakMap(), _GSwap_createNavigation = new WeakMap(), _GSw
165
165
  imgElement.src = image;
166
166
  imgElement.width = this.options.imgDimensions.width;
167
167
  imgElement.height = this.options.imgDimensions.height;
168
- imgElement.style.transition = `all ${this.options.animationDuration}ms ease-out`;
168
+ imgElement.style.transition = `all ${this.options.animationDuration}ms ease-in-out`;
169
169
  return imgElement;
170
170
  });
171
171
  }, _GSwap_appendElementsOnContainer = function _GSwap_appendElementsOnContainer() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpouris/gswap",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "A library for swapping between images in a gallery",
5
5
  "main": "./dist/main.js",
6
6
  "types": "./dist/main.d.ts",