react-ui89 0.7.5 → 0.7.7

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 +69 -0
  2. package/package.json +5 -1
package/README.md CHANGED
@@ -3,3 +3,72 @@
3
3
  A collection of components that mimic a common style of user interfaces from the late 80s and early 90s.
4
4
 
5
5
  ![Screenshot](preview.png)
6
+
7
+
8
+ ## Install
9
+
10
+ ```
11
+ npm install react-ui89
12
+ ```
13
+
14
+
15
+ ## Usage
16
+
17
+ ```jsx
18
+ import React from 'react'
19
+ import {
20
+ Ui89Scene,
21
+ Ui89Card,
22
+ Ui89SpaceVertical,
23
+ Ui89Card,
24
+ Ui89Button,
25
+ Ui89TitleBox,
26
+ } from 'react-ui89'
27
+
28
+ export default function Page() {
29
+ return (
30
+ <Ui89Scene>
31
+ <Ui89Card topCenter={<Ui89TitleBox>Proposition</Ui89TitleBox>}>
32
+ <Ui89SpaceVertical gap={1} />
33
+ Welcome to the past.
34
+ <Ui89SpaceVertical gap={1} />
35
+ Do you accept?
36
+ <Ui89SpaceVertical gap={2} />
37
+ <Ui89Button theme="success">Yes</Ui89Button>
38
+ <Ui89Button theme="danger">No</Ui89Button>
39
+ <Ui89Button theme="warning">Yesn't</Ui89Button>
40
+ </Ui89Card>
41
+ </Ui89Scene>
42
+ )
43
+ }
44
+ ```
45
+
46
+ ## Documentation
47
+
48
+ This project uses storybook. Storybook is an open-source tool for building
49
+ and organizing UI components in isolation.
50
+
51
+ ```
52
+ npm run storybook
53
+ ```
54
+
55
+
56
+ ## Development
57
+
58
+ Storybook is also used for development.
59
+
60
+ ```
61
+ npm run storybook
62
+ ```
63
+
64
+
65
+ ## Contributing
66
+
67
+ The easiest way to contribute is by starring this project on GitHub!
68
+
69
+ https://github.com/daniel-araujo/react-ui89
70
+
71
+ If you've found a bug, would like to suggest a feature or need some help, feel
72
+ free to create an issue on GitHub:
73
+
74
+ https://github.com/daniel-araujo/react-ui89/issues
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-ui89",
3
3
  "description": "A collection of components that mimic a common style of user interfaces from the late 80s and early 90s.",
4
- "version": "0.7.5",
4
+ "version": "0.7.7",
5
5
  "author": "Daniel Araujo",
6
6
  "module": "dist/esm/index.js",
7
7
  "files": [
@@ -11,6 +11,10 @@
11
11
  "preview.png"
12
12
  ],
13
13
  "types": "dist/esm/index.d.ts",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/daniel-araujo/react-ui89.git"
17
+ },
14
18
  "peerDependencies": {
15
19
  "react": "^18.3.1"
16
20
  },