@erplora/outfitkit 0.1.11 → 0.1.12

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.
@@ -167,6 +167,10 @@ class OkDataTable extends LitElement {
167
167
  :host([fill]) .card { flex: 1 1 auto; min-height: 0; }
168
168
  :host([fill]) .bar, :host([fill]) .panel, :host([fill]) .pager { flex: 0 0 auto; }
169
169
  :host([fill]) .scroll, :host([fill]) .cards-grid { flex: 1 1 auto; min-height: 0; overflow: auto; }
170
+ /* Sin filas, renderTable/renderCards devuelven SOLO el bloque .empty (sin .scroll). En modo
171
+ fill hay que estirarlo para que ocupe el hueco entre toolbar y pager y centre su contenido
172
+ (icono + mensaje) en vertical; si no, queda pegado arriba con el pager a media altura. */
173
+ :host([fill]) .empty { flex: 1 1 auto; min-height: 0; }
170
174
 
171
175
  /* ── Topbar / cabecera (relieve) ─────────────────────────────────────────────────────── */
172
176
  .bar { display: flex; flex-direction: column; gap: 0.6rem; padding: 0.65rem 1rem; border-bottom: 1px solid var(--border-color); background: var(--header-background); }
@@ -1092,6 +1092,10 @@ class _ extends g {
1092
1092
  :host([fill]) .card { flex: 1 1 auto; min-height: 0; }
1093
1093
  :host([fill]) .bar, :host([fill]) .panel, :host([fill]) .pager { flex: 0 0 auto; }
1094
1094
  :host([fill]) .scroll, :host([fill]) .cards-grid { flex: 1 1 auto; min-height: 0; overflow: auto; }
1095
+ /* Sin filas, renderTable/renderCards devuelven SOLO el bloque .empty (sin .scroll). En modo
1096
+ fill hay que estirarlo para que ocupe el hueco entre toolbar y pager y centre su contenido
1097
+ (icono + mensaje) en vertical; si no, queda pegado arriba con el pager a media altura. */
1098
+ :host([fill]) .empty { flex: 1 1 auto; min-height: 0; }
1095
1099
 
1096
1100
  /* ── Topbar / cabecera (relieve) ─────────────────────────────────────────────────────── */
1097
1101
  .bar { display: flex; flex-direction: column; gap: 0.6rem; padding: 0.65rem 1rem; border-bottom: 1px solid var(--border-color); background: var(--header-background); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erplora/outfitkit",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "OutfitKit — librería de Web Components (Lit) que CONSTRUYE lo que Ionic no tiene (tree, data-table rica, inline-feedback, kpi/stat, stepper/wizard, calendar, kanban…) sobre primitivos de Ionic. Ionic es la base; OutfitKit cubre los huecos. npm + CDN, imports individuales, CSP-safe. Tema vía tokens --ok-* (fallback a --ion-*).",
5
5
  "type": "module",
6
6
  "license": "MIT",