@plaidev/karte-action-sdk 1.0.36 → 1.0.37
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 +17 -10
- 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
|
@@ -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-
|
|
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%}");
|
|
2058
2058
|
}
|
|
2059
2059
|
|
|
2060
2060
|
function create_fragment$2(ctx) {
|
|
@@ -2066,9 +2066,10 @@ 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-
|
|
2070
|
-
attr(
|
|
2071
|
-
attr(div1, "
|
|
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]);
|
|
2072
2073
|
},
|
|
2073
2074
|
m(target, anchor) {
|
|
2074
2075
|
insert(target, div1, anchor);
|
|
@@ -2077,8 +2078,12 @@ function create_fragment$2(ctx) {
|
|
|
2077
2078
|
},
|
|
2078
2079
|
p(ctx, [dirty]) {
|
|
2079
2080
|
if (dirty & /*text*/ 1 && raw_value !== (raw_value = toBr(/*text*/ ctx[0]) + "")) div0.innerHTML = raw_value;
|
|
2080
|
-
if (dirty & /*
|
|
2081
|
-
attr(
|
|
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]);
|
|
2082
2087
|
}
|
|
2083
2088
|
},
|
|
2084
2089
|
i: noop,
|
|
@@ -2091,20 +2096,22 @@ function create_fragment$2(ctx) {
|
|
|
2091
2096
|
|
|
2092
2097
|
function instance$2($$self, $$props, $$invalidate) {
|
|
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(1, _textStyle = $$props._textStyle);
|
|
2105
|
+
if ('_style' in $$props) $$invalidate(2, _style = $$props._style);
|
|
2099
2106
|
};
|
|
2100
2107
|
|
|
2101
|
-
return [text, _style];
|
|
2108
|
+
return [text, _textStyle, _style];
|
|
2102
2109
|
}
|
|
2103
2110
|
|
|
2104
2111
|
class TextBlock extends SvelteComponent {
|
|
2105
2112
|
constructor(options) {
|
|
2106
2113
|
super();
|
|
2107
|
-
init(this, options, instance$2, create_fragment$2, safe_not_equal, { text: 0,
|
|
2114
|
+
init(this, options, instance$2, create_fragment$2, safe_not_equal, { text: 0, _textStyle: 1, _style: 2 }, add_css$2);
|
|
2108
2115
|
}
|
|
2109
2116
|
}
|
|
2110
2117
|
|