@ngx-smz/layout 21.10.0-next.12 → 21.10.0-next.13
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 +9 -53
- package/fesm2022/ngx-smz-layout.mjs +503 -494
- package/fesm2022/ngx-smz-layout.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ngx-smz-layout.d.ts +16 -24
package/README.md
CHANGED
|
@@ -1,63 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @ngx-smz/layout
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Shell de aplicação para Angular 21: layout com topbar, sidebar (menu com visibilidade por claims), footer, configurador flutuante de tema e páginas de erro (`access`, `error`, `notfound`). Depende de `@ngx-smz/ui-kit` e `@ngx-smz/core`.
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
ng generate component component-name
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
5
|
+
## Instalação
|
|
14
6
|
|
|
15
7
|
```bash
|
|
16
|
-
|
|
8
|
+
npm install @ngx-smz/ui-kit @ngx-smz/core @ngx-smz/layout
|
|
17
9
|
```
|
|
18
10
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
To build the library, run:
|
|
11
|
+
Estilos do layout publicados em `resources/layout/` (`layout.scss`; `legacy-layout.scss` para os layouts athena/new-athena):
|
|
22
12
|
|
|
23
|
-
```
|
|
24
|
-
|
|
13
|
+
```scss
|
|
14
|
+
@use '@ngx-smz/layout/resources/layout/layout.scss';
|
|
25
15
|
```
|
|
26
16
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
### Publishing the Library
|
|
30
|
-
|
|
31
|
-
Once the project is built, you can publish your library by following these steps:
|
|
32
|
-
|
|
33
|
-
1. Navigate to the `dist` directory:
|
|
34
|
-
```bash
|
|
35
|
-
cd dist/ngx-smz-ui-layout
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
2. Run the `npm publish` command to publish your library to the npm registry:
|
|
39
|
-
```bash
|
|
40
|
-
npm publish
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Running unit tests
|
|
44
|
-
|
|
45
|
-
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
ng test
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## Running end-to-end tests
|
|
52
|
-
|
|
53
|
-
For end-to-end (e2e) testing, run:
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
ng e2e
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
60
|
-
|
|
61
|
-
## Additional Resources
|
|
17
|
+
## Fonte e changelog
|
|
62
18
|
|
|
63
|
-
|
|
19
|
+
Código em `projects/ngx-smz-ui-layout` no repositório [smarza/ng-smz](https://github.com/smarza/ng-smz). Mudanças em [`CHANGELOG.md`](CHANGELOG.md).
|