@gem-sdk/core 12.0.0-staging.10 → 12.0.0-staging.13

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.
@@ -34168,6 +34168,8 @@ type ImageShape$1 = {
34168
34168
  };
34169
34169
  type SizeSettingGlobal = {
34170
34170
  shape?: 'square' | 'vertical' | 'horizontal' | 'custom' | 'original';
34171
+ shapeVideo?: string;
34172
+ enableVideoShape?: boolean;
34171
34173
  shapeLinked?: boolean;
34172
34174
  disableShapeLinked?: boolean;
34173
34175
  shapeValue?: string;
@@ -36536,6 +36538,10 @@ type Background = {
36536
36538
  videoType?: 'youtube' | 'html5';
36537
36539
  loop?: boolean;
36538
36540
  lazyLoad?: boolean;
36541
+ videoCustomRatio?: {
36542
+ width?: string | number;
36543
+ height?: string | number;
36544
+ };
36539
36545
  };
36540
36546
  type BgSize = 'cover' | 'contain' | '100% 100%';
36541
36547
  type BgRepeat$2 = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
@@ -36858,10 +36864,10 @@ type GridArrange<T> = SharedControlType<T> & {
36858
36864
  readonly?: boolean;
36859
36865
  };
36860
36866
 
36861
- type SettingID = 'shape' | 'width' | 'height' | 'gap' | 'padding' | 'proportion';
36867
+ type SettingID = 'shape' | 'width' | 'height' | 'gap' | 'padding' | 'proportion' | 'shapeVideo';
36862
36868
  type ShapeOptionKeyword = 'original' | 'square' | 'vertical' | 'horizontal' | 'custom';
36863
36869
  type HeightOptionKeyword = 'fit-content' | 'fit-screen';
36864
- type OptionKeyword = 'default' | 'auto' | 'full' | 'equal' | 'small' | 'medium' | 'large' | HeightOptionKeyword | ShapeOptionKeyword | string;
36870
+ type OptionKeyword = 'default' | 'auto' | 'full' | 'equal' | 'small' | 'medium' | 'large' | '1/1' | '16/9' | '21/9' | '3/2' | '4/3' | '3/4' | '9/16' | '2/3' | HeightOptionKeyword | ShapeOptionKeyword | string;
36865
36871
  type PaddingOptions = 'small' | 'medium' | 'large' | 'custom';
36866
36872
  type ShapeOptions = 'square' | 'vertical' | 'horizontal' | 'custom' | 'original';
36867
36873
  type ShapeConfig = Partial<Record<ShapeOptions, string>>;
@@ -36872,6 +36878,7 @@ type PaddingConfig = Partial<Record<PaddingOptions, {
36872
36878
  type SettingConfig = {
36873
36879
  sizeConfig?: Partial<Record<'small' | 'medium' | 'large' | 'full', string>>;
36874
36880
  displayOptions?: OptionKeyword[];
36881
+ displayVideoOptions?: OptionKeyword[];
36875
36882
  paddingConfig?: PaddingConfig;
36876
36883
  shapeConfig?: ShapeConfig;
36877
36884
  shapeTitleConfig?: ShapeConfig;
@@ -37303,6 +37310,7 @@ type BackgroundMediaControlType<T> = SharedControlType<T> & {
37303
37310
  type: 'background-media';
37304
37311
  value?: BackgroundMedia;
37305
37312
  showVideo?: boolean;
37313
+ showRatioVideo?: boolean;
37306
37314
  showDeviceControl?: boolean;
37307
37315
  hideImage?: boolean;
37308
37316
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "12.0.0-staging.10",
3
+ "version": "12.0.0-staging.13",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "@gem-sdk/adapter-shopify": "12.0.0-staging.0",
31
- "@gem-sdk/styles": "12.0.0-staging.0",
31
+ "@gem-sdk/styles": "12.0.0-staging.12",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {