@rsdoctor/components 0.1.9 → 0.1.10

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.
@@ -9,7 +9,7 @@ import {
9
9
  ToolOutlined
10
10
  } from "@ant-design/icons";
11
11
  import { Manifest, SDK } from "@rsdoctor/types";
12
- import { Col, Menu, Grid, Typography } from "antd";
12
+ import { Col, Menu, Typography } from "antd";
13
13
  import { includes } from "lodash-es";
14
14
  import { useLocation, useNavigate } from "react-router-dom";
15
15
  import WebpackIcon from "../../assets/webpack.98604d64.svg";
@@ -39,7 +39,6 @@ const MenusBase = (props) => {
39
39
  transform: "translateY(-2px)"
40
40
  };
41
41
  const items = [];
42
- const { xxl } = Grid.useBreakpoint();
43
42
  console.log("enableRoutes: ", enableRoutes);
44
43
  if (includes(enableRoutes, Manifest.RsdoctorManifestClientRoutes.Overall)) {
45
44
  items.push({
@@ -129,7 +128,7 @@ const MenusBase = (props) => {
129
128
  height: Size.NavBarHeight,
130
129
  lineHeight: `${Size.NavBarHeight}px`,
131
130
  minWidth: 0,
132
- justifyContent: xxl ? "center" : "flex-end",
131
+ justifyContent: "flex-end",
133
132
  ...props.style
134
133
  },
135
134
  selectedKeys: [pathname === "/" ? OverallConstants.route : pathname]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/components",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",
@@ -54,7 +54,7 @@
54
54
  "antd": "5.15.3",
55
55
  "axios": "^1.6.1",
56
56
  "dayjs": "1.11.6",
57
- "echarts": "^5.4.3",
57
+ "echarts": "^5.5.0",
58
58
  "echarts-for-react": "^3.0.2",
59
59
  "i18next": "22.0.4",
60
60
  "lodash-es": "4.17.21",
@@ -71,9 +71,9 @@
71
71
  "terser": "^5.26.0",
72
72
  "typescript": "^5.2.2",
73
73
  "url-parse": "1.5.10",
74
- "@rsdoctor/graph": "0.1.9",
75
- "@rsdoctor/types": "0.1.9",
76
- "@rsdoctor/utils": "0.1.9"
74
+ "@rsdoctor/graph": "0.1.10",
75
+ "@rsdoctor/types": "0.1.10",
76
+ "@rsdoctor/utils": "0.1.10"
77
77
  },
78
78
  "publishConfig": {
79
79
  "access": "public",