@jobber/components-native 0.76.1-JOB-116234-180b1c7.36 → 0.76.1-JOB-116234-5a10c63.37
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.76.1-JOB-116234-
|
|
3
|
+
"version": "0.76.1-JOB-116234-5a10c63.37+5a10c630",
|
|
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": "
|
|
83
|
+
"gitHead": "5a10c6303e649a8cebcfa4d6216b7e5f462a4490"
|
|
84
84
|
}
|
|
@@ -24,14 +24,13 @@ export function ActionItemGroup({
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
function renderChildren(children: ActionItemElement | ActionItemElement[]) {
|
|
27
|
+
const styles = useStyles();
|
|
27
28
|
const childArray = React.Children.toArray(children);
|
|
28
29
|
if (childArray.length === 1) return children;
|
|
29
30
|
|
|
30
31
|
return childArray.map((child, index) => {
|
|
31
32
|
const isSubsequentChild = index !== 0;
|
|
32
33
|
|
|
33
|
-
const styles = useStyles();
|
|
34
|
-
|
|
35
34
|
return (
|
|
36
35
|
<View key={index}>
|
|
37
36
|
{isSubsequentChild && (
|
|
@@ -111,6 +111,8 @@ function CheckboxGroupInternal({
|
|
|
111
111
|
};
|
|
112
112
|
const indeterminate = checkIndeterminateStatus(actualCheckedValues);
|
|
113
113
|
|
|
114
|
+
const styles = useStyles();
|
|
115
|
+
|
|
114
116
|
function cloneChildCheckbox(
|
|
115
117
|
checkbox: React.ReactElement<CheckboxProps>,
|
|
116
118
|
): React.ReactElement<CheckboxProps> {
|
|
@@ -166,8 +168,6 @@ function CheckboxGroupInternal({
|
|
|
166
168
|
return acc && value;
|
|
167
169
|
}
|
|
168
170
|
|
|
169
|
-
const styles = useStyles();
|
|
170
|
-
|
|
171
171
|
return (
|
|
172
172
|
<View>
|
|
173
173
|
{isNested ? (
|