@jobber/components-native 0.53.1 → 0.53.2
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.53.
|
|
3
|
+
"version": "0.53.2",
|
|
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": "743bb7ee55fcdaad3951077bc069d745cd81f202"
|
|
88
88
|
}
|
|
@@ -5,6 +5,9 @@ const statusLabelIconDiameter = tokens["space-base"] - tokens["space-smaller"];
|
|
|
5
5
|
|
|
6
6
|
const indicatorOffset = tokens["space-smallest"] + tokens["space-minuscule"];
|
|
7
7
|
|
|
8
|
+
// Needs to be hardcoded to 3 as this shouldn't change with the tokens
|
|
9
|
+
const statusLabelRadius = 3;
|
|
10
|
+
|
|
8
11
|
export const styles = StyleSheet.create({
|
|
9
12
|
statusLabelRow: {
|
|
10
13
|
flexDirection: "row",
|
|
@@ -15,7 +18,7 @@ export const styles = StyleSheet.create({
|
|
|
15
18
|
flexShrink: 1,
|
|
16
19
|
},
|
|
17
20
|
statusLabelIcon: {
|
|
18
|
-
borderRadius:
|
|
21
|
+
borderRadius: statusLabelRadius,
|
|
19
22
|
backgroundColor: tokens["color-success"],
|
|
20
23
|
width: statusLabelIconDiameter,
|
|
21
24
|
height: statusLabelIconDiameter,
|
|
@@ -64,7 +64,7 @@ exports[`StatusLabel alignment when alignment prop set to "end" should match sna
|
|
|
64
64
|
[
|
|
65
65
|
{
|
|
66
66
|
"backgroundColor": "rgb(125, 176, 14)",
|
|
67
|
-
"borderRadius":
|
|
67
|
+
"borderRadius": 3,
|
|
68
68
|
"height": 12,
|
|
69
69
|
"marginTop": 3,
|
|
70
70
|
"width": 12,
|
|
@@ -143,7 +143,7 @@ exports[`StatusLabel alignment when alignment prop set to default ("start") shou
|
|
|
143
143
|
[
|
|
144
144
|
{
|
|
145
145
|
"backgroundColor": "rgb(125, 176, 14)",
|
|
146
|
-
"borderRadius":
|
|
146
|
+
"borderRadius": 3,
|
|
147
147
|
"height": 12,
|
|
148
148
|
"marginTop": 3,
|
|
149
149
|
"width": 12,
|
|
@@ -222,7 +222,7 @@ exports[`StatusLabel status when status prop set to "critical" should match snap
|
|
|
222
222
|
[
|
|
223
223
|
{
|
|
224
224
|
"backgroundColor": "rgb(125, 176, 14)",
|
|
225
|
-
"borderRadius":
|
|
225
|
+
"borderRadius": 3,
|
|
226
226
|
"height": 12,
|
|
227
227
|
"marginTop": 3,
|
|
228
228
|
"width": 12,
|
|
@@ -301,7 +301,7 @@ exports[`StatusLabel status when status prop set to "inactive" should match snap
|
|
|
301
301
|
[
|
|
302
302
|
{
|
|
303
303
|
"backgroundColor": "rgb(125, 176, 14)",
|
|
304
|
-
"borderRadius":
|
|
304
|
+
"borderRadius": 3,
|
|
305
305
|
"height": 12,
|
|
306
306
|
"marginTop": 3,
|
|
307
307
|
"width": 12,
|
|
@@ -380,7 +380,7 @@ exports[`StatusLabel status when status prop set to "informative" should match s
|
|
|
380
380
|
[
|
|
381
381
|
{
|
|
382
382
|
"backgroundColor": "rgb(125, 176, 14)",
|
|
383
|
-
"borderRadius":
|
|
383
|
+
"borderRadius": 3,
|
|
384
384
|
"height": 12,
|
|
385
385
|
"marginTop": 3,
|
|
386
386
|
"width": 12,
|
|
@@ -459,7 +459,7 @@ exports[`StatusLabel status when status prop set to "warning" should match snaps
|
|
|
459
459
|
[
|
|
460
460
|
{
|
|
461
461
|
"backgroundColor": "rgb(125, 176, 14)",
|
|
462
|
-
"borderRadius":
|
|
462
|
+
"borderRadius": 3,
|
|
463
463
|
"height": 12,
|
|
464
464
|
"marginTop": 3,
|
|
465
465
|
"width": 12,
|
|
@@ -538,7 +538,7 @@ exports[`StatusLabel status when status prop set to default ("success") should m
|
|
|
538
538
|
[
|
|
539
539
|
{
|
|
540
540
|
"backgroundColor": "rgb(125, 176, 14)",
|
|
541
|
-
"borderRadius":
|
|
541
|
+
"borderRadius": 3,
|
|
542
542
|
"height": 12,
|
|
543
543
|
"marginTop": 3,
|
|
544
544
|
"width": 12,
|