@xsolla/xui-radio 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-radio",
3
- "version": "0.119.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.119.0",
17
- "@xsolla/xui-primitives-core": "0.119.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",
@@ -1,72 +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 RadioProps {
10
- /**
11
- * Size of the radio button
12
- */
13
- size?: "sm" | "md" | "lg" | "xl";
14
-
15
- /**
16
- * Whether the radio button is checked
17
- */
18
- checked?: boolean;
19
-
20
- /**
21
- * Value of the radio button (for RadioGroup)
22
- */
23
- value?: string;
24
-
25
- /**
26
- * Visual state of the radio button
27
- */
28
- state?: "default" | "hover" | "disable" | "error";
29
-
30
- /**
31
- * Whether the radio button is disabled
32
- */
33
- disabled?: boolean;
34
-
35
- /**
36
- * Label text to display next to the radio button
37
- */
38
- label?: string;
39
-
40
- /**
41
- * Description text to display below the label
42
- */
43
- description?: string;
44
-
45
- /**
46
- * Error label text to display when state is 'error'
47
- */
48
- errorLabel?: string;
49
-
50
- /**
51
- * Callback when the radio button is pressed
52
- */
53
- onPress?: () => void;
54
-
55
- /**
56
- * Callback when the radio button value changes (for compatibility with Checkbox-like APIs)
57
- */
58
- onValueChange?: (value: boolean) => void;
59
-
60
- /**
61
- * Accessible label for screen readers (if label is not provided)
62
- */
63
- "aria-label"?: string;
64
-
65
- /**
66
- * ID of element that labels this radio
67
- */
68
- "aria-labelledby"?: string;
69
- }
70
- declare var Radio: React.FC<RadioProps>;
71
- export type { RadioProps };
72
- declare export { Radio };
package/web/index.js.flow DELETED
@@ -1,72 +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 RadioProps {
10
- /**
11
- * Size of the radio button
12
- */
13
- size?: "sm" | "md" | "lg" | "xl";
14
-
15
- /**
16
- * Whether the radio button is checked
17
- */
18
- checked?: boolean;
19
-
20
- /**
21
- * Value of the radio button (for RadioGroup)
22
- */
23
- value?: string;
24
-
25
- /**
26
- * Visual state of the radio button
27
- */
28
- state?: "default" | "hover" | "disable" | "error";
29
-
30
- /**
31
- * Whether the radio button is disabled
32
- */
33
- disabled?: boolean;
34
-
35
- /**
36
- * Label text to display next to the radio button
37
- */
38
- label?: string;
39
-
40
- /**
41
- * Description text to display below the label
42
- */
43
- description?: string;
44
-
45
- /**
46
- * Error label text to display when state is 'error'
47
- */
48
- errorLabel?: string;
49
-
50
- /**
51
- * Callback when the radio button is pressed
52
- */
53
- onPress?: () => void;
54
-
55
- /**
56
- * Callback when the radio button value changes (for compatibility with Checkbox-like APIs)
57
- */
58
- onValueChange?: (value: boolean) => void;
59
-
60
- /**
61
- * Accessible label for screen readers (if label is not provided)
62
- */
63
- "aria-label"?: string;
64
-
65
- /**
66
- * ID of element that labels this radio
67
- */
68
- "aria-labelledby"?: string;
69
- }
70
- declare var Radio: React.FC<RadioProps>;
71
- export type { RadioProps };
72
- declare export { Radio };