@xsolla/xui-field-group 0.119.0 → 0.120.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/package.json +3 -3
- package/native/index.js.flow +0 -64
- package/web/index.js.flow +0 -64
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-field-group",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.120.0",
|
|
4
4
|
"main": "./web/index.js",
|
|
5
5
|
"module": "./web/index.mjs",
|
|
6
6
|
"types": "./web/index.d.ts",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"test:coverage": "vitest run --coverage"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@xsolla/xui-core": "0.
|
|
17
|
-
"@xsolla/xui-primitives-core": "0.
|
|
16
|
+
"@xsolla/xui-core": "0.120.0",
|
|
17
|
+
"@xsolla/xui-primitives-core": "0.120.0"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"react": ">=16.8.0",
|
package/native/index.js.flow
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
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 * as react from "react";
|
|
9
|
-
import { Node, Element } from "react";
|
|
10
|
-
import { BoxProps } from "@xsolla/xui-primitives-core";
|
|
11
|
-
declare type FieldGroupSize = "xl" | "lg" | "md" | "sm" | "xs";
|
|
12
|
-
declare type FieldGroupProps = {
|
|
13
|
-
/**
|
|
14
|
-
* Property to specify the content of the group.
|
|
15
|
-
*/
|
|
16
|
-
children: Node,
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Property to specify the label of the group.
|
|
20
|
-
*/
|
|
21
|
-
label?: Node,
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Property switch on showing a sign that the fields are required
|
|
25
|
-
*/
|
|
26
|
-
required?: boolean,
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Property for show icon ith label
|
|
30
|
-
*/
|
|
31
|
-
icon?: Element,
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Property to specify the helping text of the group.
|
|
35
|
-
*/
|
|
36
|
-
helper?: Node,
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Property to specify the size of the group.
|
|
40
|
-
*/
|
|
41
|
-
size?: FieldGroupSize,
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Property to specify the input (textarea, radio & itc) id of the group.
|
|
45
|
-
*/
|
|
46
|
-
htmlFor?: string,
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Property to specify id for tests.
|
|
50
|
-
*/
|
|
51
|
-
"data-testid"?: string,
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Property to specify the margin bottom of the group.
|
|
55
|
-
*/
|
|
56
|
-
marginBottom?: number | string,
|
|
57
|
-
...
|
|
58
|
-
} & $Diff<BoxProps, { children: any }>;
|
|
59
|
-
declare var FieldGroup: react.ForwardRefExoticComponent<{
|
|
60
|
-
...FieldGroupProps,
|
|
61
|
-
...react.RefAttributes<any>,
|
|
62
|
-
}>;
|
|
63
|
-
export type { FieldGroupProps, FieldGroupSize };
|
|
64
|
-
declare export { FieldGroup };
|
package/web/index.js.flow
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
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 * as react from "react";
|
|
9
|
-
import { Node, Element } from "react";
|
|
10
|
-
import { BoxProps } from "@xsolla/xui-primitives-core";
|
|
11
|
-
declare type FieldGroupSize = "xl" | "lg" | "md" | "sm" | "xs";
|
|
12
|
-
declare type FieldGroupProps = {
|
|
13
|
-
/**
|
|
14
|
-
* Property to specify the content of the group.
|
|
15
|
-
*/
|
|
16
|
-
children: Node,
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Property to specify the label of the group.
|
|
20
|
-
*/
|
|
21
|
-
label?: Node,
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Property switch on showing a sign that the fields are required
|
|
25
|
-
*/
|
|
26
|
-
required?: boolean,
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Property for show icon ith label
|
|
30
|
-
*/
|
|
31
|
-
icon?: Element,
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Property to specify the helping text of the group.
|
|
35
|
-
*/
|
|
36
|
-
helper?: Node,
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Property to specify the size of the group.
|
|
40
|
-
*/
|
|
41
|
-
size?: FieldGroupSize,
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Property to specify the input (textarea, radio & itc) id of the group.
|
|
45
|
-
*/
|
|
46
|
-
htmlFor?: string,
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Property to specify id for tests.
|
|
50
|
-
*/
|
|
51
|
-
"data-testid"?: string,
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Property to specify the margin bottom of the group.
|
|
55
|
-
*/
|
|
56
|
-
marginBottom?: number | string,
|
|
57
|
-
...
|
|
58
|
-
} & $Diff<BoxProps, { children: any }>;
|
|
59
|
-
declare var FieldGroup: react.ForwardRefExoticComponent<{
|
|
60
|
-
...FieldGroupProps,
|
|
61
|
-
...react.RefAttributes<any>,
|
|
62
|
-
}>;
|
|
63
|
-
export type { FieldGroupProps, FieldGroupSize };
|
|
64
|
-
declare export { FieldGroup };
|