@inchurch/matcha-theme 22.14.3 → 22.14.5

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.
@@ -357,6 +357,15 @@ matcha-button-toggle {
357
357
  display: inline-flex;
358
358
  max-width: 100%;
359
359
 
360
+ // ── Label projetado (<matcha-label>) — empilha ACIMA do grupo (stacked,
361
+ // igual matcha-form-field). Gated por :has(> matcha-label): sem label, o
362
+ // host continua inline-flex row EXATAMENTE como antes (zero regressão).
363
+ &:has(> matcha-label) {
364
+ flex-direction: column;
365
+ align-items: flex-start;
366
+ gap: var(--matcha-space-075, 6px); // mesmo gap label↔box do matcha-form-field
367
+ }
368
+
360
369
  .button-group {
361
370
  display: flex;
362
371
  align-items: stretch;
@@ -349,10 +349,22 @@
349
349
  height: 100%;
350
350
  }
351
351
 
352
+ // Suffix costuma agrupar mais de uma info (contador de caracteres + ícone de
353
+ // status/erro) — 8px de respiro entre elas. Regra global (sem ::ng-deep): o
354
+ // host do <matcha-suffix> tem class .matcha-form-field-suffix e vive dentro do
355
+ // matcha-form-field. O display:inline-flex vem do component scss.
356
+ .matcha-form-field-suffix {
357
+ gap: var(--matcha-space-100, 8px);
358
+ }
359
+
360
+ // @deprecated `.matcha-suffix` (div avulsa) — use o componente <matcha-suffix>
361
+ // (host `.matcha-form-field-suffix`), que já traz o gap de 8px entre múltiplas
362
+ // infos. Mantido só por retrocompat; migrar consumidores e remover numa próxima major.
352
363
  .matcha-suffix {
353
364
  display: flex;
354
365
  flex-wrap: nowrap;
355
366
  align-items: center;
367
+ gap: var(--matcha-space-100, 8px);
356
368
  }
357
369
  }
358
370
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inchurch/matcha-theme",
3
- "version": "22.14.3",
3
+ "version": "22.14.5",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {