@hero-design/rn 7.25.0 → 7.25.1
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/{hero-icons.ttf → hero-icons-mobile.ttf} +0 -0
- package/es/index.js +3 -3
- package/lib/assets/fonts/{hero-icons.ttf → hero-icons-mobile.ttf} +0 -0
- package/lib/index.js +3 -3
- package/package.json +4 -4
- package/rollup.config.js +1 -1
- package/src/components/ContentNavigator/index.tsx +8 -12
- package/src/components/Icon/HeroIcon/index.tsx +5 -1
- package/src/components/Icon/HeroIcon/fonts/hero-icons.ttf +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
[34m@hero-design/rn:build[0m: cache hit, replaying output [
|
|
1
|
+
[34m@hero-design/rn:build[0m: cache hit, replaying output [2mf9a4bda1fd480e90[0m
|
|
2
2
|
[34m@hero-design/rn:build: [0m$ yarn build:js && yarn build:types
|
|
3
3
|
[34m@hero-design/rn:build: [0m$ rollup -c
|
|
4
4
|
[34m@hero-design/rn:build: [0m[36m
|
|
5
5
|
[34m@hero-design/rn:build: [0m[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
6
6
|
[34m@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
|
[34m@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
|
-
[34m@hero-design/rn:build: [0m[32mcreated [1mlib/index.js, es/index.js[22m in [
|
|
8
|
+
[34m@hero-design/rn:build: [0m[32mcreated [1mlib/index.js, es/index.js[22m in [1m23.5s[22m[39m
|
|
9
9
|
[34m@hero-design/rn:build: [0m$ tsc --noEmit false --emitDeclarationOnly --project tsconfig.prod.json
|
|
Binary file
|
package/es/index.js
CHANGED
|
@@ -6634,7 +6634,7 @@ var glyphMap = {
|
|
|
6634
6634
|
"wallet-outlined": 59348
|
|
6635
6635
|
};
|
|
6636
6636
|
|
|
6637
|
-
var HeroIcon = createIconSet(glyphMap, 'hero-icons', 'hero-icons.ttf');
|
|
6637
|
+
var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
6638
6638
|
var COLOR_INTENTS = {
|
|
6639
6639
|
text: 'text',
|
|
6640
6640
|
primary: 'primary',
|
|
@@ -10790,12 +10790,12 @@ function ContentNavigator(_ref) {
|
|
|
10790
10790
|
onPress: onPreviousPress,
|
|
10791
10791
|
disabled: previousDisabled,
|
|
10792
10792
|
testID: "previous-icon-button"
|
|
10793
|
-
}),
|
|
10793
|
+
}), /*#__PURE__*/React.createElement(Value, {
|
|
10794
10794
|
fontWeight: "semi-bold",
|
|
10795
10795
|
fontSize: fontSize,
|
|
10796
10796
|
onPress: onPress,
|
|
10797
10797
|
testID: "content-navigator-value"
|
|
10798
|
-
}, value)
|
|
10798
|
+
}, value), /*#__PURE__*/React.createElement(CompoundButton.Icon, {
|
|
10799
10799
|
icon: "arrow-right",
|
|
10800
10800
|
onPress: onNextPress,
|
|
10801
10801
|
disabled: nextDisabled,
|
|
Binary file
|
package/lib/index.js
CHANGED
|
@@ -6663,7 +6663,7 @@ var glyphMap = {
|
|
|
6663
6663
|
"wallet-outlined": 59348
|
|
6664
6664
|
};
|
|
6665
6665
|
|
|
6666
|
-
var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons', 'hero-icons.ttf');
|
|
6666
|
+
var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
|
|
6667
6667
|
var COLOR_INTENTS = {
|
|
6668
6668
|
text: 'text',
|
|
6669
6669
|
primary: 'primary',
|
|
@@ -10819,12 +10819,12 @@ function ContentNavigator(_ref) {
|
|
|
10819
10819
|
onPress: onPreviousPress,
|
|
10820
10820
|
disabled: previousDisabled,
|
|
10821
10821
|
testID: "previous-icon-button"
|
|
10822
|
-
}),
|
|
10822
|
+
}), /*#__PURE__*/React__default["default"].createElement(Value, {
|
|
10823
10823
|
fontWeight: "semi-bold",
|
|
10824
10824
|
fontSize: fontSize,
|
|
10825
10825
|
onPress: onPress,
|
|
10826
10826
|
testID: "content-navigator-value"
|
|
10827
|
-
}, value)
|
|
10827
|
+
}, value), /*#__PURE__*/React__default["default"].createElement(CompoundButton.Icon, {
|
|
10828
10828
|
icon: "arrow-right",
|
|
10829
10829
|
onPress: onNextPress,
|
|
10830
10830
|
disabled: nextDisabled,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn",
|
|
3
|
-
"version": "7.25.
|
|
3
|
+
"version": "7.25.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@emotion/native": "^11.9.3",
|
|
22
22
|
"@emotion/react": "^11.9.3",
|
|
23
|
-
"@hero-design/colors": "7.25.
|
|
23
|
+
"@hero-design/colors": "7.25.1",
|
|
24
24
|
"date-fns": "^2.16.1",
|
|
25
25
|
"events": "^3.2.0",
|
|
26
26
|
"hero-editor": "^1.9.12"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@types/react-native": "^0.67.7",
|
|
59
59
|
"@types/react-native-vector-icons": "^6.4.10",
|
|
60
60
|
"babel-plugin-inline-import": "^3.0.0",
|
|
61
|
-
"eslint-config-hd": "7.25.
|
|
61
|
+
"eslint-config-hd": "7.25.1",
|
|
62
62
|
"jest": "^27.3.1",
|
|
63
63
|
"react": "17.0.2",
|
|
64
64
|
"react-native": "0.65.1",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"rollup-plugin-copy": "^3.4.0",
|
|
73
73
|
"rollup-plugin-flow": "^1.1.1",
|
|
74
74
|
"ts-jest": "^27.0.7",
|
|
75
|
-
"prettier-config-hd": "7.25.
|
|
75
|
+
"prettier-config-hd": "7.25.1",
|
|
76
76
|
"rn-7-23-0": "npm:@hero-design/rn@7.23.0"
|
|
77
77
|
},
|
|
78
78
|
"prettier": "prettier-config-hd"
|
package/rollup.config.js
CHANGED
|
@@ -62,18 +62,14 @@ function ContentNavigator({
|
|
|
62
62
|
disabled={previousDisabled}
|
|
63
63
|
testID="previous-icon-button"
|
|
64
64
|
/>
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
</Value>
|
|
74
|
-
) : (
|
|
75
|
-
value
|
|
76
|
-
)}
|
|
65
|
+
<Value
|
|
66
|
+
fontWeight="semi-bold"
|
|
67
|
+
fontSize={fontSize}
|
|
68
|
+
onPress={onPress}
|
|
69
|
+
testID="content-navigator-value"
|
|
70
|
+
>
|
|
71
|
+
{value}
|
|
72
|
+
</Value>
|
|
77
73
|
<Button.Icon
|
|
78
74
|
icon="arrow-right"
|
|
79
75
|
onPress={onNextPress}
|
|
@@ -14,7 +14,11 @@ type ThemeIntent =
|
|
|
14
14
|
| 'disabled-text'
|
|
15
15
|
| 'text-inverted';
|
|
16
16
|
|
|
17
|
-
const HeroIcon = createIconSet(
|
|
17
|
+
const HeroIcon = createIconSet(
|
|
18
|
+
glyphMap,
|
|
19
|
+
'hero-icons-mobile',
|
|
20
|
+
'hero-icons-mobile.ttf'
|
|
21
|
+
);
|
|
18
22
|
|
|
19
23
|
const COLOR_INTENTS = {
|
|
20
24
|
text: 'text',
|
|
Binary file
|