@plaidev/karte-action-sdk 1.1.172 → 1.1.173-28031673.7262d61e
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.
- package/dist/hydrate/index.es.js +12 -10
- package/dist/index.es.js +12 -10
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
@@ -3160,7 +3160,7 @@ class Button extends SvelteComponent {
|
|
3160
3160
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
3161
3161
|
|
3162
3162
|
function add_css$q(target) {
|
3163
|
-
append_styles(target, "svelte-
|
3163
|
+
append_styles(target, "svelte-yyiwdt", ".modal.svelte-yyiwdt{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-yyiwdt > .button{flex:auto;display:flex}.close.svelte-yyiwdt{position:absolute;top:0;right:0}.close.svelte-yyiwdt > .button{position:absolute;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;padding:0;transition:all 0.25s}.close.svelte-yyiwdt > .button:hover{transform:rotate(90deg)}.modal-content.svelte-yyiwdt{flex:auto;display:flex;justify-content:center;align-items:center}");
|
3164
3164
|
}
|
3165
3165
|
|
3166
3166
|
// (144:0) {#if visible}
|
@@ -3201,7 +3201,7 @@ function create_if_block$5(ctx) {
|
|
3201
3201
|
this.h();
|
3202
3202
|
},
|
3203
3203
|
h() {
|
3204
|
-
attr(div, "class", "modal svelte-
|
3204
|
+
attr(div, "class", "modal svelte-yyiwdt");
|
3205
3205
|
attr(div, "role", "dialog");
|
3206
3206
|
attr(div, "aria-modal", "true");
|
3207
3207
|
attr(div, "style", div_style_value = "" + /*pos*/ ctx[16] + " " + /*marginStyle*/ ctx[14] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[17]] + "");
|
@@ -3289,7 +3289,7 @@ function create_if_block_1$1(ctx) {
|
|
3289
3289
|
this.h();
|
3290
3290
|
},
|
3291
3291
|
h() {
|
3292
|
-
attr(div, "class", "close svelte-
|
3292
|
+
attr(div, "class", "close svelte-yyiwdt");
|
3293
3293
|
set_style(div, "z-index", /*$maximumZindex*/ ctx[20] + 1);
|
3294
3294
|
},
|
3295
3295
|
m(target, anchor) {
|
@@ -3414,7 +3414,7 @@ function create_default_slot$6(ctx) {
|
|
3414
3414
|
this.h();
|
3415
3415
|
},
|
3416
3416
|
h() {
|
3417
|
-
attr(div, "class", "modal-content svelte-
|
3417
|
+
attr(div, "class", "modal-content svelte-yyiwdt");
|
3418
3418
|
attr(div, "style", /*_style*/ ctx[4]);
|
3419
3419
|
},
|
3420
3420
|
m(target, anchor) {
|
@@ -7387,7 +7387,7 @@ function get_each_context(ctx, list, i) {
|
|
7387
7387
|
return child_ctx;
|
7388
7388
|
}
|
7389
7389
|
|
7390
|
-
// (
|
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
|
-
// (
|
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
|
-
// (
|
7526
|
+
// (394:4) {#each items as _, i}
|
7527
7527
|
function create_each_block(ctx) {
|
7528
7528
|
let div1;
|
7529
7529
|
let div0;
|
@@ -8011,17 +8011,19 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
8011
8011
|
}
|
8012
8012
|
|
8013
8013
|
function handleTouchStart(event) {
|
8014
|
-
event.preventDefault();
|
8014
|
+
// event.preventDefault();
|
8015
8015
|
handleMoveStart();
|
8016
8016
|
}
|
8017
8017
|
|
8018
8018
|
function handleTouchEnd(event) {
|
8019
|
-
event.preventDefault();
|
8019
|
+
// event.preventDefault();
|
8020
8020
|
handleMoveEnd();
|
8021
8021
|
}
|
8022
8022
|
|
8023
8023
|
function handleTouchMove(event) {
|
8024
|
-
event.preventDefault();
|
8024
|
+
// event.preventDefault();
|
8025
|
+
event.stopPropagation();
|
8026
|
+
|
8025
8027
|
const clientX = event.touches[0].clientX;
|
8026
8028
|
const timeStamp = event.timeStamp;
|
8027
8029
|
handleMoving(clientX, timeStamp);
|
package/dist/index.es.js
CHANGED
@@ -3186,7 +3186,7 @@ class Button extends SvelteComponent {
|
|
3186
3186
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
3187
3187
|
|
3188
3188
|
function add_css$q(target) {
|
3189
|
-
append_styles(target, "svelte-
|
3189
|
+
append_styles(target, "svelte-yyiwdt", ".modal.svelte-yyiwdt{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-yyiwdt > .button{flex:auto;display:flex}.close.svelte-yyiwdt{position:absolute;top:0;right:0}.close.svelte-yyiwdt > .button{position:absolute;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;padding:0;transition:all 0.25s}.close.svelte-yyiwdt > .button:hover{transform:rotate(90deg)}.modal-content.svelte-yyiwdt{flex:auto;display:flex;justify-content:center;align-items:center}");
|
3190
3190
|
}
|
3191
3191
|
|
3192
3192
|
// (144:0) {#if visible}
|
@@ -3211,7 +3211,7 @@ function create_if_block$5(ctx) {
|
|
3211
3211
|
c() {
|
3212
3212
|
div = element("div");
|
3213
3213
|
create_component(button.$$.fragment);
|
3214
|
-
attr(div, "class", "modal svelte-
|
3214
|
+
attr(div, "class", "modal svelte-yyiwdt");
|
3215
3215
|
attr(div, "role", "dialog");
|
3216
3216
|
attr(div, "aria-modal", "true");
|
3217
3217
|
attr(div, "style", div_style_value = "" + /*pos*/ ctx[16] + " " + /*marginStyle*/ ctx[14] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[17]] + "");
|
@@ -3289,7 +3289,7 @@ function create_if_block_1$1(ctx) {
|
|
3289
3289
|
c() {
|
3290
3290
|
div = element("div");
|
3291
3291
|
create_component(button.$$.fragment);
|
3292
|
-
attr(div, "class", "close svelte-
|
3292
|
+
attr(div, "class", "close svelte-yyiwdt");
|
3293
3293
|
set_style(div, "z-index", /*$maximumZindex*/ ctx[20] + 1);
|
3294
3294
|
},
|
3295
3295
|
m(target, anchor) {
|
@@ -3378,7 +3378,7 @@ function create_default_slot$6(ctx) {
|
|
3378
3378
|
t = space();
|
3379
3379
|
div = element("div");
|
3380
3380
|
if (default_slot) default_slot.c();
|
3381
|
-
attr(div, "class", "modal-content svelte-
|
3381
|
+
attr(div, "class", "modal-content svelte-yyiwdt");
|
3382
3382
|
attr(div, "style", /*_style*/ ctx[4]);
|
3383
3383
|
},
|
3384
3384
|
m(target, anchor) {
|
@@ -6975,7 +6975,7 @@ function get_each_context(ctx, list, i) {
|
|
6975
6975
|
return child_ctx;
|
6976
6976
|
}
|
6977
6977
|
|
6978
|
-
// (
|
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
|
-
// (
|
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
|
-
// (
|
7080
|
+
// (394:4) {#each items as _, i}
|
7081
7081
|
function create_each_block(ctx) {
|
7082
7082
|
let div1;
|
7083
7083
|
let div0;
|
@@ -7524,17 +7524,19 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
7524
7524
|
}
|
7525
7525
|
|
7526
7526
|
function handleTouchStart(event) {
|
7527
|
-
event.preventDefault();
|
7527
|
+
// event.preventDefault();
|
7528
7528
|
handleMoveStart();
|
7529
7529
|
}
|
7530
7530
|
|
7531
7531
|
function handleTouchEnd(event) {
|
7532
|
-
event.preventDefault();
|
7532
|
+
// event.preventDefault();
|
7533
7533
|
handleMoveEnd();
|
7534
7534
|
}
|
7535
7535
|
|
7536
7536
|
function handleTouchMove(event) {
|
7537
|
-
event.preventDefault();
|
7537
|
+
// event.preventDefault();
|
7538
|
+
event.stopPropagation();
|
7539
|
+
|
7538
7540
|
const clientX = event.touches[0].clientX;
|
7539
7541
|
const timeStamp = event.timeStamp;
|
7540
7542
|
handleMoving(clientX, timeStamp);
|