@gem-sdk/core 2.0.0-dev.559 → 2.0.0-dev.569

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.
@@ -26,11 +26,11 @@ const getStyleBgImageSource = (backgroundImage, options)=>{
26
26
  },
27
27
  tablet: {
28
28
  normal: getBgImageSourceByDevice(backgroundImage, 'tablet', 'normal', options) ?? getBgImageSourceByDevice(backgroundImage, 'desktop', 'normal', options),
29
- hover: getBgImageSourceByDevice(backgroundImage, 'tablet', 'hover', options) ?? getBgImageSourceByDevice(backgroundImage, 'desktop', 'normal', options)
29
+ hover: getBgImageSourceByDevice(backgroundImage, 'tablet', 'hover', options) ?? getBgImageSourceByDevice(backgroundImage, 'desktop', 'hover', options)
30
30
  },
31
31
  mobile: {
32
32
  normal: getBgImageSourceByDevice(backgroundImage, 'mobile', 'normal', options) ?? getBgImageSourceByDevice(backgroundImage, 'tablet', 'normal', options) ?? getBgImageSourceByDevice(backgroundImage, 'desktop', 'normal', options),
33
- hover: getBgImageSourceByDevice(backgroundImage, 'mobile', 'hover', options) ?? getBgImageSourceByDevice(backgroundImage, 'tablet', 'normal', options) ?? getBgImageSourceByDevice(backgroundImage, 'desktop', 'normal', options)
33
+ hover: getBgImageSourceByDevice(backgroundImage, 'mobile', 'hover', options) ?? getBgImageSourceByDevice(backgroundImage, 'tablet', 'hover', options) ?? getBgImageSourceByDevice(backgroundImage, 'desktop', 'hover', options)
34
34
  }
35
35
  };
36
36
  return makeStyle.makeStyleResponsiveState('bgi', bgImage);
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const isLocalEnv = false;
3
+ const isLocalEnv = process.env.NEXT_CONVERT_ENV === 'local';
4
4
  const baseAssetURL = process.env.GP_BASE_ASSET_URL || 'https://d3kbi0je7pp4lw.cloudfront.net';
5
5
 
6
6
  exports.baseAssetURL = baseAssetURL;
@@ -24,11 +24,11 @@ const getStyleBgImageSource = (backgroundImage, options)=>{
24
24
  },
25
25
  tablet: {
26
26
  normal: getBgImageSourceByDevice(backgroundImage, 'tablet', 'normal', options) ?? getBgImageSourceByDevice(backgroundImage, 'desktop', 'normal', options),
27
- hover: getBgImageSourceByDevice(backgroundImage, 'tablet', 'hover', options) ?? getBgImageSourceByDevice(backgroundImage, 'desktop', 'normal', options)
27
+ hover: getBgImageSourceByDevice(backgroundImage, 'tablet', 'hover', options) ?? getBgImageSourceByDevice(backgroundImage, 'desktop', 'hover', options)
28
28
  },
29
29
  mobile: {
30
30
  normal: getBgImageSourceByDevice(backgroundImage, 'mobile', 'normal', options) ?? getBgImageSourceByDevice(backgroundImage, 'tablet', 'normal', options) ?? getBgImageSourceByDevice(backgroundImage, 'desktop', 'normal', options),
31
- hover: getBgImageSourceByDevice(backgroundImage, 'mobile', 'hover', options) ?? getBgImageSourceByDevice(backgroundImage, 'tablet', 'normal', options) ?? getBgImageSourceByDevice(backgroundImage, 'desktop', 'normal', options)
31
+ hover: getBgImageSourceByDevice(backgroundImage, 'mobile', 'hover', options) ?? getBgImageSourceByDevice(backgroundImage, 'tablet', 'hover', options) ?? getBgImageSourceByDevice(backgroundImage, 'desktop', 'hover', options)
32
32
  }
33
33
  };
34
34
  return makeStyleResponsiveState('bgi', bgImage);
@@ -1,4 +1,4 @@
1
- const isLocalEnv = false;
1
+ const isLocalEnv = process.env.NEXT_CONVERT_ENV === 'local';
2
2
  const baseAssetURL = process.env.GP_BASE_ASSET_URL || 'https://d3kbi0je7pp4lw.cloudfront.net';
3
3
 
4
4
  export { baseAssetURL, isLocalEnv };
@@ -42583,7 +42583,7 @@ declare const removePaddingYInStyle: (style?: React.CSSProperties) => {
42583
42583
 
42584
42584
  declare function composeClasses(classList?: string): Record<string, boolean>;
42585
42585
 
42586
- declare const isLocalEnv = false;
42586
+ declare const isLocalEnv: boolean;
42587
42587
  declare const baseAssetURL: string;
42588
42588
 
42589
42589
  declare const convertHTML: (str: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "2.0.0-dev.559",
3
+ "version": "2.0.0-dev.569",
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.535",
31
+ "@gem-sdk/styles": "2.0.0-dev.569",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {