@sis-cc/dotstatsuite-components 21.9.0 → 21.10.0
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.
|
@@ -30,7 +30,7 @@ import getISOWeek from "date-fns/get_iso_week";
|
|
|
30
30
|
import makeStyles from "@mui/styles/makeStyles";
|
|
31
31
|
import { useTheme } from "@mui/material/styles";
|
|
32
32
|
const name = "@sis-cc/dotstatsuite-components";
|
|
33
|
-
const version = "21.
|
|
33
|
+
const version = "21.10.0";
|
|
34
34
|
const meta = {
|
|
35
35
|
name,
|
|
36
36
|
version
|
|
@@ -7501,7 +7501,12 @@ const getAxisOptions = (data, type3, options, timeFormats, locale) => {
|
|
|
7501
7501
|
ordinal: { gap: 0.3, padding: 0.3 },
|
|
7502
7502
|
thickness: 0
|
|
7503
7503
|
};
|
|
7504
|
-
const linearProc = (d) =>
|
|
7504
|
+
const linearProc = (d) => {
|
|
7505
|
+
if (Math.abs(d) < 0.01 && d) {
|
|
7506
|
+
return numeral(d).format("0.[00]e+0");
|
|
7507
|
+
}
|
|
7508
|
+
return numeral(d).format("0,0.[00]");
|
|
7509
|
+
};
|
|
7505
7510
|
return pipe(
|
|
7506
7511
|
propOr({}, "axis"),
|
|
7507
7512
|
mergeDeepRight({ x: axis, y: axis }),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sis-cc/dotstatsuite-components",
|
|
3
3
|
"description": "Set components based on React.",
|
|
4
|
-
"version": "21.
|
|
4
|
+
"version": "21.10.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/dotstatsuite-components.js",
|
|
7
7
|
"files": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@react-hook/size": "^2.1.1",
|
|
30
|
-
"@sis-cc/dotstatsuite-d3-charts": "^10.
|
|
30
|
+
"@sis-cc/dotstatsuite-d3-charts": "^10.2.0",
|
|
31
31
|
"lodash": "^4.17.2",
|
|
32
32
|
"memoizee": "^0.4.4"
|
|
33
33
|
},
|