@next-core/next-docs 1.2.568 → 1.2.570

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.
@@ -18,7 +18,7 @@ custom_edit_url: null
18
18
  **Signature:**
19
19
 
20
20
  ```typescript
21
- export declare function unitFormat(value: number, unit: string, precision?: number, targetUnit?: string): [string, string];
21
+ export declare function unitFormat(value: number, unit: string, precision?: number, targetUnit?: string, fixedPrecision?: boolean): [string, string];
22
22
  ```
23
23
 
24
24
  ## Parameters
@@ -29,6 +29,7 @@ export declare function unitFormat(value: number, unit: string, precision?: numb
29
29
  | unit | string | 当前单位。 |
30
30
  | precision | number | 精度(默认为 <code>2</code>)。 |
31
31
  | targetUnit | string | 目标单位,若不填则会自动计算。 |
32
+ | fixedPrecision | boolean | |
32
33
 
33
34
  **Returns:**
34
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/next-docs",
3
- "version": "1.2.568",
3
+ "version": "1.2.570",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/next-docs",
6
6
  "license": "GPL-3.0",
@@ -31,10 +31,10 @@
31
31
  },
32
32
  "sideEffects": false,
33
33
  "devDependencies": {
34
- "@easyops-cn/brick-next-pipes": "^0.7.3",
35
- "@next-core/brick-kit": "^2.208.0",
34
+ "@easyops-cn/brick-next-pipes": "^0.7.6",
35
+ "@next-core/brick-kit": "^2.208.2",
36
36
  "@next-core/brick-types": "^2.101.0",
37
37
  "fs-extra": "^10.1.0"
38
38
  },
39
- "gitHead": "b1cc7d2b76d0acf3a47b3809caa8c48ec1faa26e"
39
+ "gitHead": "6a633f931b24484c6015158c5e59e5d1c357f973"
40
40
  }