@gem-sdk/core 2.0.0-dev.527 → 2.0.0-dev.540

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.
@@ -39,7 +39,7 @@ const getAppBlockConfig = (tag, appBlockId, settings)=>{
39
39
  tag,
40
40
  widgetType
41
41
  });
42
- const settingByWidget = appSetting.composeSettingsByWidgetType[tag][settings?.widgetType];
42
+ const settingByWidget = appSetting.composeSettingsByWidgetType?.[tag]?.[widgetType];
43
43
  const appSettings = appSetting.overrideSettings(tag, settingByWidget, settings);
44
44
  return {
45
45
  key: appBlockId,
@@ -37,7 +37,7 @@ const getAppBlockConfig = (tag, appBlockId, settings)=>{
37
37
  tag,
38
38
  widgetType
39
39
  });
40
- const settingByWidget = composeSettingsByWidgetType[tag][settings?.widgetType];
40
+ const settingByWidget = composeSettingsByWidgetType?.[tag]?.[widgetType];
41
41
  const appSettings = overrideSettings(tag, settingByWidget, settings);
42
42
  return {
43
43
  key: appBlockId,
@@ -35811,6 +35811,10 @@ type IconControlType<T> = SharedControlType<T> & {
35811
35811
 
35812
35812
  type ImageControlType<T> = SharedControlType<T> & {
35813
35813
  type: 'image';
35814
+ hiddenSetting?: {
35815
+ seo?: boolean;
35816
+ optimizeLCP?: boolean;
35817
+ };
35814
35818
  };
35815
35819
 
35816
35820
  type InputControlType<T> = SharedControlType<T> & {
@@ -37718,6 +37722,15 @@ declare const filterAttrInStyle: (style?: React.CSSProperties, filterKeys?: stri
37718
37722
  '--ai-mobile'?: csstype.Property.AlignItems | undefined;
37719
37723
  '--hvr-ai-mobile'?: csstype.Property.AlignItems | undefined;
37720
37724
  '--focus-ai-mobile'?: csstype.Property.AlignItems | undefined;
37725
+ '--as'?: csstype.Property.AlignSelf | undefined;
37726
+ '--hvr-as'?: csstype.Property.AlignSelf | undefined;
37727
+ '--focus-as'?: csstype.Property.AlignSelf | undefined;
37728
+ '--as-tablet'?: csstype.Property.AlignSelf | undefined;
37729
+ '--hvr-as-tablet'?: csstype.Property.AlignSelf | undefined;
37730
+ '--focus-as-tablet'?: csstype.Property.AlignSelf | undefined;
37731
+ '--as-mobile'?: csstype.Property.AlignSelf | undefined;
37732
+ '--hvr-as-mobile'?: csstype.Property.AlignSelf | undefined;
37733
+ '--focus-as-mobile'?: csstype.Property.AlignSelf | undefined;
37721
37734
  '--aspect'?: csstype.Property.AspectRatio | undefined;
37722
37735
  '--hvr-aspect'?: csstype.Property.AspectRatio | undefined;
37723
37736
  '--focus-aspect'?: csstype.Property.AspectRatio | undefined;
@@ -39330,6 +39343,15 @@ declare const removeAttrInStyle: (style?: React.CSSProperties, filterKeys?: stri
39330
39343
  '--ai-mobile'?: csstype.Property.AlignItems | undefined;
39331
39344
  '--hvr-ai-mobile'?: csstype.Property.AlignItems | undefined;
39332
39345
  '--focus-ai-mobile'?: csstype.Property.AlignItems | undefined;
39346
+ '--as'?: csstype.Property.AlignSelf | undefined;
39347
+ '--hvr-as'?: csstype.Property.AlignSelf | undefined;
39348
+ '--focus-as'?: csstype.Property.AlignSelf | undefined;
39349
+ '--as-tablet'?: csstype.Property.AlignSelf | undefined;
39350
+ '--hvr-as-tablet'?: csstype.Property.AlignSelf | undefined;
39351
+ '--focus-as-tablet'?: csstype.Property.AlignSelf | undefined;
39352
+ '--as-mobile'?: csstype.Property.AlignSelf | undefined;
39353
+ '--hvr-as-mobile'?: csstype.Property.AlignSelf | undefined;
39354
+ '--focus-as-mobile'?: csstype.Property.AlignSelf | undefined;
39333
39355
  '--aspect'?: csstype.Property.AspectRatio | undefined;
39334
39356
  '--hvr-aspect'?: csstype.Property.AspectRatio | undefined;
39335
39357
  '--focus-aspect'?: csstype.Property.AspectRatio | undefined;
@@ -40943,6 +40965,15 @@ declare const removePaddingYInStyle: (style?: React.CSSProperties) => {
40943
40965
  '--ai-mobile'?: csstype.Property.AlignItems | undefined;
40944
40966
  '--hvr-ai-mobile'?: csstype.Property.AlignItems | undefined;
40945
40967
  '--focus-ai-mobile'?: csstype.Property.AlignItems | undefined;
40968
+ '--as'?: csstype.Property.AlignSelf | undefined;
40969
+ '--hvr-as'?: csstype.Property.AlignSelf | undefined;
40970
+ '--focus-as'?: csstype.Property.AlignSelf | undefined;
40971
+ '--as-tablet'?: csstype.Property.AlignSelf | undefined;
40972
+ '--hvr-as-tablet'?: csstype.Property.AlignSelf | undefined;
40973
+ '--focus-as-tablet'?: csstype.Property.AlignSelf | undefined;
40974
+ '--as-mobile'?: csstype.Property.AlignSelf | undefined;
40975
+ '--hvr-as-mobile'?: csstype.Property.AlignSelf | undefined;
40976
+ '--focus-as-mobile'?: csstype.Property.AlignSelf | undefined;
40946
40977
  '--aspect'?: csstype.Property.AspectRatio | undefined;
40947
40978
  '--hvr-aspect'?: csstype.Property.AspectRatio | undefined;
40948
40979
  '--focus-aspect'?: csstype.Property.AspectRatio | undefined;
@@ -42657,6 +42688,15 @@ declare const getResponsiveStyleShadow: (value?: any, styleAppliedFor?: ShadowSt
42657
42688
  '--ai-mobile'?: csstype.Property.AlignItems | undefined;
42658
42689
  '--hvr-ai-mobile'?: csstype.Property.AlignItems | undefined;
42659
42690
  '--focus-ai-mobile'?: csstype.Property.AlignItems | undefined;
42691
+ '--as'?: csstype.Property.AlignSelf | undefined;
42692
+ '--hvr-as'?: csstype.Property.AlignSelf | undefined;
42693
+ '--focus-as'?: csstype.Property.AlignSelf | undefined;
42694
+ '--as-tablet'?: csstype.Property.AlignSelf | undefined;
42695
+ '--hvr-as-tablet'?: csstype.Property.AlignSelf | undefined;
42696
+ '--focus-as-tablet'?: csstype.Property.AlignSelf | undefined;
42697
+ '--as-mobile'?: csstype.Property.AlignSelf | undefined;
42698
+ '--hvr-as-mobile'?: csstype.Property.AlignSelf | undefined;
42699
+ '--focus-as-mobile'?: csstype.Property.AlignSelf | undefined;
42660
42700
  '--aspect'?: csstype.Property.AspectRatio | undefined;
42661
42701
  '--hvr-aspect'?: csstype.Property.AspectRatio | undefined;
42662
42702
  '--focus-aspect'?: csstype.Property.AspectRatio | undefined;
@@ -44272,6 +44312,15 @@ declare const composeShadow: (shadowInput?: ObjectDevices<StateProp<ShadowProps>
44272
44312
  '--ai-mobile'?: csstype.Property.AlignItems | undefined;
44273
44313
  '--hvr-ai-mobile'?: csstype.Property.AlignItems | undefined;
44274
44314
  '--focus-ai-mobile'?: csstype.Property.AlignItems | undefined;
44315
+ '--as'?: csstype.Property.AlignSelf | undefined;
44316
+ '--hvr-as'?: csstype.Property.AlignSelf | undefined;
44317
+ '--focus-as'?: csstype.Property.AlignSelf | undefined;
44318
+ '--as-tablet'?: csstype.Property.AlignSelf | undefined;
44319
+ '--hvr-as-tablet'?: csstype.Property.AlignSelf | undefined;
44320
+ '--focus-as-tablet'?: csstype.Property.AlignSelf | undefined;
44321
+ '--as-mobile'?: csstype.Property.AlignSelf | undefined;
44322
+ '--hvr-as-mobile'?: csstype.Property.AlignSelf | undefined;
44323
+ '--focus-as-mobile'?: csstype.Property.AlignSelf | undefined;
44275
44324
  '--aspect'?: csstype.Property.AspectRatio | undefined;
44276
44325
  '--hvr-aspect'?: csstype.Property.AspectRatio | undefined;
44277
44326
  '--focus-aspect'?: csstype.Property.AspectRatio | undefined;
@@ -45941,6 +45990,15 @@ declare const composeTypographyStyle: (typo?: TypographySettingV2, typography?:
45941
45990
  '--ai-mobile'?: csstype.Property.AlignItems | undefined;
45942
45991
  '--hvr-ai-mobile'?: csstype.Property.AlignItems | undefined;
45943
45992
  '--focus-ai-mobile'?: csstype.Property.AlignItems | undefined;
45993
+ '--as'?: csstype.Property.AlignSelf | undefined;
45994
+ '--hvr-as'?: csstype.Property.AlignSelf | undefined;
45995
+ '--focus-as'?: csstype.Property.AlignSelf | undefined;
45996
+ '--as-tablet'?: csstype.Property.AlignSelf | undefined;
45997
+ '--hvr-as-tablet'?: csstype.Property.AlignSelf | undefined;
45998
+ '--focus-as-tablet'?: csstype.Property.AlignSelf | undefined;
45999
+ '--as-mobile'?: csstype.Property.AlignSelf | undefined;
46000
+ '--hvr-as-mobile'?: csstype.Property.AlignSelf | undefined;
46001
+ '--focus-as-mobile'?: csstype.Property.AlignSelf | undefined;
45944
46002
  '--aspect'?: csstype.Property.AspectRatio | undefined;
45945
46003
  '--hvr-aspect'?: csstype.Property.AspectRatio | undefined;
45946
46004
  '--focus-aspect'?: csstype.Property.AspectRatio | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "2.0.0-dev.527",
3
+ "version": "2.0.0-dev.540",
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": "2.0.0-dev.324",
31
- "@gem-sdk/styles": "2.0.0-dev.501",
31
+ "@gem-sdk/styles": "2.0.0-dev.535",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {