@plaidev/karte-action-sdk 1.1.168 → 1.1.169-28029944.966f8917

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.
@@ -1,7 +1,7 @@
1
1
  import 'svelte/easing';
2
2
  import { writable, get } from 'svelte/store';
3
3
  import { onMount as onMount$1, onDestroy as onDestroy$1, beforeUpdate as beforeUpdate$1, afterUpdate as afterUpdate$1, tick as tick$1, setContext, getContext, createEventDispatcher } from 'svelte';
4
- import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, claim_component, claim_space, mount_component, insert_hydration, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, claim_element, children, attr, noop, listen, null_to_empty, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, claim_svg_element, append_hydration, destroy_each, text, claim_text, set_data, src_url_equal, HtmlTagHydration, claim_html_tag, construct_svelte_component } from 'svelte/internal';
4
+ import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, claim_component, claim_space, mount_component, insert_hydration, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, claim_element, children, attr, noop, listen, null_to_empty, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, claim_svg_element, append_hydration, destroy_each, text, claim_text, set_data, src_url_equal, HtmlTagHydration, claim_html_tag, construct_svelte_component, subscribe } from 'svelte/internal';
5
5
 
6
6
  /** @internal */
7
7
  const PropTypes = [
@@ -8946,7 +8946,7 @@ function create_fragment$6(ctx) {
8946
8946
  return {
8947
8947
  props: {
8948
8948
  name: /*name*/ ctx[0],
8949
- data: /*data*/ ctx[2]
8949
+ data: /*$data*/ ctx[4]
8950
8950
  }
8951
8951
  };
8952
8952
  }
@@ -8980,7 +8980,7 @@ function create_fragment$6(ctx) {
8980
8980
  p(ctx, [dirty]) {
8981
8981
  const switch_instance_changes = {};
8982
8982
  if (dirty & /*name*/ 1) switch_instance_changes.name = /*name*/ ctx[0];
8983
- if (dirty & /*data*/ 4) switch_instance_changes.data = /*data*/ ctx[2];
8983
+ if (dirty & /*$data*/ 16) switch_instance_changes.data = /*$data*/ ctx[4];
8984
8984
 
8985
8985
  if (switch_value !== (switch_value = /*component*/ ctx[1])) {
8986
8986
  if (switch_instance) {
@@ -9027,19 +9027,25 @@ function create_fragment$6(ctx) {
9027
9027
  }
9028
9028
 
9029
9029
  function instance$6($$self, $$props, $$invalidate) {
9030
+ let $data,
9031
+ $$unsubscribe_data = noop,
9032
+ $$subscribe_data = () => ($$unsubscribe_data(), $$unsubscribe_data = subscribe(data, $$value => $$invalidate(4, $data = $$value)), data);
9033
+
9034
+ $$self.$$.on_destroy.push(() => $$unsubscribe_data());
9030
9035
  let { name } = $$props;
9031
9036
  let { component } = $$props;
9032
9037
  let { data } = $$props;
9038
+ $$subscribe_data();
9033
9039
  let { style } = $$props;
9034
9040
 
9035
9041
  $$self.$$set = $$props => {
9036
9042
  if ('name' in $$props) $$invalidate(0, name = $$props.name);
9037
9043
  if ('component' in $$props) $$invalidate(1, component = $$props.component);
9038
- if ('data' in $$props) $$invalidate(2, data = $$props.data);
9044
+ if ('data' in $$props) $$subscribe_data($$invalidate(2, data = $$props.data));
9039
9045
  if ('style' in $$props) $$invalidate(3, style = $$props.style);
9040
9046
  };
9041
9047
 
9042
- return [name, component, data, style];
9048
+ return [name, component, data, style, $data];
9043
9049
  }
9044
9050
 
9045
9051
  class CodeElement extends SvelteComponent {
package/dist/icons.d.ts CHANGED
@@ -1,69 +1,109 @@
1
- declare const ICONS: {
2
- 'arrow-down': {
3
- solid: string;
4
- };
5
- 'arrow-left': {
6
- solid: string;
7
- };
8
- 'arrow-right': {
9
- solid: string;
10
- };
11
- 'arrow-up-right-from-square': {
12
- solid: string;
13
- };
14
- 'arrow-up': {
15
- solid: string;
16
- };
17
- bell: {
18
- solid: string;
19
- };
20
- 'cart-shopping': {
21
- solid: string;
22
- };
23
- check: {
24
- solid: string;
25
- };
26
- 'chevron-down': {
27
- solid: string;
28
- };
29
- 'chevron-left': {
30
- solid: string;
31
- };
32
- 'chevron-right': {
33
- solid: string;
34
- };
35
- 'chevron-up': {
36
- solid: string;
37
- };
38
- 'circle-question': {
39
- solid: string;
40
- };
41
- circle: {
42
- solid: string;
43
- };
44
- copy: {
45
- solid: string;
46
- };
47
- 'paper-plane': {
48
- solid: string;
49
- };
50
- ticket: {
51
- solid: string;
52
- };
53
- truck: {
54
- solid: string;
55
- };
56
- 'window-maximize': {
57
- solid: string;
58
- };
59
- 'window-minimize': {
60
- solid: string;
61
- };
62
- xmark: {
63
- solid: string;
64
- };
65
- };
66
- declare const ICON_COMPONENT_NAMES: string[];
1
+ declare const ICONS: readonly [{
2
+ readonly name: "arrow-down";
3
+ readonly type: "solid";
4
+ readonly component: "ArrowDownSolid";
5
+ readonly src: string;
6
+ }, {
7
+ readonly name: "arrow-left";
8
+ readonly type: "solid";
9
+ readonly component: "ArrowLeftSolid";
10
+ readonly src: string;
11
+ }, {
12
+ readonly name: "arrow-right";
13
+ readonly type: "solid";
14
+ readonly component: "ArrowRightSolid";
15
+ readonly src: string;
16
+ }, {
17
+ readonly name: "arrow-up-right-from-square";
18
+ readonly type: "solid";
19
+ readonly component: "ArrowUpRightFromSquareSolid";
20
+ readonly src: string;
21
+ }, {
22
+ readonly name: "arrow-up";
23
+ readonly type: "solid";
24
+ readonly component: "ArrowUpSolid";
25
+ readonly src: string;
26
+ }, {
27
+ readonly name: "bell";
28
+ readonly type: "solid";
29
+ readonly component: "BellSolid";
30
+ readonly src: string;
31
+ }, {
32
+ readonly name: "cart-shopping";
33
+ readonly type: "solid";
34
+ readonly component: "CartShoppingSolid";
35
+ readonly src: string;
36
+ }, {
37
+ readonly name: "check";
38
+ readonly type: "solid";
39
+ readonly component: "CheckSolid";
40
+ readonly src: string;
41
+ }, {
42
+ readonly name: "chevron-down";
43
+ readonly type: "solid";
44
+ readonly component: "ChevronDownSolid";
45
+ readonly src: string;
46
+ }, {
47
+ readonly name: "chevron-left";
48
+ readonly type: "solid";
49
+ readonly component: "ChevronLeftSolid";
50
+ readonly src: string;
51
+ }, {
52
+ readonly name: "chevron-right";
53
+ readonly type: "solid";
54
+ readonly component: "ChevronRightSolid";
55
+ readonly src: string;
56
+ }, {
57
+ readonly name: "chevron-up";
58
+ readonly type: "solid";
59
+ readonly component: "ChevronUpSolid";
60
+ readonly src: string;
61
+ }, {
62
+ readonly name: "circle-question";
63
+ readonly type: "solid";
64
+ readonly component: "CircleQuestionSolid";
65
+ readonly src: string;
66
+ }, {
67
+ readonly name: "circle";
68
+ readonly type: "solid";
69
+ readonly component: "CircleSolid";
70
+ readonly src: string;
71
+ }, {
72
+ readonly name: "copy";
73
+ readonly type: "solid";
74
+ readonly component: "CopySolid";
75
+ readonly src: string;
76
+ }, {
77
+ readonly name: "paper-plane";
78
+ readonly type: "solid";
79
+ readonly component: "PaperPlaneSolid";
80
+ readonly src: string;
81
+ }, {
82
+ readonly name: "ticket";
83
+ readonly type: "solid";
84
+ readonly component: "TicketSolid";
85
+ readonly src: string;
86
+ }, {
87
+ readonly name: "truck";
88
+ readonly type: "solid";
89
+ readonly component: "TruckSolid";
90
+ readonly src: string;
91
+ }, {
92
+ readonly name: "window-maximize";
93
+ readonly type: "solid";
94
+ readonly component: "WindowMaximizeSolid";
95
+ readonly src: string;
96
+ }, {
97
+ readonly name: "window-minimize";
98
+ readonly type: "solid";
99
+ readonly component: "WindowMinimizeSolid";
100
+ readonly src: string;
101
+ }, {
102
+ readonly name: "xmark";
103
+ readonly type: "solid";
104
+ readonly component: "XmarkSolid";
105
+ readonly src: string;
106
+ }];
67
107
  export { default as ArrowDownSolid } from './icons/solid/arrow-down.svg';
68
108
  export { default as ArrowLeftSolid } from './icons/solid/arrow-left.svg';
69
109
  export { default as ArrowRightSolid } from './icons/solid/arrow-right.svg';
@@ -85,4 +125,4 @@ export { default as TruckSolid } from './icons/solid/truck.svg';
85
125
  export { default as WindowMaximizeSolid } from './icons/solid/window-maximize.svg';
86
126
  export { default as WindowMinimizeSolid } from './icons/solid/window-minimize.svg';
87
127
  export { default as XmarkSolid } from './icons/solid/xmark.svg';
88
- export { ICONS, ICON_COMPONENT_NAMES };
128
+ export { ICONS };
package/dist/icons.js CHANGED
@@ -42,52 +42,133 @@ var img = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox=
42
42
 
43
43
  // This file was generated by 'update-icons.ts'. Don't edit this file manually!!!!!
44
44
  // @internal
45
- const ICONS = {
46
- 'arrow-down': { solid: 'ArrowDownSolid' },
47
- 'arrow-left': { solid: 'ArrowLeftSolid' },
48
- 'arrow-right': { solid: 'ArrowRightSolid' },
49
- 'arrow-up-right-from-square': { solid: 'ArrowUpRightFromSquareSolid' },
50
- 'arrow-up': { solid: 'ArrowUpSolid' },
51
- bell: { solid: 'BellSolid' },
52
- 'cart-shopping': { solid: 'CartShoppingSolid' },
53
- check: { solid: 'CheckSolid' },
54
- 'chevron-down': { solid: 'ChevronDownSolid' },
55
- 'chevron-left': { solid: 'ChevronLeftSolid' },
56
- 'chevron-right': { solid: 'ChevronRightSolid' },
57
- 'chevron-up': { solid: 'ChevronUpSolid' },
58
- 'circle-question': { solid: 'CircleQuestionSolid' },
59
- circle: { solid: 'CircleSolid' },
60
- copy: { solid: 'CopySolid' },
61
- 'paper-plane': { solid: 'PaperPlaneSolid' },
62
- ticket: { solid: 'TicketSolid' },
63
- truck: { solid: 'TruckSolid' },
64
- 'window-maximize': { solid: 'WindowMaximizeSolid' },
65
- 'window-minimize': { solid: 'WindowMinimizeSolid' },
66
- xmark: { solid: 'XmarkSolid' },
67
- };
68
- // @internal
69
- const ICON_COMPONENT_NAMES = [
70
- 'ArrowDownSolid',
71
- 'ArrowLeftSolid',
72
- 'ArrowRightSolid',
73
- 'ArrowUpRightFromSquareSolid',
74
- 'ArrowUpSolid',
75
- 'BellSolid',
76
- 'CartShoppingSolid',
77
- 'CheckSolid',
78
- 'ChevronDownSolid',
79
- 'ChevronLeftSolid',
80
- 'ChevronRightSolid',
81
- 'ChevronUpSolid',
82
- 'CircleQuestionSolid',
83
- 'CircleSolid',
84
- 'CopySolid',
85
- 'PaperPlaneSolid',
86
- 'TicketSolid',
87
- 'TruckSolid',
88
- 'WindowMaximizeSolid',
89
- 'WindowMinimizeSolid',
90
- 'XmarkSolid',
45
+ const ICONS = [
46
+ {
47
+ name: 'arrow-down',
48
+ type: 'solid',
49
+ component: 'ArrowDownSolid',
50
+ src: img$k,
51
+ },
52
+ {
53
+ name: 'arrow-left',
54
+ type: 'solid',
55
+ component: 'ArrowLeftSolid',
56
+ src: img$j,
57
+ },
58
+ {
59
+ name: 'arrow-right',
60
+ type: 'solid',
61
+ component: 'ArrowRightSolid',
62
+ src: img$i,
63
+ },
64
+ {
65
+ name: 'arrow-up-right-from-square',
66
+ type: 'solid',
67
+ component: 'ArrowUpRightFromSquareSolid',
68
+ src: img$h,
69
+ },
70
+ {
71
+ name: 'arrow-up',
72
+ type: 'solid',
73
+ component: 'ArrowUpSolid',
74
+ src: img$g,
75
+ },
76
+ {
77
+ name: 'bell',
78
+ type: 'solid',
79
+ component: 'BellSolid',
80
+ src: img$f,
81
+ },
82
+ {
83
+ name: 'cart-shopping',
84
+ type: 'solid',
85
+ component: 'CartShoppingSolid',
86
+ src: img$e,
87
+ },
88
+ {
89
+ name: 'check',
90
+ type: 'solid',
91
+ component: 'CheckSolid',
92
+ src: img$d,
93
+ },
94
+ {
95
+ name: 'chevron-down',
96
+ type: 'solid',
97
+ component: 'ChevronDownSolid',
98
+ src: img$c,
99
+ },
100
+ {
101
+ name: 'chevron-left',
102
+ type: 'solid',
103
+ component: 'ChevronLeftSolid',
104
+ src: img$b,
105
+ },
106
+ {
107
+ name: 'chevron-right',
108
+ type: 'solid',
109
+ component: 'ChevronRightSolid',
110
+ src: img$a,
111
+ },
112
+ {
113
+ name: 'chevron-up',
114
+ type: 'solid',
115
+ component: 'ChevronUpSolid',
116
+ src: img$9,
117
+ },
118
+ {
119
+ name: 'circle-question',
120
+ type: 'solid',
121
+ component: 'CircleQuestionSolid',
122
+ src: img$8,
123
+ },
124
+ {
125
+ name: 'circle',
126
+ type: 'solid',
127
+ component: 'CircleSolid',
128
+ src: img$7,
129
+ },
130
+ {
131
+ name: 'copy',
132
+ type: 'solid',
133
+ component: 'CopySolid',
134
+ src: img$6,
135
+ },
136
+ {
137
+ name: 'paper-plane',
138
+ type: 'solid',
139
+ component: 'PaperPlaneSolid',
140
+ src: img$5,
141
+ },
142
+ {
143
+ name: 'ticket',
144
+ type: 'solid',
145
+ component: 'TicketSolid',
146
+ src: img$4,
147
+ },
148
+ {
149
+ name: 'truck',
150
+ type: 'solid',
151
+ component: 'TruckSolid',
152
+ src: img$3,
153
+ },
154
+ {
155
+ name: 'window-maximize',
156
+ type: 'solid',
157
+ component: 'WindowMaximizeSolid',
158
+ src: img$2,
159
+ },
160
+ {
161
+ name: 'window-minimize',
162
+ type: 'solid',
163
+ component: 'WindowMinimizeSolid',
164
+ src: img$1,
165
+ },
166
+ {
167
+ name: 'xmark',
168
+ type: 'solid',
169
+ component: 'XmarkSolid',
170
+ src: img,
171
+ },
91
172
  ];
92
173
 
93
- export { img$k as ArrowDownSolid, img$j as ArrowLeftSolid, img$i as ArrowRightSolid, img$h as ArrowUpRightFromSquareSolid, img$g as ArrowUpSolid, img$f as BellSolid, img$e as CartShoppingSolid, img$d as CheckSolid, img$c as ChevronDownSolid, img$b as ChevronLeftSolid, img$a as ChevronRightSolid, img$9 as ChevronUpSolid, img$8 as CircleQuestionSolid, img$7 as CircleSolid, img$6 as CopySolid, ICONS, ICON_COMPONENT_NAMES, img$5 as PaperPlaneSolid, img$4 as TicketSolid, img$3 as TruckSolid, img$2 as WindowMaximizeSolid, img$1 as WindowMinimizeSolid, img as XmarkSolid };
174
+ export { img$k as ArrowDownSolid, img$j as ArrowLeftSolid, img$i as ArrowRightSolid, img$h as ArrowUpRightFromSquareSolid, img$g as ArrowUpSolid, img$f as BellSolid, img$e as CartShoppingSolid, img$d as CheckSolid, img$c as ChevronDownSolid, img$b as ChevronLeftSolid, img$a as ChevronRightSolid, img$9 as ChevronUpSolid, img$8 as CircleQuestionSolid, img$7 as CircleSolid, img$6 as CopySolid, ICONS, img$5 as PaperPlaneSolid, img$4 as TicketSolid, img$3 as TruckSolid, img$2 as WindowMaximizeSolid, img$1 as WindowMinimizeSolid, img as XmarkSolid };
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { linear, elasticOut, cubicOut } from 'svelte/easing';
2
2
  import { writable, get } from 'svelte/store';
3
3
  import { onMount as onMount$1, onDestroy as onDestroy$1, beforeUpdate as beforeUpdate$1, afterUpdate as afterUpdate$1, tick as tick$1, setContext, getContext, createEventDispatcher } from 'svelte';
4
- import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, mount_component, insert, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, attr, noop, listen, null_to_empty, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, append, destroy_each, text, set_data, src_url_equal, HtmlTag, construct_svelte_component } from 'svelte/internal';
4
+ import { SvelteComponent, init, safe_not_equal, append_styles, create_slot, create_component, space, mount_component, insert, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, detach, empty, group_outros, check_outros, component_subscribe, element, attr, noop, listen, null_to_empty, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, append, destroy_each, text, set_data, src_url_equal, HtmlTag, construct_svelte_component, subscribe } from 'svelte/internal';
5
5
 
6
6
  /** @internal */
7
7
  const PropTypes = [
@@ -8402,7 +8402,7 @@ function create_fragment$6(ctx) {
8402
8402
  return {
8403
8403
  props: {
8404
8404
  name: /*name*/ ctx[0],
8405
- data: /*data*/ ctx[2]
8405
+ data: /*$data*/ ctx[4]
8406
8406
  }
8407
8407
  };
8408
8408
  }
@@ -8426,7 +8426,7 @@ function create_fragment$6(ctx) {
8426
8426
  p(ctx, [dirty]) {
8427
8427
  const switch_instance_changes = {};
8428
8428
  if (dirty & /*name*/ 1) switch_instance_changes.name = /*name*/ ctx[0];
8429
- if (dirty & /*data*/ 4) switch_instance_changes.data = /*data*/ ctx[2];
8429
+ if (dirty & /*$data*/ 16) switch_instance_changes.data = /*$data*/ ctx[4];
8430
8430
 
8431
8431
  if (switch_value !== (switch_value = /*component*/ ctx[1])) {
8432
8432
  if (switch_instance) {
@@ -8473,19 +8473,25 @@ function create_fragment$6(ctx) {
8473
8473
  }
8474
8474
 
8475
8475
  function instance$6($$self, $$props, $$invalidate) {
8476
+ let $data,
8477
+ $$unsubscribe_data = noop,
8478
+ $$subscribe_data = () => ($$unsubscribe_data(), $$unsubscribe_data = subscribe(data, $$value => $$invalidate(4, $data = $$value)), data);
8479
+
8480
+ $$self.$$.on_destroy.push(() => $$unsubscribe_data());
8476
8481
  let { name } = $$props;
8477
8482
  let { component } = $$props;
8478
8483
  let { data } = $$props;
8484
+ $$subscribe_data();
8479
8485
  let { style } = $$props;
8480
8486
 
8481
8487
  $$self.$$set = $$props => {
8482
8488
  if ('name' in $$props) $$invalidate(0, name = $$props.name);
8483
8489
  if ('component' in $$props) $$invalidate(1, component = $$props.component);
8484
- if ('data' in $$props) $$invalidate(2, data = $$props.data);
8490
+ if ('data' in $$props) $$subscribe_data($$invalidate(2, data = $$props.data));
8485
8491
  if ('style' in $$props) $$invalidate(3, style = $$props.style);
8486
8492
  };
8487
8493
 
8488
- return [name, component, data, style];
8494
+ return [name, component, data, style, $data];
8489
8495
  }
8490
8496
 
8491
8497
  class CodeElement extends SvelteComponent {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.168",
3
+ "version": "1.1.169-28029944.966f8917",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",