@react-cupertino-ui/context-menu 1.0.0 → 2.0.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.
Files changed (2) hide show
  1. package/README.md +26 -0
  2. package/package.json +7 -7
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # @react-cupertino-ui/context-menu
2
+
3
+ ContextMenu component from React Cupertino UI
4
+
5
+ part of [React Cupertino UI](https://github.com/Andersonlimahw/react-cupertino-ui)
6
+
7
+ ## Installation
8
+
9
+ npm install @react-cupertino-ui/context-menu
10
+ # or
11
+ pnpm add @react-cupertino-ui/context-menu
12
+ # or
13
+ yarn add @react-cupertino-ui/context-menu
14
+
15
+ ## Usage
16
+
17
+ import { ContextMenu } from '@react-cupertino-ui/context-menu';
18
+
19
+ function App() {
20
+ return <ContextMenu />;
21
+ }
22
+
23
+ ## Links
24
+ - [Website](http://react-cupertino-ui.pro/)
25
+ - [Storybook](http://react-cupertino-ui.pro/storybook/)
26
+ - [GitHub](https://github.com/Andersonlimahw/react-cupertino-ui)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-cupertino-ui/context-menu",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "description": "ContextMenu component from React Cupertino UI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -13,18 +13,14 @@
13
13
  "./dist/**/*.css",
14
14
  "./dist/**/*.scss"
15
15
  ],
16
- "scripts": {
17
- "build": "tsc -p tsconfig.build.json && npm run build:styles",
18
- "build:styles": "node ../../../scripts/build-styles.mjs"
19
- },
20
16
  "peerDependencies": {
21
17
  "react": "^18.3.1",
22
18
  "react-dom": "^18.3.1"
23
19
  },
24
20
  "dependencies": {
25
21
  "@radix-ui/react-context-menu": "^2.2.16",
26
- "@react-cupertino-ui/shared": "workspace:*",
27
- "lucide-react": "^0.417.0"
22
+ "lucide-react": "^0.417.0",
23
+ "@react-cupertino-ui/shared": "2.0.0"
28
24
  },
29
25
  "devDependencies": {
30
26
  "typescript": "^5.2.2"
@@ -32,5 +28,9 @@
32
28
  "gitHead": "3f53987bdb936a331665691b517c2ba9984777f8",
33
29
  "publishConfig": {
34
30
  "access": "public"
31
+ },
32
+ "scripts": {
33
+ "build": "tsc -p tsconfig.build.json && npm run build:styles",
34
+ "build:styles": "node ../../../scripts/build-styles.mjs"
35
35
  }
36
36
  }