@plaidev/karte-action-sdk 1.1.173 → 1.1.174-28032865.9aa17837

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.
@@ -7387,7 +7387,7 @@ function get_each_context(ctx, list, i) {
7387
7387
  return child_ctx;
7388
7388
  }
7389
7389
 
7390
- // (372:2) {#if isVisiblePrevButton}
7390
+ // (369:2) {#if isVisiblePrevButton}
7391
7391
  function create_if_block_1(ctx) {
7392
7392
  let div1;
7393
7393
  let div0;
@@ -7455,7 +7455,7 @@ function create_if_block_1(ctx) {
7455
7455
  };
7456
7456
  }
7457
7457
 
7458
- // (381:2) {#if isVisibleNextButton}
7458
+ // (378:2) {#if isVisibleNextButton}
7459
7459
  function create_if_block$1(ctx) {
7460
7460
  let div1;
7461
7461
  let div0;
@@ -7523,7 +7523,7 @@ function create_if_block$1(ctx) {
7523
7523
  };
7524
7524
  }
7525
7525
 
7526
- // (394:4) {#each items as _, i}
7526
+ // (391:4) {#each items as _, i}
7527
7527
  function create_each_block(ctx) {
7528
7528
  let div1;
7529
7529
  let div0;
@@ -8010,21 +8010,17 @@ function instance$b($$self, $$props, $$invalidate) {
8010
8010
  handleMoving(clientX, timeStamp);
8011
8011
  }
8012
8012
 
8013
- function handleTouchStart(event) {
8014
- // event.preventDefault();
8013
+ function handleTouchStart() {
8015
8014
  handleMoveStart();
8016
8015
  }
8017
8016
 
8018
- function handleTouchEnd(event) {
8019
- // event.preventDefault();
8017
+ function handleTouchEnd() {
8020
8018
  handleMoveEnd();
8021
8019
  }
8022
8020
 
8023
8021
  function handleTouchMove(event) {
8024
- // event.preventDefault();
8025
- // event.stopPropagation();
8022
+ event.preventDefault();
8026
8023
  const clientX = event.touches[0].clientX;
8027
-
8028
8024
  const timeStamp = event.timeStamp;
8029
8025
  handleMoving(clientX, timeStamp);
8030
8026
  }
package/dist/index.es.js CHANGED
@@ -1066,6 +1066,9 @@ const EASING = {
1066
1066
  * @internal
1067
1067
  */
1068
1068
  function customAnimation(node, { transform, animationStyle, delay = 0, duration = 1000 }) {
1069
+ if (animationStyle === 'none') {
1070
+ return {};
1071
+ }
1069
1072
  const [x, y] = transform;
1070
1073
  return {
1071
1074
  delay,
@@ -6975,7 +6978,7 @@ function get_each_context(ctx, list, i) {
6975
6978
  return child_ctx;
6976
6979
  }
6977
6980
 
6978
- // (372:2) {#if isVisiblePrevButton}
6981
+ // (369:2) {#if isVisiblePrevButton}
6979
6982
  function create_if_block_1(ctx) {
6980
6983
  let div1;
6981
6984
  let div0;
@@ -7026,7 +7029,7 @@ function create_if_block_1(ctx) {
7026
7029
  };
7027
7030
  }
7028
7031
 
7029
- // (381:2) {#if isVisibleNextButton}
7032
+ // (378:2) {#if isVisibleNextButton}
7030
7033
  function create_if_block$1(ctx) {
7031
7034
  let div1;
7032
7035
  let div0;
@@ -7077,7 +7080,7 @@ function create_if_block$1(ctx) {
7077
7080
  };
7078
7081
  }
7079
7082
 
7080
- // (394:4) {#each items as _, i}
7083
+ // (391:4) {#each items as _, i}
7081
7084
  function create_each_block(ctx) {
7082
7085
  let div1;
7083
7086
  let div0;
@@ -7523,21 +7526,17 @@ function instance$b($$self, $$props, $$invalidate) {
7523
7526
  handleMoving(clientX, timeStamp);
7524
7527
  }
7525
7528
 
7526
- function handleTouchStart(event) {
7527
- // event.preventDefault();
7529
+ function handleTouchStart() {
7528
7530
  handleMoveStart();
7529
7531
  }
7530
7532
 
7531
- function handleTouchEnd(event) {
7532
- // event.preventDefault();
7533
+ function handleTouchEnd() {
7533
7534
  handleMoveEnd();
7534
7535
  }
7535
7536
 
7536
7537
  function handleTouchMove(event) {
7537
- // event.preventDefault();
7538
- // event.stopPropagation();
7538
+ event.preventDefault();
7539
7539
  const clientX = event.touches[0].clientX;
7540
-
7541
7540
  const timeStamp = event.timeStamp;
7542
7541
  handleMoving(clientX, timeStamp);
7543
7542
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.173",
3
+ "version": "1.1.174-28032865.9aa17837",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",