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