@gem-sdk/components 2.0.0-dev.741 → 2.0.0-dev.742

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.
@@ -52,7 +52,7 @@ const ArticleContent = ({ styles, builderProps })=>{
52
52
  id: `shopify-text-element-${builderProps?.uid}`,
53
53
  className: "gp-article-description",
54
54
  "data-article-id": article?.baseID?.replace('gid://shopify/OnlineStoreArticle/', ''),
55
- children: !article?.description ? /*#__PURE__*/ jsxRuntime.jsx("div", {
55
+ children: !article?.content.html ? /*#__PURE__*/ jsxRuntime.jsx("div", {
56
56
  children: /*#__PURE__*/ jsxRuntime.jsx(NoDataState.default, {
57
57
  elementType: "secondary",
58
58
  description: "Inform and provide value to the audience with article content.",
@@ -90,7 +90,7 @@ const ArticleContent = ({ styles, builderProps })=>{
90
90
  ...appendTypoStyle
91
91
  },
92
92
  dangerouslySetInnerHTML: {
93
- __html: article.description
93
+ __html: article?.content.html
94
94
  }
95
95
  })
96
96
  ]
@@ -48,7 +48,7 @@ const ArticleContent = ({ styles, builderProps })=>{
48
48
  id: `shopify-text-element-${builderProps?.uid}`,
49
49
  className: "gp-article-description",
50
50
  "data-article-id": article?.baseID?.replace('gid://shopify/OnlineStoreArticle/', ''),
51
- children: !article?.description ? /*#__PURE__*/ jsx("div", {
51
+ children: !article?.content.html ? /*#__PURE__*/ jsx("div", {
52
52
  children: /*#__PURE__*/ jsx(NoDataState, {
53
53
  elementType: "secondary",
54
54
  description: "Inform and provide value to the audience with article content.",
@@ -86,7 +86,7 @@ const ArticleContent = ({ styles, builderProps })=>{
86
86
  ...appendTypoStyle
87
87
  },
88
88
  dangerouslySetInnerHTML: {
89
- __html: article.description
89
+ __html: article?.content.html
90
90
  }
91
91
  })
92
92
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.741",
3
+ "version": "2.0.0-dev.742",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -25,7 +25,7 @@
25
25
  "scan-all-text": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/scan-all-text && node ./scripts/scan-all-text"
26
26
  },
27
27
  "devDependencies": {
28
- "@gem-sdk/core": "2.0.0-dev.737",
28
+ "@gem-sdk/core": "2.0.0-dev.742",
29
29
  "@gem-sdk/styles": "2.0.0-dev.703",
30
30
  "@gem-sdk/system": "2.0.0-dev.695",
31
31
  "@types/react-transition-group": "^4.4.5",