@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.
package/dist/cjs/helpers/size.js
CHANGED
|
@@ -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
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
96
|
+
if (width) {
|
|
97
|
+
result = {
|
|
98
|
+
...result,
|
|
99
|
+
[device]: width
|
|
100
|
+
};
|
|
101
|
+
}
|
|
100
102
|
});
|
|
101
103
|
return result;
|
|
102
104
|
};
|
package/dist/esm/helpers/size.js
CHANGED
|
@@ -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
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
if (width) {
|
|
95
|
+
result = {
|
|
96
|
+
...result,
|
|
97
|
+
[device]: width
|
|
98
|
+
};
|
|
99
|
+
}
|
|
98
100
|
});
|
|
99
101
|
return result;
|
|
100
102
|
};
|