@artsy/palette-mobile 17.30.0 → 17.32.0--canary.373.4107.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FlashListProps, FlashListRef } from "@shopify/flash-list";
|
|
2
2
|
import { RefObject } from "react";
|
|
3
|
-
export declare function TabMasonry<T>(props:
|
|
4
|
-
innerRef?: RefObject<
|
|
3
|
+
export declare function TabMasonry<T>(props: FlashListProps<T> & {
|
|
4
|
+
innerRef?: RefObject<FlashListRef<T>> | null;
|
|
5
5
|
}): JSX.Element;
|
|
@@ -6,7 +6,7 @@ export function TabMasonry(props) {
|
|
|
6
6
|
useListenForTabContentScroll();
|
|
7
7
|
const space = useSpace();
|
|
8
8
|
const contentContainerStyle = (props.contentContainerStyle ?? {});
|
|
9
|
-
return (_jsx(Tabs.
|
|
9
|
+
return (_jsx(Tabs.FlashList, { masonry: true, contentContainerStyle: {
|
|
10
10
|
paddingHorizontal: space(2),
|
|
11
11
|
...contentContainerStyle,
|
|
12
12
|
}, ...props, ref: props.innerRef }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artsy/palette-mobile",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.32.0--canary.373.4107.0",
|
|
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 --terminal terminal",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@artsy/palette-tokens": "^7.0.0",
|
|
37
37
|
"@d11/react-native-fast-image": "^8.10.0",
|
|
38
|
-
"@shopify/flash-list": "^
|
|
38
|
+
"@shopify/flash-list": "^2.0.3",
|
|
39
39
|
"@styled-system/core": "^5.1.2",
|
|
40
40
|
"@styled-system/theme-get": "^5.1.2",
|
|
41
41
|
"events": "^3.3.0",
|