@flatbiz/pro-layout 4.4.22 → 4.4.23

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/index.d.ts CHANGED
@@ -450,7 +450,7 @@ export type BootstrapOptions = {
450
450
  * 2. 匹配不到菜单的情况下,隐藏
451
451
  * ```
452
452
  */
453
- hideSidebarMenu?: boolean | (() => boolean);
453
+ hideSidebarMenu?: boolean | ((pathname: string) => boolean);
454
454
  /**
455
455
  * 未配置到菜单情况下,是否隐藏侧边栏开关, 默认值 true/隐藏
456
456
  * ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/pro-layout",
3
- "version": "4.4.22",
3
+ "version": "4.4.23",
4
4
  "description": "WEB菜单布局",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",
@@ -34,9 +34,9 @@
34
34
  "@dimjs/model": ">=1.1.8",
35
35
  "@dimjs/model-react": ">=1.1.8",
36
36
  "@dimjs/utils": ">=1.2.33",
37
- "@wove/react": ">=1.2.22",
38
37
  "@flatbiz/antd": ">=4.2.107",
39
38
  "@flatbiz/utils": ">=4.0.19",
39
+ "@wove/react": ">=1.2.22",
40
40
  "antd": ">=5.11.0",
41
41
  "react": ">=18.2.0",
42
42
  "react-dom": ">=18.2.0",
@@ -53,8 +53,8 @@
53
53
  "antd": "5.11.0",
54
54
  "react": "18.2.0",
55
55
  "react-dom": "18.2.0",
56
+ "react-is": "^18.2.0",
56
57
  "react-router": "^6.8.1",
57
- "react-router-dom": "^6.8.1",
58
- "react-is": "^18.2.0"
58
+ "react-router-dom": "^6.8.1"
59
59
  }
60
60
  }