@hero-design/rn 8.105.1 → 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.
@@ -1,4 +1,4 @@
1
- (node:3323) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
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
  
4
4
  src/index.ts → lib/index.js, es/index.js...
@@ -15,9 +15,9 @@ node_modules/d3-selection/src/selection/index.js -> node_modules/d3-selection/sr
15
15
     ~~~~~~~~~~~~~~~~~~~
16
16
  
17
17
  (!) [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.
18
- created lib/index.js, es/index.js in 1m 15s
18
+ created lib/index.js, es/index.js in 1m 11.4s
19
19
  
20
20
  /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 → ., ....
21
21
  (!) Generated empty chunks
22
22
  "locales/types" and "locales/types"
23
- created ., . in 23.6s
23
+ created ., . in 22.7s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.105.2
4
+
5
+ ### Patch Changes
6
+
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
+
3
9
  ## 8.105.1
4
10
 
5
11
  ### Patch Changes
package/es/index.js CHANGED
@@ -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
- opacity: 0,
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,
package/lib/index.js CHANGED
@@ -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
- opacity: 0,
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.105.1",
3
+ "version": "8.105.2",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -65,7 +65,9 @@ export const StyledHiddenInput = styled(TextInput)<{ themePinLength: number }>(
65
65
 
66
66
  return {
67
67
  position: 'absolute',
68
- opacity: 0,
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,
@@ -230,7 +230,6 @@ const PinInput = forwardRef<PinInputHandler, PinInputProps>(
230
230
  autoFocus={autoFocus}
231
231
  onFocus={focus}
232
232
  onBlur={blur}
233
- pointerEvents="none"
234
233
  inputMode="numeric"
235
234
  testID="pin-hidden-input"
236
235
  textContentType={textContentType}
@@ -4840,5 +4840,3 @@ var drawChart = (function (exports) {
4840
4840
  </body>
4841
4841
  </html>
4842
4842
 
4843
- l>
4844
-