@huin-core/react-menu 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +72 -0
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # `react-menu`
2
+
3
+ ## Installation
4
+
5
+ ```sh
6
+ $ yarn add @huin-core/react-menu
7
+ # or
8
+ $ npm install @huin-core/react-menu
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ This is an internal utility, not intended for public usage.
package/package.json ADDED
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "@huin-core/react-menu",
3
+ "version": "1.0.1",
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-collection": "workspace:*",
33
+ "@huin-core/react-compose-refs": "workspace:*",
34
+ "@huin-core/react-context": "workspace:*",
35
+ "@huin-core/react-direction": "workspace:*",
36
+ "@huin-core/react-dismissable-layer": "workspace:*",
37
+ "@huin-core/react-focus-guards": "workspace:*",
38
+ "@huin-core/react-focus-scope": "workspace:*",
39
+ "@huin-core/react-id": "workspace:*",
40
+ "@huin-core/react-popper": "workspace:*",
41
+ "@huin-core/react-portal": "workspace:*",
42
+ "@huin-core/react-presence": "workspace:*",
43
+ "@huin-core/react-primitive": "workspace:*",
44
+ "@huin-core/react-roving-focus": "workspace:*",
45
+ "@huin-core/react-slot": "workspace:*",
46
+ "@huin-core/react-use-callback-ref": "workspace:*",
47
+ "aria-hidden": "^1.1.1",
48
+ "react-remove-scroll": "2.5.7"
49
+ },
50
+ "peerDependencies": {
51
+ "@types/react": "*",
52
+ "@types/react-dom": "*",
53
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
54
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
55
+ },
56
+ "peerDependenciesMeta": {
57
+ "@types/react": {
58
+ "optional": true
59
+ },
60
+ "@types/react-dom": {
61
+ "optional": true
62
+ }
63
+ },
64
+ "homepage": "https://huinhub.com/primitives",
65
+ "repository": {
66
+ "type": "git",
67
+ "url": "git+https://github.com/firatorhan/huin-core.git"
68
+ },
69
+ "bugs": {
70
+ "url": "https://github.com/firatorhan/huin-core/issues"
71
+ }
72
+ }