@artsy/palette-mobile 13.0.32 → 13.0.33
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/elements/BorderBox/BorderBox.d.ts +1 -1
- package/dist/elements/Screen/hooks/useListenForScreenScroll.d.ts +1 -1
- package/dist/elements/Screen/index.d.ts +2 -2
- package/dist/elements/Separator/Separator.d.ts +1 -1
- package/dist/elements/Separator/Separator.stories.d.ts +1 -1
- package/dist/elements/Separator/ShadowSeparator.d.ts +1 -1
- package/dist/elements/Tabs/Tabs.d.ts +3 -3
- package/package.json +2 -2
|
@@ -9,4 +9,4 @@ export interface BorderBoxProps extends FlexProps, BorderProps, SpaceProps<Spaci
|
|
|
9
9
|
* A `View` or `div` (depending on the platform) that has a common border
|
|
10
10
|
* and padding set by default
|
|
11
11
|
*/
|
|
12
|
-
export declare const BorderBox: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("..").BoxProps & import("react").RefAttributes<import("react-native").View>>, any, BorderBoxProps, never>;
|
|
12
|
+
export declare const BorderBox: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("..").BoxProps & import("react").RefAttributes<import("react-native/types").View>>, any, BorderBoxProps, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const useListenForScreenScroll: () => {
|
|
2
|
-
scrollHandler: (event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void;
|
|
2
|
+
scrollHandler: (event: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeScrollEvent>) => void;
|
|
3
3
|
};
|
|
@@ -16,10 +16,10 @@ export declare const Screen: import("react").FC<import("./ScreenBase").ScreenBas
|
|
|
16
16
|
ScreenScrollContextProvider: import("react").FC<{
|
|
17
17
|
children?: import("react").ReactNode;
|
|
18
18
|
}>;
|
|
19
|
-
ScrollView: import("react").FC<import("react-native").ScrollViewProps>;
|
|
19
|
+
ScrollView: import("react").FC<import("react-native/types").ScrollViewProps>;
|
|
20
20
|
StickySubHeader: import("react").FC<import("./StickySubHeader").StickySubHeaderProps>;
|
|
21
21
|
useListenForScreenScroll: () => {
|
|
22
|
-
scrollHandler: (event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void;
|
|
22
|
+
scrollHandler: (event: import("react-native/types").NativeSyntheticEvent<import("react-native/types").NativeScrollEvent>) => void;
|
|
23
23
|
};
|
|
24
24
|
useScreenScrollContext: () => import("./ScreenScrollContext").ScreenScrollContextProps;
|
|
25
25
|
};
|
|
@@ -5,4 +5,4 @@ export interface SeparatorProps extends SpaceProps, WidthProps, BorderProps {
|
|
|
5
5
|
/**
|
|
6
6
|
* A horizontal divider whose width and spacing can be adjusted
|
|
7
7
|
*/
|
|
8
|
-
export declare const Separator: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, SeparatorProps, never>;
|
|
8
|
+
export declare const Separator: import("styled-components").StyledComponent<typeof import("react-native/types").View, import("styled-components").DefaultTheme, SeparatorProps, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import("styled-components").StyledComponent<typeof import("react-native").View, import("styled-components").DefaultTheme, import("./Separator").SeparatorProps, never>;
|
|
4
|
+
component: import("styled-components").StyledComponent<typeof import("react-native/types").View, import("styled-components").DefaultTheme, import("./Separator").SeparatorProps, never>;
|
|
5
5
|
};
|
|
6
6
|
export default _default;
|
|
7
7
|
export declare const Styled: () => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ShadowSeparator: import("styled-components").StyledComponent<typeof import("react-native").View, any, import("./Separator").SeparatorProps, never>;
|
|
1
|
+
export declare const ShadowSeparator: import("styled-components").StyledComponent<typeof import("react-native/types").View, any, import("./Separator").SeparatorProps, never>;
|
|
@@ -11,9 +11,9 @@ export declare const Tabs: import("react").FC<import("./TabsContainer").TabsCont
|
|
|
11
11
|
startMounted?: boolean | undefined;
|
|
12
12
|
children: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
13
13
|
}>;
|
|
14
|
-
ScrollView: import("react").FC<import("react-native").ScrollViewProps>;
|
|
15
|
-
SectionList: <T_1>(p: import("react-native").SectionListProps<T_1, import("react-native").DefaultSectionT> & {
|
|
16
|
-
ref?: ((instance: import("react-native").SectionList<T_1, import("react-native").DefaultSectionT> | null) => void) | import("react").RefObject<import("react-native").SectionList<T_1, import("react-native").DefaultSectionT>> | null | undefined;
|
|
14
|
+
ScrollView: import("react").FC<import("react-native/types").ScrollViewProps>;
|
|
15
|
+
SectionList: <T_1>(p: import("react-native/types").SectionListProps<T_1, import("react-native/types").DefaultSectionT> & {
|
|
16
|
+
ref?: ((instance: import("react-native/types").SectionList<T_1, import("react-native/types").DefaultSectionT> | null) => void) | import("react").RefObject<import("react-native/types").SectionList<T_1, import("react-native/types").DefaultSectionT>> | null | undefined;
|
|
17
17
|
}) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
18
18
|
SubTabBar: import("react").FC<{
|
|
19
19
|
children?: import("react").ReactNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artsy/palette-mobile",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.33",
|
|
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",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"react-native-linear-gradient": "2.6.2",
|
|
125
125
|
"react-native-reanimated": "^3.3.0",
|
|
126
126
|
"react-native-safe-area-context": "4.5.0",
|
|
127
|
-
"react-native-svg": "
|
|
127
|
+
"react-native-svg": "14.1.0",
|
|
128
128
|
"react-test-renderer": "18.2.0",
|
|
129
129
|
"rimraf": "4.1.2",
|
|
130
130
|
"rn-flipper-async-storage-advanced": "1.0.4",
|