@jobber/components-native 0.53.2 → 0.54.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "React Native implementation of Atlantis",
|
|
6
6
|
"repository": {
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"react-native-reanimated": "^2.17.0",
|
|
85
85
|
"react-native-safe-area-context": "^4.5.2"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "70b9a32bf5471eb55a1fb372a65c18ba69579248"
|
|
88
88
|
}
|
package/src/Heading/Heading.tsx
CHANGED
|
@@ -100,21 +100,21 @@ function getHeadingStyle(
|
|
|
100
100
|
const headingLevelToStyle: Record<HeadingLevel, HeadingStyle> = {
|
|
101
101
|
title: {
|
|
102
102
|
fontFamily: "display",
|
|
103
|
-
fontWeight: "
|
|
103
|
+
fontWeight: "extraBold",
|
|
104
104
|
size: "jumbo",
|
|
105
105
|
lineHeight: "jumbo",
|
|
106
106
|
color: variation,
|
|
107
107
|
},
|
|
108
108
|
subtitle: {
|
|
109
|
-
fontFamily: "
|
|
110
|
-
fontWeight: "
|
|
109
|
+
fontFamily: "base",
|
|
110
|
+
fontWeight: "bold",
|
|
111
111
|
size: "largest",
|
|
112
112
|
lineHeight: "largest",
|
|
113
113
|
color: variation,
|
|
114
114
|
},
|
|
115
115
|
heading: {
|
|
116
|
-
fontFamily: "
|
|
117
|
-
fontWeight: "
|
|
116
|
+
fontFamily: "base",
|
|
117
|
+
fontWeight: "bold",
|
|
118
118
|
size: "larger",
|
|
119
119
|
lineHeight: "large",
|
|
120
120
|
color: variation,
|
|
@@ -12,7 +12,7 @@ exports[`when Heading called with Subtitle variation should match snapshot 1`] =
|
|
|
12
12
|
style={
|
|
13
13
|
[
|
|
14
14
|
{
|
|
15
|
-
"fontFamily": "
|
|
15
|
+
"fontFamily": "inter-bold",
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"color": "rgb(1, 41, 57)",
|
|
@@ -45,7 +45,7 @@ exports[`when Heading called with an alignment should match snapshot 1`] = `
|
|
|
45
45
|
style={
|
|
46
46
|
[
|
|
47
47
|
{
|
|
48
|
-
"fontFamily": "
|
|
48
|
+
"fontFamily": "inter-bold",
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"color": "rgb(1, 41, 57)",
|
|
@@ -79,7 +79,7 @@ exports[`when Heading called with maxLines should match snapshot 1`] = `
|
|
|
79
79
|
style={
|
|
80
80
|
[
|
|
81
81
|
{
|
|
82
|
-
"fontFamily": "
|
|
82
|
+
"fontFamily": "inter-bold",
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
"color": "rgb(1, 41, 57)",
|
|
@@ -112,7 +112,7 @@ exports[`when Heading called with reverseTheme should match snapshot 1`] = `
|
|
|
112
112
|
style={
|
|
113
113
|
[
|
|
114
114
|
{
|
|
115
|
-
"fontFamily": "
|
|
115
|
+
"fontFamily": "inter-bold",
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"color": "rgba(255, 255, 255, 1)",
|
|
@@ -213,7 +213,7 @@ exports[`when Heading called with text as the only prop should match snapshot 1`
|
|
|
213
213
|
style={
|
|
214
214
|
[
|
|
215
215
|
{
|
|
216
|
-
"fontFamily": "
|
|
216
|
+
"fontFamily": "inter-bold",
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
"color": "rgb(1, 41, 57)",
|
|
@@ -247,7 +247,7 @@ exports[`when Heading called with title variation should match snapshot 1`] = `
|
|
|
247
247
|
style={
|
|
248
248
|
[
|
|
249
249
|
{
|
|
250
|
-
"fontFamily": "jobberpro-
|
|
250
|
+
"fontFamily": "jobberpro-xbd",
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
253
|
"color": "rgb(1, 41, 57)",
|