@fileverse-dev/fortune-react 1.1.71 → 1.1.73-patch-1

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.
@@ -44,8 +44,6 @@ var NotationBoxes = function NotationBoxes() {
44
44
  rc = commentBox.rc,
45
45
  left = commentBox.left,
46
46
  top = commentBox.top,
47
- width = commentBox.width,
48
- height = commentBox.height,
49
47
  size = commentBox.size;
50
48
  var isEditing = ((_a = context.editingCommentBox) === null || _a === void 0 ? void 0 : _a.rc) === rc;
51
49
  var commentId = "comment-box-".concat(rc);
@@ -65,19 +63,12 @@ var NotationBoxes = function NotationBoxes() {
65
63
  }
66
64
  }), /*#__PURE__*/React.createElement("div", {
67
65
  id: commentId,
68
- className: "luckysheet-postil-show-main",
69
66
  style: {
70
- width: width,
71
- height: height,
72
- color: "#000",
73
- padding: 5,
74
- border: "1px solid #000",
75
- backgroundColor: "rgb(255,255,225)",
76
67
  position: "absolute",
77
68
  left: left,
78
69
  top: top,
79
- boxSizing: "border-box",
80
- zIndex: isEditing ? 200 : 100
70
+ zIndex: isEditing ? 200 : 100,
71
+ boxShadow: "0 1px 1px #0000002e,0 4px 8px #0000001a"
81
72
  },
82
73
  onMouseDown: function onMouseDown(e) {
83
74
  var nativeEvent = e.nativeEvent;
@@ -53,8 +53,6 @@ var NotationBoxes = function NotationBoxes() {
53
53
  rc = commentBox.rc,
54
54
  left = commentBox.left,
55
55
  top = commentBox.top,
56
- width = commentBox.width,
57
- height = commentBox.height,
58
56
  size = commentBox.size;
59
57
  var isEditing = ((_a = context.editingCommentBox) === null || _a === void 0 ? void 0 : _a.rc) === rc;
60
58
  var commentId = "comment-box-".concat(rc);
@@ -74,19 +72,12 @@ var NotationBoxes = function NotationBoxes() {
74
72
  }
75
73
  }), /*#__PURE__*/_react.default.createElement("div", {
76
74
  id: commentId,
77
- className: "luckysheet-postil-show-main",
78
75
  style: {
79
- width: width,
80
- height: height,
81
- color: "#000",
82
- padding: 5,
83
- border: "1px solid #000",
84
- backgroundColor: "rgb(255,255,225)",
85
76
  position: "absolute",
86
77
  left: left,
87
78
  top: top,
88
- boxSizing: "border-box",
89
- zIndex: isEditing ? 200 : 100
79
+ zIndex: isEditing ? 200 : 100,
80
+ boxShadow: "0 1px 1px #0000002e,0 4px 8px #0000001a"
90
81
  },
91
82
  onMouseDown: function onMouseDown(e) {
92
83
  var nativeEvent = e.nativeEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.1.71",
3
+ "version": "1.1.73-patch-1",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "module": "es/index.js",
@@ -16,7 +16,7 @@
16
16
  "tsc": "tsc"
17
17
  },
18
18
  "dependencies": {
19
- "@fileverse-dev/fortune-core": "1.1.71",
19
+ "@fileverse-dev/fortune-core": "1.1.73-patch-1",
20
20
  "@fileverse/ui": "^4.1.7-patch-21",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",