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

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,
@@ -37718,6 +37718,15 @@ declare const filterAttrInStyle: (style?: React.CSSProperties, filterKeys?: stri
37718
37718
  '--ai-mobile'?: csstype.Property.AlignItems | undefined;
37719
37719
  '--hvr-ai-mobile'?: csstype.Property.AlignItems | undefined;
37720
37720
  '--focus-ai-mobile'?: csstype.Property.AlignItems | undefined;
37721
+ '--as'?: csstype.Property.AlignSelf | undefined;
37722
+ '--hvr-as'?: csstype.Property.AlignSelf | undefined;
37723
+ '--focus-as'?: csstype.Property.AlignSelf | undefined;
37724
+ '--as-tablet'?: csstype.Property.AlignSelf | undefined;
37725
+ '--hvr-as-tablet'?: csstype.Property.AlignSelf | undefined;
37726
+ '--focus-as-tablet'?: csstype.Property.AlignSelf | undefined;
37727
+ '--as-mobile'?: csstype.Property.AlignSelf | undefined;
37728
+ '--hvr-as-mobile'?: csstype.Property.AlignSelf | undefined;
37729
+ '--focus-as-mobile'?: csstype.Property.AlignSelf | undefined;
37721
37730
  '--aspect'?: csstype.Property.AspectRatio | undefined;
37722
37731
  '--hvr-aspect'?: csstype.Property.AspectRatio | undefined;
37723
37732
  '--focus-aspect'?: csstype.Property.AspectRatio | undefined;
@@ -39330,6 +39339,15 @@ declare const removeAttrInStyle: (style?: React.CSSProperties, filterKeys?: stri
39330
39339
  '--ai-mobile'?: csstype.Property.AlignItems | undefined;
39331
39340
  '--hvr-ai-mobile'?: csstype.Property.AlignItems | undefined;
39332
39341
  '--focus-ai-mobile'?: csstype.Property.AlignItems | undefined;
39342
+ '--as'?: csstype.Property.AlignSelf | undefined;
39343
+ '--hvr-as'?: csstype.Property.AlignSelf | undefined;
39344
+ '--focus-as'?: csstype.Property.AlignSelf | undefined;
39345
+ '--as-tablet'?: csstype.Property.AlignSelf | undefined;
39346
+ '--hvr-as-tablet'?: csstype.Property.AlignSelf | undefined;
39347
+ '--focus-as-tablet'?: csstype.Property.AlignSelf | undefined;
39348
+ '--as-mobile'?: csstype.Property.AlignSelf | undefined;
39349
+ '--hvr-as-mobile'?: csstype.Property.AlignSelf | undefined;
39350
+ '--focus-as-mobile'?: csstype.Property.AlignSelf | undefined;
39333
39351
  '--aspect'?: csstype.Property.AspectRatio | undefined;
39334
39352
  '--hvr-aspect'?: csstype.Property.AspectRatio | undefined;
39335
39353
  '--focus-aspect'?: csstype.Property.AspectRatio | undefined;
@@ -40943,6 +40961,15 @@ declare const removePaddingYInStyle: (style?: React.CSSProperties) => {
40943
40961
  '--ai-mobile'?: csstype.Property.AlignItems | undefined;
40944
40962
  '--hvr-ai-mobile'?: csstype.Property.AlignItems | undefined;
40945
40963
  '--focus-ai-mobile'?: csstype.Property.AlignItems | undefined;
40964
+ '--as'?: csstype.Property.AlignSelf | undefined;
40965
+ '--hvr-as'?: csstype.Property.AlignSelf | undefined;
40966
+ '--focus-as'?: csstype.Property.AlignSelf | undefined;
40967
+ '--as-tablet'?: csstype.Property.AlignSelf | undefined;
40968
+ '--hvr-as-tablet'?: csstype.Property.AlignSelf | undefined;
40969
+ '--focus-as-tablet'?: csstype.Property.AlignSelf | undefined;
40970
+ '--as-mobile'?: csstype.Property.AlignSelf | undefined;
40971
+ '--hvr-as-mobile'?: csstype.Property.AlignSelf | undefined;
40972
+ '--focus-as-mobile'?: csstype.Property.AlignSelf | undefined;
40946
40973
  '--aspect'?: csstype.Property.AspectRatio | undefined;
40947
40974
  '--hvr-aspect'?: csstype.Property.AspectRatio | undefined;
40948
40975
  '--focus-aspect'?: csstype.Property.AspectRatio | undefined;
@@ -42657,6 +42684,15 @@ declare const getResponsiveStyleShadow: (value?: any, styleAppliedFor?: ShadowSt
42657
42684
  '--ai-mobile'?: csstype.Property.AlignItems | undefined;
42658
42685
  '--hvr-ai-mobile'?: csstype.Property.AlignItems | undefined;
42659
42686
  '--focus-ai-mobile'?: csstype.Property.AlignItems | undefined;
42687
+ '--as'?: csstype.Property.AlignSelf | undefined;
42688
+ '--hvr-as'?: csstype.Property.AlignSelf | undefined;
42689
+ '--focus-as'?: csstype.Property.AlignSelf | undefined;
42690
+ '--as-tablet'?: csstype.Property.AlignSelf | undefined;
42691
+ '--hvr-as-tablet'?: csstype.Property.AlignSelf | undefined;
42692
+ '--focus-as-tablet'?: csstype.Property.AlignSelf | undefined;
42693
+ '--as-mobile'?: csstype.Property.AlignSelf | undefined;
42694
+ '--hvr-as-mobile'?: csstype.Property.AlignSelf | undefined;
42695
+ '--focus-as-mobile'?: csstype.Property.AlignSelf | undefined;
42660
42696
  '--aspect'?: csstype.Property.AspectRatio | undefined;
42661
42697
  '--hvr-aspect'?: csstype.Property.AspectRatio | undefined;
42662
42698
  '--focus-aspect'?: csstype.Property.AspectRatio | undefined;
@@ -44272,6 +44308,15 @@ declare const composeShadow: (shadowInput?: ObjectDevices<StateProp<ShadowProps>
44272
44308
  '--ai-mobile'?: csstype.Property.AlignItems | undefined;
44273
44309
  '--hvr-ai-mobile'?: csstype.Property.AlignItems | undefined;
44274
44310
  '--focus-ai-mobile'?: csstype.Property.AlignItems | undefined;
44311
+ '--as'?: csstype.Property.AlignSelf | undefined;
44312
+ '--hvr-as'?: csstype.Property.AlignSelf | undefined;
44313
+ '--focus-as'?: csstype.Property.AlignSelf | undefined;
44314
+ '--as-tablet'?: csstype.Property.AlignSelf | undefined;
44315
+ '--hvr-as-tablet'?: csstype.Property.AlignSelf | undefined;
44316
+ '--focus-as-tablet'?: csstype.Property.AlignSelf | undefined;
44317
+ '--as-mobile'?: csstype.Property.AlignSelf | undefined;
44318
+ '--hvr-as-mobile'?: csstype.Property.AlignSelf | undefined;
44319
+ '--focus-as-mobile'?: csstype.Property.AlignSelf | undefined;
44275
44320
  '--aspect'?: csstype.Property.AspectRatio | undefined;
44276
44321
  '--hvr-aspect'?: csstype.Property.AspectRatio | undefined;
44277
44322
  '--focus-aspect'?: csstype.Property.AspectRatio | undefined;
@@ -45941,6 +45986,15 @@ declare const composeTypographyStyle: (typo?: TypographySettingV2, typography?:
45941
45986
  '--ai-mobile'?: csstype.Property.AlignItems | undefined;
45942
45987
  '--hvr-ai-mobile'?: csstype.Property.AlignItems | undefined;
45943
45988
  '--focus-ai-mobile'?: csstype.Property.AlignItems | undefined;
45989
+ '--as'?: csstype.Property.AlignSelf | undefined;
45990
+ '--hvr-as'?: csstype.Property.AlignSelf | undefined;
45991
+ '--focus-as'?: csstype.Property.AlignSelf | undefined;
45992
+ '--as-tablet'?: csstype.Property.AlignSelf | undefined;
45993
+ '--hvr-as-tablet'?: csstype.Property.AlignSelf | undefined;
45994
+ '--focus-as-tablet'?: csstype.Property.AlignSelf | undefined;
45995
+ '--as-mobile'?: csstype.Property.AlignSelf | undefined;
45996
+ '--hvr-as-mobile'?: csstype.Property.AlignSelf | undefined;
45997
+ '--focus-as-mobile'?: csstype.Property.AlignSelf | undefined;
45944
45998
  '--aspect'?: csstype.Property.AspectRatio | undefined;
45945
45999
  '--hvr-aspect'?: csstype.Property.AspectRatio | undefined;
45946
46000
  '--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.538",
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": {