@gem-sdk/pages 1.48.0-dev.1 → 1.48.0-dev.3

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.
@@ -579,12 +579,14 @@ const Toolbar = ()=>{
579
579
  if (await isElementInsideArticle()) {
580
580
  articleId = currentComponentActive.current?.articleId || '';
581
581
  }
582
+ console.log('$parent$parent', $parent);
582
583
  const event = new CustomEvent('editor:toolbar:force-active-component', {
583
584
  bubbles: true,
584
585
  detail: {
585
586
  componentUid: uid,
586
587
  productId,
587
- articleId
588
+ articleId,
589
+ elementTag: $parent.getAttribute('data-component-tag') || ''
588
590
  }
589
591
  });
590
592
  outHover($parent);
@@ -575,12 +575,14 @@ const Toolbar = ()=>{
575
575
  if (await isElementInsideArticle()) {
576
576
  articleId = currentComponentActive.current?.articleId || '';
577
577
  }
578
+ console.log('$parent$parent', $parent);
578
579
  const event = new CustomEvent('editor:toolbar:force-active-component', {
579
580
  bubbles: true,
580
581
  detail: {
581
582
  componentUid: uid,
582
583
  productId,
583
- articleId
584
+ articleId,
585
+ elementTag: $parent.getAttribute('data-component-tag') || ''
584
586
  }
585
587
  });
586
588
  outHover($parent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/pages",
3
- "version": "1.48.0-dev.1",
3
+ "version": "1.48.0-dev.3",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -26,10 +26,10 @@
26
26
  "next": "latest"
27
27
  },
28
28
  "devDependencies": {
29
- "@gem-sdk/core": "1.48.0-dev.1",
30
- "@gem-sdk/plugin-cookie-bar": "1.48.0-dev.1",
31
- "@gem-sdk/plugin-quick-view": "1.48.0-dev.1",
32
- "@gem-sdk/plugin-sticky-add-to-cart": "1.48.0-dev.1"
29
+ "@gem-sdk/core": "1.48.0-dev.3",
30
+ "@gem-sdk/plugin-cookie-bar": "1.48.0-dev.3",
31
+ "@gem-sdk/plugin-quick-view": "1.48.0-dev.3",
32
+ "@gem-sdk/plugin-sticky-add-to-cart": "1.48.0-dev.3"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "next": ">=13"