@react-cupertino-ui/radio 1.0.3 → 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/radio
2
+
3
+ Radio 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/radio
10
+ # or
11
+ pnpm add @react-cupertino-ui/radio
12
+ # or
13
+ yarn add @react-cupertino-ui/radio
14
+
15
+ ## Usage
16
+
17
+ import { Radio } from '@react-cupertino-ui/radio';
18
+
19
+ function App() {
20
+ return <Radio />;
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/radio",
3
- "version": "1.0.3",
3
+ "version": "2.0.0",
4
4
  "description": "Radio 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
+ }