@plaidev/karte-action-sdk 1.1.157-28011607.f788fa7c → 1.1.157-28012652.34e3619d

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.
@@ -2510,18 +2510,6 @@ declare namespace widget {
2510
2510
  * @public
2511
2511
  */
2512
2512
  function loadGlobalStyle(href: string): Promise<any>;
2513
- /**
2514
- * {@link hashCode} generate hash with FNV-1a hash
2515
- *
2516
- * @param s - Inputed string
2517
- *
2518
- * @returns Hashed string
2519
- *
2520
- * @see https://stackoverflow.com/a/22429679
2521
- *
2522
- * @internal
2523
- */
2524
- function hashCode(s: string): string;
2525
2513
  // @internal
2526
2514
  function getCssVariables<Props extends _Props, Variables>(data: Writable<Props & Variables & ActionVariables & VariableQuery>): string;
2527
2515
  type _Props$0 = Props;
@@ -3939,7 +3939,7 @@ function create_fragment$r(ctx) {
3939
3939
  h() {
3940
3940
  attr(div0, "class", "grid-item-inner svelte-n7kdl3");
3941
3941
  attr(div1, "class", "grid-item svelte-n7kdl3");
3942
- attr(div1, "data-grid-item-id", /*id*/ ctx[0]);
3942
+ attr(div1, "data-grid-item-id", /*gridItemId*/ ctx[0]);
3943
3943
  attr(div1, "style", /*_style*/ ctx[1]);
3944
3944
  },
3945
3945
  m(target, anchor) {
@@ -3968,8 +3968,8 @@ function create_fragment$r(ctx) {
3968
3968
  }
3969
3969
  }
3970
3970
 
3971
- if (!current || dirty & /*id*/ 1) {
3972
- attr(div1, "data-grid-item-id", /*id*/ ctx[0]);
3971
+ if (!current || dirty & /*gridItemId*/ 1) {
3972
+ attr(div1, "data-grid-item-id", /*gridItemId*/ ctx[0]);
3973
3973
  }
3974
3974
 
3975
3975
  if (!current || dirty & /*_style*/ 2) {
@@ -4001,7 +4001,7 @@ function instance$r($$self, $$props, $$invalidate) {
4001
4001
  let { y2 } = $$props;
4002
4002
  let { z } = $$props;
4003
4003
  let { background = 'transparent' } = $$props;
4004
- let { id } = $$props;
4004
+ let { gridItemId } = $$props;
4005
4005
 
4006
4006
  onMount$1(() => {
4007
4007
  setMaximumZindex(z);
@@ -4014,7 +4014,7 @@ function instance$r($$self, $$props, $$invalidate) {
4014
4014
  if ('y2' in $$props) $$invalidate(5, y2 = $$props.y2);
4015
4015
  if ('z' in $$props) $$invalidate(6, z = $$props.z);
4016
4016
  if ('background' in $$props) $$invalidate(7, background = $$props.background);
4017
- if ('id' in $$props) $$invalidate(0, id = $$props.id);
4017
+ if ('gridItemId' in $$props) $$invalidate(0, gridItemId = $$props.gridItemId);
4018
4018
  if ('$$scope' in $$props) $$invalidate(8, $$scope = $$props.$$scope);
4019
4019
  };
4020
4020
 
@@ -4030,7 +4030,7 @@ function instance$r($$self, $$props, $$invalidate) {
4030
4030
  }
4031
4031
  };
4032
4032
 
4033
- return [id, _style, x1, x2, y1, y2, z, background, $$scope, slots];
4033
+ return [gridItemId, _style, x1, x2, y1, y2, z, background, $$scope, slots];
4034
4034
  }
4035
4035
 
4036
4036
  class GridItem extends SvelteComponent {
@@ -4050,7 +4050,7 @@ class GridItem extends SvelteComponent {
4050
4050
  y2: 5,
4051
4051
  z: 6,
4052
4052
  background: 7,
4053
- id: 0
4053
+ gridItemId: 0
4054
4054
  },
4055
4055
  add_css$p
4056
4056
  );
@@ -2510,18 +2510,6 @@ declare namespace widget {
2510
2510
  * @public
2511
2511
  */
2512
2512
  function loadGlobalStyle(href: string): Promise<any>;
2513
- /**
2514
- * {@link hashCode} generate hash with FNV-1a hash
2515
- *
2516
- * @param s - Inputed string
2517
- *
2518
- * @returns Hashed string
2519
- *
2520
- * @see https://stackoverflow.com/a/22429679
2521
- *
2522
- * @internal
2523
- */
2524
- function hashCode(s: string): string;
2525
2513
  // @internal
2526
2514
  function getCssVariables<Props extends _Props, Variables>(data: Writable<Props & Variables & ActionVariables & VariableQuery>): string;
2527
2515
  type _Props$0 = Props;
package/dist/index.es.js CHANGED
@@ -3866,7 +3866,7 @@ function create_fragment$r(ctx) {
3866
3866
  if (default_slot) default_slot.c();
3867
3867
  attr(div0, "class", "grid-item-inner svelte-n7kdl3");
3868
3868
  attr(div1, "class", "grid-item svelte-n7kdl3");
3869
- attr(div1, "data-grid-item-id", /*id*/ ctx[0]);
3869
+ attr(div1, "data-grid-item-id", /*gridItemId*/ ctx[0]);
3870
3870
  attr(div1, "style", /*_style*/ ctx[1]);
3871
3871
  },
3872
3872
  m(target, anchor) {
@@ -3895,8 +3895,8 @@ function create_fragment$r(ctx) {
3895
3895
  }
3896
3896
  }
3897
3897
 
3898
- if (!current || dirty & /*id*/ 1) {
3899
- attr(div1, "data-grid-item-id", /*id*/ ctx[0]);
3898
+ if (!current || dirty & /*gridItemId*/ 1) {
3899
+ attr(div1, "data-grid-item-id", /*gridItemId*/ ctx[0]);
3900
3900
  }
3901
3901
 
3902
3902
  if (!current || dirty & /*_style*/ 2) {
@@ -3928,7 +3928,7 @@ function instance$r($$self, $$props, $$invalidate) {
3928
3928
  let { y2 } = $$props;
3929
3929
  let { z } = $$props;
3930
3930
  let { background = 'transparent' } = $$props;
3931
- let { id } = $$props;
3931
+ let { gridItemId } = $$props;
3932
3932
 
3933
3933
  onMount$1(() => {
3934
3934
  setMaximumZindex(z);
@@ -3941,7 +3941,7 @@ function instance$r($$self, $$props, $$invalidate) {
3941
3941
  if ('y2' in $$props) $$invalidate(5, y2 = $$props.y2);
3942
3942
  if ('z' in $$props) $$invalidate(6, z = $$props.z);
3943
3943
  if ('background' in $$props) $$invalidate(7, background = $$props.background);
3944
- if ('id' in $$props) $$invalidate(0, id = $$props.id);
3944
+ if ('gridItemId' in $$props) $$invalidate(0, gridItemId = $$props.gridItemId);
3945
3945
  if ('$$scope' in $$props) $$invalidate(8, $$scope = $$props.$$scope);
3946
3946
  };
3947
3947
 
@@ -3957,7 +3957,7 @@ function instance$r($$self, $$props, $$invalidate) {
3957
3957
  }
3958
3958
  };
3959
3959
 
3960
- return [id, _style, x1, x2, y1, y2, z, background, $$scope, slots];
3960
+ return [gridItemId, _style, x1, x2, y1, y2, z, background, $$scope, slots];
3961
3961
  }
3962
3962
 
3963
3963
  class GridItem extends SvelteComponent {
@@ -3977,7 +3977,7 @@ class GridItem extends SvelteComponent {
3977
3977
  y2: 5,
3978
3978
  z: 6,
3979
3979
  background: 7,
3980
- id: 0
3980
+ gridItemId: 0
3981
3981
  },
3982
3982
  add_css$p
3983
3983
  );
@@ -19,6 +19,7 @@ import { writable } from 'svelte/store';
19
19
  import {
20
20
  state,
21
21
  variables as actionVariables,
22
+ eventHandlers as actionEventHandlers,
22
23
  getCssVariables,
23
24
  State,
24
25
  StateItem,
@@ -70,7 +71,7 @@ $: {
70
71
 
71
72
  $: {
72
73
  data.update(current => {
73
- return { ...current, ...$actionVariables };
74
+ return { ...current, ...$actionVariables, ...$actionEventHandlers };
74
75
  });
75
76
  }
76
77
 
package/dist/templates.js CHANGED
@@ -17,6 +17,7 @@ import { writable } from 'svelte/store';
17
17
  import {
18
18
  state,
19
19
  variables as actionVariables,
20
+ eventHandlers as actionEventHandlers,
20
21
  getCssVariables,
21
22
  State,
22
23
  StateItem,
@@ -68,7 +69,7 @@ $: {
68
69
 
69
70
  $: {
70
71
  data.update(current => {
71
- return { ...current, ...$actionVariables };
72
+ return { ...current, ...$actionVariables, ...$actionEventHandlers };
72
73
  });
73
74
  }
74
75
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.157-28011607.f788fa7c",
3
+ "version": "1.1.157-28012652.34e3619d",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",