@fileverse-dev/fortune-react 1.1.85 → 1.1.86
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.
|
@@ -415,21 +415,7 @@ var ContextMenu = function ContextMenu() {
|
|
|
415
415
|
className: "context-item"
|
|
416
416
|
}, /*#__PURE__*/React.createElement(LocalLucidIcon, {
|
|
417
417
|
name: "AddColRight"
|
|
418
|
-
}), /*#__PURE__*/React.createElement("div", null, "Insert column to the
|
|
419
|
-
});
|
|
420
|
-
}
|
|
421
|
-
if (name === "insert-column-right") {
|
|
422
|
-
return (selection === null || selection === void 0 ? void 0 : selection.row_select) ? null : ["left"].map(function (dir) {
|
|
423
|
-
return /*#__PURE__*/React.createElement(Menu, {
|
|
424
|
-
key: "add-col-right-".concat(dir),
|
|
425
|
-
onClick: function onClick() {
|
|
426
|
-
addRowColRightAvobe("column", "rightbottom");
|
|
427
|
-
}
|
|
428
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
429
|
-
className: "context-item"
|
|
430
|
-
}, /*#__PURE__*/React.createElement(LocalLucidIcon, {
|
|
431
|
-
name: "AddColRight"
|
|
432
|
-
}), /*#__PURE__*/React.createElement("div", null, "Insert column to the left")));
|
|
418
|
+
}), /*#__PURE__*/React.createElement("div", null, "Insert column to the right")));
|
|
433
419
|
});
|
|
434
420
|
}
|
|
435
421
|
if (name === "insert-row-above") {
|
|
@@ -424,21 +424,7 @@ var ContextMenu = function ContextMenu() {
|
|
|
424
424
|
className: "context-item"
|
|
425
425
|
}, /*#__PURE__*/_react.default.createElement(_LucideIcon.LucideIcon, {
|
|
426
426
|
name: "AddColRight"
|
|
427
|
-
}), /*#__PURE__*/_react.default.createElement("div", null, "Insert column to the
|
|
428
|
-
});
|
|
429
|
-
}
|
|
430
|
-
if (name === "insert-column-right") {
|
|
431
|
-
return (selection === null || selection === void 0 ? void 0 : selection.row_select) ? null : ["left"].map(function (dir) {
|
|
432
|
-
return /*#__PURE__*/_react.default.createElement(_Menu.default, {
|
|
433
|
-
key: "add-col-right-".concat(dir),
|
|
434
|
-
onClick: function onClick() {
|
|
435
|
-
addRowColRightAvobe("column", "rightbottom");
|
|
436
|
-
}
|
|
437
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
438
|
-
className: "context-item"
|
|
439
|
-
}, /*#__PURE__*/_react.default.createElement(_LucideIcon.LucideIcon, {
|
|
440
|
-
name: "AddColRight"
|
|
441
|
-
}), /*#__PURE__*/_react.default.createElement("div", null, "Insert column to the left")));
|
|
427
|
+
}), /*#__PURE__*/_react.default.createElement("div", null, "Insert column to the right")));
|
|
442
428
|
});
|
|
443
429
|
}
|
|
444
430
|
if (name === "insert-row-above") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.86",
|
|
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.
|
|
19
|
+
"@fileverse-dev/fortune-core": "1.1.86",
|
|
20
20
|
"@fileverse/ui": "^4.1.7-patch-21",
|
|
21
21
|
"@tippyjs/react": "^4.2.6",
|
|
22
22
|
"@types/regenerator-runtime": "^0.13.6",
|