@fileverse-dev/fortune-react 1.0.46 → 1.0.47

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.
@@ -1448,10 +1448,12 @@ var Toolbar = function Toolbar(_a) {
1448
1448
  key: name,
1449
1449
  tooltip: tooltip,
1450
1450
  showArrow: true
1451
- }, function () {
1451
+ }, function (setOpen) {
1452
1452
  return /*#__PURE__*/React.createElement("div", {
1453
1453
  style: {
1454
- minWidth: "20rem"
1454
+ minWidth: "20rem",
1455
+ boxShadow: "2px 2px 10px rgba(0, 0, 0, 0.2)",
1456
+ borderRadius: "8px"
1455
1457
  }
1456
1458
  }, /*#__PURE__*/React.createElement(Command, {
1457
1459
  className: "border color-border-default rounded-lg"
@@ -1534,6 +1536,7 @@ var Toolbar = function Toolbar(_a) {
1534
1536
  });
1535
1537
  _a.label = 3;
1536
1538
  case 3:
1539
+ setOpen(false);
1537
1540
  return [2];
1538
1541
  }
1539
1542
  });
@@ -1457,10 +1457,12 @@ var Toolbar = function Toolbar(_a) {
1457
1457
  key: name,
1458
1458
  tooltip: tooltip,
1459
1459
  showArrow: true
1460
- }, function () {
1460
+ }, function (setOpen) {
1461
1461
  return /*#__PURE__*/_react.default.createElement("div", {
1462
1462
  style: {
1463
- minWidth: "20rem"
1463
+ minWidth: "20rem",
1464
+ boxShadow: "2px 2px 10px rgba(0, 0, 0, 0.2)",
1465
+ borderRadius: "8px"
1464
1466
  }
1465
1467
  }, /*#__PURE__*/_react.default.createElement(_ui.Command, {
1466
1468
  className: "border color-border-default rounded-lg"
@@ -1543,6 +1545,7 @@ var Toolbar = function Toolbar(_a) {
1543
1545
  });
1544
1546
  _a.label = 3;
1545
1547
  case 3:
1548
+ setOpen(false);
1546
1549
  return [2];
1547
1550
  }
1548
1551
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.0.46",
3
+ "version": "1.0.47",
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.0.46",
19
+ "@fileverse-dev/fortune-core": "1.0.47",
20
20
  "@fileverse/ui": "^4.1.7-patch-16",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",