@plaidev/karte-action-sdk 1.1.242-28709689.708aea87 → 1.1.242-28714750.c2012c9b

Sign up to get free protection for your applications and to get access to all the features.
@@ -2382,19 +2382,19 @@ type PaddingProps = {
2382
2382
  paddingRight?: Properties["paddingRight"];
2383
2383
  };
2384
2384
  type RadiusProps = {
2385
- borderTopLeftRadius: Properties["borderTopLeftRadius"];
2386
- borderTopRightRadius: Properties["borderTopRightRadius"];
2387
- borderBottomLeftRadius: Properties["borderBottomLeftRadius"];
2388
- borderBottomRightRadius: Properties["borderBottomRightRadius"];
2385
+ borderTopLeftRadius?: Properties["borderTopLeftRadius"];
2386
+ borderTopRightRadius?: Properties["borderTopRightRadius"];
2387
+ borderBottomLeftRadius?: Properties["borderBottomLeftRadius"];
2388
+ borderBottomRightRadius?: Properties["borderBottomRightRadius"];
2389
2389
  };
2390
2390
  type BackgroundColorProps = {
2391
- backgroundColor: Properties["backgroundColor"];
2391
+ backgroundColor?: Properties["backgroundColor"];
2392
2392
  };
2393
2393
  type BackgroundImageProps = {
2394
- backgroundImageUrl: string;
2394
+ backgroundImageUrl?: string;
2395
2395
  };
2396
2396
  type ShadowProps = {
2397
- shadow: Properties["boxShadow"];
2397
+ shadow?: Properties["boxShadow"];
2398
2398
  };
2399
2399
  declare const AVATAR_SIZE: {
2400
2400
  readonly extra_small: "XS\uFF0848 x 48\uFF09";
@@ -2620,7 +2620,7 @@ declare const ICON_VARIANTS: {
2620
2620
  type IconProps = CommonProps & {
2621
2621
  variant: string;
2622
2622
  size?: keyof typeof ICON_SIZE;
2623
- color: string;
2623
+ color?: Properties$0["color"];
2624
2624
  width?: Properties$0["width"];
2625
2625
  height?: Properties$0["height"];
2626
2626
  };
@@ -13997,10 +13997,10 @@ const ICON_VARIANTS = {
13997
13997
  /* src/components-flex/icon/Icon.svelte generated by Svelte v3.53.1 */
13998
13998
 
13999
13999
  function add_css$8(target) {
14000
- append_styles(target, "svelte-1mx2edd", ".icon.svelte-1mx2edd{display:inline-flex;align-items:center;overflow:hidden;width:auto}");
14000
+ append_styles(target, "svelte-1ou0ruz", ".icon.svelte-1ou0ruz{display:flex;align-items:center;overflow:hidden;width:auto}");
14001
14001
  }
14002
14002
 
14003
- // (21:0) {#if (IconComponent)}
14003
+ // (20:0) {#if (IconComponent)}
14004
14004
  function create_if_block$5(ctx) {
14005
14005
  let div;
14006
14006
  let switch_instance;
@@ -14009,7 +14009,9 @@ function create_if_block$5(ctx) {
14009
14009
 
14010
14010
  function switch_props(ctx) {
14011
14011
  return {
14012
- props: { color: /*props*/ ctx[0].color ?? '#333' }
14012
+ props: {
14013
+ color: /*props*/ ctx[0].color ?? 'currentColor'
14014
+ }
14013
14015
  };
14014
14016
  }
14015
14017
 
@@ -14037,7 +14039,7 @@ function create_if_block$5(ctx) {
14037
14039
  },
14038
14040
  h() {
14039
14041
  attr(div, "data-layer-id", /*layerId*/ ctx[1]);
14040
- attr(div, "class", "icon svelte-1mx2edd");
14042
+ attr(div, "class", "icon svelte-1ou0ruz");
14041
14043
  attr(div, "style", /*style*/ ctx[3]);
14042
14044
  },
14043
14045
  m(target, anchor) {
@@ -14047,7 +14049,7 @@ function create_if_block$5(ctx) {
14047
14049
  },
14048
14050
  p(ctx, dirty) {
14049
14051
  const switch_instance_changes = {};
14050
- if (dirty & /*props*/ 1) switch_instance_changes.color = /*props*/ ctx[0].color ?? '#333';
14052
+ if (dirty & /*props*/ 1) switch_instance_changes.color = /*props*/ ctx[0].color ?? 'currentColor';
14051
14053
 
14052
14054
  if (switch_value !== (switch_value = /*IconComponent*/ ctx[2])) {
14053
14055
  if (switch_instance) {
@@ -14176,8 +14178,6 @@ function instance$8($$self, $$props, $$invalidate) {
14176
14178
  };
14177
14179
  };
14178
14180
 
14179
- console.log(props.color);
14180
-
14181
14181
  $$self.$$set = $$props => {
14182
14182
  if ('props' in $$props) $$invalidate(0, props = $$props.props);
14183
14183
  if ('layerId' in $$props) $$invalidate(1, layerId = $$props.layerId);
@@ -14374,7 +14374,7 @@ const BUTTON_VARIANTS = {
14374
14374
  /* src/components-flex/button/Button.svelte generated by Svelte v3.53.1 */
14375
14375
 
14376
14376
  function add_css$7(target) {
14377
- append_styles(target, "svelte-bo01kn", ".button.svelte-bo01kn{display:inline-flex;align-content:center;justify-content:center;gap:0.65em;cursor:pointer;outline:0;transition:background-color 0.12s, border-color 0.12s, color 0.12s}.button-icon.svelte-bo01kn{display:flex;align-items:center;justify-content:center;margin-left:-0.2em;margin-right:-0.2em}");
14377
+ append_styles(target, "svelte-cmn44g", ".button.svelte-cmn44g{display:inline-flex;align-content:center;justify-content:center;gap:0.8em;cursor:pointer;outline:0;transition:background-color 0.12s, border-color 0.12s, color 0.12s}.button-icon.svelte-cmn44g{display:flex;align-items:center;justify-content:center;margin-left:-0.2em;margin-right:-0.2em;margin-bottom:0.1em}");
14378
14378
  }
14379
14379
 
14380
14380
  // (45:2) {#if (props.isIcon && props.iconVariant)}
@@ -14387,7 +14387,9 @@ function create_if_block$4(ctx) {
14387
14387
  props: {
14388
14388
  props: {
14389
14389
  variant: /*props*/ ctx[0].iconVariant,
14390
- color: /*props*/ ctx[0].color ?? /*buttonThemeStyle*/ ctx[3].color
14390
+ color: /*props*/ ctx[0].color ?? /*buttonThemeStyle*/ ctx[3].color,
14391
+ width: '1em',
14392
+ height: '1em'
14391
14393
  }
14392
14394
  }
14393
14395
  });
@@ -14406,7 +14408,7 @@ function create_if_block$4(ctx) {
14406
14408
  this.h();
14407
14409
  },
14408
14410
  h() {
14409
- attr(div, "class", "button-icon svelte-bo01kn");
14411
+ attr(div, "class", "button-icon svelte-cmn44g");
14410
14412
  },
14411
14413
  m(target, anchor) {
14412
14414
  insert_hydration(target, div, anchor);
@@ -14418,7 +14420,9 @@ function create_if_block$4(ctx) {
14418
14420
 
14419
14421
  if (dirty & /*props*/ 1) icon_changes.props = {
14420
14422
  variant: /*props*/ ctx[0].iconVariant,
14421
- color: /*props*/ ctx[0].color ?? /*buttonThemeStyle*/ ctx[3].color
14423
+ color: /*props*/ ctx[0].color ?? /*buttonThemeStyle*/ ctx[3].color,
14424
+ width: '1em',
14425
+ height: '1em'
14422
14426
  };
14423
14427
 
14424
14428
  icon.$set(icon_changes);
@@ -14479,7 +14483,7 @@ function create_fragment$7(ctx) {
14479
14483
  h() {
14480
14484
  attr(button, "data-layer-id", /*layerId*/ ctx[1]);
14481
14485
  attr(button, "style", /*style*/ ctx[2]);
14482
- attr(button, "class", "button svelte-bo01kn");
14486
+ attr(button, "class", "button svelte-cmn44g");
14483
14487
  },
14484
14488
  m(target, anchor) {
14485
14489
  insert_hydration(target, button, anchor);
@@ -15283,7 +15287,7 @@ class CloseButton extends SvelteComponent {
15283
15287
  /* src/components-flex/image/Image.svelte generated by Svelte v3.53.1 */
15284
15288
 
15285
15289
  function add_css$4(target) {
15286
- append_styles(target, "svelte-52a988", ".image.svelte-52a988{max-width:100%;overflow:hidden;flex-shrink:0}.image-object.svelte-52a988{width:100%;overflow:hidden}.image-img.svelte-52a988{vertical-align:top;width:100%;height:100%;object-fit:cover;user-select:none}");
15290
+ append_styles(target, "svelte-180u8ho", ".image.svelte-180u8ho{max-width:100%;overflow:hidden;flex-shrink:0;display:flex;align-items:center;justify-content:center}.image-object.svelte-180u8ho{width:100%;overflow:hidden}.image-img.svelte-180u8ho{vertical-align:top;width:100%;height:100%;object-fit:cover;user-select:none}");
15287
15291
  }
15288
15292
 
15289
15293
  function create_fragment$4(ctx) {
@@ -15318,11 +15322,11 @@ function create_fragment$4(ctx) {
15318
15322
  h() {
15319
15323
  if (!src_url_equal(img.src, img_src_value = /*props*/ ctx[0].image)) attr(img, "src", img_src_value);
15320
15324
  attr(img, "alt", img_alt_value = /*props*/ ctx[0].alt);
15321
- attr(img, "class", "image-img svelte-52a988");
15325
+ attr(img, "class", "image-img svelte-180u8ho");
15322
15326
  attr(object, "style", /*objectStyle*/ ctx[2]);
15323
- attr(object, "class", "image-object svelte-52a988");
15327
+ attr(object, "class", "image-object svelte-180u8ho");
15324
15328
  attr(div, "data-layer-id", /*layerId*/ ctx[1]);
15325
- attr(div, "class", "image svelte-52a988");
15329
+ attr(div, "class", "image svelte-180u8ho");
15326
15330
  attr(div, "style", /*style*/ ctx[3]);
15327
15331
  },
15328
15332
  m(target, anchor) {
@@ -2382,19 +2382,19 @@ type PaddingProps = {
2382
2382
  paddingRight?: Properties["paddingRight"];
2383
2383
  };
2384
2384
  type RadiusProps = {
2385
- borderTopLeftRadius: Properties["borderTopLeftRadius"];
2386
- borderTopRightRadius: Properties["borderTopRightRadius"];
2387
- borderBottomLeftRadius: Properties["borderBottomLeftRadius"];
2388
- borderBottomRightRadius: Properties["borderBottomRightRadius"];
2385
+ borderTopLeftRadius?: Properties["borderTopLeftRadius"];
2386
+ borderTopRightRadius?: Properties["borderTopRightRadius"];
2387
+ borderBottomLeftRadius?: Properties["borderBottomLeftRadius"];
2388
+ borderBottomRightRadius?: Properties["borderBottomRightRadius"];
2389
2389
  };
2390
2390
  type BackgroundColorProps = {
2391
- backgroundColor: Properties["backgroundColor"];
2391
+ backgroundColor?: Properties["backgroundColor"];
2392
2392
  };
2393
2393
  type BackgroundImageProps = {
2394
- backgroundImageUrl: string;
2394
+ backgroundImageUrl?: string;
2395
2395
  };
2396
2396
  type ShadowProps = {
2397
- shadow: Properties["boxShadow"];
2397
+ shadow?: Properties["boxShadow"];
2398
2398
  };
2399
2399
  declare const AVATAR_SIZE: {
2400
2400
  readonly extra_small: "XS\uFF0848 x 48\uFF09";
@@ -2620,7 +2620,7 @@ declare const ICON_VARIANTS: {
2620
2620
  type IconProps = CommonProps & {
2621
2621
  variant: string;
2622
2622
  size?: keyof typeof ICON_SIZE;
2623
- color: string;
2623
+ color?: Properties$0["color"];
2624
2624
  width?: Properties$0["width"];
2625
2625
  height?: Properties$0["height"];
2626
2626
  };
package/dist/index.es.js CHANGED
@@ -13002,10 +13002,10 @@ const ICON_VARIANTS = {
13002
13002
  /* src/components-flex/icon/Icon.svelte generated by Svelte v3.53.1 */
13003
13003
 
13004
13004
  function add_css$8(target) {
13005
- append_styles(target, "svelte-1mx2edd", ".icon.svelte-1mx2edd{display:inline-flex;align-items:center;overflow:hidden;width:auto}");
13005
+ append_styles(target, "svelte-1ou0ruz", ".icon.svelte-1ou0ruz{display:flex;align-items:center;overflow:hidden;width:auto}");
13006
13006
  }
13007
13007
 
13008
- // (21:0) {#if (IconComponent)}
13008
+ // (20:0) {#if (IconComponent)}
13009
13009
  function create_if_block$5(ctx) {
13010
13010
  let div;
13011
13011
  let switch_instance;
@@ -13014,7 +13014,9 @@ function create_if_block$5(ctx) {
13014
13014
 
13015
13015
  function switch_props(ctx) {
13016
13016
  return {
13017
- props: { color: /*props*/ ctx[0].color ?? '#333' }
13017
+ props: {
13018
+ color: /*props*/ ctx[0].color ?? 'currentColor'
13019
+ }
13018
13020
  };
13019
13021
  }
13020
13022
 
@@ -13027,7 +13029,7 @@ function create_if_block$5(ctx) {
13027
13029
  div = element("div");
13028
13030
  if (switch_instance) create_component(switch_instance.$$.fragment);
13029
13031
  attr(div, "data-layer-id", /*layerId*/ ctx[1]);
13030
- attr(div, "class", "icon svelte-1mx2edd");
13032
+ attr(div, "class", "icon svelte-1ou0ruz");
13031
13033
  attr(div, "style", /*style*/ ctx[3]);
13032
13034
  },
13033
13035
  m(target, anchor) {
@@ -13037,7 +13039,7 @@ function create_if_block$5(ctx) {
13037
13039
  },
13038
13040
  p(ctx, dirty) {
13039
13041
  const switch_instance_changes = {};
13040
- if (dirty & /*props*/ 1) switch_instance_changes.color = /*props*/ ctx[0].color ?? '#333';
13042
+ if (dirty & /*props*/ 1) switch_instance_changes.color = /*props*/ ctx[0].color ?? 'currentColor';
13041
13043
 
13042
13044
  if (switch_value !== (switch_value = /*IconComponent*/ ctx[2])) {
13043
13045
  if (switch_instance) {
@@ -13162,8 +13164,6 @@ function instance$8($$self, $$props, $$invalidate) {
13162
13164
  };
13163
13165
  };
13164
13166
 
13165
- console.log(props.color);
13166
-
13167
13167
  $$self.$$set = $$props => {
13168
13168
  if ('props' in $$props) $$invalidate(0, props = $$props.props);
13169
13169
  if ('layerId' in $$props) $$invalidate(1, layerId = $$props.layerId);
@@ -13360,7 +13360,7 @@ const BUTTON_VARIANTS = {
13360
13360
  /* src/components-flex/button/Button.svelte generated by Svelte v3.53.1 */
13361
13361
 
13362
13362
  function add_css$7(target) {
13363
- append_styles(target, "svelte-bo01kn", ".button.svelte-bo01kn{display:inline-flex;align-content:center;justify-content:center;gap:0.65em;cursor:pointer;outline:0;transition:background-color 0.12s, border-color 0.12s, color 0.12s}.button-icon.svelte-bo01kn{display:flex;align-items:center;justify-content:center;margin-left:-0.2em;margin-right:-0.2em}");
13363
+ append_styles(target, "svelte-cmn44g", ".button.svelte-cmn44g{display:inline-flex;align-content:center;justify-content:center;gap:0.8em;cursor:pointer;outline:0;transition:background-color 0.12s, border-color 0.12s, color 0.12s}.button-icon.svelte-cmn44g{display:flex;align-items:center;justify-content:center;margin-left:-0.2em;margin-right:-0.2em;margin-bottom:0.1em}");
13364
13364
  }
13365
13365
 
13366
13366
  // (45:2) {#if (props.isIcon && props.iconVariant)}
@@ -13373,7 +13373,9 @@ function create_if_block$4(ctx) {
13373
13373
  props: {
13374
13374
  props: {
13375
13375
  variant: /*props*/ ctx[0].iconVariant,
13376
- color: /*props*/ ctx[0].color ?? /*buttonThemeStyle*/ ctx[3].color
13376
+ color: /*props*/ ctx[0].color ?? /*buttonThemeStyle*/ ctx[3].color,
13377
+ width: '1em',
13378
+ height: '1em'
13377
13379
  }
13378
13380
  }
13379
13381
  });
@@ -13382,7 +13384,7 @@ function create_if_block$4(ctx) {
13382
13384
  c() {
13383
13385
  div = element("div");
13384
13386
  create_component(icon.$$.fragment);
13385
- attr(div, "class", "button-icon svelte-bo01kn");
13387
+ attr(div, "class", "button-icon svelte-cmn44g");
13386
13388
  },
13387
13389
  m(target, anchor) {
13388
13390
  insert(target, div, anchor);
@@ -13394,7 +13396,9 @@ function create_if_block$4(ctx) {
13394
13396
 
13395
13397
  if (dirty & /*props*/ 1) icon_changes.props = {
13396
13398
  variant: /*props*/ ctx[0].iconVariant,
13397
- color: /*props*/ ctx[0].color ?? /*buttonThemeStyle*/ ctx[3].color
13399
+ color: /*props*/ ctx[0].color ?? /*buttonThemeStyle*/ ctx[3].color,
13400
+ width: '1em',
13401
+ height: '1em'
13398
13402
  };
13399
13403
 
13400
13404
  icon.$set(icon_changes);
@@ -13435,7 +13439,7 @@ function create_fragment$7(ctx) {
13435
13439
  t1 = text(t1_value);
13436
13440
  attr(button, "data-layer-id", /*layerId*/ ctx[1]);
13437
13441
  attr(button, "style", /*style*/ ctx[2]);
13438
- attr(button, "class", "button svelte-bo01kn");
13442
+ attr(button, "class", "button svelte-cmn44g");
13439
13443
  },
13440
13444
  m(target, anchor) {
13441
13445
  insert(target, button, anchor);
@@ -14164,7 +14168,7 @@ class CloseButton extends SvelteComponent {
14164
14168
  /* src/components-flex/image/Image.svelte generated by Svelte v3.53.1 */
14165
14169
 
14166
14170
  function add_css$4(target) {
14167
- append_styles(target, "svelte-52a988", ".image.svelte-52a988{max-width:100%;overflow:hidden;flex-shrink:0}.image-object.svelte-52a988{width:100%;overflow:hidden}.image-img.svelte-52a988{vertical-align:top;width:100%;height:100%;object-fit:cover;user-select:none}");
14171
+ append_styles(target, "svelte-180u8ho", ".image.svelte-180u8ho{max-width:100%;overflow:hidden;flex-shrink:0;display:flex;align-items:center;justify-content:center}.image-object.svelte-180u8ho{width:100%;overflow:hidden}.image-img.svelte-180u8ho{vertical-align:top;width:100%;height:100%;object-fit:cover;user-select:none}");
14168
14172
  }
14169
14173
 
14170
14174
  function create_fragment$4(ctx) {
@@ -14181,11 +14185,11 @@ function create_fragment$4(ctx) {
14181
14185
  img = element("img");
14182
14186
  if (!src_url_equal(img.src, img_src_value = /*props*/ ctx[0].image)) attr(img, "src", img_src_value);
14183
14187
  attr(img, "alt", img_alt_value = /*props*/ ctx[0].alt);
14184
- attr(img, "class", "image-img svelte-52a988");
14188
+ attr(img, "class", "image-img svelte-180u8ho");
14185
14189
  attr(object, "style", /*objectStyle*/ ctx[2]);
14186
- attr(object, "class", "image-object svelte-52a988");
14190
+ attr(object, "class", "image-object svelte-180u8ho");
14187
14191
  attr(div, "data-layer-id", /*layerId*/ ctx[1]);
14188
- attr(div, "class", "image svelte-52a988");
14192
+ attr(div, "class", "image svelte-180u8ho");
14189
14193
  attr(div, "style", /*style*/ ctx[3]);
14190
14194
  },
14191
14195
  m(target, anchor) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.242-28709689.708aea87",
3
+ "version": "1.1.242-28714750.c2012c9b",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",