@plaidev/karte-action-sdk 1.1.101-27899225.9f75dc0a → 1.1.101-27901613.c1d620e9

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.
@@ -1972,10 +1972,11 @@ function add_css$c(target) {
1972
1972
 
1973
1973
  // (131:0) {#if visible}
1974
1974
  function create_if_block$1(ctx) {
1975
- let div;
1975
+ let div1;
1976
1976
  let t;
1977
- let div_style_value;
1978
- let div_intro;
1977
+ let div0;
1978
+ let div1_style_value;
1979
+ let div1_intro;
1979
1980
  let current;
1980
1981
  let mounted;
1981
1982
  let dispose;
@@ -1985,47 +1986,53 @@ function create_if_block$1(ctx) {
1985
1986
 
1986
1987
  return {
1987
1988
  c() {
1988
- div = element("div");
1989
+ div1 = element("div");
1989
1990
  if (if_block) if_block.c();
1990
1991
  t = space();
1992
+ div0 = element("div");
1991
1993
  if (default_slot) default_slot.c();
1992
1994
  this.h();
1993
1995
  },
1994
1996
  l(nodes) {
1995
- div = claim_element(nodes, "DIV", {
1997
+ div1 = claim_element(nodes, "DIV", {
1996
1998
  class: true,
1997
1999
  role: true,
1998
2000
  "aria-modal": true,
1999
2001
  style: true
2000
2002
  });
2001
2003
 
2002
- var div_nodes = children(div);
2003
- if (if_block) if_block.l(div_nodes);
2004
- t = claim_space(div_nodes);
2005
- if (default_slot) default_slot.l(div_nodes);
2006
- div_nodes.forEach(detach);
2004
+ var div1_nodes = children(div1);
2005
+ if (if_block) if_block.l(div1_nodes);
2006
+ t = claim_space(div1_nodes);
2007
+ div0 = claim_element(div1_nodes, "DIV", { style: true });
2008
+ var div0_nodes = children(div0);
2009
+ if (default_slot) default_slot.l(div0_nodes);
2010
+ div0_nodes.forEach(detach);
2011
+ div1_nodes.forEach(detach);
2007
2012
  this.h();
2008
2013
  },
2009
2014
  h() {
2010
- attr(div, "class", "modal svelte-1bxl6mz");
2011
- attr(div, "role", "dialog");
2012
- attr(div, "aria-modal", "true");
2013
- attr(div, "style", div_style_value = "" + /*pos*/ ctx[10] + " " + /*marginStyle*/ ctx[8] + " " + /*_style*/ ctx[1] + "");
2015
+ attr(div0, "style", /*_style*/ ctx[1]);
2016
+ attr(div1, "class", "modal svelte-1bxl6mz");
2017
+ attr(div1, "role", "dialog");
2018
+ attr(div1, "aria-modal", "true");
2019
+ attr(div1, "style", div1_style_value = "" + /*pos*/ ctx[10] + " " + /*marginStyle*/ ctx[8] + "");
2014
2020
  },
2015
2021
  m(target, anchor) {
2016
- insert_hydration(target, div, anchor);
2017
- if (if_block) if_block.m(div, null);
2018
- append_hydration(div, t);
2022
+ insert_hydration(target, div1, anchor);
2023
+ if (if_block) if_block.m(div1, null);
2024
+ append_hydration(div1, t);
2025
+ append_hydration(div1, div0);
2019
2026
 
2020
2027
  if (default_slot) {
2021
- default_slot.m(div, null);
2028
+ default_slot.m(div0, null);
2022
2029
  }
2023
2030
 
2024
- /*div_binding*/ ctx[28](div);
2031
+ /*div1_binding*/ ctx[28](div1);
2025
2032
  current = true;
2026
2033
 
2027
2034
  if (!mounted) {
2028
- dispose = listen(div, "click", function () {
2035
+ dispose = listen(div1, "click", function () {
2029
2036
  if (is_function(/*click*/ ctx[14])) /*click*/ ctx[14].apply(this, arguments);
2030
2037
  });
2031
2038
 
@@ -2041,7 +2048,7 @@ function create_if_block$1(ctx) {
2041
2048
  } else {
2042
2049
  if_block = create_if_block_1(ctx);
2043
2050
  if_block.c();
2044
- if_block.m(div, t);
2051
+ if_block.m(div1, t);
2045
2052
  }
2046
2053
  } else if (if_block) {
2047
2054
  if_block.d(1);
@@ -2063,22 +2070,26 @@ function create_if_block$1(ctx) {
2063
2070
  }
2064
2071
  }
2065
2072
 
2066
- if (!current || dirty & /*pos, marginStyle, _style*/ 1282 && div_style_value !== (div_style_value = "" + /*pos*/ ctx[10] + " " + /*marginStyle*/ ctx[8] + " " + /*_style*/ ctx[1] + "")) {
2067
- attr(div, "style", div_style_value);
2073
+ if (!current || dirty & /*_style*/ 2) {
2074
+ attr(div0, "style", /*_style*/ ctx[1]);
2075
+ }
2076
+
2077
+ if (!current || dirty & /*pos, marginStyle*/ 1280 && div1_style_value !== (div1_style_value = "" + /*pos*/ ctx[10] + " " + /*marginStyle*/ ctx[8] + "")) {
2078
+ attr(div1, "style", div1_style_value);
2068
2079
  }
2069
2080
  },
2070
2081
  i(local) {
2071
2082
  if (current) return;
2072
2083
  transition_in(default_slot, local);
2073
2084
 
2074
- if (!div_intro) {
2085
+ if (!div1_intro) {
2075
2086
  add_render_callback(() => {
2076
- div_intro = create_in_transition(div, customAnimation, {
2087
+ div1_intro = create_in_transition(div1, customAnimation, {
2077
2088
  transform: /*transform*/ ctx[9],
2078
2089
  animationStyle: /*animation*/ ctx[0]
2079
2090
  });
2080
2091
 
2081
- div_intro.start();
2092
+ div1_intro.start();
2082
2093
  });
2083
2094
  }
2084
2095
 
@@ -2089,17 +2100,17 @@ function create_if_block$1(ctx) {
2089
2100
  current = false;
2090
2101
  },
2091
2102
  d(detaching) {
2092
- if (detaching) detach(div);
2103
+ if (detaching) detach(div1);
2093
2104
  if (if_block) if_block.d();
2094
2105
  if (default_slot) default_slot.d(detaching);
2095
- /*div_binding*/ ctx[28](null);
2106
+ /*div1_binding*/ ctx[28](null);
2096
2107
  mounted = false;
2097
2108
  dispose();
2098
2109
  }
2099
2110
  };
2100
2111
  }
2101
2112
 
2102
- // (148:4) {#if closable}
2113
+ // (147:4) {#if closable}
2103
2114
  function create_if_block_1(ctx) {
2104
2115
  let button;
2105
2116
  let svg;
@@ -2319,7 +2330,7 @@ function instance$f($$self, $$props, $$invalidate) {
2319
2330
 
2320
2331
  onDestroy$1(() => setPreviousFocus());
2321
2332
 
2322
- function div_binding($$value) {
2333
+ function div1_binding($$value) {
2323
2334
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
2324
2335
  modal = $$value;
2325
2336
  $$invalidate(4, modal);
@@ -2454,7 +2465,7 @@ function instance$f($$self, $$props, $$invalidate) {
2454
2465
  backgroundClickFunction,
2455
2466
  $$scope,
2456
2467
  slots,
2457
- div_binding
2468
+ div1_binding
2458
2469
  ];
2459
2470
  }
2460
2471
 
package/dist/index.es.js CHANGED
@@ -2054,10 +2054,11 @@ function add_css$c(target) {
2054
2054
 
2055
2055
  // (131:0) {#if visible}
2056
2056
  function create_if_block$1(ctx) {
2057
- let div;
2057
+ let div1;
2058
2058
  let t;
2059
- let div_style_value;
2060
- let div_intro;
2059
+ let div0;
2060
+ let div1_style_value;
2061
+ let div1_intro;
2061
2062
  let current;
2062
2063
  let mounted;
2063
2064
  let dispose;
@@ -2067,29 +2068,32 @@ function create_if_block$1(ctx) {
2067
2068
 
2068
2069
  return {
2069
2070
  c() {
2070
- div = element("div");
2071
+ div1 = element("div");
2071
2072
  if (if_block) if_block.c();
2072
2073
  t = space();
2074
+ div0 = element("div");
2073
2075
  if (default_slot) default_slot.c();
2074
- attr(div, "class", "modal svelte-1bxl6mz");
2075
- attr(div, "role", "dialog");
2076
- attr(div, "aria-modal", "true");
2077
- attr(div, "style", div_style_value = "" + /*pos*/ ctx[10] + " " + /*marginStyle*/ ctx[8] + " " + /*_style*/ ctx[1] + "");
2076
+ attr(div0, "style", /*_style*/ ctx[1]);
2077
+ attr(div1, "class", "modal svelte-1bxl6mz");
2078
+ attr(div1, "role", "dialog");
2079
+ attr(div1, "aria-modal", "true");
2080
+ attr(div1, "style", div1_style_value = "" + /*pos*/ ctx[10] + " " + /*marginStyle*/ ctx[8] + "");
2078
2081
  },
2079
2082
  m(target, anchor) {
2080
- insert(target, div, anchor);
2081
- if (if_block) if_block.m(div, null);
2082
- append(div, t);
2083
+ insert(target, div1, anchor);
2084
+ if (if_block) if_block.m(div1, null);
2085
+ append(div1, t);
2086
+ append(div1, div0);
2083
2087
 
2084
2088
  if (default_slot) {
2085
- default_slot.m(div, null);
2089
+ default_slot.m(div0, null);
2086
2090
  }
2087
2091
 
2088
- /*div_binding*/ ctx[28](div);
2092
+ /*div1_binding*/ ctx[28](div1);
2089
2093
  current = true;
2090
2094
 
2091
2095
  if (!mounted) {
2092
- dispose = listen(div, "click", function () {
2096
+ dispose = listen(div1, "click", function () {
2093
2097
  if (is_function(/*click*/ ctx[14])) /*click*/ ctx[14].apply(this, arguments);
2094
2098
  });
2095
2099
 
@@ -2105,7 +2109,7 @@ function create_if_block$1(ctx) {
2105
2109
  } else {
2106
2110
  if_block = create_if_block_1(ctx);
2107
2111
  if_block.c();
2108
- if_block.m(div, t);
2112
+ if_block.m(div1, t);
2109
2113
  }
2110
2114
  } else if (if_block) {
2111
2115
  if_block.d(1);
@@ -2127,22 +2131,26 @@ function create_if_block$1(ctx) {
2127
2131
  }
2128
2132
  }
2129
2133
 
2130
- if (!current || dirty & /*pos, marginStyle, _style*/ 1282 && div_style_value !== (div_style_value = "" + /*pos*/ ctx[10] + " " + /*marginStyle*/ ctx[8] + " " + /*_style*/ ctx[1] + "")) {
2131
- attr(div, "style", div_style_value);
2134
+ if (!current || dirty & /*_style*/ 2) {
2135
+ attr(div0, "style", /*_style*/ ctx[1]);
2136
+ }
2137
+
2138
+ if (!current || dirty & /*pos, marginStyle*/ 1280 && div1_style_value !== (div1_style_value = "" + /*pos*/ ctx[10] + " " + /*marginStyle*/ ctx[8] + "")) {
2139
+ attr(div1, "style", div1_style_value);
2132
2140
  }
2133
2141
  },
2134
2142
  i(local) {
2135
2143
  if (current) return;
2136
2144
  transition_in(default_slot, local);
2137
2145
 
2138
- if (!div_intro) {
2146
+ if (!div1_intro) {
2139
2147
  add_render_callback(() => {
2140
- div_intro = create_in_transition(div, customAnimation, {
2148
+ div1_intro = create_in_transition(div1, customAnimation, {
2141
2149
  transform: /*transform*/ ctx[9],
2142
2150
  animationStyle: /*animation*/ ctx[0]
2143
2151
  });
2144
2152
 
2145
- div_intro.start();
2153
+ div1_intro.start();
2146
2154
  });
2147
2155
  }
2148
2156
 
@@ -2153,17 +2161,17 @@ function create_if_block$1(ctx) {
2153
2161
  current = false;
2154
2162
  },
2155
2163
  d(detaching) {
2156
- if (detaching) detach(div);
2164
+ if (detaching) detach(div1);
2157
2165
  if (if_block) if_block.d();
2158
2166
  if (default_slot) default_slot.d(detaching);
2159
- /*div_binding*/ ctx[28](null);
2167
+ /*div1_binding*/ ctx[28](null);
2160
2168
  mounted = false;
2161
2169
  dispose();
2162
2170
  }
2163
2171
  };
2164
2172
  }
2165
2173
 
2166
- // (148:4) {#if closable}
2174
+ // (147:4) {#if closable}
2167
2175
  function create_if_block_1(ctx) {
2168
2176
  let button;
2169
2177
  let svg;
@@ -2349,7 +2357,7 @@ function instance$f($$self, $$props, $$invalidate) {
2349
2357
 
2350
2358
  onDestroy$1(() => setPreviousFocus());
2351
2359
 
2352
- function div_binding($$value) {
2360
+ function div1_binding($$value) {
2353
2361
  binding_callbacks[$$value ? 'unshift' : 'push'](() => {
2354
2362
  modal = $$value;
2355
2363
  $$invalidate(4, modal);
@@ -2481,7 +2489,7 @@ function instance$f($$self, $$props, $$invalidate) {
2481
2489
  backgroundClickFunction,
2482
2490
  $$scope,
2483
2491
  slots,
2484
- div_binding
2492
+ div1_binding
2485
2493
  ];
2486
2494
  }
2487
2495
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.101-27899225.9f75dc0a",
3
+ "version": "1.1.101-27901613.c1d620e9",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",