@plaidev/karte-action-sdk 1.1.262-29016950.d6ccaa08 → 1.1.263-29017865.b826d7d2

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.
@@ -940,27 +940,28 @@ declare const Fonts: readonly [
940
940
  "Noto Sans JP",
941
941
  "Sawarabi Gothic",
942
942
  "Zen Kaku Gothic New",
943
- "Zen Maru Gothic",
944
- "Shippori Mincho",
945
- "M PLUS Rounded 1c",
946
- "M PLUS 1p",
947
- "Kosugi Maru",
948
- "Kosugi",
949
943
  "BIZ UDPGothic",
944
+ "Open Sans",
945
+ "M PLUS 1p",
946
+ "M PLUS Rounded 1c",
947
+ "Kiwi Maru",
948
+ "Zen Maru Gothic",
950
949
  "Noto Serif JP",
950
+ "Shippori Mincho",
951
951
  "BIZ UDPMincho",
952
952
  "Roboto",
953
- "Open Sans",
954
- "Montserrat",
955
953
  "Lato",
956
954
  "Poppins",
955
+ "Lora",
957
956
  "Raleway",
957
+ "Montserrat",
958
958
  "Nunito",
959
959
  "Playfair Display",
960
960
  "Merriweather",
961
- "Lora",
962
961
  "Libre Baskerville",
963
- "EB Garamond"
962
+ "EB Garamond",
963
+ "Kosugi Maru",
964
+ "Kosugi"
964
965
  ];
965
966
  type Font = (typeof Fonts)[number];
966
967
  /** @internal */
@@ -716,27 +716,29 @@ const Fonts = [
716
716
  'Noto Sans JP',
717
717
  'Sawarabi Gothic',
718
718
  'Zen Kaku Gothic New',
719
- 'Zen Maru Gothic',
720
- 'Shippori Mincho',
721
- 'M PLUS Rounded 1c',
722
- 'M PLUS 1p',
723
- 'Kosugi Maru',
724
- 'Kosugi',
725
719
  'BIZ UDPGothic',
720
+ 'Open Sans',
721
+ 'M PLUS 1p',
722
+ 'M PLUS Rounded 1c',
723
+ 'Kiwi Maru',
724
+ 'Zen Maru Gothic',
726
725
  'Noto Serif JP',
726
+ 'Shippori Mincho',
727
727
  'BIZ UDPMincho',
728
728
  'Roboto',
729
- 'Open Sans',
730
- 'Montserrat',
731
729
  'Lato',
732
730
  'Poppins',
731
+ 'Lora',
732
+ // 廃止予定
733
733
  'Raleway',
734
+ 'Montserrat',
734
735
  'Nunito',
735
736
  'Playfair Display',
736
737
  'Merriweather',
737
- 'Lora',
738
738
  'Libre Baskerville',
739
739
  'EB Garamond',
740
+ 'Kosugi Maru',
741
+ 'Kosugi',
740
742
  ];
741
743
  /** @internal */
742
744
  const Justifies = ['flex-start', 'center', 'flex-end'];
@@ -12340,14 +12342,13 @@ const FONT_FAMILY_VARIANT = {
12340
12342
  noto_sans_jp: createFontVariant('Noto Sans JP', 'ja', 'kaku'),
12341
12343
  sawarabi_gothic: createFontVariant('Sawarabi Gothic', 'ja', 'kaku'),
12342
12344
  zen_kaku_gothic: createFontVariant('Zen Kaku Gothic', 'ja', 'kaku'),
12343
- kosugi: createFontVariant('Kosugi', 'ja', 'kaku'),
12344
12345
  biz_udp_gothic: createFontVariant('BIZ UDPGothic', 'ja', 'kaku'),
12345
12346
  open_sans: createFontVariant('Open Sans', 'ja', 'kaku'),
12346
12347
  sans_serif: createFontVariant('sans-serif', 'ja', 'kaku'),
12347
- m_plus_rounded_1c: createFontVariant('M PLUS Rounded 1c', 'ja', 'maru'),
12348
12348
  m_plus_1p: createFontVariant('M PLUS 1p', 'ja', 'maru'),
12349
+ m_plus_rounded_1c: createFontVariant('M PLUS Rounded 1c', 'ja', 'maru'),
12350
+ kiwi_maru: createFontVariant('Kiwi Maru', 'ja', 'maru'),
12349
12351
  zen_maru_gothic: createFontVariant('Zen Maru Gothic', 'ja', 'maru'),
12350
- kosugi_maru: createFontVariant('Kosugi Maru', 'ja', 'maru'),
12351
12352
  noto_serif_jp: createFontVariant('Noto Serif JP', 'ja', 'min'),
12352
12353
  shippori_micho: createFontVariant('Shippori Mincho', 'ja', 'min'),
12353
12354
  biz_udp_micho: createFontVariant('BIZ UDPMincho', 'ja', 'min'),
@@ -12355,11 +12356,11 @@ const FONT_FAMILY_VARIANT = {
12355
12356
  roboto: createFontVariant('Roboto', 'en', 'kaku'),
12356
12357
  lato: createFontVariant('Lato', 'en', 'kaku'),
12357
12358
  poppins: createFontVariant('Poppins', 'en', 'kaku'),
12358
- raleway: createFontVariant('Raleway', 'en', 'kaku'),
12359
- nunito: createFontVariant('Nunito', 'en', 'kaku'),
12360
12359
  lora: createFontVariant('Lora', 'en', 'kaku'),
12361
12360
  monospace: createFontVariant('monospace', 'en', 'kaku'),
12362
12361
  system_ui: createFontVariant('system-ui', 'en', 'kaku'),
12362
+ // raleway: createFontVariant('Raleway', 'en', 'kaku'),
12363
+ // nunito: createFontVariant('Nunito', 'en', 'kaku'),
12363
12364
  };
12364
12365
  const FONT_FAMILY_VARIANTS = toVariantArray(FONT_FAMILY_VARIANT);
12365
12366
  const FONT_FAMILY_VARIANT_GROUPS = [
@@ -20455,8 +20456,8 @@ function instance$4($$self, $$props, $$invalidate) {
20455
20456
 
20456
20457
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
20457
20458
  function onPlayerReady() {
20458
- if (props.mute) {
20459
- player.mute();
20459
+ if (props.mute || props.autoplay) {
20460
+ player.setVolume(0);
20460
20461
  }
20461
20462
  }
20462
20463
 
@@ -20473,6 +20474,7 @@ function instance$4($$self, $$props, $$invalidate) {
20473
20474
  autoplay: boolToNumber(props.autoplay),
20474
20475
  controls: boolToNumber(props.controls),
20475
20476
  cc_load_policy: boolToNumber(props.showSubtitle),
20477
+ // TODO: appの場合はフルスクリーンにすると、画面境界の変化を検知し画面遷移が発生 -> 接客自体が消えてしまうため強制OFFにする
20476
20478
  fs: boolToNumber(props.showFullScreen),
20477
20479
  loop: boolToNumber(props.loop),
20478
20480
  playlist: props.videoId
@@ -940,27 +940,28 @@ declare const Fonts: readonly [
940
940
  "Noto Sans JP",
941
941
  "Sawarabi Gothic",
942
942
  "Zen Kaku Gothic New",
943
- "Zen Maru Gothic",
944
- "Shippori Mincho",
945
- "M PLUS Rounded 1c",
946
- "M PLUS 1p",
947
- "Kosugi Maru",
948
- "Kosugi",
949
943
  "BIZ UDPGothic",
944
+ "Open Sans",
945
+ "M PLUS 1p",
946
+ "M PLUS Rounded 1c",
947
+ "Kiwi Maru",
948
+ "Zen Maru Gothic",
950
949
  "Noto Serif JP",
950
+ "Shippori Mincho",
951
951
  "BIZ UDPMincho",
952
952
  "Roboto",
953
- "Open Sans",
954
- "Montserrat",
955
953
  "Lato",
956
954
  "Poppins",
955
+ "Lora",
957
956
  "Raleway",
957
+ "Montserrat",
958
958
  "Nunito",
959
959
  "Playfair Display",
960
960
  "Merriweather",
961
- "Lora",
962
961
  "Libre Baskerville",
963
- "EB Garamond"
962
+ "EB Garamond",
963
+ "Kosugi Maru",
964
+ "Kosugi"
964
965
  ];
965
966
  type Font = (typeof Fonts)[number];
966
967
  /** @internal */
package/dist/index.es.js CHANGED
@@ -725,27 +725,29 @@ const Fonts = [
725
725
  'Noto Sans JP',
726
726
  'Sawarabi Gothic',
727
727
  'Zen Kaku Gothic New',
728
- 'Zen Maru Gothic',
729
- 'Shippori Mincho',
730
- 'M PLUS Rounded 1c',
731
- 'M PLUS 1p',
732
- 'Kosugi Maru',
733
- 'Kosugi',
734
728
  'BIZ UDPGothic',
729
+ 'Open Sans',
730
+ 'M PLUS 1p',
731
+ 'M PLUS Rounded 1c',
732
+ 'Kiwi Maru',
733
+ 'Zen Maru Gothic',
735
734
  'Noto Serif JP',
735
+ 'Shippori Mincho',
736
736
  'BIZ UDPMincho',
737
737
  'Roboto',
738
- 'Open Sans',
739
- 'Montserrat',
740
738
  'Lato',
741
739
  'Poppins',
740
+ 'Lora',
741
+ // 廃止予定
742
742
  'Raleway',
743
+ 'Montserrat',
743
744
  'Nunito',
744
745
  'Playfair Display',
745
746
  'Merriweather',
746
- 'Lora',
747
747
  'Libre Baskerville',
748
748
  'EB Garamond',
749
+ 'Kosugi Maru',
750
+ 'Kosugi',
749
751
  ];
750
752
  /** @internal */
751
753
  const Justifies = ['flex-start', 'center', 'flex-end'];
@@ -11686,14 +11688,13 @@ const FONT_FAMILY_VARIANT = {
11686
11688
  noto_sans_jp: createFontVariant('Noto Sans JP', 'ja', 'kaku'),
11687
11689
  sawarabi_gothic: createFontVariant('Sawarabi Gothic', 'ja', 'kaku'),
11688
11690
  zen_kaku_gothic: createFontVariant('Zen Kaku Gothic', 'ja', 'kaku'),
11689
- kosugi: createFontVariant('Kosugi', 'ja', 'kaku'),
11690
11691
  biz_udp_gothic: createFontVariant('BIZ UDPGothic', 'ja', 'kaku'),
11691
11692
  open_sans: createFontVariant('Open Sans', 'ja', 'kaku'),
11692
11693
  sans_serif: createFontVariant('sans-serif', 'ja', 'kaku'),
11693
- m_plus_rounded_1c: createFontVariant('M PLUS Rounded 1c', 'ja', 'maru'),
11694
11694
  m_plus_1p: createFontVariant('M PLUS 1p', 'ja', 'maru'),
11695
+ m_plus_rounded_1c: createFontVariant('M PLUS Rounded 1c', 'ja', 'maru'),
11696
+ kiwi_maru: createFontVariant('Kiwi Maru', 'ja', 'maru'),
11695
11697
  zen_maru_gothic: createFontVariant('Zen Maru Gothic', 'ja', 'maru'),
11696
- kosugi_maru: createFontVariant('Kosugi Maru', 'ja', 'maru'),
11697
11698
  noto_serif_jp: createFontVariant('Noto Serif JP', 'ja', 'min'),
11698
11699
  shippori_micho: createFontVariant('Shippori Mincho', 'ja', 'min'),
11699
11700
  biz_udp_micho: createFontVariant('BIZ UDPMincho', 'ja', 'min'),
@@ -11701,11 +11702,11 @@ const FONT_FAMILY_VARIANT = {
11701
11702
  roboto: createFontVariant('Roboto', 'en', 'kaku'),
11702
11703
  lato: createFontVariant('Lato', 'en', 'kaku'),
11703
11704
  poppins: createFontVariant('Poppins', 'en', 'kaku'),
11704
- raleway: createFontVariant('Raleway', 'en', 'kaku'),
11705
- nunito: createFontVariant('Nunito', 'en', 'kaku'),
11706
11705
  lora: createFontVariant('Lora', 'en', 'kaku'),
11707
11706
  monospace: createFontVariant('monospace', 'en', 'kaku'),
11708
11707
  system_ui: createFontVariant('system-ui', 'en', 'kaku'),
11708
+ // raleway: createFontVariant('Raleway', 'en', 'kaku'),
11709
+ // nunito: createFontVariant('Nunito', 'en', 'kaku'),
11709
11710
  };
11710
11711
  const FONT_FAMILY_VARIANTS = toVariantArray(FONT_FAMILY_VARIANT);
11711
11712
  const FONT_FAMILY_VARIANT_GROUPS = [
@@ -18984,8 +18985,8 @@ function instance$4($$self, $$props, $$invalidate) {
18984
18985
 
18985
18986
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
18986
18987
  function onPlayerReady() {
18987
- if (props.mute) {
18988
- player.mute();
18988
+ if (props.mute || props.autoplay) {
18989
+ player.setVolume(0);
18989
18990
  }
18990
18991
  }
18991
18992
 
@@ -19002,6 +19003,7 @@ function instance$4($$self, $$props, $$invalidate) {
19002
19003
  autoplay: boolToNumber(props.autoplay),
19003
19004
  controls: boolToNumber(props.controls),
19004
19005
  cc_load_policy: boolToNumber(props.showSubtitle),
19006
+ // TODO: appの場合はフルスクリーンにすると、画面境界の変化を検知し画面遷移が発生 -> 接客自体が消えてしまうため強制OFFにする
19005
19007
  fs: boolToNumber(props.showFullScreen),
19006
19008
  loop: boolToNumber(props.loop),
19007
19009
  playlist: props.videoId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.262-29016950.d6ccaa08",
3
+ "version": "1.1.263-29017865.b826d7d2",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",