@huin-core/react-popper 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 +64 -0
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # `react-popper`
2
+
3
+ ## Installation
4
+
5
+ ```sh
6
+ $ yarn add @huin-core/react-popper
7
+ # or
8
+ $ npm install @huin-core/react-popper
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ This is an internal utility, not intended for public usage.
package/package.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@huin-core/react-popper",
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
+ "@floating-ui/react-dom": "^2.0.0",
32
+ "@huin-core/react-arrow": "workspace:*",
33
+ "@huin-core/react-compose-refs": "workspace:*",
34
+ "@huin-core/react-context": "workspace:*",
35
+ "@huin-core/react-primitive": "workspace:*",
36
+ "@huin-core/react-use-callback-ref": "workspace:*",
37
+ "@huin-core/react-use-layout-effect": "workspace:*",
38
+ "@huin-core/react-use-rect": "workspace:*",
39
+ "@huin-core/react-use-size": "workspace:*",
40
+ "@huin-core/rect": "workspace:*"
41
+ },
42
+ "peerDependencies": {
43
+ "@types/react": "*",
44
+ "@types/react-dom": "*",
45
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
46
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
47
+ },
48
+ "peerDependenciesMeta": {
49
+ "@types/react": {
50
+ "optional": true
51
+ },
52
+ "@types/react-dom": {
53
+ "optional": true
54
+ }
55
+ },
56
+ "homepage": "https://huinhub.com/primitives",
57
+ "repository": {
58
+ "type": "git",
59
+ "url": "git+https://github.com/firatorhan/huin-core.git"
60
+ },
61
+ "bugs": {
62
+ "url": "https://github.com/firatorhan/huin-core/issues"
63
+ }
64
+ }