@gem-sdk/core 1.8.4 → 1.8.10

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.
@@ -6,7 +6,7 @@ var makeStyle = require('./make-style.js');
6
6
  const getBorderStyle = (value)=>{
7
7
  return makeStyle.makeStyle({
8
8
  b: value?.border,
9
- bc: value?.color,
9
+ bc: colors.getSingleColorVariable(value?.color),
10
10
  bw: value?.width
11
11
  });
12
12
  };
@@ -22,7 +22,7 @@ const getAttrValue = (attr, value, tag)=>{
22
22
  case 'd':
23
23
  if (!value) return 'none';
24
24
  if (value && tag && constant.layoutComponent.includes(tag)) return 'grid';
25
- return 'inline';
25
+ return 'block';
26
26
  default:
27
27
  return value;
28
28
  }
@@ -1,10 +1,10 @@
1
- import { getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStateResponsiveClass, getGlobalColorStateClass } from './colors.js';
1
+ import { getSingleColorVariable, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStateResponsiveClass, getGlobalColorStateClass } from './colors.js';
2
2
  import { makeStyle, makeStyleResponsiveState, makeStyleState } from './make-style.js';
3
3
 
4
4
  const getBorderStyle = (value)=>{
5
5
  return makeStyle({
6
6
  b: value?.border,
7
- bc: value?.color,
7
+ bc: getSingleColorVariable(value?.color),
8
8
  bw: value?.width
9
9
  });
10
10
  };
@@ -20,7 +20,7 @@ const getAttrValue = (attr, value, tag)=>{
20
20
  case 'd':
21
21
  if (!value) return 'none';
22
22
  if (value && tag && layoutComponent.includes(tag)) return 'grid';
23
- return 'inline';
23
+ return 'block';
24
24
  default:
25
25
  return value;
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.8.4",
3
+ "version": "1.8.10",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",