@gem-sdk/components 3.0.0-pre-production.13 → 3.0.0-pre-production.14

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.
@@ -44,7 +44,7 @@ const ArticleContent = ({ styles, builderProps })=>{
44
44
  id: `shopify-text-element-${builderProps?.uid}`,
45
45
  className: "gp-article-description",
46
46
  "data-article-id": article?.baseID?.replace('gid://shopify/OnlineStoreArticle/', ''),
47
- children: !article?.description ? /*#__PURE__*/ jsxRuntime.jsx("div", {
47
+ children: !article?.content.html ? /*#__PURE__*/ jsxRuntime.jsx("div", {
48
48
  children: /*#__PURE__*/ jsxRuntime.jsx("p", {
49
49
  className: "gp-p-2 gp-text-sm gp-font-semibold gp-text-gray-500",
50
50
  children: "This article does not have content."
@@ -67,7 +67,7 @@ const ArticleContent = ({ styles, builderProps })=>{
67
67
  ...appendTypoStyle
68
68
  },
69
69
  dangerouslySetInnerHTML: {
70
- __html: article.description
70
+ __html: article?.content.html
71
71
  }
72
72
  })
73
73
  ]
@@ -40,7 +40,7 @@ const ArticleContent = ({ styles, builderProps })=>{
40
40
  id: `shopify-text-element-${builderProps?.uid}`,
41
41
  className: "gp-article-description",
42
42
  "data-article-id": article?.baseID?.replace('gid://shopify/OnlineStoreArticle/', ''),
43
- children: !article?.description ? /*#__PURE__*/ jsx("div", {
43
+ children: !article?.content.html ? /*#__PURE__*/ jsx("div", {
44
44
  children: /*#__PURE__*/ jsx("p", {
45
45
  className: "gp-p-2 gp-text-sm gp-font-semibold gp-text-gray-500",
46
46
  children: "This article does not have content."
@@ -63,7 +63,7 @@ const ArticleContent = ({ styles, builderProps })=>{
63
63
  ...appendTypoStyle
64
64
  },
65
65
  dangerouslySetInnerHTML: {
66
- __html: article.description
66
+ __html: article?.content.html
67
67
  }
68
68
  })
69
69
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "3.0.0-pre-production.13",
3
+ "version": "3.0.0-pre-production.14",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -21,7 +21,7 @@
21
21
  "format": "prettier --write \"./src/**/*.{ts,tsx}\""
22
22
  },
23
23
  "devDependencies": {
24
- "@gem-sdk/core": "3.0.0-pre-production.8",
24
+ "@gem-sdk/core": "3.0.0-pre-production.14",
25
25
  "@gem-sdk/styles": "3.0.0-pre-production.1",
26
26
  "@types/react-transition-group": "^4.4.5"
27
27
  },