@plaidev/karte-action-sdk 1.1.232 → 1.1.233-28694965.4ee0c515

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.
@@ -12,9 +12,8 @@ declare function createAppScript(script?: string, icons?: string[], customCompon
12
12
  *
13
13
  * @internal
14
14
  */
15
- declare function createIndexTsx({ script, polyfill, }?: {
15
+ declare function createIndexTsx({ script }?: {
16
16
  script?: string;
17
- polyfill?: boolean;
18
17
  }): string;
19
18
  /**
20
19
  * 後方互換のためのカスタムスクリプトの初期値の生成
@@ -48,12 +48,13 @@ import {
48
48
  Box,
49
49
  IconElement,
50
50
  CodeElement,
51
- V2Button,
52
- V2Icon,
53
- V2Layout,
54
- V2Text,
55
- V2Avatar,
56
- V2Image,
51
+ FlexButton,
52
+ FlexIcon,
53
+ FlexLayout,
54
+ FlexText,
55
+ FlexAvatar,
56
+ FlexImage,
57
+ FlexModal,
57
58
  } from '@plaidev/karte-action-sdk';
58
59
 
59
60
  ${icons.length > 0
@@ -98,10 +99,9 @@ $: cssVariables = getCssVariables({ ...$data, ...$actionVariables });
98
99
  *
99
100
  * @internal
100
101
  */
101
- function createIndexTsx({ script = '', polyfill = false, } = {}) {
102
+ function createIndexTsx({ script = '' } = {}) {
102
103
  // TODO: `script` should be validated!
103
104
  return `import type { KarteAction, Send, Publish, Props, Variables } from './gen';
104
- ${polyfill ? `import 'https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver';` : ''}
105
105
  import { create } from '@plaidev/karte-action-sdk';
106
106
 
107
107
  import { props, localVariablesQuery, karteTemplate } from './gen';
@@ -12,9 +12,8 @@ declare function createAppScript(script?: string, icons?: string[], customCompon
12
12
  *
13
13
  * @internal
14
14
  */
15
- declare function createIndexTsx({ script, polyfill, }?: {
15
+ declare function createIndexTsx({ script }?: {
16
16
  script?: string;
17
- polyfill?: boolean;
18
17
  }): string;
19
18
  /**
20
19
  * 後方互換のためのカスタムスクリプトの初期値の生成
package/dist/templates.js CHANGED
@@ -46,12 +46,13 @@ import {
46
46
  Box,
47
47
  IconElement,
48
48
  CodeElement,
49
- V2Button,
50
- V2Icon,
51
- V2Layout,
52
- V2Text,
53
- V2Avatar,
54
- V2Image,
49
+ FlexButton,
50
+ FlexIcon,
51
+ FlexLayout,
52
+ FlexText,
53
+ FlexAvatar,
54
+ FlexImage,
55
+ FlexModal,
55
56
  } from '@plaidev/karte-action-sdk';
56
57
 
57
58
  ${icons.length > 0
@@ -96,10 +97,9 @@ $: cssVariables = getCssVariables({ ...$data, ...$actionVariables });
96
97
  *
97
98
  * @internal
98
99
  */
99
- function createIndexTsx({ script = '', polyfill = false, } = {}) {
100
+ function createIndexTsx({ script = '' } = {}) {
100
101
  // TODO: `script` should be validated!
101
102
  return `import type { KarteAction, Send, Publish, Props, Variables } from './gen';
102
- ${polyfill ? `import 'https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver';` : ''}
103
103
  import { create } from '@plaidev/karte-action-sdk';
104
104
 
105
105
  import { props, localVariablesQuery, karteTemplate } from './gen';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.232",
3
+ "version": "1.1.233-28694965.4ee0c515",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",