@xsolla/xui-cell 0.74.0 → 0.76.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.
- package/native/index.js.flow +46 -0
- package/package.json +5 -5
- package/web/index.js.flow +46 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Flowtype definitions for index
|
|
3
|
+
* Generated by Flowgen from a Typescript Definition
|
|
4
|
+
* Flowgen v1.21.0
|
|
5
|
+
* @flow
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React, { Node } from "react";
|
|
9
|
+
import { BoxProps } from "@xsolla/xui-primitives-core";
|
|
10
|
+
declare type CellProps = {
|
|
11
|
+
children?: Node,
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* If true, the cell will have a board-like container style
|
|
15
|
+
* (background, border, padding) consistent with Xsolla patterns.
|
|
16
|
+
*/
|
|
17
|
+
withBoard?: boolean,
|
|
18
|
+
...
|
|
19
|
+
} & BoxProps;
|
|
20
|
+
declare type CellSlotProps = {
|
|
21
|
+
children?: Node,
|
|
22
|
+
...
|
|
23
|
+
} & BoxProps;
|
|
24
|
+
declare type CellContentProps = {
|
|
25
|
+
children?: Node,
|
|
26
|
+
...
|
|
27
|
+
} & BoxProps;
|
|
28
|
+
declare var Cell: {
|
|
29
|
+
...React.ForwardRefExoticComponent<{
|
|
30
|
+
...CellProps,
|
|
31
|
+
...React.RefAttributes<any>,
|
|
32
|
+
}>,
|
|
33
|
+
...{
|
|
34
|
+
Slot: React.ForwardRefExoticComponent<{
|
|
35
|
+
...CellSlotProps,
|
|
36
|
+
...React.RefAttributes<any>,
|
|
37
|
+
}>,
|
|
38
|
+
Content: React.ForwardRefExoticComponent<{
|
|
39
|
+
...CellContentProps,
|
|
40
|
+
...React.RefAttributes<any>,
|
|
41
|
+
}>,
|
|
42
|
+
...
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
export type { CellContentProps, CellProps, CellSlotProps };
|
|
46
|
+
declare export { Cell };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-cell",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.76.0",
|
|
4
4
|
"main": "./web/index.js",
|
|
5
5
|
"module": "./web/index.mjs",
|
|
6
6
|
"types": "./web/index.d.ts",
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"build:native": "PLATFORM=native tsup"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xsolla/xui-avatar": "0.
|
|
14
|
-
"@xsolla/xui-button": "0.
|
|
15
|
-
"@xsolla/xui-core": "0.
|
|
16
|
-
"@xsolla/xui-primitives-core": "0.
|
|
13
|
+
"@xsolla/xui-avatar": "0.76.0",
|
|
14
|
+
"@xsolla/xui-button": "0.76.0",
|
|
15
|
+
"@xsolla/xui-core": "0.76.0",
|
|
16
|
+
"@xsolla/xui-primitives-core": "0.76.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"react": ">=16.8.0",
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Flowtype definitions for index
|
|
3
|
+
* Generated by Flowgen from a Typescript Definition
|
|
4
|
+
* Flowgen v1.21.0
|
|
5
|
+
* @flow
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React, { Node } from "react";
|
|
9
|
+
import { BoxProps } from "@xsolla/xui-primitives-core";
|
|
10
|
+
declare type CellProps = {
|
|
11
|
+
children?: Node,
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* If true, the cell will have a board-like container style
|
|
15
|
+
* (background, border, padding) consistent with Xsolla patterns.
|
|
16
|
+
*/
|
|
17
|
+
withBoard?: boolean,
|
|
18
|
+
...
|
|
19
|
+
} & BoxProps;
|
|
20
|
+
declare type CellSlotProps = {
|
|
21
|
+
children?: Node,
|
|
22
|
+
...
|
|
23
|
+
} & BoxProps;
|
|
24
|
+
declare type CellContentProps = {
|
|
25
|
+
children?: Node,
|
|
26
|
+
...
|
|
27
|
+
} & BoxProps;
|
|
28
|
+
declare var Cell: {
|
|
29
|
+
...React.ForwardRefExoticComponent<{
|
|
30
|
+
...CellProps,
|
|
31
|
+
...React.RefAttributes<any>,
|
|
32
|
+
}>,
|
|
33
|
+
...{
|
|
34
|
+
Slot: React.ForwardRefExoticComponent<{
|
|
35
|
+
...CellSlotProps,
|
|
36
|
+
...React.RefAttributes<any>,
|
|
37
|
+
}>,
|
|
38
|
+
Content: React.ForwardRefExoticComponent<{
|
|
39
|
+
...CellContentProps,
|
|
40
|
+
...React.RefAttributes<any>,
|
|
41
|
+
}>,
|
|
42
|
+
...
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
export type { CellContentProps, CellProps, CellSlotProps };
|
|
46
|
+
declare export { Cell };
|