@hero-design/rn 7.29.0 → 7.31.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/.turbo/turbo-build.log +2 -2
- package/assets/fonts/{RebondGrotesque-Regular.otf → RebondGrotesque.otf} +0 -0
- package/es/index.js +2 -1
- package/lib/index.js +2 -1
- package/package.json +9 -8
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +1 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +3 -3
- package/src/theme/global/typography.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
[33m@hero-design/rn:build[0m: cache hit, replaying output [
|
|
1
|
+
[33m@hero-design/rn:build[0m: cache hit, replaying output [2m7d6f8779c67d6b2a[0m
|
|
2
2
|
[33m@hero-design/rn:build: [0m$ yarn build:js && yarn build:types
|
|
3
3
|
[33m@hero-design/rn:build: [0m$ rollup -c
|
|
4
4
|
[33m@hero-design/rn:build: [0m[36m
|
|
5
5
|
[33m@hero-design/rn:build: [0m[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
6
6
|
[33m@hero-design/rn:build: [0m[1m[33m(!) Plugin replace: @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.[39m[22m
|
|
7
7
|
[33m@hero-design/rn:build: [0m[1m[33m(!) Plugin node-resolve: preferring built-in module 'events' over local alternative at '/root/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning[39m[22m
|
|
8
|
-
[33m@hero-design/rn:build: [0m[32mcreated [1mlib/index.js, es/index.js[22m in [
|
|
8
|
+
[33m@hero-design/rn:build: [0m[32mcreated [1mlib/index.js, es/index.js[22m in [1m21.6s[22m[39m
|
|
9
9
|
[33m@hero-design/rn:build: [0m$ tsc --noEmit false --emitDeclarationOnly --project tsconfig.prod.json
|
|
File without changes
|
package/es/index.js
CHANGED
|
@@ -1046,6 +1046,7 @@ var blue$1 = colorScales.blue,
|
|
|
1046
1046
|
violetDark15: violet$2.darken15,
|
|
1047
1047
|
violetDark30: violet$2.darken30,
|
|
1048
1048
|
violetDark45: violet$2.darken45,
|
|
1049
|
+
violetDark60: violet$2.darken60,
|
|
1049
1050
|
violetDark75: violet$2.darken75,
|
|
1050
1051
|
violetLight30: violet$2.lighten30,
|
|
1051
1052
|
violetLight60: violet$2.lighten60,
|
|
@@ -1411,7 +1412,7 @@ var getFonts = function getFonts(_ref) {
|
|
|
1411
1412
|
},
|
|
1412
1413
|
playful: {
|
|
1413
1414
|
light: "".concat(playful, "-Light"),
|
|
1414
|
-
regular: "".concat(playful
|
|
1415
|
+
regular: "".concat(playful),
|
|
1415
1416
|
semiBold: "".concat(playful, "-SemiBold")
|
|
1416
1417
|
}
|
|
1417
1418
|
};
|
package/lib/index.js
CHANGED
|
@@ -1075,6 +1075,7 @@ var blue$1 = colorScales.blue,
|
|
|
1075
1075
|
violetDark15: violet$2.darken15,
|
|
1076
1076
|
violetDark30: violet$2.darken30,
|
|
1077
1077
|
violetDark45: violet$2.darken45,
|
|
1078
|
+
violetDark60: violet$2.darken60,
|
|
1078
1079
|
violetDark75: violet$2.darken75,
|
|
1079
1080
|
violetLight30: violet$2.lighten30,
|
|
1080
1081
|
violetLight60: violet$2.lighten60,
|
|
@@ -1440,7 +1441,7 @@ var getFonts = function getFonts(_ref) {
|
|
|
1440
1441
|
},
|
|
1441
1442
|
playful: {
|
|
1442
1443
|
light: "".concat(playful, "-Light"),
|
|
1443
|
-
regular: "".concat(playful
|
|
1444
|
+
regular: "".concat(playful),
|
|
1444
1445
|
semiBold: "".concat(playful, "-SemiBold")
|
|
1445
1446
|
}
|
|
1446
1447
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.31.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -15,12 +15,13 @@
|
|
|
15
15
|
"build:types": "tsc --noEmit false --emitDeclarationOnly --project tsconfig.prod.json",
|
|
16
16
|
"build": "yarn build:js && yarn build:types",
|
|
17
17
|
"build:watch": "yarn build:js -w & yarn build:types -w",
|
|
18
|
-
"publish:npm": "yarn publish --access public"
|
|
18
|
+
"publish:npm": "yarn publish --access public",
|
|
19
|
+
"set-dev-env": "npm pkg set react-native=src/index.ts"
|
|
19
20
|
},
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@emotion/native": "^11.9.3",
|
|
22
23
|
"@emotion/react": "^11.9.3",
|
|
23
|
-
"@hero-design/colors": "7.
|
|
24
|
+
"@hero-design/colors": "7.31.0",
|
|
24
25
|
"date-fns": "^2.16.1",
|
|
25
26
|
"events": "^3.2.0",
|
|
26
27
|
"hero-editor": "^1.9.12"
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
"@babel/preset-typescript": "^7.17.12",
|
|
44
45
|
"@babel/runtime": "^7.18.9",
|
|
45
46
|
"@emotion/jest": "^11.9.3",
|
|
46
|
-
"@hero-design/eslint-plugin": "7.
|
|
47
|
+
"@hero-design/eslint-plugin": "7.31.0",
|
|
47
48
|
"@react-native-community/datetimepicker": "^3.5.2",
|
|
48
49
|
"@react-native-community/slider": "4.1.12",
|
|
49
50
|
"@rollup/plugin-babel": "^5.3.1",
|
|
@@ -59,8 +60,9 @@
|
|
|
59
60
|
"@types/react-native": "^0.67.7",
|
|
60
61
|
"@types/react-native-vector-icons": "^6.4.10",
|
|
61
62
|
"babel-plugin-inline-import": "^3.0.0",
|
|
62
|
-
"eslint-config-hd": "7.
|
|
63
|
+
"eslint-config-hd": "7.31.0",
|
|
63
64
|
"jest": "^27.3.1",
|
|
65
|
+
"prettier-config-hd": "7.31.0",
|
|
64
66
|
"react": "17.0.2",
|
|
65
67
|
"react-native": "0.65.1",
|
|
66
68
|
"react-native-gesture-handler": "~2.1.0",
|
|
@@ -69,12 +71,11 @@
|
|
|
69
71
|
"react-native-vector-icons": "^9.1.0",
|
|
70
72
|
"react-native-webview": "^11.15.0",
|
|
71
73
|
"react-test-renderer": "17.0.2",
|
|
74
|
+
"rn-7-23-0": "npm:@hero-design/rn@7.23.0",
|
|
72
75
|
"rollup": "^2.68.0",
|
|
73
76
|
"rollup-plugin-copy": "^3.4.0",
|
|
74
77
|
"rollup-plugin-flow": "^1.1.1",
|
|
75
|
-
"ts-jest": "^27.0.7"
|
|
76
|
-
"prettier-config-hd": "7.29.0",
|
|
77
|
-
"rn-7-23-0": "npm:@hero-design/rn@7.23.0"
|
|
78
|
+
"ts-jest": "^27.0.7"
|
|
78
79
|
},
|
|
79
80
|
"prettier": "prettier-config-hd"
|
|
80
81
|
}
|
|
@@ -38,7 +38,7 @@ exports[`Empty renders empty state content correctly 1`] = `
|
|
|
38
38
|
Array [
|
|
39
39
|
Object {
|
|
40
40
|
"color": "#4d6265",
|
|
41
|
-
"fontFamily": "RebondGrotesque
|
|
41
|
+
"fontFamily": "RebondGrotesque",
|
|
42
42
|
"fontSize": 18,
|
|
43
43
|
"textAlign": "center",
|
|
44
44
|
},
|
|
@@ -105,7 +105,7 @@ exports[`Empty renders empty state with image correctly 1`] = `
|
|
|
105
105
|
Array [
|
|
106
106
|
Object {
|
|
107
107
|
"color": "#4d6265",
|
|
108
|
-
"fontFamily": "RebondGrotesque
|
|
108
|
+
"fontFamily": "RebondGrotesque",
|
|
109
109
|
"fontSize": 18,
|
|
110
110
|
"textAlign": "center",
|
|
111
111
|
},
|
|
@@ -190,7 +190,7 @@ exports[`StyledText has playful typeface style 1`] = `
|
|
|
190
190
|
Array [
|
|
191
191
|
Object {
|
|
192
192
|
"color": "#001f23",
|
|
193
|
-
"fontFamily": "RebondGrotesque
|
|
193
|
+
"fontFamily": "RebondGrotesque",
|
|
194
194
|
"fontSize": 14,
|
|
195
195
|
"letterSpacing": 0.42,
|
|
196
196
|
"lineHeight": 22,
|
|
@@ -340,7 +340,7 @@ Object {
|
|
|
340
340
|
"title": 24,
|
|
341
341
|
},
|
|
342
342
|
"fonts": Object {
|
|
343
|
-
"description": "RebondGrotesque
|
|
343
|
+
"description": "RebondGrotesque",
|
|
344
344
|
"title": "RebondGrotesque-SemiBold",
|
|
345
345
|
},
|
|
346
346
|
"sizes": Object {
|
|
@@ -924,7 +924,7 @@ Object {
|
|
|
924
924
|
},
|
|
925
925
|
"playful": Object {
|
|
926
926
|
"light": "RebondGrotesque-Light",
|
|
927
|
-
"regular": "RebondGrotesque
|
|
927
|
+
"regular": "RebondGrotesque",
|
|
928
928
|
"semiBold": "RebondGrotesque-SemiBold",
|
|
929
929
|
},
|
|
930
930
|
},
|
|
@@ -1054,7 +1054,7 @@ Object {
|
|
|
1054
1054
|
},
|
|
1055
1055
|
"playful": Object {
|
|
1056
1056
|
"light": "RebondGrotesque-Light",
|
|
1057
|
-
"regular": "RebondGrotesque
|
|
1057
|
+
"regular": "RebondGrotesque",
|
|
1058
1058
|
"semiBold": "RebondGrotesque-SemiBold",
|
|
1059
1059
|
},
|
|
1060
1060
|
},
|