@hero-design/rn 8.91.6 → 8.91.7
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 +2 -2
- package/CHANGELOG.md +6 -0
- package/es/index.js +44 -44
- package/lib/index.js +44 -44
- package/package.json +1 -1
- package/src/components/MapPin/__tests__/__snapshots__/Focussed.spec.tsx.snap +3 -3
- package/src/components/MapPin/__tests__/__snapshots__/index.spec.tsx.snap +20 -20
- package/src/components/Slider/__tests__/__snapshots__/RangeSlider.spec.tsx.snap +6 -6
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +17 -17
- package/src/theme/components/alert.ts +1 -1
- package/src/theme/components/bottomNavigation.ts +1 -1
- package/src/theme/components/chip.ts +1 -1
- package/src/theme/components/fab.ts +1 -1
- package/src/theme/components/floatingIsland.ts +1 -1
- package/src/theme/components/list.ts +1 -1
- package/src/theme/components/mapPin.ts +5 -5
- package/src/theme/components/search.ts +1 -1
- package/src/theme/components/toast.ts +1 -1
- package/src/theme/global/shadows/__tests__/__snapshots__/ehWorkDark.spec.ts.snap +10 -10
- package/src/theme/global/shadows/__tests__/__snapshots__/swagLight.spec.ts.snap +9 -9
- package/src/theme/global/shadows/__tests__/__snapshots__/swagLightJobs.spec.ts.snap +6 -6
- package/src/theme/global/shadows/ehWorkDark.ts +11 -12
- package/src/theme/global/shadows/swagLight.ts +11 -12
- package/src/theme/global/shadows/swagLightJobs.ts +9 -9
- package/src/theme/global/shadows/types.ts +2 -2
- package/stats/8.91.7/rn-stats.html +4842 -0
- package/types/theme/global/shadows/types.d.ts +2 -2
|
@@ -37,11 +37,11 @@ const getMapPinTheme = (theme: GlobalTheme) => {
|
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
const shadows = {
|
|
40
|
-
offset: theme.shadows.
|
|
41
|
-
opacity: theme.shadows.
|
|
42
|
-
radius: theme.shadows.
|
|
43
|
-
elevation: theme.shadows.
|
|
44
|
-
color: theme.shadows.
|
|
40
|
+
offset: theme.shadows.deep.shadowOffset,
|
|
41
|
+
opacity: theme.shadows.deep.shadowOpacity,
|
|
42
|
+
radius: theme.shadows.deep.shadowRadius,
|
|
43
|
+
elevation: theme.shadows.deep.elevation,
|
|
44
|
+
color: theme.shadows.deep.shadowColor,
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
return { sizes, colors, borderWidths, radii, shadows, space, fontSizes };
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`ehWorkDarkShadowPalette returns correct theme object 1`] = `
|
|
4
4
|
{
|
|
5
|
-
"
|
|
6
|
-
"elevation":
|
|
5
|
+
"deep": {
|
|
6
|
+
"elevation": 10,
|
|
7
7
|
"shadowColor": "#000000",
|
|
8
8
|
"shadowOffset": {
|
|
9
|
-
"height":
|
|
9
|
+
"height": 4,
|
|
10
10
|
"width": 0,
|
|
11
11
|
},
|
|
12
|
-
"shadowOpacity": 0.
|
|
13
|
-
"shadowRadius":
|
|
12
|
+
"shadowOpacity": 0.64,
|
|
13
|
+
"shadowRadius": 8,
|
|
14
14
|
},
|
|
15
15
|
"default": {
|
|
16
|
-
"elevation":
|
|
17
|
-
"shadowColor": "#
|
|
16
|
+
"elevation": 6,
|
|
17
|
+
"shadowColor": "#000000",
|
|
18
18
|
"shadowOffset": {
|
|
19
19
|
"height": 2,
|
|
20
20
|
"width": 0,
|
|
21
21
|
},
|
|
22
|
-
"shadowOpacity": 0.
|
|
23
|
-
"shadowRadius":
|
|
22
|
+
"shadowOpacity": 0.56,
|
|
23
|
+
"shadowRadius": 2,
|
|
24
24
|
},
|
|
25
|
-
"
|
|
25
|
+
"medium": {
|
|
26
26
|
"elevation": 10,
|
|
27
27
|
"shadowColor": "#000000",
|
|
28
28
|
"shadowOffset": {
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`swagLightShadowPalette returns correct theme object 1`] = `
|
|
4
4
|
{
|
|
5
|
-
"
|
|
6
|
-
"elevation":
|
|
5
|
+
"deep": {
|
|
6
|
+
"elevation": 10,
|
|
7
7
|
"shadowColor": "#001f23",
|
|
8
8
|
"shadowOffset": {
|
|
9
|
-
"height":
|
|
9
|
+
"height": 4,
|
|
10
10
|
"width": 0,
|
|
11
11
|
},
|
|
12
|
-
"shadowOpacity": 0.
|
|
13
|
-
"shadowRadius":
|
|
12
|
+
"shadowOpacity": 0.28,
|
|
13
|
+
"shadowRadius": 8,
|
|
14
14
|
},
|
|
15
15
|
"default": {
|
|
16
|
-
"elevation":
|
|
17
|
-
"shadowColor": "#
|
|
16
|
+
"elevation": 6,
|
|
17
|
+
"shadowColor": "#001f23",
|
|
18
18
|
"shadowOffset": {
|
|
19
19
|
"height": 2,
|
|
20
20
|
"width": 0,
|
|
21
21
|
},
|
|
22
22
|
"shadowOpacity": 0.12,
|
|
23
|
-
"shadowRadius":
|
|
23
|
+
"shadowRadius": 2,
|
|
24
24
|
},
|
|
25
|
-
"
|
|
25
|
+
"medium": {
|
|
26
26
|
"elevation": 10,
|
|
27
27
|
"shadowColor": "#001f23",
|
|
28
28
|
"shadowOffset": {
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`swagLightJobsShadowPalette returns correct theme object 1`] = `
|
|
4
4
|
{
|
|
5
|
-
"
|
|
6
|
-
"elevation":
|
|
5
|
+
"deep": {
|
|
6
|
+
"elevation": 10,
|
|
7
7
|
"shadowColor": "#001f23",
|
|
8
8
|
"shadowOffset": {
|
|
9
|
-
"height":
|
|
9
|
+
"height": 4,
|
|
10
10
|
"width": 0,
|
|
11
11
|
},
|
|
12
|
-
"shadowOpacity": 0.
|
|
13
|
-
"shadowRadius":
|
|
12
|
+
"shadowOpacity": 0.28,
|
|
13
|
+
"shadowRadius": 8,
|
|
14
14
|
},
|
|
15
15
|
"default": {
|
|
16
16
|
"elevation": 3,
|
|
@@ -22,7 +22,7 @@ exports[`swagLightJobsShadowPalette returns correct theme object 1`] = `
|
|
|
22
22
|
"shadowOpacity": 0.12,
|
|
23
23
|
"shadowRadius": 4,
|
|
24
24
|
},
|
|
25
|
-
"
|
|
25
|
+
"medium": {
|
|
26
26
|
"elevation": 10,
|
|
27
27
|
"shadowColor": "#001f23",
|
|
28
28
|
"shadowOffset": {
|
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
import ehWorkDarkSystemPalette from '../colors/ehWorkDark';
|
|
2
1
|
import type { ShadowPalette } from './types';
|
|
3
2
|
|
|
4
3
|
const ehWorkDarkShadowPalette: ShadowPalette = {
|
|
5
4
|
default: {
|
|
6
|
-
shadowOffset: {
|
|
7
|
-
width: 0,
|
|
8
|
-
height: 2,
|
|
9
|
-
},
|
|
10
|
-
shadowColor: ehWorkDarkSystemPalette.primaryOutline,
|
|
11
|
-
shadowOpacity: 0.12,
|
|
12
|
-
shadowRadius: 4,
|
|
13
|
-
elevation: 3,
|
|
14
|
-
},
|
|
15
|
-
cardDrawer: {
|
|
16
5
|
shadowOffset: {
|
|
17
6
|
width: 0,
|
|
18
7
|
height: 2,
|
|
@@ -22,7 +11,7 @@ const ehWorkDarkShadowPalette: ShadowPalette = {
|
|
|
22
11
|
shadowRadius: 2,
|
|
23
12
|
elevation: 6,
|
|
24
13
|
},
|
|
25
|
-
|
|
14
|
+
medium: {
|
|
26
15
|
shadowOffset: {
|
|
27
16
|
width: 0,
|
|
28
17
|
height: -4,
|
|
@@ -32,6 +21,16 @@ const ehWorkDarkShadowPalette: ShadowPalette = {
|
|
|
32
21
|
shadowRadius: 6,
|
|
33
22
|
elevation: 10,
|
|
34
23
|
},
|
|
24
|
+
deep: {
|
|
25
|
+
shadowOffset: {
|
|
26
|
+
width: 0,
|
|
27
|
+
height: 4,
|
|
28
|
+
},
|
|
29
|
+
shadowColor: '#000000',
|
|
30
|
+
shadowOpacity: 0.64,
|
|
31
|
+
shadowRadius: 8,
|
|
32
|
+
elevation: 10,
|
|
33
|
+
},
|
|
35
34
|
};
|
|
36
35
|
|
|
37
36
|
export default ehWorkDarkShadowPalette;
|
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
import swagLightSystemPalette from '../colors/swagLight';
|
|
2
1
|
import type { ShadowPalette } from './types';
|
|
3
2
|
|
|
4
3
|
const swagLightShadowPalette: ShadowPalette = {
|
|
5
4
|
default: {
|
|
6
|
-
shadowOffset: {
|
|
7
|
-
width: 0,
|
|
8
|
-
height: 2,
|
|
9
|
-
},
|
|
10
|
-
shadowColor: swagLightSystemPalette.primaryOutline,
|
|
11
|
-
shadowOpacity: 0.12,
|
|
12
|
-
shadowRadius: 4,
|
|
13
|
-
elevation: 3,
|
|
14
|
-
},
|
|
15
|
-
cardDrawer: {
|
|
16
5
|
shadowOffset: {
|
|
17
6
|
width: 0,
|
|
18
7
|
height: 2,
|
|
@@ -22,7 +11,7 @@ const swagLightShadowPalette: ShadowPalette = {
|
|
|
22
11
|
shadowRadius: 2,
|
|
23
12
|
elevation: 6,
|
|
24
13
|
},
|
|
25
|
-
|
|
14
|
+
medium: {
|
|
26
15
|
shadowOffset: {
|
|
27
16
|
width: 0,
|
|
28
17
|
height: -4,
|
|
@@ -32,6 +21,16 @@ const swagLightShadowPalette: ShadowPalette = {
|
|
|
32
21
|
shadowRadius: 6,
|
|
33
22
|
elevation: 10,
|
|
34
23
|
},
|
|
24
|
+
deep: {
|
|
25
|
+
shadowOffset: {
|
|
26
|
+
width: 0,
|
|
27
|
+
height: 4,
|
|
28
|
+
},
|
|
29
|
+
shadowColor: '#001f23',
|
|
30
|
+
shadowOpacity: 0.28,
|
|
31
|
+
shadowRadius: 8,
|
|
32
|
+
elevation: 10,
|
|
33
|
+
},
|
|
35
34
|
};
|
|
36
35
|
|
|
37
36
|
export default swagLightShadowPalette;
|
|
@@ -12,24 +12,24 @@ const swagLightJobsShadowPalette: ShadowPalette = {
|
|
|
12
12
|
shadowRadius: 4,
|
|
13
13
|
elevation: 3,
|
|
14
14
|
},
|
|
15
|
-
|
|
15
|
+
medium: {
|
|
16
16
|
shadowOffset: {
|
|
17
17
|
width: 0,
|
|
18
|
-
height:
|
|
18
|
+
height: -4,
|
|
19
19
|
},
|
|
20
20
|
shadowColor: '#001f23',
|
|
21
|
-
shadowOpacity: 0.
|
|
22
|
-
shadowRadius:
|
|
23
|
-
elevation:
|
|
21
|
+
shadowOpacity: 0.04,
|
|
22
|
+
shadowRadius: 6,
|
|
23
|
+
elevation: 10,
|
|
24
24
|
},
|
|
25
|
-
|
|
25
|
+
deep: {
|
|
26
26
|
shadowOffset: {
|
|
27
27
|
width: 0,
|
|
28
|
-
height:
|
|
28
|
+
height: 4,
|
|
29
29
|
},
|
|
30
30
|
shadowColor: '#001f23',
|
|
31
|
-
shadowOpacity: 0.
|
|
32
|
-
shadowRadius:
|
|
31
|
+
shadowOpacity: 0.28,
|
|
32
|
+
shadowRadius: 8,
|
|
33
33
|
elevation: 10,
|
|
34
34
|
},
|
|
35
35
|
};
|