@pisell/private-materials 6.8.4 → 6.8.5

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.
@@ -47,6 +47,8 @@ var CardWrapper = function CardWrapper(props) {
47
47
  return /*#__PURE__*/React.createElement("div", {
48
48
  className: classNames("".concat(PREFIX, "__card-wrapper"), (skuStatusOverlayConfig === null || skuStatusOverlayConfig === void 0 ? void 0 : skuStatusOverlayConfig.isOpen) && "".concat(PREFIX, "__card-wrapper-overlay"), className),
49
49
  onPointerUp: function onPointerUp(e) {
50
+ e.preventDefault();
51
+ e.stopPropagation();
50
52
  onCardClick === null || onCardClick === void 0 || onCardClick(dataSource);
51
53
  }
52
54
  }, /*#__PURE__*/React.createElement(CardPro, {
@@ -95,6 +95,8 @@ var CardWrapper = (props) => {
95
95
  className
96
96
  ),
97
97
  onPointerUp: (e) => {
98
+ e.preventDefault();
99
+ e.stopPropagation();
98
100
  onCardClick == null ? void 0 : onCardClick(dataSource);
99
101
  }
100
102
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.8.4",
3
+ "version": "6.8.5",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",