@plaidev/karte-action-sdk 1.1.232-28688140.9024b817 → 1.1.232-28689508.1c550634

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.
@@ -2561,7 +2561,8 @@ type LayoutFlexDirection = (typeof LAYOUT_DIRECTION)[number];
2561
2561
  declare const LAYOUT_ALIGN: readonly [
2562
2562
  "flex-start",
2563
2563
  "center",
2564
- "flex-end"
2564
+ "flex-end",
2565
+ "stretch"
2565
2566
  ];
2566
2567
  type LayoutFlexAlign = (typeof LAYOUT_ALIGN)[number];
2567
2568
  declare const LAYOUT_JUSTIFY: readonly [
@@ -1786,7 +1786,14 @@ function createModal(App, options = {
1786
1786
  if (!app) {
1787
1787
  return NOOP;
1788
1788
  }
1789
- options.send('message_close', { trigger, state: getState$1() });
1789
+ if (trigger !== 'auto') {
1790
+ options.send('message_close', { trigger, state: getState$1() });
1791
+ }
1792
+ options.send('_message_state_changed', {
1793
+ trigger,
1794
+ oldState: getState$1(),
1795
+ newState: '',
1796
+ });
1790
1797
  setOpened(false);
1791
1798
  setClosed(true); // deprecated
1792
1799
  const { onCloseHandlers } = getInternalHandlers();
@@ -1822,7 +1829,14 @@ function createModal(App, options = {
1822
1829
  if (!result.success)
1823
1830
  return;
1824
1831
  }
1825
- options.send('message_open', { state: getState$1() });
1832
+ if (trigger !== 'auto') {
1833
+ options.send('message_open', { state: getState$1() });
1834
+ }
1835
+ options.send('_message_state_changed', {
1836
+ trigger,
1837
+ oldState: '',
1838
+ newState: getState$1(),
1839
+ });
1826
1840
  setOpened(true);
1827
1841
  setClosed(false); // deprecated
1828
1842
  // 非同期処理中にappが初期化されている可能性がある
@@ -14730,7 +14744,7 @@ class Layout extends SvelteComponent {
14730
14744
 
14731
14745
  const LAYOUT_DISPLAY_TYPE = ['inline-flex', 'flex', 'block'];
14732
14746
  const LAYOUT_DIRECTION = ['column', 'column-reverse', 'row', 'row-reverse'];
14733
- const LAYOUT_ALIGN = ['flex-start', 'center', 'flex-end'];
14747
+ const LAYOUT_ALIGN = ['flex-start', 'center', 'flex-end', 'stretch'];
14734
14748
  const LAYOUT_JUSTIFY = ['flex-start', 'center', 'flex-end', 'space-between'];
14735
14749
 
14736
14750
  /* src/components-v2/text/Text.svelte generated by Svelte v3.53.1 */
@@ -2561,7 +2561,8 @@ type LayoutFlexDirection = (typeof LAYOUT_DIRECTION)[number];
2561
2561
  declare const LAYOUT_ALIGN: readonly [
2562
2562
  "flex-start",
2563
2563
  "center",
2564
- "flex-end"
2564
+ "flex-end",
2565
+ "stretch"
2565
2566
  ];
2566
2567
  type LayoutFlexAlign = (typeof LAYOUT_ALIGN)[number];
2567
2568
  declare const LAYOUT_JUSTIFY: readonly [
package/dist/index.es.js CHANGED
@@ -1827,7 +1827,14 @@ function createModal(App, options = {
1827
1827
  if (!app) {
1828
1828
  return NOOP;
1829
1829
  }
1830
- options.send('message_close', { trigger, state: getState$1() });
1830
+ if (trigger !== 'auto') {
1831
+ options.send('message_close', { trigger, state: getState$1() });
1832
+ }
1833
+ options.send('_message_state_changed', {
1834
+ trigger,
1835
+ oldState: getState$1(),
1836
+ newState: '',
1837
+ });
1831
1838
  setOpened(false);
1832
1839
  setClosed(true); // deprecated
1833
1840
  const { onCloseHandlers } = getInternalHandlers();
@@ -1860,7 +1867,14 @@ function createModal(App, options = {
1860
1867
  if (!result.success)
1861
1868
  return;
1862
1869
  }
1863
- options.send('message_open', { state: getState$1() });
1870
+ if (trigger !== 'auto') {
1871
+ options.send('message_open', { state: getState$1() });
1872
+ }
1873
+ options.send('_message_state_changed', {
1874
+ trigger,
1875
+ oldState: '',
1876
+ newState: getState$1(),
1877
+ });
1864
1878
  setOpened(true);
1865
1879
  setClosed(false); // deprecated
1866
1880
  // 非同期処理中にappが初期化されている可能性がある
@@ -13649,7 +13663,7 @@ class Layout extends SvelteComponent {
13649
13663
 
13650
13664
  const LAYOUT_DISPLAY_TYPE = ['inline-flex', 'flex', 'block'];
13651
13665
  const LAYOUT_DIRECTION = ['column', 'column-reverse', 'row', 'row-reverse'];
13652
- const LAYOUT_ALIGN = ['flex-start', 'center', 'flex-end'];
13666
+ const LAYOUT_ALIGN = ['flex-start', 'center', 'flex-end', 'stretch'];
13653
13667
  const LAYOUT_JUSTIFY = ['flex-start', 'center', 'flex-end', 'space-between'];
13654
13668
 
13655
13669
  /* src/components-v2/text/Text.svelte generated by Svelte v3.53.1 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.232-28688140.9024b817",
3
+ "version": "1.1.232-28689508.1c550634",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",