@plaidev/karte-action-sdk 1.0.27 → 1.0.28
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.js +11 -7
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -700,7 +700,7 @@ function add_css$6(target) {
|
|
|
700
700
|
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)}");
|
|
701
701
|
}
|
|
702
702
|
|
|
703
|
-
// (
|
|
703
|
+
// (79:2) {#if closable}
|
|
704
704
|
function create_if_block(ctx) {
|
|
705
705
|
let button;
|
|
706
706
|
let svg;
|
|
@@ -864,6 +864,15 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
864
864
|
bottom: '0px'
|
|
865
865
|
} } = $$props;
|
|
866
866
|
|
|
867
|
+
const overwriteMargin = isPreview()
|
|
868
|
+
? {
|
|
869
|
+
left: '0px',
|
|
870
|
+
right: '0px',
|
|
871
|
+
top: '0px',
|
|
872
|
+
bottom: '0px'
|
|
873
|
+
}
|
|
874
|
+
: margin;
|
|
875
|
+
|
|
867
876
|
let { _style = '' } = $$props;
|
|
868
877
|
let { _closeStyle = '' } = $$props;
|
|
869
878
|
|
|
@@ -903,13 +912,8 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
903
912
|
if ('$$scope' in $$props) $$invalidate(14, $$scope = $$props.$$scope);
|
|
904
913
|
};
|
|
905
914
|
|
|
906
|
-
$$self.$$.update = () => {
|
|
907
|
-
if ($$self.$$.dirty & /*margin*/ 8192) {
|
|
908
|
-
$$invalidate(5, marginStyle = getMarginStyle(margin));
|
|
909
|
-
}
|
|
910
|
-
};
|
|
911
|
-
|
|
912
915
|
$$invalidate(6, pos = getPositionStyle(overwritePosition));
|
|
916
|
+
$$invalidate(5, marginStyle = getMarginStyle(overwriteMargin));
|
|
913
917
|
|
|
914
918
|
return [
|
|
915
919
|
closable,
|