@artsy/palette-mobile 13.0.30 → 13.0.31

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.
@@ -18,5 +18,8 @@ export declare const Screen: import("react").FC<import("./ScreenBase").ScreenBas
18
18
  }>;
19
19
  ScrollView: import("react").FC<import("react-native").ScrollViewProps>;
20
20
  StickySubHeader: import("react").FC<import("./StickySubHeader").StickySubHeaderProps>;
21
+ useListenForScreenScroll: () => {
22
+ scrollHandler: (event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void;
23
+ };
21
24
  useScreenScrollContext: () => import("./ScreenScrollContext").ScreenScrollContextProps;
22
25
  };
@@ -27,6 +27,7 @@ const ScreenFlatList_1 = require("./ScreenFlatList");
27
27
  const ScreenScrollContext_1 = require("./ScreenScrollContext");
28
28
  const ScreenScrollView_1 = require("./ScreenScrollView");
29
29
  const StickySubHeader_1 = require("./StickySubHeader");
30
+ const useListenForScreenScroll_1 = require("./hooks/useListenForScreenScroll");
30
31
  __exportStar(require("./constants"), exports);
31
32
  exports.Screen = Object.assign(ScreenBase_1.ScreenBase, {
32
33
  AnimatedHeader: Header_1.AnimatedHeader,
@@ -42,5 +43,6 @@ exports.Screen = Object.assign(ScreenBase_1.ScreenBase, {
42
43
  ScrollView: ScreenScrollView_1.ScreenScrollView,
43
44
  StickySubHeader: StickySubHeader_1.StickySubHeader,
44
45
  // Hooks
46
+ useListenForScreenScroll: useListenForScreenScroll_1.useListenForScreenScroll,
45
47
  useScreenScrollContext: ScreenScrollContext_1.useScreenScrollContext,
46
48
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/palette-mobile",
3
- "version": "13.0.30",
3
+ "version": "13.0.31",
4
4
  "description": "Artsy's design system for React Native",
5
5
  "scripts": {
6
6
  "android": "RCT_METRO_PORT=8082 react-native run-android --port 8082",