@plaidev/karte-action-sdk 1.1.263-29017865.b826d7d2 → 1.1.263-29030812.2440f3a0

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 CHANGED
@@ -14038,7 +14038,7 @@ const getPropStyles = (callback) => {
14038
14038
  };
14039
14039
  };
14040
14040
 
14041
- const getButtonThemeStyles = getPropStyles(({ brandKit }) => ({
14041
+ const callback$4 = ({ brandKit }) => ({
14042
14042
  default: {
14043
14043
  variant: 'normal',
14044
14044
  backgroundColor: brandKit.color_brand,
@@ -14104,7 +14104,8 @@ const getButtonThemeStyles = getPropStyles(({ brandKit }) => ({
14104
14104
  backgroundColor: 'rgba(255, 255, 255, 0)',
14105
14105
  color: brandKit.color_danger,
14106
14106
  },
14107
- }));
14107
+ });
14108
+ const getButtonThemeStyles = getPropStyles(callback$4);
14108
14109
  const BUTTON_SIZE_STYLES = {
14109
14110
  extra_small: {
14110
14111
  height: '32px',
@@ -14568,7 +14569,7 @@ const BUTTON_OUTLINED_SIZE_STYLES = {
14568
14569
  fontSize: '16px',
14569
14570
  },
14570
14571
  };
14571
- const getButtonOutlinedThemeStyles = getPropStyles(({ brandKit }) => ({
14572
+ const callback$3 = ({ brandKit }) => ({
14572
14573
  default: {
14573
14574
  color: brandKit.color_brand,
14574
14575
  borderColor: brandKit.color_brand,
@@ -14604,7 +14605,8 @@ const getButtonOutlinedThemeStyles = getPropStyles(({ brandKit }) => ({
14604
14605
  borderColor: '#FFFFFF',
14605
14606
  backgroundColor: '#000000',
14606
14607
  },
14607
- }));
14608
+ });
14609
+ const getButtonOutlinedThemeStyles = getPropStyles(callback$3);
14608
14610
  const BUTTON_OUTLINED_ROUND_STYLES = {
14609
14611
  none: {
14610
14612
  borderRadius: 0,
@@ -14934,7 +14936,7 @@ const BUTTON_TEXT_SIZE_STYLES = {
14934
14936
  fontSize: '16px',
14935
14937
  },
14936
14938
  };
14937
- const getButtonTextThemeStyles = getPropStyles(({ brandKit }) => ({
14939
+ const callback$2 = ({ brandKit }) => ({
14938
14940
  default: {
14939
14941
  backgroundColor: '#f3f4f6',
14940
14942
  color: brandKit.color_brand,
@@ -14967,7 +14969,8 @@ const getButtonTextThemeStyles = getPropStyles(({ brandKit }) => ({
14967
14969
  backgroundColor: '#f3f4f6',
14968
14970
  color: brandKit.color_white,
14969
14971
  },
14970
- }));
14972
+ });
14973
+ const getButtonTextThemeStyles = getPropStyles(callback$2);
14971
14974
 
14972
14975
  /* src/components-flex/button-text/ButtonText.svelte generated by Svelte v3.53.1 */
14973
14976
 
@@ -15270,29 +15273,13 @@ const BUTTON_TEXT_THEME = {
15270
15273
  white: 'White',
15271
15274
  };
15272
15275
 
15273
- const CLOSE_BUTTON_PLACEMENT = {
15274
- topRight: 'topRight',
15275
- topLeft: 'topLeft',
15276
- bottomRight: 'bottomRight',
15277
- bottomLeft: 'bottomLeft',
15278
- };
15279
- const CLOSE_BUTTON_ROUND = {
15280
- default: 'デフォルト',
15281
- none: 'なし',
15282
- fulled: '円形',
15283
- };
15284
- const CLOSE_BUTTON_LABEL_PLACEMENT = {
15285
- right: 'right',
15286
- left: 'left',
15287
- };
15288
-
15289
15276
  /* src/components-flex/close-button/CloseButton.svelte generated by Svelte v3.53.1 */
15290
15277
 
15291
15278
  function add_css$h(target) {
15292
15279
  append_styles(target, "svelte-3mvsv6", ".close-button.svelte-3mvsv6.svelte-3mvsv6{display:inline-flex;align-items:center;justify-content:center;align-self:center;gap:8px;border-radius:100%;background:none;cursor:pointer;border:0;outline:0;transition:background-color 0.12s, border-color 0.12s, color 0.12s}.close-button.svelte-3mvsv6 svg.svelte-3mvsv6{transition:transform 0.12s}.close-button.svelte-3mvsv6:hover svg.svelte-3mvsv6{transform:rotate(90deg)}.close-button-order-one.svelte-3mvsv6.svelte-3mvsv6{order:1}.close-button-order-two.svelte-3mvsv6.svelte-3mvsv6{order:2}");
15293
15280
  }
15294
15281
 
15295
- // (91:2) {#if hasLabel}
15282
+ // (90:2) {#if hasLabel}
15296
15283
  function create_if_block$4(ctx) {
15297
15284
  let span;
15298
15285
  let t;
@@ -15322,7 +15309,7 @@ function create_if_block$4(ctx) {
15322
15309
  };
15323
15310
  }
15324
15311
 
15325
- // (72:0) <svelte:element {...attributes} this={element} class="close-button {isLeftLabelPlacement ? 'close-button-order-two' : ''}" data-layer-id={layerId} style={style} on:click={handleClick} >
15312
+ // (71:0) <svelte:element {...attributes} this={element} class="close-button {isLeftLabelPlacement ? 'close-button-order-two' : ''}" data-layer-id={layerId} style={style} on:click={handleClick} >
15326
15313
  function create_dynamic_element$6(ctx) {
15327
15314
  let svelte_element;
15328
15315
  let span;
@@ -15586,6 +15573,22 @@ class CloseButton extends SvelteComponent {
15586
15573
  }
15587
15574
  }
15588
15575
 
15576
+ const CLOSE_BUTTON_PLACEMENT = {
15577
+ topRight: 'topRight',
15578
+ topLeft: 'topLeft',
15579
+ bottomRight: 'bottomRight',
15580
+ bottomLeft: 'bottomLeft',
15581
+ };
15582
+ const CLOSE_BUTTON_ROUND = {
15583
+ default: 'デフォルト',
15584
+ none: 'なし',
15585
+ fulled: '円形',
15586
+ };
15587
+ const CLOSE_BUTTON_LABEL_PLACEMENT = {
15588
+ right: 'right',
15589
+ left: 'left',
15590
+ };
15591
+
15589
15592
  const ICON_SIZE_STYLES = {
15590
15593
  x_small: {
15591
15594
  width: '12px',
@@ -16646,7 +16649,7 @@ class SliderItem extends SvelteComponent {
16646
16649
  }
16647
16650
  }
16648
16651
 
16649
- const getTextThemeStyles = getPropStyles(({ brandKit }) => ({
16652
+ const callback$1 = ({ brandKit }) => ({
16650
16653
  default: {
16651
16654
  color: brandKit.color_text_primary,
16652
16655
  },
@@ -16671,7 +16674,8 @@ const getTextThemeStyles = getPropStyles(({ brandKit }) => ({
16671
16674
  white: {
16672
16675
  color: brandKit.color_white,
16673
16676
  },
16674
- }));
16677
+ });
16678
+ const getTextThemeStyles = getPropStyles(callback$1);
16675
16679
 
16676
16680
  const TEXT_VARIANTS = {
16677
16681
  size: {
@@ -17016,7 +17020,7 @@ const TEXT_LINK_SIZE_STYLES = {
17016
17020
  fontSize: '16px',
17017
17021
  },
17018
17022
  };
17019
- const getTextLinkThemeStyles = getPropStyles(({ brandKit }) => ({
17023
+ const callback = ({ brandKit }) => ({
17020
17024
  default: {
17021
17025
  color: brandKit.color_text_primary,
17022
17026
  },
@@ -17035,7 +17039,8 @@ const getTextLinkThemeStyles = getPropStyles(({ brandKit }) => ({
17035
17039
  white: {
17036
17040
  color: brandKit.color_white,
17037
17041
  },
17038
- }));
17042
+ });
17043
+ const getTextLinkThemeStyles = getPropStyles(callback);
17039
17044
 
17040
17045
  /* src/components-flex/text-link/TextLink.svelte generated by Svelte v3.53.1 */
17041
17046
 
@@ -30,5 +30,5 @@ declare function createCompatibleCustomScript({ script, templateType, }?: {
30
30
  script?: string;
31
31
  templateType?: 'webpopup' | 'script';
32
32
  }): string;
33
- declare function createCustomScript(script?: string): string;
33
+ declare function createCustomScript(script?: string): ReturnType<typeof createCompatibleCustomScript>;
34
34
  export { createAppScript, createIndexTsx, createCompatibleCustomScript, createCustomScript };
@@ -30,5 +30,5 @@ declare function createCompatibleCustomScript({ script, templateType, }?: {
30
30
  script?: string;
31
31
  templateType?: 'webpopup' | 'script';
32
32
  }): string;
33
- declare function createCustomScript(script?: string): string;
33
+ declare function createCustomScript(script?: string): ReturnType<typeof createCompatibleCustomScript>;
34
34
  export { createAppScript, createIndexTsx, createCompatibleCustomScript, createCustomScript };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.263-29017865.b826d7d2",
3
+ "version": "1.1.263-29030812.2440f3a0",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",
@@ -61,12 +61,12 @@
61
61
  "@microsoft/api-extractor": "7.48.0",
62
62
  "@rollup/plugin-alias": "^4.0.0",
63
63
  "@rollup/plugin-commonjs": "^23.0.1",
64
+ "@rollup/plugin-image": "^3.0.2",
64
65
  "@rollup/plugin-json": "^5.0.0",
65
66
  "@rollup/plugin-node-resolve": "^15.0.0",
66
67
  "@rollup/plugin-replace": "^5.0.0",
67
68
  "@sveltejs/vite-plugin-svelte": "1.0.0-next.37",
68
69
  "@testing-library/svelte": "^5.2.4",
69
- "@tsconfig/svelte": "^3.0.0",
70
70
  "@types/brotli": "^1.3.1",
71
71
  "@types/serve-static": "^1.13.10",
72
72
  "brotli": "^1.3.3",
@@ -80,6 +80,7 @@
80
80
  "playwright": "1.50.0",
81
81
  "preact": "10.5.7",
82
82
  "rimraf": "^3.0.2",
83
+ "rolldown": "latest",
83
84
  "rollup": "^3.12.0",
84
85
  "rollup-plugin-livereload": "^2.0.0",
85
86
  "rollup-plugin-serve": "^2.0.0",
@@ -90,7 +91,7 @@
90
91
  "serve-static": "^1.15.0",
91
92
  "svelte": "3.53.1",
92
93
  "svelte-check": "^2.2.7",
93
- "svelte-preprocess": "4.9.8",
94
+ "svelte-preprocess": "5.1.4",
94
95
  "terser": "^5.37.0",
95
96
  "textlint": "^13.1.1",
96
97
  "textlint-plugin-tsdoc": "^0.1.0",
@@ -98,14 +99,12 @@
98
99
  "textlint-rule-preset-ja-technical-writing": "^7.0.0",
99
100
  "tslib": "^2.3.1",
100
101
  "tsx": "^4.19.2",
101
- "typescript": "^4.7.4",
102
+ "unplugin-isolated-decl": "latest",
103
+ "typescript": "5.8.2",
102
104
  "vitepress": "1.0.0-alpha.30",
103
105
  "vitest": "3.0.5",
104
106
  "@plaidev/action-compiler": "0.4.231"
105
107
  },
106
- "dependencies": {
107
- "@rollup/plugin-image": "^3.0.2"
108
- },
109
108
  "scripts": {
110
109
  "dev": "tsx ./scripts/preview.ts",
111
110
  "dev:hydrate": "tsx ./scripts/preview.ts --hydrate",
@@ -115,6 +114,7 @@
115
114
  "setup:template": "tsx ./scripts/template.ts",
116
115
  "setup:concat": "tsx ./scripts/concat.ts",
117
116
  "setup:compile": "tsx ./scripts/compile.ts",
117
+ "rolldown:build": "rolldown --config ./rolldown.config.mjs && mv ./dist/index.d.ts ./dist/index.es.d.ts",
118
118
  "build": "rollup --config rollup.config.ts --configPlugin rollup-plugin-ts",
119
119
  "build:api": "api-extractor run --local --verbose",
120
120
  "build:watch": "rollup --config rollup.config.ts --configPlugin rollup-plugin-ts -w",