@mobilestock-native/list 0.0.11 → 0.0.13

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.
Files changed (2) hide show
  1. package/index.d.ts +10 -10
  2. package/package.json +6 -6
package/index.d.ts CHANGED
@@ -71,27 +71,27 @@ declare function ListRoot<TItem>({ data, renderItem, itemKey, isLoading, loading
71
71
  declare const List: typeof ListRoot & {
72
72
  Item: (() => never) & {
73
73
  Actions: (() => never) & {
74
- Vertical: React.ForwardRefExoticComponent<ActionsSubComponentProps & React.RefAttributes<react_native.View>>;
75
- Horizontal: React.ForwardRefExoticComponent<ActionsSubComponentProps & React.RefAttributes<react_native.View>>;
74
+ Vertical: React.ForwardRefExoticComponent<Omit<ActionsSubComponentProps, "ref"> & React.RefAttributes<react_native.View>>;
75
+ Horizontal: React.ForwardRefExoticComponent<Omit<ActionsSubComponentProps, "ref"> & React.RefAttributes<react_native.View>>;
76
76
  };
77
77
  Content: (() => never) & {
78
- Vertical: React.ForwardRefExoticComponent<ContentSubComponentProps & React.RefAttributes<react_native.View>>;
79
- Horizontal: React.ForwardRefExoticComponent<ContentSubComponentProps & React.RefAttributes<react_native.View>>;
78
+ Vertical: React.ForwardRefExoticComponent<Omit<ContentSubComponentProps, "ref"> & React.RefAttributes<react_native.View>>;
79
+ Horizontal: React.ForwardRefExoticComponent<Omit<ContentSubComponentProps, "ref"> & React.RefAttributes<react_native.View>>;
80
80
  };
81
81
  Footer: (() => never) & {
82
- Vertical: React.ForwardRefExoticComponent<FooterSubComponentProps & React.RefAttributes<react_native.View>>;
83
- Horizontal: React.ForwardRefExoticComponent<FooterSubComponentProps & React.RefAttributes<react_native.View>>;
82
+ Vertical: React.ForwardRefExoticComponent<Omit<FooterSubComponentProps, "ref"> & React.RefAttributes<react_native.View>>;
83
+ Horizontal: React.ForwardRefExoticComponent<Omit<FooterSubComponentProps, "ref"> & React.RefAttributes<react_native.View>>;
84
84
  };
85
85
  Graphic: typeof Graphic;
86
86
  Header: (() => never) & {
87
- Vertical: React.ForwardRefExoticComponent<HeaderSubComponentProps & React.RefAttributes<react_native.View>>;
88
- Horizontal: React.ForwardRefExoticComponent<HeaderSubComponentProps & React.RefAttributes<react_native.View>>;
87
+ Vertical: React.ForwardRefExoticComponent<Omit<HeaderSubComponentProps, "ref"> & React.RefAttributes<react_native.View>>;
88
+ Horizontal: React.ForwardRefExoticComponent<Omit<HeaderSubComponentProps, "ref"> & React.RefAttributes<react_native.View>>;
89
89
  };
90
90
  Subtitle: typeof Subtitle;
91
91
  Text: typeof Text;
92
92
  Title: typeof Title;
93
- Horizontal: React.ForwardRefExoticComponent<ItemHorizontalProps & React.RefAttributes<react_native.View>>;
94
- Vertical: React.ForwardRefExoticComponent<ItemVerticalProps & React.RefAttributes<react_native.View>>;
93
+ Horizontal: React.ForwardRefExoticComponent<Omit<ItemHorizontalProps, "ref"> & React.RefAttributes<react_native.View>>;
94
+ Vertical: React.ForwardRefExoticComponent<Omit<ItemVerticalProps, "ref"> & React.RefAttributes<react_native.View>>;
95
95
  };
96
96
  };
97
97
 
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@mobilestock-native/list",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "main": "index.js",
5
5
  "dependencies": {
6
6
  "@shopify/flash-list": "2.0.2",
7
- "@mobilestock-native/button": "^1.0.14",
8
- "@mobilestock-native/clickable": "^1.0.8",
7
+ "@mobilestock-native/button": "^1.0.16",
8
+ "@mobilestock-native/clickable": "^1.0.10",
9
9
  "@mobilestock-native/container": "^1.0.0",
10
- "@mobilestock-native/icons": "^0.0.8",
10
+ "@mobilestock-native/icons": "^0.2.0",
11
11
  "@mobilestock-native/image": "^0.0.8",
12
- "@mobilestock-native/loading-spinner": "^0.0.11",
13
- "@mobilestock-native/spacer": "^0.0.6",
12
+ "@mobilestock-native/loading-spinner": "^0.0.13",
14
13
  "@mobilestock-native/typography": "^0.0.9",
14
+ "@mobilestock-native/spacer": "^0.0.6",
15
15
  "@mobilestock-native/tools": "^0.0.10"
16
16
  },
17
17
  "peerDependencies": {