You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-62Lines changed: 25 additions & 62 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,81 +1,44 @@
1
-
# Halstack React CDK
1
+
<palign="center">
2
+
<ahref="https://developer.dxc.com/halstack/">
3
+
<img src="website/screens/common/images/halstack_logo.svg" alt="Halstack Design System logo" />
4
+
</a>
5
+
</p>
2
6
3
-
Halstack React CDK is a npm library of reusable React components, made with the purpose of helping React developers with the task of implementing User Interfaces following the DXC Design Guidelines.
7
+
<h1align="center">Halstack Design System</h1>
4
8
5
-
- It increases visual and behavioral consistency across the applications using the library.
9
+
Halstack is an Open Source Design System built and maintained by DXC Technology with the purpose of providing all the necessary tools for designing and implementing accessible, intuitive and consistent User Experiences with React.
6
10
7
-
- It cuts down development efforts, taking the responsability of following the Design Guidelines away from the developer, and allowing him to focus on providing business value.
11
+
## How to start
8
12
9
-
## Usage
10
-
11
-
Halstack React CDK is a set of reusable components distributed as a npm library. See the [documentation site](https://developer.dxc.com/halstack/) for details on how to use it.
12
-
13
-
## Contributing
14
-
15
-
Before opening new issues or pull requests, please refer to [CONTRIBUTING.MD](https://github.com/dxc-technology/halstack-react/blob/master/CONTRIBUTING.md).
16
-
17
-
## Development Setup
18
-
19
-
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
20
-
21
-
22
-
The project is divided in two main folders. One is for the actual library, and the other one is a React application using the library.
23
-
24
-
### Library
25
-
26
-
Contained in the `lib` folder.
13
+
You can start using Halstack right now:
27
14
28
15
```bash
29
-
cd lib
16
+
npm i @dxc-technology/halstack-react
30
17
```
31
18
32
-
Install the library dependencies.
33
-
34
-
```bash
35
-
npm install
36
-
```
19
+
### Usage
37
20
38
-
Run the build process into `dist` folder, detecting and automatically building changes in src.
npm run build:watch #'npm run build' if there is no need to watch for changes
25
+
constApp= () => (
26
+
<>
27
+
<DxcTextInput label="Enter your name"/>
28
+
<DxcButton label="Submit" type="submit"/>
29
+
</>
30
+
);
42
31
```
43
32
44
-
### Example Application
45
-
46
-
Contained in the `app` folder.
33
+
## Where to start
47
34
48
-
```bash
49
-
cd app # from the root folder
50
-
```
35
+
Learn everything you need to know about Halstack principles and components on the [official documentation site](https://developer.dxc.com/halstack/).
51
36
52
-
Install the application dependencies. The Halstack React CDK dependency is linked to the local `lib` folder. This one must have been previously built.
53
-
54
-
```bash
55
-
npm install
56
-
```
57
-
58
-
Start the application.
59
-
60
-
```bash
61
-
npm start # runs create-react-app dev server
62
-
```
63
-
64
-
Now, anytime you make a change to the library or the app, `create-react-app` will live-reload your local dev server so you can iterate on your component in real-time.
65
-
66
-
## Storybook
67
-
68
-
Contained in the `lib` folder.
69
-
70
-
```bash
71
-
cd lib
72
-
```
37
+
## Contributing
73
38
74
-
Run storybook.
39
+
Any feedback is always welcome in Halstack!
75
40
76
-
```bash
77
-
npm run storybook
78
-
```
41
+
Before opening a new issue, pull request or discussion, please read carefully and respect our [contribution guidelines](https://github.com/dxc-technology/halstack-react/wiki/Contributing).
Halstack React CDK is a npm library of reusable React components, made with the purpose of helping React developers with the task of implementing User Interfaces following the DXC Design Guidelines.
3
+
`@dxc-technology/halstack-react`is an npm library of reusable React components, made to help React developers with the task of implementing User Interfaces following the DXC Halstack Design Guidelines.
4
4
5
-
- It increases visual and behavioral consistency across the applications using the library.
5
+
- It increases visual and behavioural consistency across the applications using the library.
6
6
7
-
- It cuts down development efforts, taking the responsability of following the Design Guidelines away from the developer, and allowing him to focus on providing business value.
7
+
- It cuts down development efforts, taking the responsibility of following the Design Guidelines away from the developer, and allowing him to focus on providing business value.
8
8
9
-
## Usage
9
+
## Before start working
10
10
11
-
Halstack React CDK is a set of reusable components distributed as a npm library. See the [documentation site](https://developer.dxc.com/halstack/) for details on how to use it.
12
-
13
-
## Contributing
14
-
15
-
Before opening new issues or pull requests, please refer to [CONTRIBUTING.MD](https://github.com/dxc-technology/halstack-react/blob/master/CONTRIBUTING.md).
11
+
Remember to read [the documentation site](https://developer.dxc.com/halstack/) carefully before trying to modify any Halstack implementation.
16
12
17
13
## Development Setup
18
14
19
15
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
20
16
21
-
The project is divided in two main folders. One is for the actual library, and the other one is a React application using the library.
22
-
23
17
### Library
24
18
25
19
Contained in the `lib` folder.
@@ -28,13 +22,13 @@ Contained in the `lib` folder.
28
22
cd lib
29
23
```
30
24
31
-
Install the library dependencies.
25
+
Install the library dependencies:
32
26
33
27
```bash
34
28
npm install
35
29
```
36
30
37
-
Run the build process into `dist` folder, detecting and automatically building changes in src.
31
+
Run the build process into `dist` folder, detecting and automatically building changes in src:
38
32
39
33
```bash
40
34
npm run build:watch #'npm run build' if there is no need to watch for changes
@@ -48,18 +42,50 @@ Contained in the `app` folder.
48
42
cd app # from the root folder
49
43
```
50
44
51
-
Install the application dependencies. The Halstack React CDK dependency is linked to the local `lib` folder. This one must have been previously built.
45
+
Install the application dependencies. The Halstack React library dependency is linked to the local `lib` folder. This one must have been previously built:
52
46
53
47
```bash
54
48
npm install
55
49
```
56
50
57
-
Start the application.
51
+
Start the application:
58
52
59
53
```bash
60
54
npm start # runs create-react-app dev server
61
55
```
62
56
63
57
Now, anytime you make a change to the library or the app, `create-react-app` will live-reload your local dev server so you can iterate on your component in real-time.
Copy file name to clipboardExpand all lines: website/README.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,18 @@
1
-
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
0 commit comments