@jobber/components-native 0.81.2-fix-select-7f307df.38 → 0.81.3-update-rea-cf2839a.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/dist/package.json +3 -4
- package/dist/src/Checkbox/Checkbox.js +3 -3
- package/dist/src/Checkbox/Checkbox.style.js +2 -1
- package/dist/src/ContentOverlay/ContentOverlay.js +1 -0
- package/dist/src/Select/Select.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/Checkbox/Checkbox.style.d.ts +2 -1
- package/package.json +3 -4
- package/src/Checkbox/Checkbox.style.ts +2 -1
- package/src/Checkbox/Checkbox.tsx +9 -5
- package/src/ContentOverlay/ContentOverlay.tsx +1 -0
- package/src/Select/Select.tsx +8 -9
|
@@ -6,11 +6,12 @@ export declare const useStyles: () => {
|
|
|
6
6
|
width: "100%";
|
|
7
7
|
justifyContent: "space-between";
|
|
8
8
|
flexDirection: "row";
|
|
9
|
-
alignItems: "
|
|
9
|
+
alignItems: "flex-start";
|
|
10
10
|
paddingVertical: number;
|
|
11
11
|
};
|
|
12
12
|
label: {
|
|
13
13
|
flex: number;
|
|
14
|
+
gap: number;
|
|
14
15
|
};
|
|
15
16
|
checkbox: {
|
|
16
17
|
borderRadius: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components-native",
|
|
3
|
-
"version": "0.81.
|
|
3
|
+
"version": "0.81.3-update-rea-cf2839a.2+cf2839a3",
|
|
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.
|
|
79
|
+
"react-native-safe-area-context": "^5.4.0",
|
|
81
80
|
"react-native-svg": ">=12.0.0"
|
|
82
81
|
},
|
|
83
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "cf2839a3626695cbf96523c49a200892dd3a1c1b"
|
|
84
83
|
}
|
|
@@ -12,12 +12,13 @@ export const useStyles = buildThemedStyles(tokens => {
|
|
|
12
12
|
width: "100%",
|
|
13
13
|
justifyContent: "space-between",
|
|
14
14
|
flexDirection: "row",
|
|
15
|
-
alignItems: "
|
|
15
|
+
alignItems: "flex-start",
|
|
16
16
|
paddingVertical: tokens["space-small"],
|
|
17
17
|
},
|
|
18
18
|
|
|
19
19
|
label: {
|
|
20
20
|
flex: 1,
|
|
21
|
+
gap: tokens["space-smaller"],
|
|
21
22
|
},
|
|
22
23
|
|
|
23
24
|
checkbox: {
|
|
@@ -152,6 +152,15 @@ function CheckboxInternal({
|
|
|
152
152
|
<Text variation={textVariation} align="start">
|
|
153
153
|
{label}
|
|
154
154
|
</Text>
|
|
155
|
+
{assistiveText && (
|
|
156
|
+
<Text
|
|
157
|
+
level="textSupporting"
|
|
158
|
+
align="start"
|
|
159
|
+
variation={textVariation}
|
|
160
|
+
>
|
|
161
|
+
{assistiveText}
|
|
162
|
+
</Text>
|
|
163
|
+
)}
|
|
155
164
|
</View>
|
|
156
165
|
)}
|
|
157
166
|
<View
|
|
@@ -168,11 +177,6 @@ function CheckboxInternal({
|
|
|
168
177
|
)}
|
|
169
178
|
</View>
|
|
170
179
|
</View>
|
|
171
|
-
{assistiveText && (
|
|
172
|
-
<Text level="textSupporting" align="start" variation={textVariation}>
|
|
173
|
-
{assistiveText}
|
|
174
|
-
</Text>
|
|
175
|
-
)}
|
|
176
180
|
</Pressable>
|
|
177
181
|
);
|
|
178
182
|
}
|
|
@@ -72,6 +72,7 @@ function ContentOverlayInternal(
|
|
|
72
72
|
showDismiss || isScreenReaderEnabled || isFullScreenOrTopPosition;
|
|
73
73
|
const [showHeaderShadow, setShowHeaderShadow] = useState<boolean>(false);
|
|
74
74
|
const overlayHeader = useRef<View>();
|
|
75
|
+
// Comment to trigger build
|
|
75
76
|
|
|
76
77
|
const internalRef = useRef<Modalize>();
|
|
77
78
|
const [modalizeMethods, setModalizeMethods] = useState<ContentOverlayRef>();
|
package/src/Select/Select.tsx
CHANGED
|
@@ -153,15 +153,14 @@ export function Select({
|
|
|
153
153
|
<View
|
|
154
154
|
style={[styles.container, (invalid || !!error) && styles.invalid]}
|
|
155
155
|
>
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
)}
|
|
156
|
+
<Text
|
|
157
|
+
level="textSupporting"
|
|
158
|
+
variation={textVariation}
|
|
159
|
+
hideFromScreenReader={true}
|
|
160
|
+
>
|
|
161
|
+
{label}
|
|
162
|
+
</Text>
|
|
163
|
+
|
|
165
164
|
<View style={styles.input}>
|
|
166
165
|
<View style={styles.value}>
|
|
167
166
|
<Text
|