@ngx-smz/ui-kit 21.10.0-next.12 → 21.10.0-next.15
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 +37 -0
- package/fesm2022/ngx-smz-ui-kit.mjs +828 -828
- package/fesm2022/ngx-smz-ui-kit.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# @ngx-smz/ui-kit
|
|
2
|
+
|
|
3
|
+
Primitivos de UI para Angular 21 construídos sobre Angular CDK e Tailwind CSS: botão, dialog, inputs (texto, máscara, número, select, multiselect, calendário), checkbox, radio, toggle, tabela, tooltip, badge, tag, skeleton, progress bar, mensagens, ícones, entre outros.
|
|
4
|
+
|
|
5
|
+
Serve de base para `@ngx-smz/core` e `@ngx-smz/layout`, mas pode ser usado sozinho.
|
|
6
|
+
|
|
7
|
+
## Instalação
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @ngx-smz/ui-kit
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Peer dependencies: `@angular/*` 21, `@angular/cdk`, `rxjs`, `tailwindcss` 3.
|
|
14
|
+
|
|
15
|
+
## Tailwind
|
|
16
|
+
|
|
17
|
+
Inclua o preset e o `content` do pacote no `tailwind.config.js` do app:
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
module.exports = {
|
|
21
|
+
presets: [require('@ngx-smz/ui-kit/tailwind.preset.js')],
|
|
22
|
+
content: [
|
|
23
|
+
'./src/**/*.{html,ts}',
|
|
24
|
+
...require('@ngx-smz/ui-kit/tailwind.content.js'),
|
|
25
|
+
],
|
|
26
|
+
};
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
E o tema por tokens (`angular.json` → `styles`):
|
|
30
|
+
|
|
31
|
+
```json
|
|
32
|
+
"node_modules/@ngx-smz/ui-kit/themes/default.css"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Fonte e changelog
|
|
36
|
+
|
|
37
|
+
Código em `projects/ngx-smz-ui-kit` no repositório [smarza/ng-smz](https://github.com/smarza/ng-smz). Mudanças em [`CHANGELOG.md`](https://github.com/smarza/ng-smz/blob/main/CHANGELOG.md).
|