@fileverse-dev/fortune-react 1.0.79 → 1.0.81-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.
@@ -19,7 +19,7 @@ var FormulaSearch = function FormulaSearch(props) {
19
19
  var _b = useContext(WorkbookContext),
20
20
  context = _b.context,
21
21
  isAuthorized = _b.settings.isAuthorized;
22
- var authedFunction = ["COINGECKO", "ETHERSCAN", "DEFILLAMA", "GNOSIS", "BASE", "EOA", "PNL", "SAFE", "BLOCKSCOUT", "GNOSIS", "LENS", "FARCASTER", "Ethereum"];
22
+ var authedFunction = ["COINGECKO", "ETHERSCAN", "DEFILLAMA", "GNOSIS", "BASE", "EOA", "PNL", "SAFE", "BLOCKSCOUT", "GNOSIS", "LENS", "FARCASTER", "Ethereum", "SMARTCONTRACT"];
23
23
  var filteredDefaultCandidates = context.defaultCandidates.filter(function (item) {
24
24
  return !authedFunction.includes(item.n);
25
25
  });
@@ -369,7 +369,8 @@ var InputBox = function InputBox() {
369
369
  transform: "scale(".concat(context.zoomRatio, ")"),
370
370
  transformOrigin: "left top",
371
371
  width: "".concat(100 / context.zoomRatio, "%"),
372
- height: "".concat(100 / context.zoomRatio, "%")
372
+ height: "".concat(100 / context.zoomRatio, "%"),
373
+ color: "black"
373
374
  },
374
375
  "aria-autocomplete": "list",
375
376
  onChange: onChange,
@@ -61,13 +61,11 @@ var Combo = function Combo(_a) {
61
61
  xmlns: "http://www.w3.org/2000/svg",
62
62
  width: "16",
63
63
  height: "16",
64
- viewBox: "0 0 24 24",
65
- fill: fillColor
64
+ viewBox: "0 0 24 24"
66
65
  }, /*#__PURE__*/React.createElement("path", {
67
66
  fillRule: "evenodd",
68
67
  clipRule: "evenodd",
69
- d: "M11.9997 3C12.3784 3 12.7248 3.21402 12.8942 3.55273L20.8942 19.5527L20.9352 19.6465C21.115 20.1204 20.9101 20.663 20.447 20.8945C19.9839 21.1259 19.4272 20.9642 19.1559 20.5361L19.1052 20.4473L16.8815 16H7.11786L4.89422 20.4473C4.64719 20.9412 4.04636 21.1415 3.55243 20.8945C3.05867 20.6475 2.85831 20.0466 3.10516 19.5527L11.1052 3.55273L11.1764 3.43164C11.3613 3.16376 11.6684 3.0001 11.9997 3ZM8.11786 14H15.8815L11.9997 6.23633L8.11786 14Z",
70
- fill: fillColor
68
+ d: "M11.9997 3C12.3784 3 12.7248 3.21402 12.8942 3.55273L20.8942 19.5527L20.9352 19.6465C21.115 20.1204 20.9101 20.663 20.447 20.8945C19.9839 21.1259 19.4272 20.9642 19.1559 20.5361L19.1052 20.4473L16.8815 16H7.11786L4.89422 20.4473C4.64719 20.9412 4.04636 21.1415 3.55243 20.8945C3.05867 20.6475 2.85831 20.0466 3.10516 19.5527L11.1052 3.55273L11.1764 3.43164C11.3613 3.16376 11.6684 3.0001 11.9997 3ZM8.11786 14H15.8815L11.9997 6.23633L8.11786 14Z"
71
69
  }))))) : (/*#__PURE__*/React.createElement(Tooltip, {
72
70
  text: tooltip,
73
71
  placement: "bottom"
@@ -28,7 +28,7 @@ var FormulaSearch = function FormulaSearch(props) {
28
28
  var _b = (0, _react.useContext)(_context.default),
29
29
  context = _b.context,
30
30
  isAuthorized = _b.settings.isAuthorized;
31
- var authedFunction = ["COINGECKO", "ETHERSCAN", "DEFILLAMA", "GNOSIS", "BASE", "EOA", "PNL", "SAFE", "BLOCKSCOUT", "GNOSIS", "LENS", "FARCASTER", "Ethereum"];
31
+ var authedFunction = ["COINGECKO", "ETHERSCAN", "DEFILLAMA", "GNOSIS", "BASE", "EOA", "PNL", "SAFE", "BLOCKSCOUT", "GNOSIS", "LENS", "FARCASTER", "Ethereum", "SMARTCONTRACT"];
32
32
  var filteredDefaultCandidates = context.defaultCandidates.filter(function (item) {
33
33
  return !authedFunction.includes(item.n);
34
34
  });
@@ -378,7 +378,8 @@ var InputBox = function InputBox() {
378
378
  transform: "scale(".concat(context.zoomRatio, ")"),
379
379
  transformOrigin: "left top",
380
380
  width: "".concat(100 / context.zoomRatio, "%"),
381
- height: "".concat(100 / context.zoomRatio, "%")
381
+ height: "".concat(100 / context.zoomRatio, "%"),
382
+ color: "black"
382
383
  },
383
384
  "aria-autocomplete": "list",
384
385
  onChange: onChange,
@@ -70,13 +70,11 @@ var Combo = function Combo(_a) {
70
70
  xmlns: "http://www.w3.org/2000/svg",
71
71
  width: "16",
72
72
  height: "16",
73
- viewBox: "0 0 24 24",
74
- fill: fillColor
73
+ viewBox: "0 0 24 24"
75
74
  }, /*#__PURE__*/_react.default.createElement("path", {
76
75
  fillRule: "evenodd",
77
76
  clipRule: "evenodd",
78
- d: "M11.9997 3C12.3784 3 12.7248 3.21402 12.8942 3.55273L20.8942 19.5527L20.9352 19.6465C21.115 20.1204 20.9101 20.663 20.447 20.8945C19.9839 21.1259 19.4272 20.9642 19.1559 20.5361L19.1052 20.4473L16.8815 16H7.11786L4.89422 20.4473C4.64719 20.9412 4.04636 21.1415 3.55243 20.8945C3.05867 20.6475 2.85831 20.0466 3.10516 19.5527L11.1052 3.55273L11.1764 3.43164C11.3613 3.16376 11.6684 3.0001 11.9997 3ZM8.11786 14H15.8815L11.9997 6.23633L8.11786 14Z",
79
- fill: fillColor
77
+ d: "M11.9997 3C12.3784 3 12.7248 3.21402 12.8942 3.55273L20.8942 19.5527L20.9352 19.6465C21.115 20.1204 20.9101 20.663 20.447 20.8945C19.9839 21.1259 19.4272 20.9642 19.1559 20.5361L19.1052 20.4473L16.8815 16H7.11786L4.89422 20.4473C4.64719 20.9412 4.04636 21.1415 3.55243 20.8945C3.05867 20.6475 2.85831 20.0466 3.10516 19.5527L11.1052 3.55273L11.1764 3.43164C11.3613 3.16376 11.6684 3.0001 11.9997 3ZM8.11786 14H15.8815L11.9997 6.23633L8.11786 14Z"
80
78
  }))))) : (/*#__PURE__*/_react.default.createElement(_ui.Tooltip, {
81
79
  text: tooltip,
82
80
  placement: "bottom"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-react",
3
- "version": "1.0.79",
3
+ "version": "1.0.81-patch-1",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "module": "es/index.js",
@@ -16,8 +16,8 @@
16
16
  "tsc": "tsc"
17
17
  },
18
18
  "dependencies": {
19
- "@fileverse-dev/fortune-core": "1.0.79",
20
- "@fileverse/ui": "^4.1.7-patch-20",
19
+ "@fileverse-dev/fortune-core": "1.0.81-patch-1",
20
+ "@fileverse/ui": "^4.1.7-patch-21",
21
21
  "@tippyjs/react": "^4.2.6",
22
22
  "@types/regenerator-runtime": "^0.13.6",
23
23
  "immer": "^9.0.12",