@frybynite/image-cloud 0.4.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -155,10 +155,8 @@ const ft = Object.freeze({
155
155
  })
156
156
  }),
157
157
  timing: Object.freeze({
158
- duration: 600,
158
+ duration: 600
159
159
  // ms
160
- stagger: 150
161
- // ms between images
162
160
  }),
163
161
  easing: "cubic-bezier(0.25, 1, 0.5, 1)",
164
162
  // smooth deceleration
@@ -821,13 +819,13 @@ class ie {
821
819
  * Get animation parameters for an image
822
820
  */
823
821
  getAnimationParams(t) {
824
- const e = this.config.timing.duration, i = this.config.timing.stagger, o = this.config.easing;
822
+ const e = this.config.timing.duration, i = this.config.easing;
825
823
  return {
826
824
  startTransform: "",
827
825
  // Will be computed by caller based on start position
828
826
  duration: e,
829
- delay: t * i,
830
- easing: o
827
+ delay: 0,
828
+ easing: i
831
829
  };
832
830
  }
833
831
  /**
@@ -880,8 +878,7 @@ class ie {
880
878
  */
881
879
  getTiming() {
882
880
  return {
883
- duration: this.config.timing.duration,
884
- stagger: this.config.timing.stagger
881
+ duration: this.config.timing.duration
885
882
  };
886
883
  }
887
884
  /**