generic-ui-core 1.6.0-rc3 → 1.6.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.
package/README.md CHANGED
@@ -1,7 +1,11 @@
1
- # Generic UI Core [![npm version](https://img.shields.io/npm/v/generic-ui-core)](https://www.npmjs.com/package/generic-ui-core) ![Coverage](https://img.shields.io/badge/coverage-94.94%25-brightgreen)
1
+ # Generic UI Core
2
2
 
3
3
  A support library for generic UI components.
4
4
 
5
+ [![npm version](https://img.shields.io/npm/v/generic-ui-core)](https://www.npmjs.com/package/generic-ui-core)
6
+ [![Downloads](https://img.shields.io/npm/dm/generic-ui-core)](https://www.npmjs.com/package/generic-ui-core)
7
+ ![Coverage](https://img.shields.io/badge/coverage-94.94%25-brightgreen)
8
+
5
9
  ## Installation
6
10
 
7
11
  You can install `generic-ui-core` using npm:
@@ -18,11 +22,11 @@ yarn add generic-ui-core
18
22
 
19
23
  ## Contributing
20
24
 
21
- If you find a bug or have a feature request, please open an issue on the GitHub repository or contact the [Maintainer](#maintainer). Pull requests are also welcome!
25
+ If you find a bug or have a feature request, please open an issue on the GitHub repository or contact the [Maintainer](#maintainer).
22
26
 
23
27
  ## License
24
28
 
25
- Licensed under the [AGPL-3.0 license](https://www.gnu.org/licenses/agpl-3.0.en.html#license-text).
29
+ generic-ui-core is MIT licensed.
26
30
 
27
31
  ## Maintainer
28
32
 
package/dist/index.d.ts CHANGED
@@ -120,7 +120,6 @@ declare module 'generic-ui-core' {
120
120
  export function getUnitSystem(externalUnits?: Record<string, any>): any[];
121
121
  export function genUnit(type: string, unit: string): Record<string, string>;
122
122
  export function genUnits(type: string): Array<Record<string, string>>;
123
- export function unitConvertToBase(value: number, fromUnit: string): number;
124
123
  export function unitConversion(
125
124
  value: number,
126
125
  fromUnit: string,