@react-cupertino-ui/avatar 1.0.2 → 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 +8 -8
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # @react-cupertino-ui/avatar
2
+
3
+ Avatar 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/avatar
10
+ # or
11
+ pnpm add @react-cupertino-ui/avatar
12
+ # or
13
+ yarn add @react-cupertino-ui/avatar
14
+
15
+ ## Usage
16
+
17
+ import { Avatar } from '@react-cupertino-ui/avatar';
18
+
19
+ function App() {
20
+ return <Avatar />;
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/avatar",
3
- "version": "1.0.2",
3
+ "version": "2.0.0",
4
4
  "description": "Avatar component from React Cupertino UI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -13,17 +13,13 @@
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
- "@react-cupertino-ui/shared": "workspace:*",
26
- "lucide-react": "^0.417.0"
21
+ "lucide-react": "^0.417.0",
22
+ "@react-cupertino-ui/shared": "2.0.0"
27
23
  },
28
24
  "devDependencies": {
29
25
  "typescript": "^5.2.2"
@@ -31,5 +27,9 @@
31
27
  "gitHead": "3f53987bdb936a331665691b517c2ba9984777f8",
32
28
  "publishConfig": {
33
29
  "access": "public"
30
+ },
31
+ "scripts": {
32
+ "build": "tsc -p tsconfig.build.json && npm run build:styles",
33
+ "build:styles": "node ../../../scripts/build-styles.mjs"
34
34
  }
35
- }
35
+ }