@plaidev/karte-action-sdk 1.0.37 → 1.0.38

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 +17 -15
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -2054,7 +2054,7 @@ class FlexItem extends SvelteComponent {
2054
2054
  /* src/components/TextBlock.svelte generated by Svelte v3.44.1 */
2055
2055
 
2056
2056
  function add_css$2(target) {
2057
- append_styles(target, "svelte-sxonpr", ".text-block.svelte-sxonpr{display:flex;width:100%;height:100%;box-sizing:border-box}.text-block-inner.svelte-sxonpr{display:flex;width:100%;height:100%}");
2057
+ append_styles(target, "svelte-1xf20ux", ".text-block.svelte-1xf20ux{display:flex;width:100%;height:100%;box-sizing:border-box}.text-block-inner.svelte-1xf20ux{width:100%}");
2058
2058
  }
2059
2059
 
2060
2060
  function create_fragment$2(ctx) {
@@ -2066,10 +2066,9 @@ function create_fragment$2(ctx) {
2066
2066
  c() {
2067
2067
  div1 = element("div");
2068
2068
  div0 = element("div");
2069
- attr(div0, "class", "text-block-inner svelte-sxonpr");
2070
- attr(div0, "style", /*_textStyle*/ ctx[1]);
2071
- attr(div1, "class", "text-block svelte-sxonpr");
2072
- attr(div1, "style", /*_style*/ ctx[2]);
2069
+ attr(div0, "class", "text-block-inner svelte-1xf20ux");
2070
+ attr(div1, "class", "text-block svelte-1xf20ux");
2071
+ attr(div1, "style", /*style*/ ctx[1]);
2073
2072
  },
2074
2073
  m(target, anchor) {
2075
2074
  insert(target, div1, anchor);
@@ -2078,12 +2077,8 @@ function create_fragment$2(ctx) {
2078
2077
  },
2079
2078
  p(ctx, [dirty]) {
2080
2079
  if (dirty & /*text*/ 1 && raw_value !== (raw_value = toBr(/*text*/ ctx[0]) + "")) div0.innerHTML = raw_value;
2081
- if (dirty & /*_textStyle*/ 2) {
2082
- attr(div0, "style", /*_textStyle*/ ctx[1]);
2083
- }
2084
-
2085
- if (dirty & /*_style*/ 4) {
2086
- attr(div1, "style", /*_style*/ ctx[2]);
2080
+ if (dirty & /*style*/ 2) {
2081
+ attr(div1, "style", /*style*/ ctx[1]);
2087
2082
  }
2088
2083
  },
2089
2084
  i: noop,
@@ -2095,23 +2090,30 @@ function create_fragment$2(ctx) {
2095
2090
  }
2096
2091
 
2097
2092
  function instance$2($$self, $$props, $$invalidate) {
2093
+ let style;
2098
2094
  let { text = 'サンプルSample' } = $$props;
2099
2095
  let { _textStyle = 'font-size:12px;' } = $$props;
2100
2096
  let { _style = '' } = $$props;
2101
2097
 
2102
2098
  $$self.$$set = $$props => {
2103
2099
  if ('text' in $$props) $$invalidate(0, text = $$props.text);
2104
- if ('_textStyle' in $$props) $$invalidate(1, _textStyle = $$props._textStyle);
2105
- if ('_style' in $$props) $$invalidate(2, _style = $$props._style);
2100
+ if ('_textStyle' in $$props) $$invalidate(2, _textStyle = $$props._textStyle);
2101
+ if ('_style' in $$props) $$invalidate(3, _style = $$props._style);
2102
+ };
2103
+
2104
+ $$self.$$.update = () => {
2105
+ if ($$self.$$.dirty & /*_textStyle, _style*/ 12) {
2106
+ $$invalidate(1, style = [..._textStyle.split(';'), ..._style.split(';')].join(';'));
2107
+ }
2106
2108
  };
2107
2109
 
2108
- return [text, _textStyle, _style];
2110
+ return [text, style, _textStyle, _style];
2109
2111
  }
2110
2112
 
2111
2113
  class TextBlock extends SvelteComponent {
2112
2114
  constructor(options) {
2113
2115
  super();
2114
- init(this, options, instance$2, create_fragment$2, safe_not_equal, { text: 0, _textStyle: 1, _style: 2 }, add_css$2);
2116
+ init(this, options, instance$2, create_fragment$2, safe_not_equal, { text: 0, _textStyle: 2, _style: 3 }, add_css$2);
2115
2117
  }
2116
2118
  }
2117
2119
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",