@jobber/components-native 0.69.3-SCOTTTHd.45 → 0.69.3-SCOTTTHd.48
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.69.3-SCOTTTHd.
|
|
3
|
+
"version": "0.69.3-SCOTTTHd.48+a0b5bb3c",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "React Native implementation of Atlantis",
|
|
6
6
|
"repository": {
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"react-native-safe-area-context": "^4.5.2",
|
|
83
83
|
"react-native-svg": ">=12.0.0"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "a0b5bb3ca4c74c2d2bb86edae9e34e2b3482b364"
|
|
86
86
|
}
|
package/src/Icon/Icon.tsx
CHANGED
|
@@ -37,15 +37,16 @@ export function Icon({
|
|
|
37
37
|
customColor,
|
|
38
38
|
testID,
|
|
39
39
|
}: IconProps): JSX.Element {
|
|
40
|
-
const { svgStyle,
|
|
40
|
+
const { svgStyle, paths, viewBox } = getIcon({
|
|
41
41
|
name,
|
|
42
42
|
color,
|
|
43
43
|
size,
|
|
44
44
|
platform: "mobile",
|
|
45
45
|
format: "js",
|
|
46
46
|
});
|
|
47
|
+
|
|
47
48
|
const icon = paths.map((path: string) => {
|
|
48
|
-
return <Path key={path} d={path} fill={customColor ||
|
|
49
|
+
return <Path key={path} d={path} fill={customColor || svgStyle.fill} />;
|
|
49
50
|
});
|
|
50
51
|
|
|
51
52
|
return (
|
|
@@ -50,7 +50,7 @@ exports[`renders apple icon 1`] = `
|
|
|
50
50
|
d="M18.467 12.754c-.027-2.996 2.453-4.453 2.566-4.52-1.404-2.048-3.581-2.328-4.346-2.35-1.828-.193-3.601 1.094-4.533 1.094-.95 0-2.384-1.076-3.93-1.044-1.988.03-3.849 1.182-4.87 2.97C1.25 12.55 2.82 17.91 4.838 20.856c1.01 1.443 2.189 3.055 3.733 2.998 1.51-.062 2.074-.963 3.897-.963 1.806 0 2.335.963 3.91.927 1.62-.026 2.641-1.45 3.615-2.907 1.166-1.654 1.635-3.283 1.653-3.367-.038-.013-3.147-1.2-3.178-4.79Zm-2.974-8.81c.812-1.015 1.368-2.397 1.213-3.8-1.175.053-2.646.814-3.492 1.807-.75.876-1.418 2.31-1.246 3.66 1.321.099 2.677-.666 3.525-1.666Z"
|
|
51
51
|
fill={
|
|
52
52
|
{
|
|
53
|
-
"payload":
|
|
53
|
+
"payload": 4280499528,
|
|
54
54
|
"type": 0,
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -114,7 +114,7 @@ exports[`renders home icon 1`] = `
|
|
|
114
114
|
d="M13.147 3.582a2 2 0 0 0-2.294 0l-9.426 6.599a1 1 0 1 0 1.147 1.638L5 10.121V18a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3v-7.88l2.427 1.7a1 1 0 0 0 1.146-1.64l-9.426-6.598ZM17 8.721V18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8.72l5-3.5 5 3.5Z"
|
|
115
115
|
fill={
|
|
116
116
|
{
|
|
117
|
-
"payload":
|
|
117
|
+
"payload": 4280499528,
|
|
118
118
|
"type": 0,
|
|
119
119
|
}
|
|
120
120
|
}
|
|
@@ -178,7 +178,7 @@ exports[`renders large arrowDown icon 1`] = `
|
|
|
178
178
|
d="M7.703 8.291a.996.996 0 0 0-1.41.001.994.994 0 0 0 0 1.41l5 5.005a.998.998 0 0 0 1.415 0l5-5a.994.994 0 0 0 0-1.41.995.995 0 0 0-1.411-.001L12 12.584 7.703 8.291Z"
|
|
179
179
|
fill={
|
|
180
180
|
{
|
|
181
|
-
"payload":
|
|
181
|
+
"payload": 4280499528,
|
|
182
182
|
"type": 0,
|
|
183
183
|
}
|
|
184
184
|
}
|
|
@@ -320,7 +320,7 @@ exports[`renders small more icon 1`] = `
|
|
|
320
320
|
d="M4 12a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm6 0a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm8-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"
|
|
321
321
|
fill={
|
|
322
322
|
{
|
|
323
|
-
"payload":
|
|
323
|
+
"payload": 4280499528,
|
|
324
324
|
"type": 0,
|
|
325
325
|
}
|
|
326
326
|
}
|
|
@@ -453,7 +453,7 @@ exports[`renders thumbsDown icon 1`] = `
|
|
|
453
453
|
d="M8 11.78V19h8l3-5.76v-1.29h-7.639l1.036-7.944L8 11.78ZM6.134 11l4.555-8.034c1.124-1.846 3.971-.844 3.691 1.299l-.74 5.685h6.86a.5.5 0 0 1 .5.5v3a1 1 0 0 1-.084.4l-3.276 6.648a.95.95 0 0 1-.44.453c-.132.065-.276.049-.423.049H4c-1.105 0-2-1.045-2-2.15V13a2 2 0 0 1 2-2h2.134ZM6 13H4v6h2v-6Z"
|
|
454
454
|
fill={
|
|
455
455
|
{
|
|
456
|
-
"payload":
|
|
456
|
+
"payload": 4280499528,
|
|
457
457
|
"type": 0,
|
|
458
458
|
}
|
|
459
459
|
}
|