@xsolla/xui-checkbox-tag-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 -62
- package/web/index.js.flow +0 -62
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-checkbox-tag-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,62 +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 React from "react";
|
|
9
|
-
declare interface CheckboxTagGroupItem {
|
|
10
|
-
label: string;
|
|
11
|
-
value: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
}
|
|
14
|
-
declare type CheckboxTagGroupSize = "xl" | "lg" | "md" | "sm";
|
|
15
|
-
declare interface CheckboxTagGroupProps {
|
|
16
|
-
/**
|
|
17
|
-
* Array of options
|
|
18
|
-
*/
|
|
19
|
-
options: CheckboxTagGroupItem[];
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Controlled selected values
|
|
23
|
-
*/
|
|
24
|
-
value?: string[];
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Default selected values (uncontrolled)
|
|
28
|
-
*/
|
|
29
|
-
defaultValue?: string[];
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Callback when selection changes
|
|
33
|
-
*/
|
|
34
|
-
onChange?: (values: string[]) => void;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Size variant
|
|
38
|
-
*/
|
|
39
|
-
size?: CheckboxTagGroupSize;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Disable all options
|
|
43
|
-
*/
|
|
44
|
-
disabled?: boolean;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Error message to display
|
|
48
|
-
*/
|
|
49
|
-
errorMessage?: string;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Accessible label for the group
|
|
53
|
-
*/
|
|
54
|
-
"aria-label"?: string;
|
|
55
|
-
}
|
|
56
|
-
declare var CheckboxTagGroup: React.FC<CheckboxTagGroupProps>;
|
|
57
|
-
export type {
|
|
58
|
-
CheckboxTagGroupItem,
|
|
59
|
-
CheckboxTagGroupProps,
|
|
60
|
-
CheckboxTagGroupSize,
|
|
61
|
-
};
|
|
62
|
-
declare export { CheckboxTagGroup };
|
package/web/index.js.flow
DELETED
|
@@ -1,62 +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 React from "react";
|
|
9
|
-
declare interface CheckboxTagGroupItem {
|
|
10
|
-
label: string;
|
|
11
|
-
value: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
}
|
|
14
|
-
declare type CheckboxTagGroupSize = "xl" | "lg" | "md" | "sm";
|
|
15
|
-
declare interface CheckboxTagGroupProps {
|
|
16
|
-
/**
|
|
17
|
-
* Array of options
|
|
18
|
-
*/
|
|
19
|
-
options: CheckboxTagGroupItem[];
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Controlled selected values
|
|
23
|
-
*/
|
|
24
|
-
value?: string[];
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Default selected values (uncontrolled)
|
|
28
|
-
*/
|
|
29
|
-
defaultValue?: string[];
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Callback when selection changes
|
|
33
|
-
*/
|
|
34
|
-
onChange?: (values: string[]) => void;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Size variant
|
|
38
|
-
*/
|
|
39
|
-
size?: CheckboxTagGroupSize;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Disable all options
|
|
43
|
-
*/
|
|
44
|
-
disabled?: boolean;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Error message to display
|
|
48
|
-
*/
|
|
49
|
-
errorMessage?: string;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Accessible label for the group
|
|
53
|
-
*/
|
|
54
|
-
"aria-label"?: string;
|
|
55
|
-
}
|
|
56
|
-
declare var CheckboxTagGroup: React.FC<CheckboxTagGroupProps>;
|
|
57
|
-
export type {
|
|
58
|
-
CheckboxTagGroupItem,
|
|
59
|
-
CheckboxTagGroupProps,
|
|
60
|
-
CheckboxTagGroupSize,
|
|
61
|
-
};
|
|
62
|
-
declare export { CheckboxTagGroup };
|