@plaidev/karte-action-sdk 1.0.36 → 1.0.39
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/index.es.d.ts +3 -3
- package/dist/index.es.js +29 -16
- package/package.json +1 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -165,12 +165,12 @@ type ModalMargin = {
|
|
|
165
165
|
top?: string;
|
|
166
166
|
bottom?: string;
|
|
167
167
|
};
|
|
168
|
-
type ModalPlacement = {
|
|
168
|
+
type ModalPlacement<M = ModalMargin> = {
|
|
169
169
|
position?: ModalPosition;
|
|
170
|
-
margin?:
|
|
170
|
+
margin?: M;
|
|
171
171
|
backgroundOverlay?: boolean;
|
|
172
172
|
};
|
|
173
|
-
declare const DefaultModalPlacement: ModalPlacement
|
|
173
|
+
declare const DefaultModalPlacement: Required<ModalPlacement<Required<ModalMargin>>>;
|
|
174
174
|
type LongText = string;
|
|
175
175
|
type Url = string;
|
|
176
176
|
type Image = string;
|
package/dist/index.es.js
CHANGED
|
@@ -1706,27 +1706,31 @@ class GridModalState extends SvelteComponent {
|
|
|
1706
1706
|
/* src/components/GridItem.svelte generated by Svelte v3.44.1 */
|
|
1707
1707
|
|
|
1708
1708
|
function add_css$5(target) {
|
|
1709
|
-
append_styles(target, "svelte-
|
|
1709
|
+
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
1710
|
}
|
|
1711
1711
|
|
|
1712
1712
|
function create_fragment$5(ctx) {
|
|
1713
|
-
let
|
|
1713
|
+
let div1;
|
|
1714
|
+
let div0;
|
|
1714
1715
|
let current;
|
|
1715
1716
|
const default_slot_template = /*#slots*/ ctx[8].default;
|
|
1716
1717
|
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[7], null);
|
|
1717
1718
|
|
|
1718
1719
|
return {
|
|
1719
1720
|
c() {
|
|
1720
|
-
|
|
1721
|
+
div1 = element("div");
|
|
1722
|
+
div0 = element("div");
|
|
1721
1723
|
if (default_slot) default_slot.c();
|
|
1722
|
-
attr(
|
|
1723
|
-
attr(
|
|
1724
|
+
attr(div0, "class", "grid-item-inner svelte-n7kdl3");
|
|
1725
|
+
attr(div1, "class", "grid-item svelte-n7kdl3");
|
|
1726
|
+
attr(div1, "style", /*_style*/ ctx[0]);
|
|
1724
1727
|
},
|
|
1725
1728
|
m(target, anchor) {
|
|
1726
|
-
insert(target,
|
|
1729
|
+
insert(target, div1, anchor);
|
|
1730
|
+
append(div1, div0);
|
|
1727
1731
|
|
|
1728
1732
|
if (default_slot) {
|
|
1729
|
-
default_slot.m(
|
|
1733
|
+
default_slot.m(div0, null);
|
|
1730
1734
|
}
|
|
1731
1735
|
|
|
1732
1736
|
current = true;
|
|
@@ -1748,7 +1752,7 @@ function create_fragment$5(ctx) {
|
|
|
1748
1752
|
}
|
|
1749
1753
|
|
|
1750
1754
|
if (!current || dirty & /*_style*/ 1) {
|
|
1751
|
-
attr(
|
|
1755
|
+
attr(div1, "style", /*_style*/ ctx[0]);
|
|
1752
1756
|
}
|
|
1753
1757
|
},
|
|
1754
1758
|
i(local) {
|
|
@@ -1761,7 +1765,7 @@ function create_fragment$5(ctx) {
|
|
|
1761
1765
|
current = false;
|
|
1762
1766
|
},
|
|
1763
1767
|
d(detaching) {
|
|
1764
|
-
if (detaching) detach(
|
|
1768
|
+
if (detaching) detach(div1);
|
|
1765
1769
|
if (default_slot) default_slot.d(detaching);
|
|
1766
1770
|
}
|
|
1767
1771
|
};
|
|
@@ -2068,7 +2072,7 @@ function create_fragment$2(ctx) {
|
|
|
2068
2072
|
div0 = element("div");
|
|
2069
2073
|
attr(div0, "class", "text-block-inner svelte-1xf20ux");
|
|
2070
2074
|
attr(div1, "class", "text-block svelte-1xf20ux");
|
|
2071
|
-
attr(div1, "style", /*
|
|
2075
|
+
attr(div1, "style", /*style*/ ctx[1]);
|
|
2072
2076
|
},
|
|
2073
2077
|
m(target, anchor) {
|
|
2074
2078
|
insert(target, div1, anchor);
|
|
@@ -2077,8 +2081,8 @@ function create_fragment$2(ctx) {
|
|
|
2077
2081
|
},
|
|
2078
2082
|
p(ctx, [dirty]) {
|
|
2079
2083
|
if (dirty & /*text*/ 1 && raw_value !== (raw_value = toBr(/*text*/ ctx[0]) + "")) div0.innerHTML = raw_value;
|
|
2080
|
-
if (dirty & /*
|
|
2081
|
-
attr(div1, "style", /*
|
|
2084
|
+
if (dirty & /*style*/ 2) {
|
|
2085
|
+
attr(div1, "style", /*style*/ ctx[1]);
|
|
2082
2086
|
}
|
|
2083
2087
|
},
|
|
2084
2088
|
i: noop,
|
|
@@ -2090,21 +2094,30 @@ function create_fragment$2(ctx) {
|
|
|
2090
2094
|
}
|
|
2091
2095
|
|
|
2092
2096
|
function instance$2($$self, $$props, $$invalidate) {
|
|
2097
|
+
let style;
|
|
2093
2098
|
let { text = 'サンプルSample' } = $$props;
|
|
2094
|
-
let {
|
|
2099
|
+
let { _textStyle = 'font-size:12px;' } = $$props;
|
|
2100
|
+
let { _style = '' } = $$props;
|
|
2095
2101
|
|
|
2096
2102
|
$$self.$$set = $$props => {
|
|
2097
2103
|
if ('text' in $$props) $$invalidate(0, text = $$props.text);
|
|
2098
|
-
if ('
|
|
2104
|
+
if ('_textStyle' in $$props) $$invalidate(2, _textStyle = $$props._textStyle);
|
|
2105
|
+
if ('_style' in $$props) $$invalidate(3, _style = $$props._style);
|
|
2106
|
+
};
|
|
2107
|
+
|
|
2108
|
+
$$self.$$.update = () => {
|
|
2109
|
+
if ($$self.$$.dirty & /*_textStyle, _style*/ 12) {
|
|
2110
|
+
$$invalidate(1, style = [..._textStyle.split(';'), ..._style.split(';')].join(';'));
|
|
2111
|
+
}
|
|
2099
2112
|
};
|
|
2100
2113
|
|
|
2101
|
-
return [text, _style];
|
|
2114
|
+
return [text, style, _textStyle, _style];
|
|
2102
2115
|
}
|
|
2103
2116
|
|
|
2104
2117
|
class TextBlock extends SvelteComponent {
|
|
2105
2118
|
constructor(options) {
|
|
2106
2119
|
super();
|
|
2107
|
-
init(this, options, instance$2, create_fragment$2, safe_not_equal, { text: 0, _style:
|
|
2120
|
+
init(this, options, instance$2, create_fragment$2, safe_not_equal, { text: 0, _textStyle: 2, _style: 3 }, add_css$2);
|
|
2108
2121
|
}
|
|
2109
2122
|
}
|
|
2110
2123
|
|