@radix-ui/react-checkbox 1.1.2 → 1.1.3-rc.2
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/dist/index.d.mts +2 -12
- package/dist/index.d.ts +2 -12
- package/package.json +7 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,18 +1,8 @@
|
|
|
1
|
+
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { Primitive } from '@radix-ui/react-primitive';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
[scopeName: string]: React.Context<C>[];
|
|
6
|
-
} | undefined;
|
|
7
|
-
type ScopeHook = (scope: Scope) => {
|
|
8
|
-
[__scopeProp: string]: Scope;
|
|
9
|
-
};
|
|
10
|
-
interface CreateScope {
|
|
11
|
-
scopeName: string;
|
|
12
|
-
(): ScopeHook;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
declare const createCheckboxScope: CreateScope;
|
|
5
|
+
declare const createCheckboxScope: _radix_ui_react_context.CreateScope;
|
|
16
6
|
type CheckedState = boolean | 'indeterminate';
|
|
17
7
|
type PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
18
8
|
interface CheckboxProps extends Omit<PrimitiveButtonProps, 'checked' | 'defaultChecked'> {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,8 @@
|
|
|
1
|
+
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { Primitive } from '@radix-ui/react-primitive';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
[scopeName: string]: React.Context<C>[];
|
|
6
|
-
} | undefined;
|
|
7
|
-
type ScopeHook = (scope: Scope) => {
|
|
8
|
-
[__scopeProp: string]: Scope;
|
|
9
|
-
};
|
|
10
|
-
interface CreateScope {
|
|
11
|
-
scopeName: string;
|
|
12
|
-
(): ScopeHook;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
declare const createCheckboxScope: CreateScope;
|
|
5
|
+
declare const createCheckboxScope: _radix_ui_react_context.CreateScope;
|
|
16
6
|
type CheckedState = boolean | 'indeterminate';
|
|
17
7
|
type PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;
|
|
18
8
|
interface CheckboxProps extends Omit<PrimitiveButtonProps, 'checked' | 'defaultChecked'> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@radix-ui/react-checkbox",
|
|
3
|
-
"version": "1.1.2",
|
|
3
|
+
"version": "1.1.3-rc.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"version": "yarn version"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@radix-ui/primitive": "1.1.
|
|
32
|
-
"@radix-ui/react-compose-refs": "1.1.
|
|
31
|
+
"@radix-ui/primitive": "1.1.1-rc.2",
|
|
32
|
+
"@radix-ui/react-compose-refs": "1.1.1-rc.2",
|
|
33
33
|
"@radix-ui/react-context": "1.1.1",
|
|
34
|
-
"@radix-ui/react-presence": "1.1.
|
|
35
|
-
"@radix-ui/react-primitive": "2.0.
|
|
34
|
+
"@radix-ui/react-presence": "1.1.2-rc.2",
|
|
35
|
+
"@radix-ui/react-primitive": "2.0.1-rc.2",
|
|
36
36
|
"@radix-ui/react-use-controllable-state": "1.1.0",
|
|
37
37
|
"@radix-ui/react-use-previous": "1.1.0",
|
|
38
38
|
"@radix-ui/react-use-size": "1.1.0"
|
|
@@ -58,5 +58,6 @@
|
|
|
58
58
|
},
|
|
59
59
|
"bugs": {
|
|
60
60
|
"url": "https://github.com/radix-ui/primitives/issues"
|
|
61
|
-
}
|
|
61
|
+
},
|
|
62
|
+
"stableVersion": "1.1.2"
|
|
62
63
|
}
|