@gem-sdk/components 2.1.6 → 2.1.8

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.
@@ -276,7 +276,6 @@ const HeroBanner = ({ builderAttrs, builderProps, setting, styles, style, childr
276
276
  }}">
277
277
  <gp-hero-banner
278
278
  gp-data='${core.dataStringify({
279
- href: urlData?.href ?? '',
280
279
  target: urlData?.target ?? '_blank',
281
280
  background: backgroundResponsive,
282
281
  uid: builderProps?.uid,
@@ -289,6 +288,7 @@ const HeroBanner = ({ builderAttrs, builderProps, setting, styles, style, childr
289
288
  contentPosition2Col: styles?.contentPosition2Col,
290
289
  aspectRatio: setting?.aspectRatio
291
290
  }).replaceAll("'", '&#039;')}'
291
+ gp-href="${urlData.href}"
292
292
  ${{
293
293
  ...builderAttrs
294
294
  }}
@@ -54,10 +54,10 @@ const config = {
54
54
  options: [
55
55
  {
56
56
  label: 'App Block',
57
- value: 'app-block'
57
+ value: 'app-block-qb'
58
58
  }
59
59
  ],
60
- default: 'app-block'
60
+ default: 'app-block-qb'
61
61
  },
62
62
  {
63
63
  id: 'productHandle',
@@ -272,7 +272,6 @@ const HeroBanner = ({ builderAttrs, builderProps, setting, styles, style, childr
272
272
  }}">
273
273
  <gp-hero-banner
274
274
  gp-data='${dataStringify({
275
- href: urlData?.href ?? '',
276
275
  target: urlData?.target ?? '_blank',
277
276
  background: backgroundResponsive,
278
277
  uid: builderProps?.uid,
@@ -285,6 +284,7 @@ const HeroBanner = ({ builderAttrs, builderProps, setting, styles, style, childr
285
284
  contentPosition2Col: styles?.contentPosition2Col,
286
285
  aspectRatio: setting?.aspectRatio
287
286
  }).replaceAll("'", '&#039;')}'
287
+ gp-href="${urlData.href}"
288
288
  ${{
289
289
  ...builderAttrs
290
290
  }}
@@ -50,10 +50,10 @@ const config = {
50
50
  options: [
51
51
  {
52
52
  label: 'App Block',
53
- value: 'app-block'
53
+ value: 'app-block-qb'
54
54
  }
55
55
  ],
56
- default: 'app-block'
56
+ default: 'app-block-qb'
57
57
  },
58
58
  {
59
59
  id: 'productHandle',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
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": "2.1.4",
24
+ "@gem-sdk/core": "2.1.8",
25
25
  "@gem-sdk/styles": "2.1.0",
26
26
  "@types/react-transition-group": "^4.4.5"
27
27
  },