@evolution-soft/ui 1.0.5 → 1.0.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.
- package/README.md +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @evolution-soft/ui
|
|
2
2
|
|
|
3
|
-
Biblioteca de componentes oficial da Evolutionsoft
|
|
3
|
+
Biblioteca de componentes oficial da Evolutionsoft - construída sobre **shadcn/ui**, **Tailwind CSS v4**, **Radix UI**, **Framer Motion** e **Lottie**.
|
|
4
4
|
|
|
5
5
|
Centraliza, documenta e padroniza os componentes utilizados nas aplicações da empresa, garantindo consistência visual e reutilização de código.
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ Centraliza, documenta e padroniza os componentes utilizados nas aplicações da
|
|
|
11
11
|
### 1. Instalação
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
npm install @
|
|
14
|
+
npm install @evolution-soft/ui
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
> O pacote tem `react`, `react-dom` e `next` (opcional) como **peer dependencies** — certifica-te de que já estão instalados no projeto.
|
|
@@ -21,13 +21,13 @@ npm install @evolutionsoft/ui
|
|
|
21
21
|
No ficheiro raiz do projeto (ex: `app/layout.tsx`, `main.tsx` ou `_app.tsx`):
|
|
22
22
|
|
|
23
23
|
```ts
|
|
24
|
-
import '@
|
|
24
|
+
import '@evolution-soft/ui/styles.css';
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
### 3. Importar componentes
|
|
28
28
|
|
|
29
29
|
```tsx
|
|
30
|
-
import { Button, Title, Subtitle, TooltipIndicator, LottieIcon } from '@
|
|
30
|
+
import { Button, Title, Subtitle, TooltipIndicator, LottieIcon } from '@evolution-soft/ui';
|
|
31
31
|
|
|
32
32
|
export default function Page() {
|
|
33
33
|
return (
|
|
@@ -44,7 +44,7 @@ export default function Page() {
|
|
|
44
44
|
Se usares `SettingsModal` ou `ButtonIconLottie`, envolve a aplicação com o `AnimationSettingsProvider`:
|
|
45
45
|
|
|
46
46
|
```tsx
|
|
47
|
-
import { AnimationSettingsProvider } from '@
|
|
47
|
+
import { AnimationSettingsProvider } from '@evolution-soft/ui';
|
|
48
48
|
|
|
49
49
|
export default function RootLayout({ children }) {
|
|
50
50
|
return (
|
|
@@ -61,7 +61,7 @@ export default function RootLayout({ children }) {
|
|
|
61
61
|
|
|
62
62
|
### Pré-requisitos
|
|
63
63
|
|
|
64
|
-
- [Node.js](https://nodejs.org/)
|
|
64
|
+
- [Node.js](https://nodejs.org/) v24.13.1
|
|
65
65
|
- Conta no [npm](https://www.npmjs.com/) com acesso à org **evolutionsoft**
|
|
66
66
|
|
|
67
67
|
### Setup local
|
|
@@ -99,7 +99,7 @@ npm version patch # ou minor / major
|
|
|
99
99
|
npm publish --access public
|
|
100
100
|
```
|
|
101
101
|
|
|
102
|
-
> Após o publish, os consumidores atualizam com `npm update @
|
|
102
|
+
> Após o publish, os consumidores atualizam com `npm update @evolution-soft/ui`.
|
|
103
103
|
|
|
104
104
|
---
|
|
105
105
|
|