@plaidev/karte-action-sdk 1.1.173-28031966.d24ee9e3 → 1.1.173

Sign up to get free protection for your applications and to get access to all the features.
@@ -7387,7 +7387,7 @@ function get_each_context(ctx, list, i) {
7387
7387
  return child_ctx;
7388
7388
  }
7389
7389
 
7390
- // (369:2) {#if isVisiblePrevButton}
7390
+ // (372: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
- // (378:2) {#if isVisibleNextButton}
7458
+ // (381: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
- // (391:4) {#each items as _, i}
7526
+ // (394:4) {#each items as _, i}
7527
7527
  function create_each_block(ctx) {
7528
7528
  let div1;
7529
7529
  let div0;
@@ -8010,17 +8010,21 @@ function instance$b($$self, $$props, $$invalidate) {
8010
8010
  handleMoving(clientX, timeStamp);
8011
8011
  }
8012
8012
 
8013
- function handleTouchStart() {
8013
+ function handleTouchStart(event) {
8014
+ // event.preventDefault();
8014
8015
  handleMoveStart();
8015
8016
  }
8016
8017
 
8017
- function handleTouchEnd() {
8018
+ function handleTouchEnd(event) {
8019
+ // event.preventDefault();
8018
8020
  handleMoveEnd();
8019
8021
  }
8020
8022
 
8021
8023
  function handleTouchMove(event) {
8022
- event.preventDefault();
8024
+ // event.preventDefault();
8025
+ // event.stopPropagation();
8023
8026
  const clientX = event.touches[0].clientX;
8027
+
8024
8028
  const timeStamp = event.timeStamp;
8025
8029
  handleMoving(clientX, timeStamp);
8026
8030
  }
package/dist/index.es.js CHANGED
@@ -6975,7 +6975,7 @@ function get_each_context(ctx, list, i) {
6975
6975
  return child_ctx;
6976
6976
  }
6977
6977
 
6978
- // (369:2) {#if isVisiblePrevButton}
6978
+ // (372:2) {#if isVisiblePrevButton}
6979
6979
  function create_if_block_1(ctx) {
6980
6980
  let div1;
6981
6981
  let div0;
@@ -7026,7 +7026,7 @@ function create_if_block_1(ctx) {
7026
7026
  };
7027
7027
  }
7028
7028
 
7029
- // (378:2) {#if isVisibleNextButton}
7029
+ // (381:2) {#if isVisibleNextButton}
7030
7030
  function create_if_block$1(ctx) {
7031
7031
  let div1;
7032
7032
  let div0;
@@ -7077,7 +7077,7 @@ function create_if_block$1(ctx) {
7077
7077
  };
7078
7078
  }
7079
7079
 
7080
- // (391:4) {#each items as _, i}
7080
+ // (394:4) {#each items as _, i}
7081
7081
  function create_each_block(ctx) {
7082
7082
  let div1;
7083
7083
  let div0;
@@ -7523,17 +7523,21 @@ function instance$b($$self, $$props, $$invalidate) {
7523
7523
  handleMoving(clientX, timeStamp);
7524
7524
  }
7525
7525
 
7526
- function handleTouchStart() {
7526
+ function handleTouchStart(event) {
7527
+ // event.preventDefault();
7527
7528
  handleMoveStart();
7528
7529
  }
7529
7530
 
7530
- function handleTouchEnd() {
7531
+ function handleTouchEnd(event) {
7532
+ // event.preventDefault();
7531
7533
  handleMoveEnd();
7532
7534
  }
7533
7535
 
7534
7536
  function handleTouchMove(event) {
7535
- event.preventDefault();
7537
+ // event.preventDefault();
7538
+ // event.stopPropagation();
7536
7539
  const clientX = event.touches[0].clientX;
7540
+
7537
7541
  const timeStamp = event.timeStamp;
7538
7542
  handleMoving(clientX, timeStamp);
7539
7543
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.173-28031966.d24ee9e3",
3
+ "version": "1.1.173",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",