@gem-sdk/core 1.25.30 → 1.25.37

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.
@@ -59,7 +59,7 @@ const makeStyleResponsive = (name, value)=>{
59
59
  };
60
60
  const makeWidth = (widthValue, fullWidthValue)=>{
61
61
  const getVal = (deviceValue, widthValue, fullWidthValue)=>{
62
- const widthVal = widthValue?.[deviceValue] === undefined ? widthValue?.['desktop'] : widthValue?.[deviceValue];
62
+ const widthVal = getResonsiveValue.getResponsiveValueByScreen(widthValue, deviceValue);
63
63
  const fullWidthVal = fullWidthValue?.[deviceValue] === undefined ? fullWidthValue?.['desktop'] : fullWidthValue?.[deviceValue];
64
64
  if (fullWidthVal) {
65
65
  return '100%';
@@ -57,7 +57,7 @@ const makeStyleResponsive = (name, value)=>{
57
57
  };
58
58
  const makeWidth = (widthValue, fullWidthValue)=>{
59
59
  const getVal = (deviceValue, widthValue, fullWidthValue)=>{
60
- const widthVal = widthValue?.[deviceValue] === undefined ? widthValue?.['desktop'] : widthValue?.[deviceValue];
60
+ const widthVal = getResponsiveValueByScreen(widthValue, deviceValue);
61
61
  const fullWidthVal = fullWidthValue?.[deviceValue] === undefined ? fullWidthValue?.['desktop'] : fullWidthValue?.[deviceValue];
62
62
  if (fullWidthVal) {
63
63
  return '100%';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.25.30",
3
+ "version": "1.25.37",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",