@xsolla/xui-bounding 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 +34 -0
- package/package.json +3 -3
- package/web/index.js.flow +34 -0
|
@@ -0,0 +1,34 @@
|
|
|
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 BoundingProps = {
|
|
11
|
+
/**
|
|
12
|
+
* Property to specify the content of the bounding container.
|
|
13
|
+
*/
|
|
14
|
+
children: Node,
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Property specifies whether the component can be resized based on the size of its content.
|
|
18
|
+
*/
|
|
19
|
+
flexible?: boolean,
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Property for the ability to specify to decrease without restrictions.
|
|
23
|
+
*/
|
|
24
|
+
minimal?: boolean,
|
|
25
|
+
minWidth?: number | string,
|
|
26
|
+
maxWidth?: number | string,
|
|
27
|
+
...
|
|
28
|
+
} & $Diff<BoxProps, { children: any }>;
|
|
29
|
+
declare var Bounding: React.ForwardRefExoticComponent<{
|
|
30
|
+
...BoundingProps,
|
|
31
|
+
...React.RefAttributes<any>,
|
|
32
|
+
}>;
|
|
33
|
+
export type { BoundingProps };
|
|
34
|
+
declare export { Bounding };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-bounding",
|
|
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,8 +10,8 @@
|
|
|
10
10
|
"build:native": "PLATFORM=native tsup"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xsolla/xui-core": "0.
|
|
14
|
-
"@xsolla/xui-primitives-core": "0.
|
|
13
|
+
"@xsolla/xui-core": "0.76.0",
|
|
14
|
+
"@xsolla/xui-primitives-core": "0.76.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"react": ">=16.8.0",
|
|
@@ -0,0 +1,34 @@
|
|
|
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 BoundingProps = {
|
|
11
|
+
/**
|
|
12
|
+
* Property to specify the content of the bounding container.
|
|
13
|
+
*/
|
|
14
|
+
children: Node,
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Property specifies whether the component can be resized based on the size of its content.
|
|
18
|
+
*/
|
|
19
|
+
flexible?: boolean,
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Property for the ability to specify to decrease without restrictions.
|
|
23
|
+
*/
|
|
24
|
+
minimal?: boolean,
|
|
25
|
+
minWidth?: number | string,
|
|
26
|
+
maxWidth?: number | string,
|
|
27
|
+
...
|
|
28
|
+
} & $Diff<BoxProps, { children: any }>;
|
|
29
|
+
declare var Bounding: React.ForwardRefExoticComponent<{
|
|
30
|
+
...BoundingProps,
|
|
31
|
+
...React.RefAttributes<any>,
|
|
32
|
+
}>;
|
|
33
|
+
export type { BoundingProps };
|
|
34
|
+
declare export { Bounding };
|