@gem-sdk/core 1.23.0-staging.74 → 1.23.0-staging.76

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.
@@ -93,10 +93,12 @@ const getWidthByShapeGlobalSize = (shapeByLayout)=>{
93
93
  DEVICES.forEach((device)=>{
94
94
  const shapeByDevice = getResonsiveValue.getResponsiveValueByScreen(shapeByLayout, device);
95
95
  const width = shapeByDevice?.width;
96
- result = {
97
- ...result,
98
- [device]: width || 'auto'
99
- };
96
+ if (width) {
97
+ result = {
98
+ ...result,
99
+ [device]: width
100
+ };
101
+ }
100
102
  });
101
103
  return result;
102
104
  };
@@ -91,10 +91,12 @@ const getWidthByShapeGlobalSize = (shapeByLayout)=>{
91
91
  DEVICES.forEach((device)=>{
92
92
  const shapeByDevice = getResponsiveValueByScreen(shapeByLayout, device);
93
93
  const width = shapeByDevice?.width;
94
- result = {
95
- ...result,
96
- [device]: width || 'auto'
97
- };
94
+ if (width) {
95
+ result = {
96
+ ...result,
97
+ [device]: width
98
+ };
99
+ }
98
100
  });
99
101
  return result;
100
102
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.23.0-staging.74",
3
+ "version": "1.23.0-staging.76",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",