@hero-design/rn 8.112.2 → 8.112.3

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:2684) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
1
+ (node:2867) 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...
@@ -9,9 +9,9 @@ node_modules/d3-selection/src/selection/index.js -> node_modules/d3-selection/sr
9
9
  ...and 12 more
10
10
  (!) [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`.
11
11
  (!) [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.
12
- created lib/index.js, es/index.js in 2m 9.6s
12
+ created lib/index.js, es/index.js in 2m 4.3s
13
13
  
14
14
  /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 → ., ....
15
15
  (!) Generated empty chunks
16
16
  "locales/types" and "locales/types"
17
- created ., . in 35.6s
17
+ created ., . in 36.6s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.112.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#4377](https://github.com/Thinkei/hero-design/pull/4377) [`7a3fed6a6be38669912438795691e3cf0d3d6a39`](https://github.com/Thinkei/hero-design/commit/7a3fed6a6be38669912438795691e3cf0d3d6a39) Thanks [@ttkien](https://github.com/ttkien)! - [PinInput] set minHeight = 1 to workround fix issue https://employmenthero.atlassian.net/browse/PS-2042
8
+
3
9
  ## 8.112.2
4
10
 
5
11
  ### Patch Changes
package/es/index.js CHANGED
@@ -24922,6 +24922,8 @@ var StyledHiddenInput = index$c(TextInput$1)(function (_ref6) {
24922
24922
  right: 0,
24923
24923
  width: themePinLength * cellWidth + (themePinLength - 1) * spacerWidth,
24924
24924
  height: '100%',
24925
+ minHeight: 1,
24926
+ // workaround fix the issue https://employmenthero.atlassian.net/browse/PS-2042
24925
24927
  fontSize: theme.__hd__.pinInput.fontSizes.hiddenInputText,
24926
24928
  letterSpacing: theme.__hd__.pinInput.space.hiddenInputText,
24927
24929
  paddingHorizontal: theme.__hd__.pinInput.space.hiddenInputHorrizontalPadding
package/lib/index.js CHANGED
@@ -24951,6 +24951,8 @@ var StyledHiddenInput = index$c(reactNative.TextInput)(function (_ref6) {
24951
24951
  right: 0,
24952
24952
  width: themePinLength * cellWidth + (themePinLength - 1) * spacerWidth,
24953
24953
  height: '100%',
24954
+ minHeight: 1,
24955
+ // workaround fix the issue https://employmenthero.atlassian.net/browse/PS-2042
24954
24956
  fontSize: theme.__hd__.pinInput.fontSizes.hiddenInputText,
24955
24957
  letterSpacing: theme.__hd__.pinInput.space.hiddenInputText,
24956
24958
  paddingHorizontal: theme.__hd__.pinInput.space.hiddenInputHorrizontalPadding
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.112.2",
3
+ "version": "8.112.3",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -58,15 +58,9 @@
58
58
  "@hero-design/eslint-plugin": "9.2.1",
59
59
  "@hero-design/react-native-month-year-picker": "^8.43.2",
60
60
  "@ptomasroos/react-native-multi-slider": "^2.2.2",
61
- "@react-native-community/cli": "15.0.1",
62
- "@react-native-community/cli-platform-android": "15.0.1",
63
- "@react-native-community/cli-platform-ios": "15.0.1",
64
61
  "@react-native-community/datetimepicker": "8.2.0",
65
62
  "@react-native-community/slider": "^4.5.1",
66
63
  "@react-native/babel-preset": "0.77.3",
67
- "@react-native/eslint-config": "0.77.3",
68
- "@react-native/metro-config": "0.77.3",
69
- "@react-native/typescript-config": "0.77.3",
70
64
  "@rollup/plugin-babel": "^6.0.4",
71
65
  "@rollup/plugin-commonjs": "^28.0.1",
72
66
  "@rollup/plugin-json": "^6.1.0",
@@ -83,7 +77,6 @@
83
77
  "@types/react-native-vector-icons": "^6.4.10",
84
78
  "@typescript-eslint/eslint-plugin": "^5.12.1",
85
79
  "babel-plugin-inline-import": "^3.0.0",
86
- "config-tsconfig": "8.42.5",
87
80
  "core-js": "^3.33.0",
88
81
  "eslint": "^8.56.0",
89
82
  "eslint-config-hd": "8.42.5",
@@ -73,6 +73,7 @@ export const StyledHiddenInput = styled(TextInput)<{ themePinLength: number }>(
73
73
  right: 0,
74
74
  width: themePinLength * cellWidth + (themePinLength - 1) * spacerWidth,
75
75
  height: '100%',
76
+ minHeight: 1, // workaround fix the issue https://employmenthero.atlassian.net/browse/PS-2042
76
77
  fontSize: theme.__hd__.pinInput.fontSizes.hiddenInputText,
77
78
  letterSpacing: theme.__hd__.pinInput.space.hiddenInputText,
78
79
  paddingHorizontal:
@@ -276,6 +276,7 @@ exports[`rendering renders correctly 1`] = `
276
276
  "height": "100%",
277
277
  "left": 0,
278
278
  "letterSpacing": 4,
279
+ "minHeight": 1,
279
280
  "opacity": 0.01001,
280
281
  "paddingHorizontal": 8,
281
282
  "position": "absolute",
@@ -590,6 +591,7 @@ exports[`rendering renders correctly when disabled 1`] = `
590
591
  "height": "100%",
591
592
  "left": 0,
592
593
  "letterSpacing": 4,
594
+ "minHeight": 1,
593
595
  "opacity": 0.01001,
594
596
  "paddingHorizontal": 8,
595
597
  "position": "absolute",
@@ -1037,6 +1039,7 @@ exports[`rendering renders correctly when length is 6 and secure is false 1`] =
1037
1039
  "height": "100%",
1038
1040
  "left": 0,
1039
1041
  "letterSpacing": 4,
1042
+ "minHeight": 1,
1040
1043
  "opacity": 0.01001,
1041
1044
  "paddingHorizontal": 8,
1042
1045
  "position": "absolute",
@@ -1405,6 +1408,7 @@ exports[`rendering renders correctly when there is error 1`] = `
1405
1408
  "height": "100%",
1406
1409
  "left": 0,
1407
1410
  "letterSpacing": 4,
1411
+ "minHeight": 1,
1408
1412
  "opacity": 0.01001,
1409
1413
  "paddingHorizontal": 8,
1410
1414
  "position": "absolute",
@@ -1720,6 +1724,7 @@ exports[`rendering renders correctly with textContentType and autoComplete 1`] =
1720
1724
  "height": "100%",
1721
1725
  "left": 0,
1722
1726
  "letterSpacing": 4,
1727
+ "minHeight": 1,
1723
1728
  "opacity": 0.01001,
1724
1729
  "paddingHorizontal": 8,
1725
1730
  "position": "absolute",