pds-dev-kit-web-test 2.5.47 → 2.5.48

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.
@@ -68,6 +68,7 @@ type ActionHandlerPayload = {
68
68
  };
69
69
  '@CUSTOMSECTION/SECTION_RIGHT_CLICKED': {
70
70
  sectionId: number;
71
+ e: React.MouseEvent;
71
72
  };
72
73
  '@CUSTOMSECTION/GROUP_CREATED': {
73
74
  message: string;
@@ -383,7 +383,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
383
383
  }
384
384
  });
385
385
  };
386
- var onContextSection = function () {
386
+ var onContextSection = function (e) {
387
387
  if (!isEditMode) {
388
388
  return;
389
389
  }
@@ -395,7 +395,8 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
395
395
  sectionActionHandler({
396
396
  type: '@CUSTOMSECTION/SECTION_RIGHT_CLICKED',
397
397
  payload: {
398
- sectionId: props.id
398
+ sectionId: props.id,
399
+ e: e
399
400
  }
400
401
  });
401
402
  };
@@ -465,7 +466,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
465
466
  return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsxs)(exports.S_gleStyles, { children: [showSectionHiddenCover && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_SectionWrapper, __assign({ ref: gleRef, "x-dlayout-section-type": "NO_NAME", onClick: onClickSection, onContextMenu: function (e) {
466
467
  e.stopPropagation();
467
468
  e.preventDefault();
468
- onContextSection();
469
+ onContextSection(e);
469
470
  } }, { children: (0, jsx_runtime_1.jsx)(components_1.CustomSection, __assign({}, props, { isMobile: isMobile, overrideStyles: {
470
471
  minHeight: customSectionStyles.minHeight,
471
472
  paddingTop: padding.top,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.47",
3
+ "version": "2.5.48",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",