@juau/zuri 0.0.1 → 0.1.0

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 CHANGED
@@ -12,9 +12,11 @@ tintura verde).
12
12
  ## Instalação
13
13
 
14
14
  ```bash
15
- npm install @juau/zuri
15
+ ng add @juau/zuri
16
16
  ```
17
17
 
18
+ O `ng add` instala o pacote e configura os tokens, a fonte Nunito Sans e o estilo base do `body`. Para fazer à mão, use `npm install @juau/zuri` e siga o setup abaixo.
19
+
18
20
  ## Setup
19
21
 
20
22
  1. Importe os tokens no `styles.css` global da aplicação:
@@ -60,11 +62,13 @@ O `ZurThemeService` aplica `data-theme="dark"` no `<html>`, persiste a escolha e
60
62
  |---|---|
61
63
  | Tema e marca | `ZurThemeService`, `zur-theme-toggle`, `[zurThemeScope]` (tema isolado), `zur-logo` |
62
64
  | Fundamentos | `button[zur-button]`, `zur-badge`, `zur-card`, `zur-avatar` |
63
- | Formulários | `zur-input`, `zur-select`, `zur-checkbox`, `zur-radio`, `zur-switch` (todos ControlValueAccessor) |
65
+ | Formulários | `zur-input`, `zur-textarea`, `zur-select`, `zur-checkbox`, `zur-radio`, `zur-switch` (todos ControlValueAccessor) |
64
66
  | Navegação | `zur-navbar`, `zur-tabs`/`zur-tab`, `zur-menu`/`zur-menu-item`, `zur-breadcrumb`, `zur-sidenav`/`zur-sidenav-item`/`zur-sidenav-label` |
65
- | Conteúdo | `zur-step` |
67
+ | Dados | `table[zur-table]` + `th[zurSortable]`, `zur-pagination` |
68
+ | Conteúdo | `zur-step`, `zur-accordion`, `zur-empty-state` |
69
+ | Sobreposição | `zur-drawer`, `zur-popover` + `[zurPopoverTrigger]` |
66
70
  | Layouts de página | `zur-landing-layout`, `zur-dashboard-layout`, `zur-list-detail-layout`, `zur-form-layout`, `zur-docs-layout`, `zur-auth-layout`, `zur-error-layout` + `zur-sidebar`, `zur-topbar`, `zur-page-header`, `zur-footer` — veja [`LAYOUTS.md`](../../LAYOUTS.md) |
67
- | Feedback | `zur-modal`, `ZurToastService` + `zur-toast-container`, `[zurTooltip]`, `zur-alert`, `zur-spinner`, `zur-skeleton` |
71
+ | Feedback | `zur-modal`, `ZurToastService` + `zur-toast-container`, `[zurTooltip]`, `zur-alert`, `zur-spinner`, `zur-skeleton`, `zur-progress` |
68
72
 
69
73
  ### Exemplos
70
74
 
@@ -98,6 +102,14 @@ private toast = inject(ZurToastService);
98
102
  this.toast.show('Reserva confirmada!', 'success');
99
103
  ```
100
104
 
105
+ ## Idioma
106
+
107
+ Os textos internos (rótulos de acessibilidade, "Voltar", "Fechar") vêm em português. Para inglês:
108
+
109
+ ```ts
110
+ bootstrapApplication(App, { providers: [provideZuriI18n('en')] });
111
+ ```
112
+
101
113
  ## Desenvolvimento
102
114
 
103
115
  ```bash