@xsolla/xui-checkbox 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-checkbox",
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,9 +13,9 @@
13
13
  "test:coverage": "vitest run --coverage"
14
14
  },
15
15
  "dependencies": {
16
- "@xsolla/xui-core": "0.119.0",
17
- "@xsolla/xui-icons": "0.119.0",
18
- "@xsolla/xui-primitives-core": "0.119.0"
16
+ "@xsolla/xui-core": "0.120.0",
17
+ "@xsolla/xui-icons": "0.120.0",
18
+ "@xsolla/xui-primitives-core": "0.120.0"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": ">=16.8.0",
@@ -1,93 +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 type ComponentSize = "sm" | "md" | "lg" | "xl";
10
- declare interface CheckboxProps {
11
- /**
12
- * Content/label to display next to the checkbox
13
- */
14
- children?: React.ReactNode;
15
-
16
- /**
17
- * Size of the checkbox
18
- */
19
- size?: ComponentSize;
20
-
21
- /**
22
- * Whether the checkbox is checked
23
- */
24
- checked?: boolean;
25
-
26
- /**
27
- * The indeterminate checked state of checkbox
28
- */
29
- indeterminate?: boolean;
30
-
31
- /**
32
- * Additional descriptive text below the label
33
- */
34
- description?: string;
35
-
36
- /**
37
- * Error message to display (also highlights control as invalid)
38
- */
39
- errorMessage?: string;
40
-
41
- /**
42
- * Highlight control as invalid without message
43
- */
44
- error?: boolean;
45
-
46
- /**
47
- * Whether the checkbox is disabled
48
- */
49
- disabled?: boolean;
50
-
51
- /**
52
- * Name attribute for the checkbox
53
- */
54
- name?: string;
55
-
56
- /**
57
- * Value attribute for the checkbox
58
- */
59
- value?: string;
60
-
61
- /**
62
- * Callback when the checkbox value changes
63
- */
64
- onChange?: (e: {
65
- target: {
66
- checked: boolean,
67
- name?: string,
68
- value?: string,
69
- ...
70
- },
71
- ...
72
- }) => void;
73
-
74
- /**
75
- * Unique identifier for the checkbox
76
- */
77
- id?: string;
78
-
79
- /**
80
- * Accessible label for screen readers when no visible label
81
- */
82
- "aria-label"?: string;
83
- }
84
- declare interface CheckboxRef {
85
- focus: () => void;
86
- blur: () => void;
87
- }
88
- declare var Checkbox: React.ForwardRefExoticComponent<{
89
- ...CheckboxProps,
90
- ...React.RefAttributes<CheckboxRef>,
91
- }>;
92
- export type { CheckboxProps, CheckboxRef };
93
- declare export { Checkbox };
package/web/index.js.flow DELETED
@@ -1,93 +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 type ComponentSize = "sm" | "md" | "lg" | "xl";
10
- declare interface CheckboxProps {
11
- /**
12
- * Content/label to display next to the checkbox
13
- */
14
- children?: React.ReactNode;
15
-
16
- /**
17
- * Size of the checkbox
18
- */
19
- size?: ComponentSize;
20
-
21
- /**
22
- * Whether the checkbox is checked
23
- */
24
- checked?: boolean;
25
-
26
- /**
27
- * The indeterminate checked state of checkbox
28
- */
29
- indeterminate?: boolean;
30
-
31
- /**
32
- * Additional descriptive text below the label
33
- */
34
- description?: string;
35
-
36
- /**
37
- * Error message to display (also highlights control as invalid)
38
- */
39
- errorMessage?: string;
40
-
41
- /**
42
- * Highlight control as invalid without message
43
- */
44
- error?: boolean;
45
-
46
- /**
47
- * Whether the checkbox is disabled
48
- */
49
- disabled?: boolean;
50
-
51
- /**
52
- * Name attribute for the checkbox
53
- */
54
- name?: string;
55
-
56
- /**
57
- * Value attribute for the checkbox
58
- */
59
- value?: string;
60
-
61
- /**
62
- * Callback when the checkbox value changes
63
- */
64
- onChange?: (e: {
65
- target: {
66
- checked: boolean,
67
- name?: string,
68
- value?: string,
69
- ...
70
- },
71
- ...
72
- }) => void;
73
-
74
- /**
75
- * Unique identifier for the checkbox
76
- */
77
- id?: string;
78
-
79
- /**
80
- * Accessible label for screen readers when no visible label
81
- */
82
- "aria-label"?: string;
83
- }
84
- declare interface CheckboxRef {
85
- focus: () => void;
86
- blur: () => void;
87
- }
88
- declare var Checkbox: React.ForwardRefExoticComponent<{
89
- ...CheckboxProps,
90
- ...React.RefAttributes<CheckboxRef>,
91
- }>;
92
- export type { CheckboxProps, CheckboxRef };
93
- declare export { Checkbox };