@plaidev/karte-action-sdk 1.1.244-28734218.eb9717d0 → 1.1.244-28734528.818b8adc

Sign up to get free protection for your applications and to get access to all the features.
@@ -3985,7 +3985,7 @@ function add_css$A(target) {
3985
3985
  append_styles(target, "svelte-1ijkyzl", ".modal.svelte-1ijkyzl{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-1ijkyzl > .button{flex:auto;display:flex}.close.svelte-1ijkyzl{position:absolute;top:0;right:0}.close.svelte-1ijkyzl > .button{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-1ijkyzl > .button:hover{transform:rotate(90deg)}.modal-content.svelte-1ijkyzl{flex:auto;display:flex;justify-content:center;align-items:center;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}@media screen and (min-width: 641px){.modal-bp.svelte-1ijkyzl{height:var(--modal-bp-height-pc) !important;width:var(--modal-bp-width-pc) !important;top:var(--modal-bp-top-pc) !important;left:var(--modal-bp-left-pc) !important;bottom:var(--modal-bp-bottom-pc) !important;right:var(--modal-bp-right-pc) !important;transform:var(--modal-bp-transform-pc);margin:var(--modal-bp-margin-pc) !important}.background-bp-pc{display:block}.background-bp-sp{display:none}}@media screen and (max-width: 640px){.modal-bp.svelte-1ijkyzl{height:var(--modal-bp-height-sp) !important;width:var(--modal-bp-width-sp) !important;top:var(--modal-bp-top-sp) !important;left:var(--modal-bp-left-sp) !important;bottom:var(--modal-bp-bottom-sp) !important;right:var(--modal-bp-right-sp) !important;transform:var(--modal-bp-transform-sp);margin:var(--modal-bp-margin-sp) !important}.background-bp-pc{display:none}.background-bp-sp{display:block}}");
3986
3986
  }
3987
3987
 
3988
- // (277:0) {:else}
3988
+ // (278:0) {:else}
3989
3989
  function create_else_block$5(ctx) {
3990
3990
  let backgroundoverlay;
3991
3991
  let current;
@@ -4032,7 +4032,7 @@ function create_else_block$5(ctx) {
4032
4032
  };
4033
4033
  }
4034
4034
 
4035
- // (266:24)
4035
+ // (267:24)
4036
4036
  function create_if_block_3(ctx) {
4037
4037
  let backgroundoverlay0;
4038
4038
  let t;
@@ -4106,7 +4106,7 @@ function create_if_block_3(ctx) {
4106
4106
  };
4107
4107
  }
4108
4108
 
4109
- // (264:0) {#if isPreview()}
4109
+ // (265:0) {#if isPreview()}
4110
4110
  function create_if_block_2$1(ctx) {
4111
4111
  return {
4112
4112
  c: noop,
@@ -4119,7 +4119,7 @@ function create_if_block_2$1(ctx) {
4119
4119
  };
4120
4120
  }
4121
4121
 
4122
- // (280:0) {#if visible}
4122
+ // (281:0) {#if visible}
4123
4123
  function create_if_block$c(ctx) {
4124
4124
  let div;
4125
4125
  let button;
@@ -4214,7 +4214,7 @@ function create_if_block$c(ctx) {
4214
4214
  };
4215
4215
  }
4216
4216
 
4217
- // (293:6) {#if closable}
4217
+ // (294:6) {#if closable}
4218
4218
  function create_if_block_1$3(ctx) {
4219
4219
  let div;
4220
4220
  let button;
@@ -4286,7 +4286,7 @@ function create_if_block_1$3(ctx) {
4286
4286
  };
4287
4287
  }
4288
4288
 
4289
- // (295:10) <Button onClick={onClose} style={_closeStyle} eventName={closeEventName} eventValue={closeEventValue} >
4289
+ // (296:10) <Button onClick={onClose} style={_closeStyle} eventName={closeEventName} eventValue={closeEventValue} >
4290
4290
  function create_default_slot_1$1(ctx) {
4291
4291
  let svg;
4292
4292
  let path;
@@ -4343,7 +4343,7 @@ function create_default_slot_1$1(ctx) {
4343
4343
  };
4344
4344
  }
4345
4345
 
4346
- // (292:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
4346
+ // (293:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
4347
4347
  function create_default_slot$b(ctx) {
4348
4348
  let t;
4349
4349
  let div;
@@ -4598,8 +4598,9 @@ function instance$17($$self, $$props, $$invalidate) {
4598
4598
  let { _closeStyle = '' } = $$props;
4599
4599
 
4600
4600
  // モーダル背景の設定
4601
- let backgroundOverlay = DefaultModalPlacement.backgroundOverlay;
4601
+ placement && placement.backgroundOverlay !== undefined;
4602
4602
 
4603
+ let backgroundOverlay = DefaultModalPlacement.backgroundOverlay;
4603
4604
  let backgroundOverlayPC = DefaultModalPlacement.backgroundOverlay;
4604
4605
  let backgroundOverlaySP = DefaultModalPlacement.backgroundOverlay;
4605
4606
 
package/dist/index.es.js CHANGED
@@ -4011,7 +4011,7 @@ function add_css$A(target) {
4011
4011
  append_styles(target, "svelte-1ijkyzl", ".modal.svelte-1ijkyzl{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-1ijkyzl > .button{flex:auto;display:flex}.close.svelte-1ijkyzl{position:absolute;top:0;right:0}.close.svelte-1ijkyzl > .button{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-1ijkyzl > .button:hover{transform:rotate(90deg)}.modal-content.svelte-1ijkyzl{flex:auto;display:flex;justify-content:center;align-items:center;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}@media screen and (min-width: 641px){.modal-bp.svelte-1ijkyzl{height:var(--modal-bp-height-pc) !important;width:var(--modal-bp-width-pc) !important;top:var(--modal-bp-top-pc) !important;left:var(--modal-bp-left-pc) !important;bottom:var(--modal-bp-bottom-pc) !important;right:var(--modal-bp-right-pc) !important;transform:var(--modal-bp-transform-pc);margin:var(--modal-bp-margin-pc) !important}.background-bp-pc{display:block}.background-bp-sp{display:none}}@media screen and (max-width: 640px){.modal-bp.svelte-1ijkyzl{height:var(--modal-bp-height-sp) !important;width:var(--modal-bp-width-sp) !important;top:var(--modal-bp-top-sp) !important;left:var(--modal-bp-left-sp) !important;bottom:var(--modal-bp-bottom-sp) !important;right:var(--modal-bp-right-sp) !important;transform:var(--modal-bp-transform-sp);margin:var(--modal-bp-margin-sp) !important}.background-bp-pc{display:none}.background-bp-sp{display:block}}");
4012
4012
  }
4013
4013
 
4014
- // (277:0) {:else}
4014
+ // (278:0) {:else}
4015
4015
  function create_else_block$5(ctx) {
4016
4016
  let backgroundoverlay;
4017
4017
  let current;
@@ -4055,7 +4055,7 @@ function create_else_block$5(ctx) {
4055
4055
  };
4056
4056
  }
4057
4057
 
4058
- // (266:24)
4058
+ // (267:24)
4059
4059
  function create_if_block_3(ctx) {
4060
4060
  let backgroundoverlay0;
4061
4061
  let t;
@@ -4124,7 +4124,7 @@ function create_if_block_3(ctx) {
4124
4124
  };
4125
4125
  }
4126
4126
 
4127
- // (264:0) {#if isPreview()}
4127
+ // (265:0) {#if isPreview()}
4128
4128
  function create_if_block_2$1(ctx) {
4129
4129
  return {
4130
4130
  c: noop,
@@ -4136,7 +4136,7 @@ function create_if_block_2$1(ctx) {
4136
4136
  };
4137
4137
  }
4138
4138
 
4139
- // (280:0) {#if visible}
4139
+ // (281:0) {#if visible}
4140
4140
  function create_if_block$c(ctx) {
4141
4141
  let div;
4142
4142
  let button;
@@ -4215,7 +4215,7 @@ function create_if_block$c(ctx) {
4215
4215
  };
4216
4216
  }
4217
4217
 
4218
- // (293:6) {#if closable}
4218
+ // (294:6) {#if closable}
4219
4219
  function create_if_block_1$3(ctx) {
4220
4220
  let div;
4221
4221
  let button;
@@ -4277,7 +4277,7 @@ function create_if_block_1$3(ctx) {
4277
4277
  };
4278
4278
  }
4279
4279
 
4280
- // (295:10) <Button onClick={onClose} style={_closeStyle} eventName={closeEventName} eventValue={closeEventValue} >
4280
+ // (296:10) <Button onClick={onClose} style={_closeStyle} eventName={closeEventName} eventValue={closeEventValue} >
4281
4281
  function create_default_slot_1$1(ctx) {
4282
4282
  let svg;
4283
4283
  let path;
@@ -4310,7 +4310,7 @@ function create_default_slot_1$1(ctx) {
4310
4310
  };
4311
4311
  }
4312
4312
 
4313
- // (292:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
4313
+ // (293:4) <Button {onClick} eventName={clickEventName} eventValue={clickEventValue}>
4314
4314
  function create_default_slot$b(ctx) {
4315
4315
  let t;
4316
4316
  let div;
@@ -4547,8 +4547,9 @@ function instance$17($$self, $$props, $$invalidate) {
4547
4547
  let { _closeStyle = '' } = $$props;
4548
4548
 
4549
4549
  // モーダル背景の設定
4550
- let backgroundOverlay = DefaultModalPlacement.backgroundOverlay;
4550
+ const isExistBackgroundOverlayValue = placement && placement.backgroundOverlay !== undefined;
4551
4551
 
4552
+ let backgroundOverlay = DefaultModalPlacement.backgroundOverlay;
4552
4553
  let backgroundOverlayPC = DefaultModalPlacement.backgroundOverlay;
4553
4554
  let backgroundOverlaySP = DefaultModalPlacement.backgroundOverlay;
4554
4555
 
@@ -4609,7 +4610,7 @@ function instance$17($$self, $$props, $$invalidate) {
4609
4610
 
4610
4611
  if ($$self.$$.dirty[0] & /*placement, useBreakPoint, breakPoint*/ 50331656) {
4611
4612
  {
4612
- if (placement && placement.backgroundOverlay) {
4613
+ if (isExistBackgroundOverlayValue) {
4613
4614
  $$invalidate(12, backgroundOverlay = placement.backgroundOverlay);
4614
4615
  }
4615
4616
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.244-28734218.eb9717d0",
3
+ "version": "1.1.244-28734528.818b8adc",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",