@hero-design/rn 8.105.1-alpha.0 → 8.105.2
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 +3 -3
- package/CHANGELOG.md +5 -7
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +4 -3
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +4 -3
- package/package.json +1 -1
- package/src/components/Badge/__tests__/__snapshots__/Count.spec.tsx.snap +3 -3
- package/src/components/PinInput/StyledPinInput.tsx +3 -1
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +5 -10
- package/src/components/PinInput/index.tsx +0 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +1 -1
- package/src/theme/components/badge.ts +1 -1
- package/stats/8.105.0/rn-stats.html +3 -1
- package/stats/8.105.1/rn-stats.html +4842 -0
- package/stats/8.105.2/rn-stats.html +4844 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(node:
|
|
1
|
+
(node:3400) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
|
|
2
2
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
3
3
|
[36m
|
|
4
4
|
[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
@@ -15,9 +15,9 @@ node_modules/d3-selection/src/selection/index.js -> node_modules/d3-selection/sr
|
|
|
15
15
|
[7m [0m [91m ~~~~~~~~~~~~~~~~~~~[0m
|
|
16
16
|
[39m
|
|
17
17
|
[1m[33m(!) [plugin node-resolve] preferring built-in module 'events' over local alternative at '/home/runner/work/hero-design/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning.or passing a function to 'preferBuiltins' to provide more fine-grained control over which built-in modules to prefer.[39m[22m
|
|
18
|
-
[32mcreated [1mlib/index.js, es/index.js[22m in [1m1m
|
|
18
|
+
[32mcreated [1mlib/index.js, es/index.js[22m in [1m1m 11.4s[22m[39m
|
|
19
19
|
[36m
|
|
20
20
|
[1m/home/runner/work/hero-design/hero-design/packages/rn/src/locales/en_AU.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/en_CA.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/index.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/types.ts[22m → [1m., .[22m...[39m
|
|
21
21
|
[1m[33m(!) Generated empty chunks[39m[22m
|
|
22
22
|
"locales/types" and "locales/types"
|
|
23
|
-
[32mcreated [1m., .[22m in [1m22.
|
|
23
|
+
[32mcreated [1m., .[22m in [1m22.7s[22m[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
# @hero-design/rn
|
|
2
2
|
|
|
3
|
-
## 8.105.
|
|
3
|
+
## 8.105.2
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- [#
|
|
7
|
+
- [#4153](https://github.com/Thinkei/hero-design/pull/4153) [`2ced09440248a05875fc34e278cff41680173f12`](https://github.com/Thinkei/hero-design/commit/2ced09440248a05875fc34e278cff41680173f12) Thanks [@ttkien](https://github.com/ttkien)! - [PinInput] fix issue cannot paste
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## 8.104.1-alpha.3
|
|
9
|
+
## 8.105.1
|
|
12
10
|
|
|
13
11
|
### Patch Changes
|
|
14
12
|
|
|
15
|
-
- [#
|
|
13
|
+
- [#4133](https://github.com/Thinkei/hero-design/pull/4133) [`8e945d988d61e6417e05b1c3c2aa6dc381dfd723`](https://github.com/Thinkei/hero-design/commit/8e945d988d61e6417e05b1c3c2aa6dc381dfd723) Thanks [@ttkien](https://github.com/ttkien)! - [Badge] Fix mis-alignment Badge Count on iOS
|
|
16
14
|
|
|
17
|
-
- [#
|
|
15
|
+
- [#4142](https://github.com/Thinkei/hero-design/pull/4142) [`bdfe001823336624c8738fe07caf0fa1eba1cd86`](https://github.com/Thinkei/hero-design/commit/bdfe001823336624c8738fe07caf0fa1eba1cd86) Thanks [@dathuynh-eh](https://github.com/dathuynh-eh)! - Update thumb up icon
|
|
18
16
|
|
|
19
17
|
## 8.105.0
|
|
20
18
|
|
|
Binary file
|
package/es/index.js
CHANGED
|
@@ -5580,7 +5580,7 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
5580
5580
|
count: Platform.select({
|
|
5581
5581
|
android: 14,
|
|
5582
5582
|
// vertical alignment
|
|
5583
|
-
"default":
|
|
5583
|
+
"default": theme.lineHeights.small
|
|
5584
5584
|
})
|
|
5585
5585
|
};
|
|
5586
5586
|
var radii = {
|
|
@@ -24022,7 +24022,9 @@ var StyledHiddenInput = index$b(TextInput$1)(function (_ref6) {
|
|
|
24022
24022
|
var spacerWidth = theme.__hd__.pinInput.space.spacer;
|
|
24023
24023
|
return {
|
|
24024
24024
|
position: 'absolute',
|
|
24025
|
-
|
|
24025
|
+
// Opacity must be > 0.01 to receive touch events on iOS in RN 0.76.7.
|
|
24026
|
+
// See https://github.com/facebook/react-native/issues/50465 for details.
|
|
24027
|
+
opacity: 0.01001,
|
|
24026
24028
|
left: 0,
|
|
24027
24029
|
top: 0,
|
|
24028
24030
|
right: 0,
|
|
@@ -24199,7 +24201,6 @@ var PinInput = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
24199
24201
|
autoFocus: autoFocus,
|
|
24200
24202
|
onFocus: focus,
|
|
24201
24203
|
onBlur: blur,
|
|
24202
|
-
pointerEvents: "none",
|
|
24203
24204
|
inputMode: "numeric",
|
|
24204
24205
|
testID: "pin-hidden-input",
|
|
24205
24206
|
textContentType: textContentType,
|
|
Binary file
|
package/lib/index.js
CHANGED
|
@@ -5609,7 +5609,7 @@ var getBadgeTheme = function getBadgeTheme(theme) {
|
|
|
5609
5609
|
count: reactNative.Platform.select({
|
|
5610
5610
|
android: 14,
|
|
5611
5611
|
// vertical alignment
|
|
5612
|
-
"default":
|
|
5612
|
+
"default": theme.lineHeights.small
|
|
5613
5613
|
})
|
|
5614
5614
|
};
|
|
5615
5615
|
var radii = {
|
|
@@ -24051,7 +24051,9 @@ var StyledHiddenInput = index$b(reactNative.TextInput)(function (_ref6) {
|
|
|
24051
24051
|
var spacerWidth = theme.__hd__.pinInput.space.spacer;
|
|
24052
24052
|
return {
|
|
24053
24053
|
position: 'absolute',
|
|
24054
|
-
|
|
24054
|
+
// Opacity must be > 0.01 to receive touch events on iOS in RN 0.76.7.
|
|
24055
|
+
// See https://github.com/facebook/react-native/issues/50465 for details.
|
|
24056
|
+
opacity: 0.01001,
|
|
24055
24057
|
left: 0,
|
|
24056
24058
|
top: 0,
|
|
24057
24059
|
right: 0,
|
|
@@ -24228,7 +24230,6 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
24228
24230
|
autoFocus: autoFocus,
|
|
24229
24231
|
onFocus: focus,
|
|
24230
24232
|
onBlur: blur,
|
|
24231
|
-
pointerEvents: "none",
|
|
24232
24233
|
inputMode: "numeric",
|
|
24233
24234
|
testID: "pin-hidden-input",
|
|
24234
24235
|
textContentType: textContentType,
|
package/package.json
CHANGED
|
@@ -65,7 +65,7 @@ exports[`BadgeCount displays 1 for content 1 1`] = `
|
|
|
65
65
|
"color": "#ffffff",
|
|
66
66
|
"fontSize": 8,
|
|
67
67
|
"height": 16,
|
|
68
|
-
"lineHeight":
|
|
68
|
+
"lineHeight": 16,
|
|
69
69
|
},
|
|
70
70
|
undefined,
|
|
71
71
|
],
|
|
@@ -168,7 +168,7 @@ exports[`BadgeCount displays 12 for content 12 1`] = `
|
|
|
168
168
|
"color": "#ffffff",
|
|
169
169
|
"fontSize": 8,
|
|
170
170
|
"height": 16,
|
|
171
|
-
"lineHeight":
|
|
171
|
+
"lineHeight": 16,
|
|
172
172
|
},
|
|
173
173
|
undefined,
|
|
174
174
|
],
|
|
@@ -271,7 +271,7 @@ exports[`BadgeCount displays 99+ for content 999 1`] = `
|
|
|
271
271
|
"color": "#ffffff",
|
|
272
272
|
"fontSize": 8,
|
|
273
273
|
"height": 16,
|
|
274
|
-
"lineHeight":
|
|
274
|
+
"lineHeight": 16,
|
|
275
275
|
},
|
|
276
276
|
undefined,
|
|
277
277
|
],
|
|
@@ -65,7 +65,9 @@ export const StyledHiddenInput = styled(TextInput)<{ themePinLength: number }>(
|
|
|
65
65
|
|
|
66
66
|
return {
|
|
67
67
|
position: 'absolute',
|
|
68
|
-
|
|
68
|
+
// Opacity must be > 0.01 to receive touch events on iOS in RN 0.76.7.
|
|
69
|
+
// See https://github.com/facebook/react-native/issues/50465 for details.
|
|
70
|
+
opacity: 0.01001,
|
|
69
71
|
left: 0,
|
|
70
72
|
top: 0,
|
|
71
73
|
right: 0,
|
|
@@ -262,7 +262,6 @@ exports[`rendering renders correctly 1`] = `
|
|
|
262
262
|
onBlur={[Function]}
|
|
263
263
|
onChangeText={[Function]}
|
|
264
264
|
onFocus={[Function]}
|
|
265
|
-
pointerEvents="none"
|
|
266
265
|
secureTextEntry={true}
|
|
267
266
|
selectTextOnFocus={false}
|
|
268
267
|
selection={
|
|
@@ -277,7 +276,7 @@ exports[`rendering renders correctly 1`] = `
|
|
|
277
276
|
"height": "100%",
|
|
278
277
|
"left": 0,
|
|
279
278
|
"letterSpacing": 4,
|
|
280
|
-
"opacity": 0,
|
|
279
|
+
"opacity": 0.01001,
|
|
281
280
|
"paddingHorizontal": 8,
|
|
282
281
|
"position": "absolute",
|
|
283
282
|
"right": 0,
|
|
@@ -577,7 +576,6 @@ exports[`rendering renders correctly when disabled 1`] = `
|
|
|
577
576
|
onBlur={[Function]}
|
|
578
577
|
onChangeText={[Function]}
|
|
579
578
|
onFocus={[Function]}
|
|
580
|
-
pointerEvents="none"
|
|
581
579
|
secureTextEntry={true}
|
|
582
580
|
selectTextOnFocus={false}
|
|
583
581
|
selection={
|
|
@@ -592,7 +590,7 @@ exports[`rendering renders correctly when disabled 1`] = `
|
|
|
592
590
|
"height": "100%",
|
|
593
591
|
"left": 0,
|
|
594
592
|
"letterSpacing": 4,
|
|
595
|
-
"opacity": 0,
|
|
593
|
+
"opacity": 0.01001,
|
|
596
594
|
"paddingHorizontal": 8,
|
|
597
595
|
"position": "absolute",
|
|
598
596
|
"right": 0,
|
|
@@ -1022,7 +1020,6 @@ exports[`rendering renders correctly when length is 6 and secure is false 1`] =
|
|
|
1022
1020
|
onBlur={[Function]}
|
|
1023
1021
|
onChangeText={[Function]}
|
|
1024
1022
|
onFocus={[Function]}
|
|
1025
|
-
pointerEvents="none"
|
|
1026
1023
|
secureTextEntry={false}
|
|
1027
1024
|
selectTextOnFocus={false}
|
|
1028
1025
|
selection={
|
|
@@ -1037,7 +1034,7 @@ exports[`rendering renders correctly when length is 6 and secure is false 1`] =
|
|
|
1037
1034
|
"height": "100%",
|
|
1038
1035
|
"left": 0,
|
|
1039
1036
|
"letterSpacing": 4,
|
|
1040
|
-
"opacity": 0,
|
|
1037
|
+
"opacity": 0.01001,
|
|
1041
1038
|
"paddingHorizontal": 8,
|
|
1042
1039
|
"position": "absolute",
|
|
1043
1040
|
"right": 0,
|
|
@@ -1390,7 +1387,6 @@ exports[`rendering renders correctly when there is error 1`] = `
|
|
|
1390
1387
|
onBlur={[Function]}
|
|
1391
1388
|
onChangeText={[Function]}
|
|
1392
1389
|
onFocus={[Function]}
|
|
1393
|
-
pointerEvents="none"
|
|
1394
1390
|
secureTextEntry={true}
|
|
1395
1391
|
selectTextOnFocus={false}
|
|
1396
1392
|
selection={
|
|
@@ -1405,7 +1401,7 @@ exports[`rendering renders correctly when there is error 1`] = `
|
|
|
1405
1401
|
"height": "100%",
|
|
1406
1402
|
"left": 0,
|
|
1407
1403
|
"letterSpacing": 4,
|
|
1408
|
-
"opacity": 0,
|
|
1404
|
+
"opacity": 0.01001,
|
|
1409
1405
|
"paddingHorizontal": 8,
|
|
1410
1406
|
"position": "absolute",
|
|
1411
1407
|
"right": 0,
|
|
@@ -1706,7 +1702,6 @@ exports[`rendering renders correctly with textContentType and autoComplete 1`] =
|
|
|
1706
1702
|
onBlur={[Function]}
|
|
1707
1703
|
onChangeText={[Function]}
|
|
1708
1704
|
onFocus={[Function]}
|
|
1709
|
-
pointerEvents="none"
|
|
1710
1705
|
secureTextEntry={true}
|
|
1711
1706
|
selectTextOnFocus={false}
|
|
1712
1707
|
selection={
|
|
@@ -1721,7 +1716,7 @@ exports[`rendering renders correctly with textContentType and autoComplete 1`] =
|
|
|
1721
1716
|
"height": "100%",
|
|
1722
1717
|
"left": 0,
|
|
1723
1718
|
"letterSpacing": 4,
|
|
1724
|
-
"opacity": 0,
|
|
1719
|
+
"opacity": 0.01001,
|
|
1725
1720
|
"paddingHorizontal": 8,
|
|
1726
1721
|
"position": "absolute",
|
|
1727
1722
|
"right": 0,
|