@fileverse-dev/fortune-react 1.0.78 → 1.0.80
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.
- package/es/components/SheetOverlay/InputBox.js +2 -1
- package/es/components/SheetTab/index.js +4 -3
- package/es/components/Toolbar/Combo.js +2 -4
- package/es/components/Workbook/index.js +2 -3
- package/lib/components/SheetOverlay/InputBox.js +2 -1
- package/lib/components/SheetTab/index.js +4 -3
- package/lib/components/Toolbar/Combo.js +2 -4
- package/lib/components/Workbook/index.js +2 -3
- package/package.json +2 -2
|
@@ -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,
|
|
@@ -81,16 +81,17 @@ var SheetTab = function SheetTab() {
|
|
|
81
81
|
className: "w-full",
|
|
82
82
|
id: "denomination-warning",
|
|
83
83
|
style: {
|
|
84
|
-
|
|
84
|
+
zIndex: 1003,
|
|
85
|
+
position: "absolute",
|
|
85
86
|
display: "none",
|
|
87
|
+
bottom: "31px",
|
|
86
88
|
backgroundColor: "#F8F9FA",
|
|
87
89
|
borderBottom: "1px solid #E8EBEC",
|
|
88
90
|
color: "#77818A",
|
|
89
91
|
fontFamily: "Helvetica Neue",
|
|
90
92
|
fontSize: "var(--font-size-2xsm, 12px)",
|
|
91
93
|
fontStyle: "normal",
|
|
92
|
-
fontWeight: "400"
|
|
93
|
-
bottom: "31px"
|
|
94
|
+
fontWeight: "400"
|
|
94
95
|
}
|
|
95
96
|
}, /*#__PURE__*/React.createElement("div", {
|
|
96
97
|
className: "max-w-7xl mx-auto px-4 py-1 ".concat(isMobile && "w-full flex justify-between")
|
|
@@ -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"
|
|
@@ -347,14 +347,13 @@ var Workbook = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
347
347
|
denoWarn.style.display = "block";
|
|
348
348
|
denoWarn.style.left = "0px";
|
|
349
349
|
if (scrollBar) {
|
|
350
|
-
scrollBar.style
|
|
351
|
-
scrollBar.style.backgroundColor = "red !important";
|
|
350
|
+
scrollBar.setAttribute("style", "bottom: 36px !important; width: calc(100% - 60px);");
|
|
352
351
|
}
|
|
353
352
|
} else if (!denominatedUsed && denoWarn) {
|
|
354
353
|
denoWarn.style.display = "none";
|
|
355
354
|
denoWarn.style.left = "-9999px";
|
|
356
355
|
if (scrollBar) {
|
|
357
|
-
scrollBar.style
|
|
356
|
+
scrollBar.setAttribute("style", "bottom: 10px !important; width: calc(100% - 60px);");
|
|
358
357
|
}
|
|
359
358
|
}
|
|
360
359
|
return ctx;
|
|
@@ -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,
|
|
@@ -90,16 +90,17 @@ var SheetTab = function SheetTab() {
|
|
|
90
90
|
className: "w-full",
|
|
91
91
|
id: "denomination-warning",
|
|
92
92
|
style: {
|
|
93
|
-
|
|
93
|
+
zIndex: 1003,
|
|
94
|
+
position: "absolute",
|
|
94
95
|
display: "none",
|
|
96
|
+
bottom: "31px",
|
|
95
97
|
backgroundColor: "#F8F9FA",
|
|
96
98
|
borderBottom: "1px solid #E8EBEC",
|
|
97
99
|
color: "#77818A",
|
|
98
100
|
fontFamily: "Helvetica Neue",
|
|
99
101
|
fontSize: "var(--font-size-2xsm, 12px)",
|
|
100
102
|
fontStyle: "normal",
|
|
101
|
-
fontWeight: "400"
|
|
102
|
-
bottom: "31px"
|
|
103
|
+
fontWeight: "400"
|
|
103
104
|
}
|
|
104
105
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
105
106
|
className: "max-w-7xl mx-auto px-4 py-1 ".concat(isMobile && "w-full flex justify-between")
|
|
@@ -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"
|
|
@@ -356,14 +356,13 @@ var Workbook = /*#__PURE__*/_react.default.forwardRef(function (_a, ref) {
|
|
|
356
356
|
denoWarn.style.display = "block";
|
|
357
357
|
denoWarn.style.left = "0px";
|
|
358
358
|
if (scrollBar) {
|
|
359
|
-
scrollBar.style
|
|
360
|
-
scrollBar.style.backgroundColor = "red !important";
|
|
359
|
+
scrollBar.setAttribute("style", "bottom: 36px !important; width: calc(100% - 60px);");
|
|
361
360
|
}
|
|
362
361
|
} else if (!denominatedUsed && denoWarn) {
|
|
363
362
|
denoWarn.style.display = "none";
|
|
364
363
|
denoWarn.style.left = "-9999px";
|
|
365
364
|
if (scrollBar) {
|
|
366
|
-
scrollBar.style
|
|
365
|
+
scrollBar.setAttribute("style", "bottom: 10px !important; width: calc(100% - 60px);");
|
|
367
366
|
}
|
|
368
367
|
}
|
|
369
368
|
return ctx;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fileverse-dev/fortune-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.80",
|
|
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.
|
|
19
|
+
"@fileverse-dev/fortune-core": "1.0.80",
|
|
20
20
|
"@fileverse/ui": "^4.1.7-patch-20",
|
|
21
21
|
"@tippyjs/react": "^4.2.6",
|
|
22
22
|
"@types/regenerator-runtime": "^0.13.6",
|