@jobber/components-native 0.81.2 → 0.82.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.81.2",
3
+ "version": "0.82.0",
4
4
  "license": "MIT",
5
5
  "description": "React Native implementation of Atlantis",
6
6
  "repository": {
@@ -46,7 +46,6 @@
46
46
  "react-native-keyboard-aware-scroll-view": "^0.9.5",
47
47
  "react-native-modalize": "^2.0.13",
48
48
  "react-native-portalize": "^1.0.7",
49
- "react-native-safe-area-context": "^4.5.2",
50
49
  "react-native-toast-message": "^2.1.6",
51
50
  "react-native-uuid": "^1.4.9",
52
51
  "ts-xor": "^1.1.0"
@@ -77,8 +76,8 @@
77
76
  "react-native-modalize": "^2.0.13",
78
77
  "react-native-portalize": "^1.0.7",
79
78
  "react-native-reanimated": "^3.0.0",
80
- "react-native-safe-area-context": "^4.5.2",
79
+ "react-native-safe-area-context": "^5.4.0",
81
80
  "react-native-svg": ">=12.0.0"
82
81
  },
83
- "gitHead": "cf3a355dd95152faff62049df5e68c70dba26d27"
82
+ "gitHead": "aeb1668b7f54843f828fbeda0c30bcc968cdfb64"
84
83
  }
@@ -153,14 +153,15 @@ export function Select({
153
153
  <View
154
154
  style={[styles.container, (invalid || !!error) && styles.invalid]}
155
155
  >
156
- <Text
157
- level="textSupporting"
158
- variation={textVariation}
159
- hideFromScreenReader={true}
160
- >
161
- {label}
162
- </Text>
163
-
156
+ {label && (
157
+ <Text
158
+ level="textSupporting"
159
+ variation={textVariation}
160
+ hideFromScreenReader={true}
161
+ >
162
+ {label}
163
+ </Text>
164
+ )}
164
165
  <View style={styles.input}>
165
166
  <View style={styles.value}>
166
167
  <Text