@jobber/components-native 0.81.3-update-rea-cf2839a.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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components-native",
3
- "version": "0.81.3-update-rea-cf2839a.2+cf2839a3",
3
+ "version": "0.82.0",
4
4
  "license": "MIT",
5
5
  "description": "React Native implementation of Atlantis",
6
6
  "repository": {
@@ -79,5 +79,5 @@
79
79
  "react-native-safe-area-context": "^5.4.0",
80
80
  "react-native-svg": ">=12.0.0"
81
81
  },
82
- "gitHead": "cf2839a3626695cbf96523c49a200892dd3a1c1b"
82
+ "gitHead": "aeb1668b7f54843f828fbeda0c30bcc968cdfb64"
83
83
  }
@@ -27,7 +27,6 @@ function ContentOverlayInternal({ children, title, accessibilityLabel, fullScree
27
27
  const shouldShowDismiss = showDismiss || isScreenReaderEnabled || isFullScreenOrTopPosition;
28
28
  const [showHeaderShadow, setShowHeaderShadow] = useState(false);
29
29
  const overlayHeader = useRef();
30
- // Comment to trigger build
31
30
  const internalRef = useRef();
32
31
  const [modalizeMethods, setModalizeMethods] = useState();
33
32
  const callbackInternalRef = useCallback((instance) => {
@@ -28,7 +28,7 @@ export function Select({ value, defaultValue, onChange, children, placeholder, l
28
28
  React.createElement(View, { testID: getTestID(testID), accessible: true, accessibilityLabel: getA11yLabel(), accessibilityValue: { text: getValue() }, accessibilityHint: t("Select.a11yHint"), accessibilityRole: "button", accessibilityState: { disabled: disabled } },
29
29
  React.createElement(SelectInternalPicker, { disabled: disabled, options: getOptions(), onChange: handleChange },
30
30
  React.createElement(View, { style: [styles.container, (invalid || !!error) && styles.invalid] },
31
- React.createElement(Text, { level: "textSupporting", variation: textVariation, hideFromScreenReader: true }, label),
31
+ label && (React.createElement(Text, { level: "textSupporting", variation: textVariation, hideFromScreenReader: true }, label)),
32
32
  React.createElement(View, { style: styles.input },
33
33
  React.createElement(View, { style: styles.value },
34
34
  React.createElement(Text, { variation: disabled ? "disabled" : "base", hideFromScreenReader: true }, getValue())),