@praxisui/tabs 1.0.0-beta.44 → 1.0.0-beta.46

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.
Files changed (2) hide show
  1. package/README.md +11 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -41,6 +41,16 @@ Persistência
41
41
  - Quando `tabsId` é fornecido, a configuração é salva/recuperada em `AsyncConfigStorage` na chave `tabs:<component_id>`.
42
42
  - O `component_id` é derivado via `ComponentKeyService` (inclui rota, tipo de componente, `tabsId` e `componentInstanceId` quando informado).
43
43
 
44
+ ## Empty State e Quick Setup
45
+
46
+ Quando o componente inicia sem `tabs` e sem `nav.links`, o runtime exibe um empty state com atalhos de inicializacao:
47
+
48
+ - criar abas rapidamente via Quick Setup
49
+ - adicionar aba vazia imediatamente
50
+ - abrir editor completo de configuracao
51
+
52
+ No Quick Setup, ao aplicar/salvar, o componente gera uma `TabsMetadata` minima e passa a renderizar abas/links com persistencia normal.
53
+
44
54
  ## Estrutura de Metadados (resumo)
45
55
 
46
56
  ```ts
@@ -140,4 +150,4 @@ const tabsCfg: TabsMetadata = {
140
150
 
141
151
  - Superfícies: `--md-sys-color-surface`, `--md-sys-color-surface-container`, `--md-sys-color-surface-variant`
142
152
  - Texto/contorno: `--md-sys-color-on-surface`, `--md-sys-color-on-surface-variant`, `--md-sys-color-outline`, `--md-sys-color-outline-variant`
143
- - Semânticos: `--md-sys-color-primary`, `--md-sys-color-secondary`, `--md-sys-color-tertiary`, `--md-sys-color-error`
153
+ - Semânticos: `--md-sys-color-primary`, `--md-sys-color-secondary`, `--md-sys-color-tertiary`, `--md-sys-color-error`
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@praxisui/tabs",
3
- "version": "1.0.0-beta.44",
3
+ "version": "1.0.0-beta.46",
4
4
  "description": "Configurable tabs (group and nav) for Praxis UI with metadata-driven content and runtime editor.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.0.0",
7
7
  "@angular/core": "^20.0.0",
8
8
  "@angular/material": "^20.0.0",
9
9
  "@angular/cdk": "^20.0.0",
10
- "@praxisui/core": "^1.0.0-beta.44",
11
- "@praxisui/dynamic-fields": "^1.0.0-beta.44",
12
- "@praxisui/settings-panel": "^1.0.0-beta.44"
10
+ "@praxisui/core": "^1.0.0-beta.46",
11
+ "@praxisui/dynamic-fields": "^1.0.0-beta.46",
12
+ "@praxisui/settings-panel": "^1.0.0-beta.46"
13
13
  },
14
14
  "dependencies": {
15
15
  "tslib": "^2.3.0",