@hero-design/rn 8.91.3 → 8.91.5

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.
Files changed (101) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/CHANGELOG.md +27 -0
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +433 -450
  5. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  6. package/lib/index.js +433 -450
  7. package/package.json +1 -1
  8. package/src/components/Alert/StyledAlert.tsx +1 -0
  9. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +56 -0
  10. package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +18 -18
  11. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +8 -10
  12. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +116 -145
  13. package/src/components/Avatar/StyledAvatar.tsx +1 -1
  14. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +4 -5
  15. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +8 -10
  16. package/src/components/BottomNavigation/StyledBottomNavigation.tsx +3 -5
  17. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +6 -4
  18. package/src/components/BottomSheet/StyledBottomSheet.tsx +0 -10
  19. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +0 -16
  20. package/src/components/Calendar/CalendarRange.tsx +5 -1
  21. package/src/components/Calendar/__tests__/helper.spec.ts +20 -8
  22. package/src/components/Calendar/helpers.ts +6 -2
  23. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +28 -28
  24. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +0 -16
  25. package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +1 -1
  26. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +11 -11
  27. package/src/components/FAB/Pair/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
  28. package/src/components/FAB/StyledFAB.tsx +1 -5
  29. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +6 -6
  30. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
  31. package/src/components/FloatingIsland/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  32. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  33. package/src/components/Icon/IconList.ts +1 -0
  34. package/src/components/List/StyledListItem.tsx +1 -5
  35. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +9 -11
  36. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +6 -6
  37. package/src/components/MapPin/StyledMapPin.tsx +14 -3
  38. package/src/components/MapPin/__tests__/__snapshots__/index.spec.tsx.snap +58 -65
  39. package/src/components/MapPin/index.tsx +7 -8
  40. package/src/components/Search/StyledSearch.tsx +1 -4
  41. package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +3 -2
  42. package/src/components/Search/__tests__/__snapshots__/SearchTwoLine.spec.tsx.snap +3 -2
  43. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +0 -40
  44. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +0 -32
  45. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +1 -1
  46. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  47. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +0 -8
  48. package/src/components/Toast/StyledToast.tsx +1 -5
  49. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +21 -21
  50. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +72 -50
  51. package/src/theme/components/alert.ts +5 -1
  52. package/src/theme/components/avatar.ts +1 -1
  53. package/src/theme/components/bottomNavigation.ts +7 -5
  54. package/src/theme/components/bottomSheet.ts +2 -9
  55. package/src/theme/components/chip.ts +2 -2
  56. package/src/theme/components/fab.ts +5 -9
  57. package/src/theme/components/floatingIsland.ts +1 -1
  58. package/src/theme/components/list.ts +1 -7
  59. package/src/theme/components/mapPin.ts +6 -2
  60. package/src/theme/components/search.ts +1 -5
  61. package/src/theme/components/toast.ts +1 -5
  62. package/src/theme/global/colors/__tests__/__snapshots__/eBens.spec.ts.snap +2 -0
  63. package/src/theme/global/colors/__tests__/__snapshots__/global.spec.ts.snap +2 -0
  64. package/src/theme/global/colors/__tests__/__snapshots__/jobs.spec.ts.snap +2 -0
  65. package/src/theme/global/colors/__tests__/__snapshots__/swag.spec.ts.snap +2 -0
  66. package/src/theme/global/colors/__tests__/__snapshots__/swagLight.spec.ts.snap +2 -0
  67. package/src/theme/global/colors/__tests__/__snapshots__/swagLightGlobal.spec.ts.snap +2 -0
  68. package/src/theme/global/colors/__tests__/__snapshots__/swagLightJobs.spec.ts.snap +2 -0
  69. package/src/theme/global/colors/__tests__/__snapshots__/wallet.spec.ts.snap +2 -0
  70. package/src/theme/global/colors/__tests__/__snapshots__/work.spec.ts.snap +2 -0
  71. package/src/theme/global/colors/eBens.ts +3 -0
  72. package/src/theme/global/colors/global.ts +3 -0
  73. package/src/theme/global/colors/jobs.ts +3 -0
  74. package/src/theme/global/colors/swag.ts +3 -0
  75. package/src/theme/global/colors/swagDark.ts +3 -0
  76. package/src/theme/global/colors/wallet.ts +3 -0
  77. package/src/theme/global/colors/work.ts +3 -0
  78. package/stats/8.91.4/rn-stats.html +4842 -0
  79. package/stats/8.91.5/rn-stats.html +4842 -0
  80. package/types/components/Avatar/StyledAvatar.d.ts +2 -2
  81. package/types/components/Calendar/helpers.d.ts +5 -2
  82. package/types/components/Icon/IconList.d.ts +1 -1
  83. package/types/components/Icon/index.d.ts +1 -1
  84. package/types/components/MapPin/StyledMapPin.d.ts +12 -2
  85. package/types/components/TextInput/index.d.ts +1 -1
  86. package/types/theme/components/alert.d.ts +3 -0
  87. package/types/theme/components/avatar.d.ts +1 -1
  88. package/types/theme/components/bottomNavigation.d.ts +5 -7
  89. package/types/theme/components/bottomSheet.d.ts +1 -10
  90. package/types/theme/components/chip.d.ts +1 -1
  91. package/types/theme/components/fab.d.ts +2 -9
  92. package/types/theme/components/list.d.ts +1 -10
  93. package/types/theme/components/mapPin.d.ts +6 -2
  94. package/types/theme/components/search.d.ts +1 -8
  95. package/types/theme/components/toast.d.ts +1 -8
  96. package/types/theme/global/colors/eBens.d.ts +3 -0
  97. package/types/theme/global/colors/jobs.d.ts +3 -0
  98. package/types/theme/global/colors/swag.d.ts +3 -0
  99. package/types/theme/global/colors/swagDark.d.ts +3 -0
  100. package/types/theme/global/colors/wallet.d.ts +3 -0
  101. package/types/theme/global/colors/work.d.ts +3 -0
@@ -58,7 +58,12 @@ exports[`MapPin renders applied state correctly 1`] = `
58
58
  "color": "#001f23",
59
59
  "fontSize": 16,
60
60
  },
61
- undefined,
61
+ [
62
+ {
63
+ "color": "#000000",
64
+ },
65
+ undefined,
66
+ ],
62
67
  ]
63
68
  }
64
69
  testID="map-pin-icon"
@@ -67,54 +72,43 @@ exports[`MapPin renders applied state correctly 1`] = `
67
72
  />
68
73
  </View>
69
74
  <View
70
- collapsable={false}
71
75
  style={
72
- {
73
- "alignItems": "center",
74
- "backgroundColor": "#795e90",
75
- "borderColor": "#795e90",
76
- "borderRadius": 999,
77
- "borderWidth": 2,
78
- "height": 24,
79
- "justifyContent": "center",
80
- "minWidth": 24,
81
- "opacity": 1,
82
- "paddingHorizontal": undefined,
83
- "position": "absolute",
84
- "right": -8,
85
- "top": -8,
86
- "transform": [
87
- {
88
- "scale": 1,
89
- },
90
- ],
91
- "zIndex": 2,
92
- }
76
+ [
77
+ {
78
+ "alignItems": "center",
79
+ "backgroundColor": "#795e90",
80
+ "borderRadius": 999,
81
+ "height": 24,
82
+ "justifyContent": "center",
83
+ "position": "absolute",
84
+ "right": -8,
85
+ "top": -8,
86
+ "width": 24,
87
+ "zIndex": 2,
88
+ },
89
+ undefined,
90
+ ]
93
91
  }
94
92
  testID="map-pin-badge"
95
- themeIntent="primary"
96
- themePadding="narrowContent"
97
- themeSize="medium"
98
- themeVariant="filled"
99
93
  >
100
94
  <HeroIcon
101
95
  name="mail-outlined"
102
96
  style={
103
97
  [
104
98
  {
105
- "color": "#ffffff",
106
- "fontSize": 24,
99
+ "color": "#001f23",
100
+ "fontSize": 12,
107
101
  },
108
102
  [
109
103
  {
110
- "fontSize": 12,
104
+ "color": "#ffffff",
111
105
  },
112
106
  undefined,
113
107
  ],
114
108
  ]
115
109
  }
116
- themeIntent="text-inverted"
117
- themeSize="medium"
110
+ themeIntent="text"
111
+ themeSize="xxxsmall"
118
112
  />
119
113
  </View>
120
114
  </View>
@@ -199,7 +193,12 @@ exports[`MapPin renders icon correctly 1`] = `
199
193
  "color": "#001f23",
200
194
  "fontSize": 16,
201
195
  },
202
- undefined,
196
+ [
197
+ {
198
+ "color": "#000000",
199
+ },
200
+ undefined,
201
+ ],
203
202
  ]
204
203
  }
205
204
  testID="map-pin-icon"
@@ -382,7 +381,12 @@ exports[`MapPin renders selected state correctly 1`] = `
382
381
  "color": "#001f23",
383
382
  "fontSize": 16,
384
383
  },
385
- undefined,
384
+ [
385
+ {
386
+ "color": "#000000",
387
+ },
388
+ undefined,
389
+ ],
386
390
  ]
387
391
  }
388
392
  testID="map-pin-icon"
@@ -391,54 +395,43 @@ exports[`MapPin renders selected state correctly 1`] = `
391
395
  />
392
396
  </View>
393
397
  <View
394
- collapsable={false}
395
398
  style={
396
- {
397
- "alignItems": "center",
398
- "backgroundColor": "#795e90",
399
- "borderColor": "#795e90",
400
- "borderRadius": 999,
401
- "borderWidth": 2,
402
- "height": 24,
403
- "justifyContent": "center",
404
- "minWidth": 24,
405
- "opacity": 1,
406
- "paddingHorizontal": undefined,
407
- "position": "absolute",
408
- "right": -8,
409
- "top": -8,
410
- "transform": [
411
- {
412
- "scale": 1,
413
- },
414
- ],
415
- "zIndex": 2,
416
- }
399
+ [
400
+ {
401
+ "alignItems": "center",
402
+ "backgroundColor": "#795e90",
403
+ "borderRadius": 999,
404
+ "height": 24,
405
+ "justifyContent": "center",
406
+ "position": "absolute",
407
+ "right": -8,
408
+ "top": -8,
409
+ "width": 24,
410
+ "zIndex": 2,
411
+ },
412
+ undefined,
413
+ ]
417
414
  }
418
415
  testID="map-pin-badge"
419
- themeIntent="primary"
420
- themePadding="narrowContent"
421
- themeSize="medium"
422
- themeVariant="filled"
423
416
  >
424
417
  <HeroIcon
425
418
  name="checkmark"
426
419
  style={
427
420
  [
428
421
  {
429
- "color": "#ffffff",
430
- "fontSize": 24,
422
+ "color": "#001f23",
423
+ "fontSize": 12,
431
424
  },
432
425
  [
433
426
  {
434
- "fontSize": 12,
427
+ "color": "#ffffff",
435
428
  },
436
429
  undefined,
437
430
  ],
438
431
  ]
439
432
  }
440
- themeIntent="text-inverted"
441
- themeSize="medium"
433
+ themeIntent="text"
434
+ themeSize="xxxsmall"
442
435
  />
443
436
  </View>
444
437
  </View>
@@ -3,9 +3,11 @@ import {
3
3
  StyledContainer,
4
4
  StyledBadge,
5
5
  StyledImage,
6
+ StyledIcon,
7
+ StyledBadgeIcon,
6
8
  StyledContent,
7
9
  } from './StyledMapPin';
8
- import Icon, { IconName } from '../Icon';
10
+ import { IconName } from '../Icon';
9
11
  import { MapPinProps } from './types';
10
12
  import MapPinFocussed from './Focussed';
11
13
 
@@ -40,20 +42,17 @@ const MapPin = ({
40
42
  />
41
43
  )}
42
44
  {icon && (
43
- <Icon
45
+ <StyledIcon
44
46
  icon={icon}
45
47
  size="xsmall"
46
- intent="text"
47
48
  testID={testID ? `${testID}-icon` : undefined}
48
49
  />
49
50
  )}
50
51
  </StyledContent>
51
52
  {badgeIcon && (
52
- <StyledBadge
53
- icon={badgeIcon}
54
- intent="primary"
55
- testID={testID ? `${testID}-badge` : undefined}
56
- />
53
+ <StyledBadge testID={testID ? `${testID}-badge` : undefined}>
54
+ <StyledBadgeIcon icon={badgeIcon} size="xxxsmall" />
55
+ </StyledBadge>
57
56
  )}
58
57
  </StyledContainer>
59
58
  );
@@ -41,10 +41,7 @@ export const StyledInputContainer = styled(View)<{
41
41
  ? theme.__hd__.search.colors[themeVariant].focusedBorder
42
42
  : theme.__hd__.search.colors[themeVariant].border,
43
43
  ...(themeVariant === 'reversed' && {
44
- elevation: theme.__hd__.search.shadows.elevation,
45
- shadowOffset: theme.__hd__.search.shadows.offset,
46
- shadowOpacity: theme.__hd__.search.shadows.opacity,
47
- shadowRadius: theme.__hd__.search.shadows.radius,
44
+ ...theme.__hd__.search.shadows.container,
48
45
  }),
49
46
  };
50
47
  });
@@ -305,17 +305,18 @@ exports[`SearchOneLine idle renders reserved variant correctly 1`] = `
305
305
  "borderColor": "#e8e9ea",
306
306
  "borderRadius": 999,
307
307
  "borderWidth": 1,
308
- "elevation": 3,
308
+ "elevation": 6,
309
309
  "flexDirection": "row",
310
310
  "height": 56,
311
311
  "paddingHorizontal": 7,
312
312
  "paddingVertical": 7,
313
+ "shadowColor": "#001f23",
313
314
  "shadowOffset": {
314
315
  "height": 2,
315
316
  "width": 0,
316
317
  },
317
318
  "shadowOpacity": 0.12,
318
- "shadowRadius": 4,
319
+ "shadowRadius": 2,
319
320
  },
320
321
  undefined,
321
322
  ]
@@ -198,17 +198,18 @@ exports[`SearchTwoLine renders reserved variant correctly 1`] = `
198
198
  "borderColor": "#e8e9ea",
199
199
  "borderRadius": 999,
200
200
  "borderWidth": 1,
201
- "elevation": 3,
201
+ "elevation": 6,
202
202
  "flexDirection": "row",
203
203
  "height": 56,
204
204
  "paddingHorizontal": 7,
205
205
  "paddingVertical": 7,
206
+ "shadowColor": "#001f23",
206
207
  "shadowOffset": {
207
208
  "height": 2,
208
209
  "width": 0,
209
210
  },
210
211
  "shadowOpacity": 0.12,
211
- "shadowRadius": 4,
212
+ "shadowRadius": 2,
212
213
  },
213
214
  undefined,
214
215
  ]
@@ -377,16 +377,8 @@ exports[`rendering allows custom renderer 1`] = `
377
377
  "backgroundColor": "#ffffff",
378
378
  "borderTopLeftRadius": 16,
379
379
  "borderTopRightRadius": 16,
380
- "elevation": 10,
381
380
  "maxHeight": "94%",
382
381
  "paddingBottom": 0,
383
- "shadowColor": "#001f23",
384
- "shadowOffset": {
385
- "height": 3,
386
- "width": 0,
387
- },
388
- "shadowOpacity": 0.4,
389
- "shadowRadius": 16,
390
382
  "transform": [
391
383
  {
392
384
  "scaleY": 1,
@@ -1943,17 +1935,9 @@ exports[`rendering renders correct floating bottom sheet variant 1`] = `
1943
1935
  {
1944
1936
  "backgroundColor": "#ffffff",
1945
1937
  "borderRadius": 32,
1946
- "elevation": 10,
1947
1938
  "maxHeight": "100%",
1948
1939
  "padding": 8,
1949
1940
  "paddingBottom": 0,
1950
- "shadowColor": "#001f23",
1951
- "shadowOffset": {
1952
- "height": 3,
1953
- "width": 0,
1954
- },
1955
- "shadowOpacity": 0.4,
1956
- "shadowRadius": 16,
1957
1941
  "transform": [
1958
1942
  {
1959
1943
  "scaleY": 1,
@@ -3994,16 +3978,8 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
3994
3978
  "backgroundColor": "#ffffff",
3995
3979
  "borderTopLeftRadius": 16,
3996
3980
  "borderTopRightRadius": 16,
3997
- "elevation": 10,
3998
3981
  "maxHeight": "94%",
3999
3982
  "paddingBottom": 0,
4000
- "shadowColor": "#001f23",
4001
- "shadowOffset": {
4002
- "height": 3,
4003
- "width": 0,
4004
- },
4005
- "shadowOpacity": 0.4,
4006
- "shadowRadius": 16,
4007
3983
  "transform": [
4008
3984
  {
4009
3985
  "scaleY": 1,
@@ -6079,16 +6055,8 @@ exports[`rendering renders correctly when receives sections 1`] = `
6079
6055
  "backgroundColor": "#ffffff",
6080
6056
  "borderTopLeftRadius": 16,
6081
6057
  "borderTopRightRadius": 16,
6082
- "elevation": 10,
6083
6058
  "maxHeight": "94%",
6084
6059
  "paddingBottom": 0,
6085
- "shadowColor": "#001f23",
6086
- "shadowOffset": {
6087
- "height": 3,
6088
- "width": 0,
6089
- },
6090
- "shadowOpacity": 0.4,
6091
- "shadowRadius": 16,
6092
6060
  "transform": [
6093
6061
  {
6094
6062
  "scaleY": 1,
@@ -7424,16 +7392,8 @@ exports[`rendering renders correctly when receives sections 2`] = `
7424
7392
  "backgroundColor": "#ffffff",
7425
7393
  "borderTopLeftRadius": 16,
7426
7394
  "borderTopRightRadius": 16,
7427
- "elevation": 10,
7428
7395
  "maxHeight": "94%",
7429
7396
  "paddingBottom": 0,
7430
- "shadowColor": "#001f23",
7431
- "shadowOffset": {
7432
- "height": 3,
7433
- "width": 0,
7434
- },
7435
- "shadowOpacity": 0.4,
7436
- "shadowRadius": 16,
7437
7397
  "transform": [
7438
7398
  {
7439
7399
  "scaleY": 1,
@@ -376,16 +376,8 @@ exports[`rendering allows custom renderer 1`] = `
376
376
  "backgroundColor": "#ffffff",
377
377
  "borderTopLeftRadius": 16,
378
378
  "borderTopRightRadius": 16,
379
- "elevation": 10,
380
379
  "maxHeight": "94%",
381
380
  "paddingBottom": 0,
382
- "shadowColor": "#001f23",
383
- "shadowOffset": {
384
- "height": 3,
385
- "width": 0,
386
- },
387
- "shadowOpacity": 0.4,
388
- "shadowRadius": 16,
389
381
  "transform": [
390
382
  {
391
383
  "scaleY": 1,
@@ -1857,17 +1849,9 @@ exports[`rendering renders correct floating bottom sheet variant 1`] = `
1857
1849
  {
1858
1850
  "backgroundColor": "#ffffff",
1859
1851
  "borderRadius": 32,
1860
- "elevation": 10,
1861
1852
  "maxHeight": "100%",
1862
1853
  "padding": 8,
1863
1854
  "paddingBottom": 0,
1864
- "shadowColor": "#001f23",
1865
- "shadowOffset": {
1866
- "height": 3,
1867
- "width": 0,
1868
- },
1869
- "shadowOpacity": 0.4,
1870
- "shadowRadius": 16,
1871
1855
  "transform": [
1872
1856
  {
1873
1857
  "scaleY": 1,
@@ -3795,16 +3779,8 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
3795
3779
  "backgroundColor": "#ffffff",
3796
3780
  "borderTopLeftRadius": 16,
3797
3781
  "borderTopRightRadius": 16,
3798
- "elevation": 10,
3799
3782
  "maxHeight": "94%",
3800
3783
  "paddingBottom": 0,
3801
- "shadowColor": "#001f23",
3802
- "shadowOffset": {
3803
- "height": 3,
3804
- "width": 0,
3805
- },
3806
- "shadowOpacity": 0.4,
3807
- "shadowRadius": 16,
3808
3784
  "transform": [
3809
3785
  {
3810
3786
  "scaleY": 1,
@@ -5739,16 +5715,8 @@ exports[`rendering renders correctly when receives sections 1`] = `
5739
5715
  "backgroundColor": "#ffffff",
5740
5716
  "borderTopLeftRadius": 16,
5741
5717
  "borderTopRightRadius": 16,
5742
- "elevation": 10,
5743
5718
  "maxHeight": "94%",
5744
5719
  "paddingBottom": 0,
5745
- "shadowColor": "#001f23",
5746
- "shadowOffset": {
5747
- "height": 3,
5748
- "width": 0,
5749
- },
5750
- "shadowOpacity": 0.4,
5751
- "shadowRadius": 16,
5752
5720
  "transform": [
5753
5721
  {
5754
5722
  "scaleY": 1,
@@ -12,7 +12,7 @@ exports[`StyledKnot renders correct style 1`] = `
12
12
  collapsable={false}
13
13
  style={
14
14
  {
15
- "backgroundColor": undefined,
15
+ "backgroundColor": "#ffffff",
16
16
  "borderRadius": 999,
17
17
  "height": 16,
18
18
  "width": 16,
@@ -49,7 +49,7 @@ exports[`Switch renders correctly 1`] = `
49
49
  collapsable={false}
50
50
  style={
51
51
  {
52
- "backgroundColor": undefined,
52
+ "backgroundColor": "#ffffff",
53
53
  "borderRadius": 999,
54
54
  "height": 16,
55
55
  "left": 0,
@@ -130,7 +130,7 @@ exports[`Switch trigger press function correctly 1`] = `
130
130
  collapsable={false}
131
131
  style={
132
132
  {
133
- "backgroundColor": undefined,
133
+ "backgroundColor": "#ffffff",
134
134
  "borderRadius": 999,
135
135
  "height": 16,
136
136
  "left": 0,
@@ -720,15 +720,7 @@ exports[`TimePickerIOS renders correctly 1`] = `
720
720
  "backgroundColor": "#ffffff",
721
721
  "borderTopLeftRadius": 16,
722
722
  "borderTopRightRadius": 16,
723
- "elevation": 10,
724
723
  "maxHeight": "94%",
725
- "shadowColor": "#001f23",
726
- "shadowOffset": {
727
- "height": 3,
728
- "width": 0,
729
- },
730
- "shadowOpacity": 0.4,
731
- "shadowRadius": 16,
732
724
  "transform": [
733
725
  {
734
726
  "scaleY": 1,
@@ -25,11 +25,7 @@ const Container = styled(Animated.View)<{
25
25
  backgroundColor: theme.__hd__.toast.colors.backgrounds[themeIntent],
26
26
  minHeight: theme.__hd__.toast.sizes.height,
27
27
  flexDirection: 'row',
28
- shadowColor: theme.__hd__.toast.shadows.color,
29
- shadowOffset: theme.__hd__.toast.shadows.offset,
30
- shadowRadius: theme.__hd__.toast.shadows.radius,
31
- shadowOpacity: theme.__hd__.toast.shadows.opacity,
32
- elevation: theme.__hd__.toast.shadows.elevation,
28
+ ...theme.__hd__.toast.shadows.wrapper,
33
29
  }));
34
30
 
35
31
  const IconContainer = styled(View)<ViewProps>(({ theme }) => ({
@@ -14,17 +14,17 @@ exports[`Toast Icon render custom icon correctly 1`] = `
14
14
  {
15
15
  "backgroundColor": "#ecf0ff",
16
16
  "borderRadius": 0,
17
- "elevation": 3,
17
+ "elevation": 6,
18
18
  "flexDirection": "row",
19
19
  "minHeight": 48,
20
20
  "opacity": 0,
21
- "shadowColor": "#121214",
21
+ "shadowColor": "#001f23",
22
22
  "shadowOffset": {
23
23
  "height": 2,
24
24
  "width": 0,
25
25
  },
26
26
  "shadowOpacity": 0.12,
27
- "shadowRadius": 4,
27
+ "shadowRadius": 2,
28
28
  "transform": [
29
29
  {
30
30
  "translateY": 20,
@@ -159,17 +159,17 @@ exports[`Toast renders correctly when intent is error 1`] = `
159
159
  {
160
160
  "backgroundColor": "#fcebe7",
161
161
  "borderRadius": 0,
162
- "elevation": 3,
162
+ "elevation": 6,
163
163
  "flexDirection": "row",
164
164
  "minHeight": 48,
165
165
  "opacity": 0,
166
- "shadowColor": "#121214",
166
+ "shadowColor": "#001f23",
167
167
  "shadowOffset": {
168
168
  "height": 2,
169
169
  "width": 0,
170
170
  },
171
171
  "shadowOpacity": 0.12,
172
- "shadowRadius": 4,
172
+ "shadowRadius": 2,
173
173
  "transform": [
174
174
  {
175
175
  "translateY": 20,
@@ -367,17 +367,17 @@ exports[`Toast renders correctly when intent is info 1`] = `
367
367
  {
368
368
  "backgroundColor": "#ecf0ff",
369
369
  "borderRadius": 0,
370
- "elevation": 3,
370
+ "elevation": 6,
371
371
  "flexDirection": "row",
372
372
  "minHeight": 48,
373
373
  "opacity": 0,
374
- "shadowColor": "#121214",
374
+ "shadowColor": "#001f23",
375
375
  "shadowOffset": {
376
376
  "height": 2,
377
377
  "width": 0,
378
378
  },
379
379
  "shadowOpacity": 0.12,
380
- "shadowRadius": 4,
380
+ "shadowRadius": 2,
381
381
  "transform": [
382
382
  {
383
383
  "translateY": 20,
@@ -575,17 +575,17 @@ exports[`Toast renders correctly when intent is notification 1`] = `
575
575
  {
576
576
  "backgroundColor": "#ffffff",
577
577
  "borderRadius": 0,
578
- "elevation": 3,
578
+ "elevation": 6,
579
579
  "flexDirection": "row",
580
580
  "minHeight": 48,
581
581
  "opacity": 0,
582
- "shadowColor": "#121214",
582
+ "shadowColor": "#001f23",
583
583
  "shadowOffset": {
584
584
  "height": 2,
585
585
  "width": 0,
586
586
  },
587
587
  "shadowOpacity": 0.12,
588
- "shadowRadius": 4,
588
+ "shadowRadius": 2,
589
589
  "transform": [
590
590
  {
591
591
  "translateY": 20,
@@ -751,17 +751,17 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
751
751
  {
752
752
  "backgroundColor": "#001f23",
753
753
  "borderRadius": 0,
754
- "elevation": 3,
754
+ "elevation": 6,
755
755
  "flexDirection": "row",
756
756
  "minHeight": 48,
757
757
  "opacity": 0,
758
- "shadowColor": "#121214",
758
+ "shadowColor": "#001f23",
759
759
  "shadowOffset": {
760
760
  "height": 2,
761
761
  "width": 0,
762
762
  },
763
763
  "shadowOpacity": 0.12,
764
- "shadowRadius": 4,
764
+ "shadowRadius": 2,
765
765
  "transform": [
766
766
  {
767
767
  "translateY": 20,
@@ -927,17 +927,17 @@ exports[`Toast renders correctly when intent is success 1`] = `
927
927
  {
928
928
  "backgroundColor": "#f0fef4",
929
929
  "borderRadius": 0,
930
- "elevation": 3,
930
+ "elevation": 6,
931
931
  "flexDirection": "row",
932
932
  "minHeight": 48,
933
933
  "opacity": 0,
934
- "shadowColor": "#121214",
934
+ "shadowColor": "#001f23",
935
935
  "shadowOffset": {
936
936
  "height": 2,
937
937
  "width": 0,
938
938
  },
939
939
  "shadowOpacity": 0.12,
940
- "shadowRadius": 4,
940
+ "shadowRadius": 2,
941
941
  "transform": [
942
942
  {
943
943
  "translateY": 20,
@@ -1135,17 +1135,17 @@ exports[`Toast renders correctly when intent is warning 1`] = `
1135
1135
  {
1136
1136
  "backgroundColor": "#fff6eb",
1137
1137
  "borderRadius": 0,
1138
- "elevation": 3,
1138
+ "elevation": 6,
1139
1139
  "flexDirection": "row",
1140
1140
  "minHeight": 48,
1141
1141
  "opacity": 0,
1142
- "shadowColor": "#121214",
1142
+ "shadowColor": "#001f23",
1143
1143
  "shadowOffset": {
1144
1144
  "height": 2,
1145
1145
  "width": 0,
1146
1146
  },
1147
1147
  "shadowOpacity": 0.12,
1148
- "shadowRadius": 4,
1148
+ "shadowRadius": 2,
1149
1149
  "transform": [
1150
1150
  {
1151
1151
  "translateY": 20,