@jobber/components-native 0.81.1-export-use-69f7bac.11 → 0.81.1

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.
@@ -5,6 +5,7 @@ export declare const useStyles: () => {
5
5
  borderColor: string;
6
6
  borderRadius: number;
7
7
  marginBottom: number;
8
+ overflow: "hidden";
8
9
  };
9
10
  thumbnailContainerGrid: {
10
11
  width: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components-native",
3
- "version": "0.81.1-export-use-69f7bac.11+69f7bac8",
3
+ "version": "0.81.1",
4
4
  "license": "MIT",
5
5
  "description": "React Native implementation of Atlantis",
6
6
  "repository": {
@@ -80,5 +80,5 @@
80
80
  "react-native-safe-area-context": "^4.5.2",
81
81
  "react-native-svg": ">=12.0.0"
82
82
  },
83
- "gitHead": "69f7bac808b5c8f20f459bad3b158f7578a36384"
83
+ "gitHead": "a560cd303472b8638a3ef95fe3f26ac4afa2f607"
84
84
  }
@@ -8,6 +8,8 @@ export const useStyles = buildThemedStyles(tokens => {
8
8
  borderColor: tokens["color-border"],
9
9
  borderRadius: tokens["radius-base"],
10
10
  marginBottom: tokens["space-small"],
11
+ // This is to prevent the image from overflowing the container's border radius, otherwise it can "bleed" out the corners
12
+ overflow: "hidden",
11
13
  },
12
14
  thumbnailContainerGrid: {
13
15
  width: tokens["space-extravagant"],
@@ -75,6 +75,7 @@ exports[`renders a thumbnail component with attachments 1`] = `
75
75
  "borderRadius": 8,
76
76
  "borderWidth": 1,
77
77
  "marginBottom": 8,
78
+ "overflow": "hidden",
78
79
  },
79
80
  {
80
81
  "height": 64,