@gem-sdk/core 1.10.14 → 1.10.15

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.
@@ -167,10 +167,7 @@ const handleConvertClassColorDynamicBtn = (value)=>{
167
167
  };
168
168
  const composeBorderCss = (borderV)=>{
169
169
  if (!borderV) return '';
170
- const { border , width , color , isCustom } = borderV;
171
- if (!isCustom) {
172
- return '';
173
- }
170
+ const { border , width , color } = borderV;
174
171
  return `${border ? `border-style: ${border};` : ''}
175
172
  ${width ? `border-width: ${width};` : ''}
176
173
  ${color ? `border-color: ${colors.getSingleColorVariable(color)};` : ''}
@@ -78,8 +78,8 @@ const loopFetchProducts = async (fetcher, { ids , isSample , isStorefront })=>{
78
78
  firstMedia: 1,
79
79
  firstVariant: 1,
80
80
  orderBy: {
81
- field: 'TITLE',
82
- direction: 'ASC'
81
+ field: 'PLATFORM_CREATED_AT',
82
+ direction: 'DESC'
83
83
  },
84
84
  orderByMedia: {
85
85
  field: 'POSITION',
@@ -165,10 +165,7 @@ const handleConvertClassColorDynamicBtn = (value)=>{
165
165
  };
166
166
  const composeBorderCss = (borderV)=>{
167
167
  if (!borderV) return '';
168
- const { border , width , color , isCustom } = borderV;
169
- if (!isCustom) {
170
- return '';
171
- }
168
+ const { border , width , color } = borderV;
172
169
  return `${border ? `border-style: ${border};` : ''}
173
170
  ${width ? `border-width: ${width};` : ''}
174
171
  ${color ? `border-color: ${getSingleColorVariable(color)};` : ''}
@@ -76,8 +76,8 @@ const loopFetchProducts = async (fetcher, { ids , isSample , isStorefront })=>{
76
76
  firstMedia: 1,
77
77
  firstVariant: 1,
78
78
  orderBy: {
79
- field: 'TITLE',
80
- direction: 'ASC'
79
+ field: 'PLATFORM_CREATED_AT',
80
+ direction: 'DESC'
81
81
  },
82
82
  orderByMedia: {
83
83
  field: 'POSITION',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.10.14",
3
+ "version": "1.10.15",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",