@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.
@@ -1,9 +1,9 @@
1
- @hero-design/rn:build: cache hit, replaying output d9bdf9ebe573456b
1
+ @hero-design/rn:build: cache hit, replaying output 7d6f8779c67d6b2a
2
2
  @hero-design/rn:build: $ yarn build:js && yarn build:types
3
3
  @hero-design/rn:build: $ rollup -c
4
4
  @hero-design/rn:build: 
5
5
  @hero-design/rn:build: src/index.ts → lib/index.js, es/index.js...
6
6
  @hero-design/rn:build: (!) 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`.
7
7
  @hero-design/rn:build: (!) 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
8
- @hero-design/rn:build: created lib/index.js, es/index.js in 27s
8
+ @hero-design/rn:build: created lib/index.js, es/index.js in 21.6s
9
9
  @hero-design/rn:build: $ tsc --noEmit false --emitDeclarationOnly --project tsconfig.prod.json
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, "-Regular"),
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, "-Regular"),
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.29.0",
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.29.0",
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.29.0",
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.29.0",
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-Regular",
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-Regular",
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-Regular",
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-Regular",
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-Regular",
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-Regular",
1057
+ "regular": "RebondGrotesque",
1058
1058
  "semiBold": "RebondGrotesque-SemiBold",
1059
1059
  },
1060
1060
  },
@@ -45,7 +45,7 @@ const getFonts = ({
45
45
  },
46
46
  playful: {
47
47
  light: `${playful}-Light`,
48
- regular: `${playful}-Regular`,
48
+ regular: `${playful}`,
49
49
  semiBold: `${playful}-SemiBold`,
50
50
  },
51
51
  });