@jobber/components-native 0.80.1-upgrade-to-2c02d1f.23 → 0.80.1-upgrade-to-2ee92b7.19

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components-native",
3
- "version": "0.80.1-upgrade-to-2c02d1f.23+2c02d1fc",
3
+ "version": "0.80.1-upgrade-to-2ee92b7.19+2ee92b75",
4
4
  "license": "MIT",
5
5
  "description": "React Native implementation of Atlantis",
6
6
  "repository": {
@@ -70,7 +70,7 @@
70
70
  "date-fns-tz": "^2.0.0",
71
71
  "react": "^18.2.0",
72
72
  "react-intl": "^6.4.2",
73
- "react-native": ">=0.77.0",
73
+ "react-native": ">=0.76.0",
74
74
  "react-native-gesture-handler": ">=2.10.0",
75
75
  "react-native-keyboard-aware-scroll-view": "^0.9.5",
76
76
  "react-native-modal-datetime-picker": " >=13.0.0",
@@ -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": "2c02d1fc6bffcecd659c2b0bdc58a22670c43548"
83
+ "gitHead": "2ee92b753e53fd4b5235e27553378ad899192068"
84
84
  }
@@ -16,7 +16,7 @@ export function Chip({ icon, label, onPress, isDismissible, isActive, inactiveBa
16
16
  {
17
17
  backgroundColor: inactiveBackgroundColor === "surface"
18
18
  ? tokens["color-surface"]
19
- : tokens["color-surface--background"],
19
+ : tokens["color-interactive--background"],
20
20
  },
21
21
  isActive && { backgroundColor: accentColor },
22
22
  ];
@@ -102,7 +102,6 @@ function InternalForm({ children, onBeforeSubmit, onSubmit, onSubmitError, onSub
102
102
  setMessageBannerHeight(event.nativeEvent.layout.height);
103
103
  };
104
104
  const styles = useStyles();
105
- // Comment to trigger build once more and again and again
106
105
  return (React.createElement(FormProvider, Object.assign({}, formMethods),
107
106
  React.createElement(React.Fragment, null,
108
107
  (isSubmitting || isSecondaryActionLoading) && React.createElement(FormMask, null),
@@ -6,7 +6,7 @@ export const useStyles = buildThemedStyles(tokens => {
6
6
  height: 8,
7
7
  borderRadius: tokens["radius-circle"],
8
8
  overflow: "hidden",
9
- backgroundColor: tokens["color-surface--background"],
9
+ backgroundColor: tokens["color-interactive--background"],
10
10
  },
11
11
  progress: {
12
12
  height: "100%",
@@ -12,8 +12,8 @@ export function ProgressBar({ loading, total, current, inProgress = 0, reverseTh
12
12
  const { tokens } = useAtlantisTheme();
13
13
  return (React.createElement(View, { accessible: true, accessibilityRole: "progressbar", accessibilityLabel: getA11yLabel() },
14
14
  header,
15
- variation === "stepped" ? (React.createElement(ProgressBarStepped, { total: total, current: current, color: reverseTheme ? undefined : tokens["color-surface--background"], loading: loading, inProgress: inProgress })) : (React.createElement(View, { style: [styles.progressBarContainer, sizeStyles[size]] },
16
- React.createElement(ProgressBarInner, { width: 100, animationDuration: 0, color: reverseTheme ? undefined : tokens["color-surface--background"] }),
15
+ variation === "stepped" ? (React.createElement(ProgressBarStepped, { total: total, current: current, color: reverseTheme ? undefined : tokens["color-interactive--background"], loading: loading, inProgress: inProgress })) : (React.createElement(View, { style: [styles.progressBarContainer, sizeStyles[size]] },
16
+ React.createElement(ProgressBarInner, { width: 100, animationDuration: 0, color: reverseTheme ? undefined : tokens["color-interactive--background"] }),
17
17
  !loading && (React.createElement(React.Fragment, null,
18
18
  inProgress && inProgress > 0 ? (React.createElement(ProgressBarInner, { width: calculateWidth(total, current + inProgress), color: tokens["color-informative"], animationDuration: 800 })) : (React.createElement(React.Fragment, null)),
19
19
  React.createElement(ProgressBarInner, { width: calculateWidth(total, current), color: tokens["color-interactive"], animationDuration: 600 })))))));
@@ -19,7 +19,7 @@ export function BaseSwitch({ value, defaultValue, onValueChange, disabled = fals
19
19
  return tokens["color-interactive"];
20
20
  }
21
21
  else {
22
- return tokens["color-surface--background"];
22
+ return tokens["color-interactive--background"];
23
23
  }
24
24
  }
25
25
  return undefined; //use default iOS
@@ -39,7 +39,7 @@ export function BaseSwitch({ value, defaultValue, onValueChange, disabled = fals
39
39
  //iOS
40
40
  return {
41
41
  true: tokens["color-interactive"],
42
- false: tokens["color-surface--background"],
42
+ false: tokens["color-interactive--background"],
43
43
  };
44
44
  }
45
45
  }
@@ -48,7 +48,7 @@ export function BaseSwitch({ value, defaultValue, onValueChange, disabled = fals
48
48
  onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(val);
49
49
  field.onChange(val);
50
50
  }
51
- }, disabled: disabled, thumbColor: getThumbColor(), trackColor: getTrackColors(), ios_backgroundColor: tokens["color-surface--background"], accessibilityLabel: accessibilityLabel, accessibilityRole: "switch", accessibilityState: {
51
+ }, disabled: disabled, thumbColor: getThumbColor(), trackColor: getTrackColors(), ios_backgroundColor: tokens["color-interactive--background"], accessibilityLabel: accessibilityLabel, accessibilityRole: "switch", accessibilityState: {
52
52
  disabled: disabled,
53
53
  checked: internalValue,
54
54
  } }));