@hero-design/rn 8.112.1 → 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.
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +13 -0
- package/es/index.js +3 -0
- package/lib/index.js +3 -0
- package/package.json +2 -19
- package/src/components/PinInput/StyledPinInput.tsx +1 -0
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
- package/stats/8.112.1/rn-stats.html +1 -3
- package/stats/8.112.2/rn-stats.html +4842 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(node:
|
|
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
|
[36m
|
|
4
4
|
[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
@@ -9,9 +9,9 @@ node_modules/d3-selection/src/selection/index.js -> node_modules/d3-selection/sr
|
|
|
9
9
|
...and 12 more
|
|
10
10
|
[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
|
|
11
11
|
[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
|
|
12
|
-
[32mcreated [1mlib/index.js, es/index.js[22m in [
|
|
12
|
+
[32mcreated [1mlib/index.js, es/index.js[22m in [1m2m 4.3s[22m[39m
|
|
13
13
|
[36m
|
|
14
14
|
[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
|
|
15
15
|
[1m[33m(!) Generated empty chunks[39m[22m
|
|
16
16
|
"locales/types" and "locales/types"
|
|
17
|
-
[32mcreated [1m., .[22m in [
|
|
17
|
+
[32mcreated [1m., .[22m in [1m36.6s[22m[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
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
|
+
|
|
9
|
+
## 8.112.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`7777ac176c82c545f217a7fe73aa2700c607b298`](https://github.com/Thinkei/hero-design/commit/7777ac176c82c545f217a7fe73aa2700c607b298)]:
|
|
14
|
+
- @hero-design/colors@8.47.0
|
|
15
|
+
|
|
3
16
|
## 8.112.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/es/index.js
CHANGED
|
@@ -4459,6 +4459,7 @@ var palette$e = {
|
|
|
4459
4459
|
violetLight60: violet$4.lighten60,
|
|
4460
4460
|
violetLight75: violet$4.lighten75,
|
|
4461
4461
|
violetLight90: violet$4.lighten90,
|
|
4462
|
+
violetLight95: violet$4.lighten95,
|
|
4462
4463
|
yellow: yellow$1.base,
|
|
4463
4464
|
yellowDark15: yellow$1.darken15,
|
|
4464
4465
|
yellowDark30: yellow$1.darken30,
|
|
@@ -24921,6 +24922,8 @@ var StyledHiddenInput = index$c(TextInput$1)(function (_ref6) {
|
|
|
24921
24922
|
right: 0,
|
|
24922
24923
|
width: themePinLength * cellWidth + (themePinLength - 1) * spacerWidth,
|
|
24923
24924
|
height: '100%',
|
|
24925
|
+
minHeight: 1,
|
|
24926
|
+
// workaround fix the issue https://employmenthero.atlassian.net/browse/PS-2042
|
|
24924
24927
|
fontSize: theme.__hd__.pinInput.fontSizes.hiddenInputText,
|
|
24925
24928
|
letterSpacing: theme.__hd__.pinInput.space.hiddenInputText,
|
|
24926
24929
|
paddingHorizontal: theme.__hd__.pinInput.space.hiddenInputHorrizontalPadding
|
package/lib/index.js
CHANGED
|
@@ -4488,6 +4488,7 @@ var palette$e = {
|
|
|
4488
4488
|
violetLight60: violet$4.lighten60,
|
|
4489
4489
|
violetLight75: violet$4.lighten75,
|
|
4490
4490
|
violetLight90: violet$4.lighten90,
|
|
4491
|
+
violetLight95: violet$4.lighten95,
|
|
4491
4492
|
yellow: yellow$1.base,
|
|
4492
4493
|
yellowDark15: yellow$1.darken15,
|
|
4493
4494
|
yellowDark30: yellow$1.darken30,
|
|
@@ -24950,6 +24951,8 @@ var StyledHiddenInput = index$c(reactNative.TextInput)(function (_ref6) {
|
|
|
24950
24951
|
right: 0,
|
|
24951
24952
|
width: themePinLength * cellWidth + (themePinLength - 1) * spacerWidth,
|
|
24952
24953
|
height: '100%',
|
|
24954
|
+
minHeight: 1,
|
|
24955
|
+
// workaround fix the issue https://employmenthero.atlassian.net/browse/PS-2042
|
|
24953
24956
|
fontSize: theme.__hd__.pinInput.fontSizes.hiddenInputText,
|
|
24954
24957
|
letterSpacing: theme.__hd__.pinInput.space.hiddenInputText,
|
|
24955
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.
|
|
3
|
+
"version": "8.112.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@emotion/native": "^11.9.3",
|
|
23
23
|
"@emotion/react": "^11.9.3",
|
|
24
|
-
"@hero-design/colors": "8.
|
|
24
|
+
"@hero-design/colors": "8.47.0",
|
|
25
25
|
"d3": "^7.8.5",
|
|
26
26
|
"date-fns": "^2.30.0",
|
|
27
27
|
"hero-editor": "^1.17.0",
|
|
@@ -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",
|
|
@@ -82,24 +76,13 @@
|
|
|
82
76
|
"@types/react": "^18.2.0",
|
|
83
77
|
"@types/react-native-vector-icons": "^6.4.10",
|
|
84
78
|
"@typescript-eslint/eslint-plugin": "^5.12.1",
|
|
85
|
-
"@typescript-eslint/parser": "^5.12.1",
|
|
86
79
|
"babel-plugin-inline-import": "^3.0.0",
|
|
87
|
-
"config-tsconfig": "8.42.5",
|
|
88
80
|
"core-js": "^3.33.0",
|
|
89
81
|
"eslint": "^8.56.0",
|
|
90
|
-
"eslint-config-airbnb": "^19.0.4",
|
|
91
82
|
"eslint-config-hd": "8.42.5",
|
|
92
|
-
"eslint-config-prettier": "^8.5.0",
|
|
93
|
-
"eslint-import-resolver-typescript": "^3.5.2",
|
|
94
|
-
"eslint-plugin-import": "^2.32.0",
|
|
95
|
-
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
96
|
-
"eslint-plugin-prettier": "^4.0.0",
|
|
97
|
-
"eslint-plugin-react": "^7.37.5",
|
|
98
|
-
"eslint-plugin-react-hooks": "^4.3.0",
|
|
99
83
|
"jest": "^29.2.1",
|
|
100
84
|
"jest-environment-jsdom": "^29.2.1",
|
|
101
85
|
"jest-junit": "^16.0.0",
|
|
102
|
-
"prettier": "^2.5.1",
|
|
103
86
|
"prettier-config-hd": "8.42.4",
|
|
104
87
|
"react": "18.3.1",
|
|
105
88
|
"react-dom": "^18.2.0",
|
|
@@ -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",
|