@gem-sdk/core 1.41.0-staging.21 → 1.41.0-staging.23

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.
@@ -47,9 +47,9 @@ const makeDotGapToCarouselStyle = (dotStyle, dotGapToCarousel, vertical)=>{
47
47
  };
48
48
  });
49
49
  return {
50
- [`--${getStyleName(dotStyle?.desktop, vertical?.desktop)}`]: result.desktop,
51
- [`--${getStyleName(dotStyle?.tablet, vertical?.tablet)}-tablet`]: result.tablet,
52
- [`--${getStyleName(dotStyle?.mobile, vertical?.mobile)}-mobile`]: result.mobile
50
+ [`--${getStyleName(getResonsiveValue.getResponsiveValueByScreen(dotStyle, 'desktop'), getResonsiveValue.getResponsiveValueByScreen(vertical, 'desktop'))}`]: result.desktop,
51
+ [`--${getStyleName(getResonsiveValue.getResponsiveValueByScreen(dotStyle, 'tablet'), getResonsiveValue.getResponsiveValueByScreen(vertical, 'tablet'))}-tablet`]: result.tablet,
52
+ [`--${getStyleName(getResonsiveValue.getResponsiveValueByScreen(dotStyle, 'mobile'), getResonsiveValue.getResponsiveValueByScreen(vertical, 'mobile'))}-mobile`]: result.mobile
53
53
  };
54
54
  };
55
55
 
@@ -45,9 +45,9 @@ const makeDotGapToCarouselStyle = (dotStyle, dotGapToCarousel, vertical)=>{
45
45
  };
46
46
  });
47
47
  return {
48
- [`--${getStyleName(dotStyle?.desktop, vertical?.desktop)}`]: result.desktop,
49
- [`--${getStyleName(dotStyle?.tablet, vertical?.tablet)}-tablet`]: result.tablet,
50
- [`--${getStyleName(dotStyle?.mobile, vertical?.mobile)}-mobile`]: result.mobile
48
+ [`--${getStyleName(getResponsiveValueByScreen(dotStyle, 'desktop'), getResponsiveValueByScreen(vertical, 'desktop'))}`]: result.desktop,
49
+ [`--${getStyleName(getResponsiveValueByScreen(dotStyle, 'tablet'), getResponsiveValueByScreen(vertical, 'tablet'))}-tablet`]: result.tablet,
50
+ [`--${getStyleName(getResponsiveValueByScreen(dotStyle, 'mobile'), getResponsiveValueByScreen(vertical, 'mobile'))}-mobile`]: result.mobile
51
51
  };
52
52
  };
53
53
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.41.0-staging.21",
3
+ "version": "1.41.0-staging.23",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",