@ledgerhq/native-ui 0.17.1-next.0 → 0.18.0-next.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/lib/styles/helpers.d.ts +0 -1
- package/lib/styles/helpers.js +0 -1
- package/package.json +2 -2
package/lib/styles/helpers.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export declare const rgba: (c: string, a: number) => string;
|
|
2
2
|
export declare const hex: (color: string) => string;
|
|
3
|
-
export declare const getAlpha: (color: string) => number;
|
|
4
3
|
export declare const darken: (c: string, a: number) => string;
|
|
5
4
|
export declare const lighten: (c: string, a: number) => string;
|
|
6
5
|
export declare const mix: (c: string, b: string, a: number) => string;
|
package/lib/styles/helpers.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import Color from "color";
|
|
2
2
|
export const rgba = (c, a) => Color(c).alpha(a).rgb().toString();
|
|
3
3
|
export const hex = (color) => Color(color).hex().toString();
|
|
4
|
-
export const getAlpha = (color) => Color(color).alpha();
|
|
5
4
|
export const darken = (c, a) => Color(c).darken(a).toString();
|
|
6
5
|
export const lighten = (c, a) => Color(c).lighten(a).toString();
|
|
7
6
|
export const mix = (c, b, a) => Color(c).mix(Color(b), a).toString();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/native-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0-next.0",
|
|
4
4
|
"description": "Ledger Live - Mobile UI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"victory-native": "^35.5.5",
|
|
49
49
|
"@ledgerhq/crypto-icons-ui": "^0.2.1",
|
|
50
50
|
"@ledgerhq/icons-ui": "^0.3.5",
|
|
51
|
-
"@ledgerhq/ui-shared": "^0.1.
|
|
51
|
+
"@ledgerhq/ui-shared": "^0.1.10"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@types/react": "*",
|