@artsy/palette-mobile 13.0.16 → 13.0.17

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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v13.0.17 (Wed Oct 11 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - chore: support flatlist ref [#159](https://github.com/artsy/palette-mobile/pull/159) ([@MounirDhahri](https://github.com/MounirDhahri))
6
+
7
+ #### Authors: 1
8
+
9
+ - Mounir Dhahri ([@MounirDhahri](https://github.com/MounirDhahri))
10
+
11
+ ---
12
+
1
13
  # v13.0.16 (Thu Sep 28 2023)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -1,3 +1,5 @@
1
- /// <reference types="react" />
2
- import { MasonryFlashListProps } from "@shopify/flash-list";
3
- export declare function TabMasonry<T>(props: MasonryFlashListProps<T>): JSX.Element;
1
+ import { MasonryFlashListProps, MasonryFlashListRef } from "@shopify/flash-list";
2
+ import { RefObject } from "react";
3
+ export declare function TabMasonry<T>(props: MasonryFlashListProps<T> & {
4
+ innerRef: RefObject<MasonryFlashListRef<T>> | null | undefined;
5
+ }): JSX.Element;
@@ -12,6 +12,6 @@ function TabMasonry(props) {
12
12
  return ((0, jsx_runtime_1.jsx)(react_native_collapsible_tab_view_1.Tabs.MasonryFlashList, { contentContainerStyle: {
13
13
  paddingHorizontal: space(2),
14
14
  ...contentContainerStyle,
15
- }, ...props }));
15
+ }, ...props, ref: props.innerRef }));
16
16
  }
17
17
  exports.TabMasonry = TabMasonry;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/palette-mobile",
3
- "version": "13.0.16",
3
+ "version": "13.0.17",
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",