structra-ui 0.1.19 → 0.1.21
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 +5 -6
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -6,17 +6,16 @@ Biblioteca **Angular** da stack **Structra** para interfaces consistentes: compo
|
|
|
6
6
|
|
|
7
7
|
## Instalação
|
|
8
8
|
|
|
9
|
-
Para instalar a Structra UI
|
|
9
|
+
Para instalar a Structra UI em um projeto Angular, use:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
12
|
npm install structra-ui ag-grid-angular ag-grid-community
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
**
|
|
15
|
+
**Compatibilidade**
|
|
16
16
|
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
- Se a sua aplicação **não** usar nada baseado em AG Grid, pode instalar apenas `structra-ui`; o gestor de pacotes pode avisar sobre peers opcionais — pode instalar o trio acima para um ambiente alinhado à documentação ou aceitar o aviso, conforme a política do projeto.
|
|
17
|
+
- **Angular:** só **21**; peers `@angular/*` em **21.2.7** (versão exata; sem `>=`). Não há suporte para Angular 22.
|
|
18
|
+
- **AG Grid** (grades): peers **`^35.0.0`**. Obrigatório se usar grades; caso contrário pode instalar só `structra-ui` e gerenciar avisos de peers opcionais.
|
|
20
19
|
|
|
21
20
|
## Build do pacote
|
|
22
21
|
|
|
@@ -35,7 +34,7 @@ gera `dist/structra-ui/`, pronto para `npm pack` / `npm publish`. O `package.jso
|
|
|
35
34
|
import { STRUCTRA_UI, BaseButtonComponent } from 'structra-ui';
|
|
36
35
|
```
|
|
37
36
|
|
|
38
|
-
Os estilos globais (tokens, Material, AG Grid, CDK) seguem os do StructraLab; nas
|
|
37
|
+
Os estilos globais (tokens, Material, AG Grid, CDK) seguem os do StructraLab; nas aplicações consumidoras importe o `styles.scss` principal do produto ou replique os `@use` de tema conforme a documentação interna.
|
|
39
38
|
|
|
40
39
|
## Licença
|
|
41
40
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "structra-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"description": "Biblioteca de componentes Angular da StructraLab (UI reutilizável).",
|
|
5
5
|
"homepage": "https://structralab.com/",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"structralab"
|
|
25
25
|
],
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@angular/animations": "21.2.7",
|
|
28
|
-
"@angular/common": "21.2.7",
|
|
29
|
-
"@angular/core": "21.2.7",
|
|
30
|
-
"@angular/forms": "21.2.7",
|
|
31
|
-
"@angular/router": "21.2.7",
|
|
32
|
-
"@angular/cdk": "21.2.7",
|
|
33
|
-
"@angular/material": "21.2.7",
|
|
27
|
+
"@angular/animations": "^21.2.7",
|
|
28
|
+
"@angular/common": "^21.2.7",
|
|
29
|
+
"@angular/core": "^21.2.7",
|
|
30
|
+
"@angular/forms": "^21.2.7",
|
|
31
|
+
"@angular/router": "^21.2.7",
|
|
32
|
+
"@angular/cdk": "^21.2.7",
|
|
33
|
+
"@angular/material": "^21.2.7",
|
|
34
34
|
"ag-grid-angular": "^35.0.0",
|
|
35
35
|
"ag-grid-community": "^35.0.0"
|
|
36
36
|
},
|