@ledgerhq/native-ui 0.9.0-nightly.2 → 0.9.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.
|
@@ -4,9 +4,9 @@ import Animated, { useAnimatedStyle, withTiming, useSharedValue, Easing, } from
|
|
|
4
4
|
import { Flex } from "../../Layout";
|
|
5
5
|
const ProgressBar = styled.View `
|
|
6
6
|
background-color: ${(p) => p.theme.colors.primary.c100};
|
|
7
|
+
border-radius: ${(p) => p.theme.radii[2]}px;
|
|
7
8
|
height: 100%;
|
|
8
9
|
width: 100%;
|
|
9
|
-
border-radius: ${(p) => p.theme.radii[2]}px;
|
|
10
10
|
`;
|
|
11
11
|
const AnimatedProgressBar = Animated.createAnimatedComponent(ProgressBar);
|
|
12
12
|
function ActiveProgressBar({ duration }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/native-ui",
|
|
3
|
-
"version": "0.9.0
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Ledger Live - Mobile UI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"lib/**/*"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@ledgerhq/crypto-icons-ui": "^0.2.0
|
|
35
|
+
"@ledgerhq/crypto-icons-ui": "^0.2.0",
|
|
36
36
|
"@ledgerhq/icons-ui": "^0.2.7",
|
|
37
37
|
"@ledgerhq/ui-shared": "^0.1.9",
|
|
38
38
|
"@types/color": "^3.0.3",
|
|
@@ -136,7 +136,11 @@
|
|
|
136
136
|
"styled-components": "^5.3.3",
|
|
137
137
|
"typescript": "^4.4.4",
|
|
138
138
|
"victory": "^35.5.5",
|
|
139
|
-
"webpack": "^4.46.0"
|
|
139
|
+
"webpack": "^4.46.0",
|
|
140
|
+
"stylelint": "^14.9.1",
|
|
141
|
+
"stylelint-config-recommended": "^8.0.0",
|
|
142
|
+
"stylelint-config-styled-components": "^0.1.1",
|
|
143
|
+
"stylelint-processor-styled-components": "^1.10.0"
|
|
140
144
|
},
|
|
141
145
|
"scripts": {
|
|
142
146
|
"android": "expo start --android",
|
|
@@ -149,6 +153,7 @@
|
|
|
149
153
|
"ios": "expo start --ios",
|
|
150
154
|
"lint": "eslint src storybook --ext .ts,.tsx,.js,.jsx --cache",
|
|
151
155
|
"lint:fix": "pnpm lint --fix",
|
|
156
|
+
"lint:css": "stylelint './src/**/*.{js,jsx,ts,tsx}'",
|
|
152
157
|
"release": "yarn publish ./lib --access public",
|
|
153
158
|
"expo": "expo start",
|
|
154
159
|
"storybook": "start-storybook -p 6006",
|