@hero-design/rn 8.91.5 → 8.91.6

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:2995) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
1
+ (node:3010) 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...
@@ -10,4 +10,4 @@
10
10
     ~~~~~~~~~~~~~~~~~~~
11
11
  
12
12
  (!) [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.
13
- created lib/index.js, es/index.js in 52.7s
13
+ created lib/index.js, es/index.js in 53.8s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.91.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3713](https://github.com/Thinkei/hero-design/pull/3713) [`b7507e15becc17873237f8fee829149399a0641b`](https://github.com/Thinkei/hero-design/commit/b7507e15becc17873237f8fee829149399a0641b) Thanks [@ttkien](https://github.com/ttkien)! - [Error] make image center
8
+
9
+ - Updated dependencies [[`4f07a745f50ba5470df6a3b16eb57fcdf52f755c`](https://github.com/Thinkei/hero-design/commit/4f07a745f50ba5470df6a3b16eb57fcdf52f755c)]:
10
+ - @hero-design/colors@8.45.3
11
+
3
12
  ## 8.91.5
4
13
 
5
14
  ### Patch Changes
package/es/index.js CHANGED
@@ -1530,6 +1530,7 @@ var palette$c = {
1530
1530
  purpleLight30: purple$1.lighten30,
1531
1531
  purpleLight45: purple$1.lighten45,
1532
1532
  purpleLight75: purple$1.lighten75,
1533
+ purpleLight90: purple$1.lighten90,
1533
1534
  red: vermilion$2.base,
1534
1535
  redDark15: vermilion$2.darken15,
1535
1536
  redDark30: vermilion$2.darken30,
@@ -16058,7 +16059,8 @@ var StyledErrorImageContainer = index$a(View)(function (_ref6) {
16058
16059
  return {
16059
16060
  marginBottom: theme.__hd__.error.space.imageMarginBottom,
16060
16061
  width: theme.__hd__.error.sizes.image,
16061
- height: theme.__hd__.error.sizes.image
16062
+ height: theme.__hd__.error.sizes.image,
16063
+ alignItems: 'center'
16062
16064
  };
16063
16065
  });
16064
16066
  var StyledErrorImage = index$a(Image)(function (_ref7) {
@@ -19284,7 +19286,8 @@ var StyledSuccessImageContainer = index$a(View)(function (_ref4) {
19284
19286
  return {
19285
19287
  marginBottom: theme.__hd__.success.space.imageMarginBottom,
19286
19288
  width: theme.__hd__.success.sizes.image,
19287
- height: theme.__hd__.success.sizes.image
19289
+ height: theme.__hd__.success.sizes.image,
19290
+ alignItems: 'center'
19288
19291
  };
19289
19292
  });
19290
19293
  var StyledSuccessTitle = index$a(Typography.Title)(function (_ref5) {
package/lib/index.js CHANGED
@@ -1558,6 +1558,7 @@ var palette$c = {
1558
1558
  purpleLight30: purple$1.lighten30,
1559
1559
  purpleLight45: purple$1.lighten45,
1560
1560
  purpleLight75: purple$1.lighten75,
1561
+ purpleLight90: purple$1.lighten90,
1561
1562
  red: vermilion$2.base,
1562
1563
  redDark15: vermilion$2.darken15,
1563
1564
  redDark30: vermilion$2.darken30,
@@ -16086,7 +16087,8 @@ var StyledErrorImageContainer = index$a(reactNative.View)(function (_ref6) {
16086
16087
  return {
16087
16088
  marginBottom: theme.__hd__.error.space.imageMarginBottom,
16088
16089
  width: theme.__hd__.error.sizes.image,
16089
- height: theme.__hd__.error.sizes.image
16090
+ height: theme.__hd__.error.sizes.image,
16091
+ alignItems: 'center'
16090
16092
  };
16091
16093
  });
16092
16094
  var StyledErrorImage = index$a(Image)(function (_ref7) {
@@ -19312,7 +19314,8 @@ var StyledSuccessImageContainer = index$a(reactNative.View)(function (_ref4) {
19312
19314
  return {
19313
19315
  marginBottom: theme.__hd__.success.space.imageMarginBottom,
19314
19316
  width: theme.__hd__.success.sizes.image,
19315
- height: theme.__hd__.success.sizes.image
19317
+ height: theme.__hd__.success.sizes.image,
19318
+ alignItems: 'center'
19316
19319
  };
19317
19320
  });
19318
19321
  var StyledSuccessTitle = index$a(Typography.Title)(function (_ref5) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.91.5",
3
+ "version": "8.91.6",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -22,7 +22,7 @@
22
22
  "@emotion/native": "^11.9.3",
23
23
  "@emotion/primitives-core": "11.0.0",
24
24
  "@emotion/react": "^11.9.3",
25
- "@hero-design/colors": "8.45.2",
25
+ "@hero-design/colors": "8.45.3",
26
26
  "date-fns": "^2.16.1",
27
27
  "hero-editor": "^1.15.5",
28
28
  "nanoid": "^5.0.9"
@@ -55,6 +55,7 @@ const StyledErrorImageContainer = styled(View)(({ theme }) => ({
55
55
  marginBottom: theme.__hd__.error.space.imageMarginBottom,
56
56
  width: theme.__hd__.error.sizes.image,
57
57
  height: theme.__hd__.error.sizes.image,
58
+ alignItems: 'center',
58
59
  }));
59
60
  const StyledErrorImage = styled(Image)(({ theme }) => ({
60
61
  marginBottom: theme.__hd__.error.space.imageMarginBottom,
@@ -41,6 +41,7 @@ exports[`Error renders error screen with custom image element correctly 1`] = `
41
41
  style={
42
42
  [
43
43
  {
44
+ "alignItems": "center",
44
45
  "height": 176,
45
46
  "marginBottom": 24,
46
47
  "width": 176,
@@ -187,6 +188,7 @@ exports[`Error renders error screen with image correctly 1`] = `
187
188
  style={
188
189
  [
189
190
  {
191
+ "alignItems": "center",
190
192
  "height": 176,
191
193
  "marginBottom": 24,
192
194
  "width": 176,
@@ -373,6 +375,7 @@ exports[`Error renders full screen error page correctly 1`] = `
373
375
  style={
374
376
  [
375
377
  {
378
+ "alignItems": "center",
376
379
  "height": 176,
377
380
  "marginBottom": 24,
378
381
  "width": 176,
@@ -39,6 +39,7 @@ const StyledSuccessImageContainer = styled(View)(({ theme }) => ({
39
39
  marginBottom: theme.__hd__.success.space.imageMarginBottom,
40
40
  width: theme.__hd__.success.sizes.image,
41
41
  height: theme.__hd__.success.sizes.image,
42
+ alignItems: 'center',
42
43
  }));
43
44
 
44
45
  const StyledSuccessTitle = styled(Typography.Title)(({ theme }) => ({
@@ -73,6 +73,7 @@ exports[`Success renders full screen success page correctly 1`] = `
73
73
  style={
74
74
  [
75
75
  {
76
+ "alignItems": "center",
76
77
  "height": 176,
77
78
  "marginBottom": 32,
78
79
  "width": 176,
@@ -228,6 +229,7 @@ exports[`Success renders success screen with custom image element correctly 1`]
228
229
  style={
229
230
  [
230
231
  {
232
+ "alignItems": "center",
231
233
  "height": 176,
232
234
  "marginBottom": 32,
233
235
  "width": 176,
@@ -374,6 +376,7 @@ exports[`Success renders success screen with image correctly 1`] = `
374
376
  style={
375
377
  [
376
378
  {
379
+ "alignItems": "center",
377
380
  "height": 176,
378
381
  "marginBottom": 32,
379
382
  "width": 176,