Skip to content

Commit f4b72b4

Browse files
committed
chore: atualiza readmes
1 parent ae0a042 commit f4b72b4

File tree

4 files changed

+94
-71
lines changed

4 files changed

+94
-71
lines changed

README.md

Lines changed: 32 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,36 @@
1-
# Design System
1+
# Design System | Pamela UI Design System
22

3-
## Components
3+
### :bulb: Description
44

5-
- [x] Text
6-
- [x] Heading
7-
- [x] Box
8-
- [x] Button
9-
- [x] TextInput
10-
- [x] TextArea
11-
- [x] Checkbox
12-
- [x] Avatar
13-
- [x] MultiStep
5+
This entire monorepo project was developed as part of a study project by Rocketseat. It contains the entire ecosystem of a Design System.
146

15-
---
7+
You can find more details about the others repositories here:
168

17-
npm run changeset
18-
npm run version-packages
19-
git commit
9+
| Package | Link |
10+
| --------- | ------------------------------------------------------------------------- |
11+
| Docs | [More details](https://github.com/pamelasantoss/design-system/tree/main/packages/docs) |
12+
| ESLint config | [More details](https://github.com/pamelasantoss/design-system/tree/main/packages/eslint-config) |
13+
| React | [More details](https://github.com/pamelasantoss/design-system/tree/main/packages/react) |
14+
| Tokens | [More details](https://github.com/pamelasantoss/design-system/tree/main/packages/tokens) |
15+
| TS Config | [More details](https://github.com/pamelasantoss/design-system/tree/main/packages/ts-config) |
16+
17+
18+
### :rocket: Technologies
19+
20+
- Workflow made easy with [Turbo Repo](https://turborepo.com/docs)
21+
- Management versioning and changelog with [Changesets](https://github.com/changesets/changesets)
22+
23+
### :heavy_check_mark: How to edit and contribute
24+
25+
- After cloning and installing dependencies, run `npm run dev`.
26+
- Read the instructions of each repository and make the necessaries updates.
27+
- After changing something, let's commit, but first, follow this instructions to update the changelog of the updated repository:
28+
- Run the following code to determine the version of the package:
29+
```
30+
npm run changeset
31+
```
32+
- Then run the following code to create the versions and update the changelog file:
33+
```
34+
npm run version-packages
35+
```
36+
- After that, you can commit!

packages/docs/README.md

Lines changed: 36 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,36 @@
1-
# React + TypeScript + Vite
2-
3-
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4-
5-
Currently, two official plugins are available:
6-
7-
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
8-
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9-
10-
## Expanding the ESLint configuration
11-
12-
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
13-
14-
```js
15-
export default tseslint.config({
16-
extends: [
17-
// Remove ...tseslint.configs.recommended and replace with this
18-
...tseslint.configs.recommendedTypeChecked,
19-
// Alternatively, use this for stricter rules
20-
...tseslint.configs.strictTypeChecked,
21-
// Optionally, add this for stylistic rules
22-
...tseslint.configs.stylisticTypeChecked,
23-
],
24-
languageOptions: {
25-
// other options...
26-
parserOptions: {
27-
project: ['./tsconfig.node.json', './tsconfig.app.json'],
28-
tsconfigRootDir: import.meta.dirname,
29-
},
30-
},
31-
})
32-
```
33-
34-
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
35-
36-
```js
37-
// eslint.config.js
38-
import reactX from 'eslint-plugin-react-x'
39-
import reactDom from 'eslint-plugin-react-dom'
40-
41-
export default tseslint.config({
42-
plugins: {
43-
// Add the react-x and react-dom plugins
44-
'react-x': reactX,
45-
'react-dom': reactDom,
46-
},
47-
rules: {
48-
// other rules...
49-
// Enable its recommended typescript rules
50-
...reactX.configs['recommended-typescript'].rules,
51-
...reactDom.configs.recommended.rules,
52-
},
53-
})
54-
```
1+
# Design System | Pamela UI Design System
2+
3+
### :bulb: Description
4+
5+
The _Pamela UI Design System_ was developed as part of a study project. The _Pamela UI Design System_ is a cohesive, reusable set of user interface components designed to make it easy to build consistent, scalable applications. Built with design and development best practices.
6+
7+
This project is a living project and is constantly changing, seeking to improve and add the most used components in different applications with their most different variations. The documentation is interactive, being able to see in advance the different scenarios that a given component can have.
8+
9+
### :rocket: Technologies
10+
11+
- Developed with [Storybook](https://storybook.js.org/docs), [React](https://react.dev/) and [TypeScript](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html)
12+
13+
### :heavy_check_mark: How to edit and contribute
14+
15+
- After cloning and installing dependencies, run `npm run dev` inside the `doc` folder.
16+
- All the live `components` is located on `stories` folder.
17+
- If you need to create a custom component to display a token or other component, you can create in the `components` folder.
18+
- Before committing, run `npm run lint` to fix formatting and ensure code consistency. And don't forget to test all the variants.
19+
20+
---
21+
22+
### :heavy_check_mark: What will you find in this package?
23+
24+
| Component | Description |
25+
| --------- | ------------------------------------------------------------------------- |
26+
| Avatar | Displays a user image via the `src` attribute or a fallback icon |
27+
| Checkbox | A custom checkbox with smooth transitions |
28+
| MultiStep | A progress bar with customizable step count |
29+
| TextInput | A styled input field for text (more types coming soon) |
30+
| Toast | A notification-style message that appears on the right side of the screen |
31+
| Tooltip | Shows a description when hovering over an element |
32+
| Box | A simple box with customizable background color |
33+
| Button | Multiple button variants for different use cases |
34+
| Heading | Different heading levels in a consistent design |
35+
| Text | Text elements styled with the Design System’s fonts and sizes |
36+
| TextArea | A styled textarea with two available variants |

packages/docs/package.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
"private": true,
44
"version": "0.0.0",
55
"type": "module",
6+
"homepage": "https://github.com/pamelasantoss/design-system",
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/pamelasantoss/design-system/tree/main/packages/docs"
10+
},
11+
"author": "Pamela Santos",
12+
"license": "MIT",
13+
"description": "The Pamela UI Design System is a cohesive, reusable set of user interface components designed to make it easy to build consistent, scalable applications.",
14+
"keywords": [
15+
"components",
16+
"design system components",
17+
"design system storybook"
18+
],
619
"scripts": {
720
"dev": "storybook dev -p 6006",
821
"build": "storybook build",

packages/docs/src/pages/home.mdx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@ import { Meta } from '@storybook/blocks';
22

33
<Meta title="Home" />
44

5-
# Ignite UI
5+
# Pamela UI Design System
66

7-
Design System do Ignite.
7+
The _Pamela UI Design System_ is a cohesive, reusable set of user interface components designed to make it easy to build consistent, scalable applications. Built with design and development best practices.
8+
9+
This project is a living project and is constantly changing, seeking to improve and add the most used components in different applications with their most different variations. The documentation is interactive, being able to see in advance the different scenarios that a given component can have.
10+
11+
12+
### How to edit and contribute
13+
14+
- Run `git clone https://github.com/pamelasantoss/design-system.git` to clone the repository.
15+
- After cloning and installing dependencies, run `npm run dev` inside the `doc` folder.
16+
- All the live `components` is located on `stories` folder.
17+
- If you need to create a custom component to display a token or other component, you can create in the `components` folder.
18+
- Before committing, run `npm run lint` to fix formatting and ensure code consistency. And don't forget to test all the variants.

0 commit comments

Comments
 (0)