@plaidev/karte-action-sdk 1.0.38 → 1.0.41

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.
Files changed (2) hide show
  1. package/dist/index.es.js +31 -21
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -873,7 +873,7 @@ function add_css$6(target) {
873
873
  append_styles(target, "svelte-1bxl6mz", ".modal.svelte-1bxl6mz{position:fixed;box-sizing:border-box;z-index:2147483647}.close.svelte-1bxl6mz{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-1bxl6mz:hover{transform:rotate(90deg)}");
874
874
  }
875
875
 
876
- // (116:4) {#if closable}
876
+ // (130:4) {#if closable}
877
877
  function create_if_block(ctx) {
878
878
  let button;
879
879
  let svg;
@@ -925,7 +925,7 @@ function create_if_block(ctx) {
925
925
  };
926
926
  }
927
927
 
928
- // (103:0) <Animation {animation}>
928
+ // (117:0) <Animation {animation}>
929
929
  function create_default_slot$1(ctx) {
930
930
  let div;
931
931
  let t;
@@ -1120,7 +1120,10 @@ function instance$8($$self, $$props, $$invalidate) {
1120
1120
  let { closable = true } = $$props;
1121
1121
 
1122
1122
  /**
1123
- * {"title": {"ja": "イベントタイプ", "en": "Event Type"}, "folder": {"ja": "閉じるボタン", "en": "Close Button"}}
1123
+ * {
1124
+ * "title": {"ja": "タイプ", "en": "Type"},
1125
+ * "folder": {"ja": "閉じるボタン", "en": "Close Button"}
1126
+ * }
1124
1127
  */
1125
1128
  const dispatchClose = createEventDispatcher();
1126
1129
 
@@ -1417,7 +1420,7 @@ function create_default_slot_2(ctx) {
1417
1420
  };
1418
1421
  }
1419
1422
 
1420
- // (115:2) <Modal {placement} {animation} {closable} {closeButtonColor} {_closeStyle} _style={_modalStyle} {clickEventName} {clickEventValue} on:click={click} {closeEventName} {closeEventValue} on:close={close} >
1423
+ // (118:2) <Modal {placement} {animation} {closable} {closeButtonColor} {_closeStyle} _style={_modalStyle} {clickEventName} {clickEventValue} on:click={click} {closeEventName} {closeEventValue} on:close={close} >
1421
1424
  function create_default_slot_1(ctx) {
1422
1425
  let grid;
1423
1426
  let current;
@@ -1473,7 +1476,7 @@ function create_default_slot_1(ctx) {
1473
1476
  };
1474
1477
  }
1475
1478
 
1476
- // (114:0) <StateItem {path}>
1479
+ // (117:0) <StateItem {path}>
1477
1480
  function create_default_slot(ctx) {
1478
1481
  let modal;
1479
1482
  let current;
@@ -1706,27 +1709,31 @@ class GridModalState extends SvelteComponent {
1706
1709
  /* src/components/GridItem.svelte generated by Svelte v3.44.1 */
1707
1710
 
1708
1711
  function add_css$5(target) {
1709
- append_styles(target, "svelte-1pachgk", ".grid-item.svelte-1pachgk{word-break:break-all;overflow:hidden}");
1712
+ append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
1710
1713
  }
1711
1714
 
1712
1715
  function create_fragment$5(ctx) {
1713
- let div;
1716
+ let div1;
1717
+ let div0;
1714
1718
  let current;
1715
1719
  const default_slot_template = /*#slots*/ ctx[8].default;
1716
1720
  const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[7], null);
1717
1721
 
1718
1722
  return {
1719
1723
  c() {
1720
- div = element("div");
1724
+ div1 = element("div");
1725
+ div0 = element("div");
1721
1726
  if (default_slot) default_slot.c();
1722
- attr(div, "class", "grid-item svelte-1pachgk");
1723
- attr(div, "style", /*_style*/ ctx[0]);
1727
+ attr(div0, "class", "grid-item-inner svelte-n7kdl3");
1728
+ attr(div1, "class", "grid-item svelte-n7kdl3");
1729
+ attr(div1, "style", /*_style*/ ctx[0]);
1724
1730
  },
1725
1731
  m(target, anchor) {
1726
- insert(target, div, anchor);
1732
+ insert(target, div1, anchor);
1733
+ append(div1, div0);
1727
1734
 
1728
1735
  if (default_slot) {
1729
- default_slot.m(div, null);
1736
+ default_slot.m(div0, null);
1730
1737
  }
1731
1738
 
1732
1739
  current = true;
@@ -1748,7 +1755,7 @@ function create_fragment$5(ctx) {
1748
1755
  }
1749
1756
 
1750
1757
  if (!current || dirty & /*_style*/ 1) {
1751
- attr(div, "style", /*_style*/ ctx[0]);
1758
+ attr(div1, "style", /*_style*/ ctx[0]);
1752
1759
  }
1753
1760
  },
1754
1761
  i(local) {
@@ -1761,7 +1768,7 @@ function create_fragment$5(ctx) {
1761
1768
  current = false;
1762
1769
  },
1763
1770
  d(detaching) {
1764
- if (detaching) detach(div);
1771
+ if (detaching) detach(div1);
1765
1772
  if (default_slot) default_slot.d(detaching);
1766
1773
  }
1767
1774
  };
@@ -2174,8 +2181,8 @@ function instance$1($$self, $$props, $$invalidate) {
2174
2181
 
2175
2182
  /**
2176
2183
  * {
2177
- * "title": {"ja": "イベントタイプ", "en": "Event Type"},
2178
- * "folder": {"ja": "クリックイベント", "en": "Click Event"}
2184
+ * "title": {"ja": "タイプ", "en": "Type"},
2185
+ * "folder": {"ja": "クリック時の動作", "en": "Behavior to Click"}
2179
2186
  * }
2180
2187
  */
2181
2188
  const dispatch = createEventDispatcher();
@@ -2226,7 +2233,7 @@ class TextButtonBlock extends SvelteComponent {
2226
2233
  /* src/components/ImageBlock.svelte generated by Svelte v3.44.1 */
2227
2234
 
2228
2235
  function add_css(target) {
2229
- append_styles(target, "svelte-ci8ktf", ".image-block.svelte-ci8ktf{display:flex;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;overflow:hidden;box-sizing:border-box}.image.svelte-ci8ktf{width:100%;height:100%}.transport.svelte-ci8ktf:hover,.transport.svelte-ci8ktf:focus{opacity:.75;box-shadow:0 5px 16px rgba(0,0,0,.1), 0 8px 28px rgba(0,0,0,.16)}");
2236
+ append_styles(target, "svelte-wa67vf", ".image-block.svelte-wa67vf{display:flex;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;overflow:hidden;box-sizing:border-box}.image.svelte-wa67vf{width:100%;height:100%}.transport.svelte-wa67vf:hover,.transport.svelte-wa67vf:focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}");
2230
2237
  }
2231
2238
 
2232
2239
  function create_fragment(ctx) {
@@ -2241,14 +2248,14 @@ function create_fragment(ctx) {
2241
2248
  c() {
2242
2249
  div = element("div");
2243
2250
  img = element("img");
2244
- attr(img, "class", "image svelte-ci8ktf");
2251
+ attr(img, "class", "image svelte-wa67vf");
2245
2252
  attr(img, "loading", "lazy");
2246
2253
  attr(img, "width", "auto");
2247
2254
  attr(img, "height", "auto");
2248
2255
  attr(img, "style", /*_imageStyle*/ ctx[3]);
2249
2256
  if (!src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) attr(img, "src", img_src_value);
2250
2257
  attr(img, "alt", /*alt*/ ctx[1]);
2251
- attr(div, "class", div_class_value = "" + (null_to_empty("image-block" + (/*transport*/ ctx[2] ? " transport" : "")) + " svelte-ci8ktf"));
2258
+ attr(div, "class", div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-wa67vf"));
2252
2259
  attr(div, "style", /*_style*/ ctx[4]);
2253
2260
  },
2254
2261
  m(target, anchor) {
@@ -2273,7 +2280,7 @@ function create_fragment(ctx) {
2273
2280
  attr(img, "alt", /*alt*/ ctx[1]);
2274
2281
  }
2275
2282
 
2276
- if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty("image-block" + (/*transport*/ ctx[2] ? " transport" : "")) + " svelte-ci8ktf"))) {
2283
+ if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-wa67vf"))) {
2277
2284
  attr(div, "class", div_class_value);
2278
2285
  }
2279
2286
 
@@ -2297,7 +2304,10 @@ function instance($$self, $$props, $$invalidate) {
2297
2304
  let { transport = false } = $$props;
2298
2305
 
2299
2306
  /**
2300
- * {"title": {"ja": "イベントタイプ", "en": "Event Type"}, "folder": {"ja": "クリックイベント", "en": "Click Event"}}
2307
+ * {
2308
+ * "title": {"ja": "タイプ", "en": "Type"},
2309
+ * "folder": {"ja": "クリック時の動作", "en": "Behavior to Click"}
2310
+ * }
2301
2311
  */
2302
2312
  const dispatch = createEventDispatcher();
2303
2313
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.0.38",
3
+ "version": "1.0.41",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",