@huin-core/react-checkbox 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +62 -0
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # `react-checkbox`
2
+
3
+ ## Installation
4
+
5
+ ```sh
6
+ $ yarn add @huin-core/react-checkbox
7
+ # or
8
+ $ npm install @huin-core/react-checkbox
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ View docs [here](https://huinhub.com/primitives/docs/components/checkbox).
package/package.json ADDED
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "@huin-core/react-checkbox",
3
+ "version": "1.0.0",
4
+ "license": "MIT",
5
+ "exports": {
6
+ ".": {
7
+ "import": {
8
+ "types": "./dist/index.d.mts",
9
+ "default": "./dist/index.mjs"
10
+ },
11
+ "require": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ }
15
+ }
16
+ },
17
+ "source": "./src/index.ts",
18
+ "main": "./dist/index.js",
19
+ "module": "./dist/index.mjs",
20
+ "types": "./dist/index.d.ts",
21
+ "files": [
22
+ "dist",
23
+ "README.md"
24
+ ],
25
+ "sideEffects": false,
26
+ "scripts": {
27
+ "clean": "rm -rf dist",
28
+ "version": "yarn version"
29
+ },
30
+ "dependencies": {
31
+ "@huin-core/primitive": "workspace:*",
32
+ "@huin-core/react-compose-refs": "workspace:*",
33
+ "@huin-core/react-context": "workspace:*",
34
+ "@huin-core/react-presence": "workspace:*",
35
+ "@huin-core/react-primitive": "workspace:*",
36
+ "@huin-core/react-use-controllable-state": "workspace:*",
37
+ "@huin-core/react-use-previous": "workspace:*",
38
+ "@huin-core/react-use-size": "workspace:*"
39
+ },
40
+ "peerDependencies": {
41
+ "@types/react": "*",
42
+ "@types/react-dom": "*",
43
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
44
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
45
+ },
46
+ "peerDependenciesMeta": {
47
+ "@types/react": {
48
+ "optional": true
49
+ },
50
+ "@types/react-dom": {
51
+ "optional": true
52
+ }
53
+ },
54
+ "homepage": "https://huinhub.com/primitives",
55
+ "repository": {
56
+ "type": "git",
57
+ "url": "git+https://github.com/firatorhan/huin-core.git"
58
+ },
59
+ "bugs": {
60
+ "url": "https://github.com/firatorhan/huin-core/issues"
61
+ }
62
+ }