@jobber/components-native 0.98.3-TAYLORmob-1f0e028.0 → 0.98.3

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.98.3-TAYLORmob-1f0e028.0+1f0e02816",
3
+ "version": "0.98.3",
4
4
  "license": "MIT",
5
5
  "description": "React Native implementation of Atlantis",
6
6
  "repository": {
@@ -96,5 +96,5 @@
96
96
  "react-native-safe-area-context": "^5.4.0",
97
97
  "react-native-svg": ">=12.0.0"
98
98
  },
99
- "gitHead": "1f0e028164ff26a3da5148656cf1ec01fc1bbca6"
99
+ "gitHead": "4edff1d8859ef42cd6ee00024ef9d40a598d825c"
100
100
  }
@@ -8,6 +8,8 @@ export const useStyles = buildThemedStyles(tokens => {
8
8
  flexDirection: "row",
9
9
  height: chipHeight,
10
10
  justifyContent: "center",
11
+ marginHorizontal: tokens["space-smaller"],
12
+ marginTop: tokens["space-small"],
11
13
  paddingHorizontal: tokens["space-base"],
12
14
  },
13
15
  iconLeft: {
@@ -130,7 +130,7 @@ function InternalForm({ children, onBeforeSubmit, onSubmit, onSubmitError, onSub
130
130
  (isSubmitting || isSecondaryActionLoading) && React.createElement(FormMask, null),
131
131
  React.createElement(FormCache, { localCacheKey: localCacheKey, localCacheExclude: localCacheExclude, setLocalCache: setLocalCache }),
132
132
  React.createElement(FormBody, { keyboardHeight: calculateSaveButtonOffset(), submit: handleSubmit(internalSubmit), isFormSubmitting: isSubmitting, saveButtonLabel: saveButtonLabel, shouldRenderActionBar: saveButtonPosition === "sticky", renderStickySection: renderStickySection, secondaryActions: secondaryActions, setSecondaryActionLoading: setIsSecondaryActionLoading, setSaveButtonHeight: setSaveButtonHeight, saveButtonOffset: saveButtonOffset },
133
- React.createElement(KeyboardAwareScrollView, { disableScrollOnKeyboardHide: true, enabled: !disableKeyboardAwareScroll, keyboardShouldPersistTaps: "handled", ref: scrollViewRef, bottomOffset: KEYBOARD_TOP_PADDING_AUTO_SCROLL, extraKeyboardSpace: edgeToEdgeEnabled ? tokens["space-large"] : 0, contentContainerStyle: !keyboardHeight && styles.scrollContentContainer },
133
+ React.createElement(KeyboardAwareScrollView, { disableScrollOnKeyboardHide: true, enabled: !disableKeyboardAwareScroll, keyboardShouldPersistTaps: "handled", ref: scrollViewRef, bottomOffset: KEYBOARD_TOP_PADDING_AUTO_SCROLL, contentContainerStyle: !keyboardHeight && styles.scrollContentContainer },
134
134
  React.createElement(View, { onLayout: ({ nativeEvent }) => {
135
135
  setFormContentHeight(nativeEvent.layout.height);
136
136
  } },
@@ -140,7 +140,12 @@ function InternalForm({ children, onBeforeSubmit, onSubmit, onSubmitError, onSub
140
140
  React.createElement(View, { style: styles.formChildContainer },
141
141
  React.createElement(React.Fragment, null,
142
142
  React.createElement(View, { style: styles.formContent }, children),
143
- saveButtonPosition === "inline" && (React.createElement(View, { style: styles.fixedSaveButton },
143
+ saveButtonPosition === "inline" && (React.createElement(View, { style: [
144
+ styles.fixedSaveButton,
145
+ (edgeToEdgeEnabled || Platform.OS !== "android") && {
146
+ marginBottom: paddingBottom,
147
+ },
148
+ ] },
144
149
  renderStickySection ? (renderStickySection(handleSubmit(internalSubmit), saveButtonLabel, isSubmitting)) : (React.createElement(FormSaveButton, { primaryAction: handleSubmit(internalSubmit), label: saveButtonLabel, loading: isSubmitting, secondaryActions: secondaryActions, setSecondaryActionLoading: setIsSecondaryActionLoading, onOpenBottomSheet: () => setIsBottomSheetOpen(true), onCloseBottomSheet: () => setIsBottomSheetOpen(false) })),
145
150
  disableKeyboardAwareScroll && (React.createElement(IOSKeyboardAwareScrollViewSpacer, null)))),
146
151
  renderFooter))),