@ledgerhq/native-ui 0.18.0-next.0 → 0.18.0-nightly.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.
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="styled-components-react-native" />
|
|
2
2
|
import React from "react";
|
|
3
|
+
import Svg from "react-native-svg";
|
|
3
4
|
import { SizeProps } from "styled-system";
|
|
4
|
-
declare const Loader: import("styled-components").StyledComponent<
|
|
5
|
+
declare const Loader: import("styled-components").StyledComponent<typeof Svg, import("styled-components").DefaultTheme, SizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>>, never>;
|
|
5
6
|
export type Props = React.ComponentProps<typeof Loader> & {
|
|
6
7
|
color?: string;
|
|
7
8
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/native-ui",
|
|
3
|
-
"version": "0.18.0-
|
|
3
|
+
"version": "0.18.0-nightly.0",
|
|
4
4
|
"description": "Ledger Live - Mobile UI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"moment": "^2.29.1",
|
|
43
43
|
"react-native-animatable": "^1.3.3",
|
|
44
44
|
"react-native-modal": "^13.0.0",
|
|
45
|
-
"react-native-svg": "
|
|
46
|
-
"rn-range-slider": "
|
|
45
|
+
"react-native-svg": "13.4.0",
|
|
46
|
+
"rn-range-slider": "2.1.1",
|
|
47
47
|
"styled-system": "^5.1.5",
|
|
48
48
|
"victory-native": "^35.5.5",
|
|
49
|
-
"@ledgerhq/crypto-icons-ui": "^0.2.
|
|
50
|
-
"@ledgerhq/icons-ui": "^0.3.
|
|
49
|
+
"@ledgerhq/crypto-icons-ui": "^0.2.2-nightly.0",
|
|
50
|
+
"@ledgerhq/icons-ui": "^0.3.6-nightly.0",
|
|
51
51
|
"@ledgerhq/ui-shared": "^0.1.10"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
@@ -55,56 +55,59 @@
|
|
|
55
55
|
"@types/react-native": "*",
|
|
56
56
|
"@types/styled-components": "^5.3.3",
|
|
57
57
|
"@types/styled-components-react-native": "^5.3.3",
|
|
58
|
-
"react": "
|
|
58
|
+
"react": ">=17",
|
|
59
59
|
"react-native": ">=0.64.0",
|
|
60
|
-
"react-native-reanimated": "
|
|
60
|
+
"react-native-reanimated": "^2.9.1",
|
|
61
61
|
"styled-components": "^5.3.3"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@babel/core": "^7.
|
|
64
|
+
"@babel/core": "^7.21.0",
|
|
65
65
|
"@babel/generator": "^7.17.2",
|
|
66
|
+
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
66
67
|
"@babel/plugin-proposal-export-namespace-from": "^7.16.0",
|
|
67
68
|
"@babel/preset-env": "^7.15.8",
|
|
68
69
|
"@babel/runtime": "^7.17.2",
|
|
69
|
-
"@emotion/core": "^
|
|
70
|
-
"@
|
|
70
|
+
"@emotion/core": "^10.3.1",
|
|
71
|
+
"@emotion/native": "^10.0.27",
|
|
72
|
+
"@expo/metro-config": "^0.7.1",
|
|
73
|
+
"@expo/webpack-config": "^18.0.1",
|
|
74
|
+
"@react-native-async-storage/async-storage": "1.17.11",
|
|
71
75
|
"@react-native-community/cli-server-api": "^7.0.3",
|
|
76
|
+
"@react-native-community/datetimepicker": "6.7.3",
|
|
72
77
|
"@react-native-community/eslint-config": "^3.0.1",
|
|
73
|
-
"@
|
|
74
|
-
"@storybook/addon-
|
|
75
|
-
"@storybook/addon-controls": "^6.
|
|
76
|
-
"@storybook/addon-
|
|
77
|
-
"@storybook/addon-
|
|
78
|
-
"@storybook/addon-
|
|
79
|
-
"@storybook/addon-
|
|
80
|
-
"@storybook/addon-
|
|
81
|
-
"@storybook/addon-ondevice-
|
|
82
|
-
"@storybook/addon-
|
|
83
|
-
"@storybook/
|
|
84
|
-
"@storybook/
|
|
85
|
-
"@storybook/
|
|
86
|
-
"@storybook/
|
|
87
|
-
"@storybook/
|
|
88
|
-
"@storybook/components": "^6.4.19",
|
|
89
|
-
"@storybook/core-events": "^6.4.19",
|
|
90
|
-
"@storybook/react": "^6.4.19",
|
|
91
|
-
"@storybook/react-native": "^5.3.25",
|
|
92
|
-
"@storybook/theming": "^6.4.19",
|
|
78
|
+
"@react-native-community/slider": "^4.4.2",
|
|
79
|
+
"@storybook/addon-actions": "^6.5.16",
|
|
80
|
+
"@storybook/addon-controls": "^6.5.16",
|
|
81
|
+
"@storybook/addon-essentials": "^6.5.16",
|
|
82
|
+
"@storybook/addon-links": "^6.5.16",
|
|
83
|
+
"@storybook/addon-ondevice-actions": "6.5.0-rc.11",
|
|
84
|
+
"@storybook/addon-ondevice-backgrounds": "6.5.0-rc.11",
|
|
85
|
+
"@storybook/addon-ondevice-controls": "6.5.0-rc.11",
|
|
86
|
+
"@storybook/addon-ondevice-notes": "6.5.0-rc.11",
|
|
87
|
+
"@storybook/addon-react-native-web": "^0.0.19",
|
|
88
|
+
"@storybook/builder-webpack5": "^6.5.14",
|
|
89
|
+
"@storybook/docs-tools": "^6.5.16",
|
|
90
|
+
"@storybook/manager-webpack5": "^6.5.14",
|
|
91
|
+
"@storybook/react": "^6.5.16",
|
|
92
|
+
"@storybook/react-native": "6.5.0-rc.11",
|
|
93
93
|
"@svgr/core": "^5.5.0",
|
|
94
94
|
"@svgr/plugin-jsx": "^5.5.0",
|
|
95
95
|
"@svgr/plugin-svgo": "^5.5.0",
|
|
96
96
|
"@types/hoist-non-react-statics": "^3.3.1",
|
|
97
97
|
"@types/node": "^17.0.31",
|
|
98
98
|
"@types/prop-types": "^15.7.5",
|
|
99
|
-
"@types/react": "^17.0.
|
|
100
|
-
"@types/react-native": "
|
|
99
|
+
"@types/react": "^17.0.53",
|
|
100
|
+
"@types/react-native": "0.71.5",
|
|
101
101
|
"@types/styled-components": "^5.1.3",
|
|
102
102
|
"@types/styled-components-react-native": "^5.1.3",
|
|
103
103
|
"@typescript-eslint/eslint-plugin": "^5.22.0",
|
|
104
104
|
"@typescript-eslint/parser": "^5.22.0",
|
|
105
|
+
"assert": "^2.0.0",
|
|
105
106
|
"babel-loader": "^8.2.2",
|
|
106
107
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
107
|
-
"babel-
|
|
108
|
+
"babel-plugin-react-docgen-typescript": "^1.5.1",
|
|
109
|
+
"babel-plugin-react-native-web": "^0.18.12",
|
|
110
|
+
"babel-preset-expo": "^9.3.0",
|
|
108
111
|
"camelcase": "^6.2.1",
|
|
109
112
|
"csstype": "^3.0.11",
|
|
110
113
|
"eslint": "^8.10.0",
|
|
@@ -112,30 +115,33 @@
|
|
|
112
115
|
"eslint-plugin-prettier": "^4.0.0",
|
|
113
116
|
"eslint-plugin-react": "^7.29.2",
|
|
114
117
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
115
|
-
"expo": "~
|
|
116
|
-
"expo-asset": "^8.
|
|
117
|
-
"expo-
|
|
118
|
-
"expo-
|
|
119
|
-
"expo-
|
|
120
|
-
"expo-modules-core": "^0.6.5",
|
|
118
|
+
"expo": "~48.0.9",
|
|
119
|
+
"expo-asset": "^8.9.1",
|
|
120
|
+
"expo-constants": "^14.2.1",
|
|
121
|
+
"expo-font": "^11.1.1",
|
|
122
|
+
"expo-modules-core": "^1.2.2",
|
|
121
123
|
"fs-extra": "^10.0.1",
|
|
122
124
|
"glob": "^7.2.0",
|
|
123
|
-
"metro": "^0.
|
|
124
|
-
"metro-config": "^0.
|
|
125
|
-
"metro-
|
|
126
|
-
"metro-
|
|
127
|
-
"metro-
|
|
128
|
-
"metro-
|
|
129
|
-
"metro-
|
|
125
|
+
"metro": "^0.76.0",
|
|
126
|
+
"metro-config": "^0.76.0",
|
|
127
|
+
"metro-core": "^0.76.0",
|
|
128
|
+
"metro-minify-uglify": "^0.76.0",
|
|
129
|
+
"metro-react-native-babel-preset": "^0.76.0",
|
|
130
|
+
"metro-react-native-babel-transformer": "^0.76.0",
|
|
131
|
+
"metro-resolver": "^0.76.0",
|
|
132
|
+
"metro-runtime": "^0.76.0",
|
|
133
|
+
"metro-source-map": "^0.76.0",
|
|
134
|
+
"metro-transform-worker": "^0.76.0",
|
|
135
|
+
"minimatch": "^5.1.0",
|
|
130
136
|
"prettier": "^2.4.1",
|
|
131
137
|
"prop-types": "^15.8.1",
|
|
132
|
-
"react": "^
|
|
133
|
-
"react-dom": "^
|
|
134
|
-
"react-is": "^
|
|
135
|
-
"react-native": "
|
|
136
|
-
"react-native-
|
|
137
|
-
"react-native-
|
|
138
|
-
"react-native-web": "~0.
|
|
138
|
+
"react": "^18",
|
|
139
|
+
"react-dom": "^18",
|
|
140
|
+
"react-is": "^18",
|
|
141
|
+
"react-native": "0.71.6",
|
|
142
|
+
"react-native-reanimated": "^2.15.0",
|
|
143
|
+
"react-native-safe-area-context": "^4.5.0",
|
|
144
|
+
"react-native-web": "~0.18.12",
|
|
139
145
|
"regenerator-runtime": "^0.13.9",
|
|
140
146
|
"rimraf": "^4.1.2",
|
|
141
147
|
"styled-components": "^5.3.3",
|
|
@@ -143,16 +149,18 @@
|
|
|
143
149
|
"stylelint-config-recommended": "^8.0.0",
|
|
144
150
|
"stylelint-config-styled-components": "^0.1.1",
|
|
145
151
|
"stylelint-processor-styled-components": "^1.10.0",
|
|
146
|
-
"typescript": "^4.
|
|
152
|
+
"typescript": "^4.9.5",
|
|
153
|
+
"util": "^0.12.5",
|
|
147
154
|
"victory": "^35.5.5",
|
|
148
|
-
"webpack": "^
|
|
155
|
+
"webpack": "^5.76.1",
|
|
156
|
+
"webpack-dev-server": "^4.12.0",
|
|
149
157
|
"metro-extra-config": "1.0.0"
|
|
150
158
|
},
|
|
151
159
|
"scripts": {
|
|
152
160
|
"android": "expo start --android",
|
|
153
161
|
"build": "tsc -p tsconfig.prod.json && node scripts/postBuild",
|
|
154
162
|
"prebuild:storybook": "pnpm -F ui-shared -F icons-ui -F crypto-icons-ui build",
|
|
155
|
-
"build:storybook": "pnpm build-storybook -o web-build",
|
|
163
|
+
"build:storybook": "pnpm build-storybook -c .storybook-web -o web-build",
|
|
156
164
|
"watch": "tsc -p tsconfig.prod.json --watch",
|
|
157
165
|
"clean": "rimraf lib",
|
|
158
166
|
"eject": "expo eject",
|
|
@@ -162,7 +170,7 @@
|
|
|
162
170
|
"lint:css": "stylelint './src/**/*.{js,jsx,ts,tsx}'",
|
|
163
171
|
"release": "yarn publish ./lib --access public",
|
|
164
172
|
"expo": "expo start",
|
|
165
|
-
"storybook": "start-storybook -p 6006",
|
|
173
|
+
"storybook": "start-storybook -c .storybook-web -p 6006",
|
|
166
174
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
167
175
|
"test": "exit 0",
|
|
168
176
|
"web": "expo start --web"
|