@inchurch/matcha-theme 22.14.5 → 22.15.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.
|
@@ -430,8 +430,10 @@ matcha-form-field[readonly="true"] .matcha-form-field {
|
|
|
430
430
|
// ── Char counter (injetado via Renderer2 pelo matchaCharCounter directive) ──
|
|
431
431
|
// Figma matcha/field/textarea: body-sm 12/16, text-secondary, align right.
|
|
432
432
|
// Precisa ser global (sem ngcontent) porque o span vem de fora da view do form-field.
|
|
433
|
-
|
|
434
|
-
|
|
433
|
+
// IN-40430 (painel): a tipografia vale pra QUALQUER host do counter — quando o span
|
|
434
|
+
// caía fora do .matcha-form-field-wrapper (textarea/usos legados), ficava sem estilo
|
|
435
|
+
// e herdava fonte maior que o próprio texto do campo.
|
|
436
|
+
.matcha-char-counter {
|
|
435
437
|
font-family: var(--matcha-font-family);
|
|
436
438
|
font-size: var(--matcha-text-body-sm, 12px);
|
|
437
439
|
font-weight: var(--matcha-weight-regular, 400);
|
|
@@ -441,6 +443,10 @@ matcha-form-field[readonly="true"] .matcha-form-field {
|
|
|
441
443
|
margin: 0;
|
|
442
444
|
padding: 0;
|
|
443
445
|
user-select: none;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.matcha-form-field-wrapper > .matcha-char-counter {
|
|
449
|
+
align-self: flex-end;
|
|
444
450
|
transition: color var(--matcha-duration-fast, 200ms) ease;
|
|
445
451
|
|
|
446
452
|
// 3 níveis visuais (0-89% = neutro, 90-99% = warn, 100%+ = danger).
|
|
@@ -286,7 +286,8 @@ matcha-progress-bar[type="segmented"] {
|
|
|
286
286
|
matcha-progress-bar {
|
|
287
287
|
.progress-fill { transition: none; }
|
|
288
288
|
.progress-indeterminate,
|
|
289
|
-
.progress-indeterminate::before
|
|
289
|
+
.progress-indeterminate::before,
|
|
290
|
+
.progress-indeterminate::after { animation: none; }
|
|
290
291
|
.progress-segment { transition: none; }
|
|
291
292
|
}
|
|
292
293
|
}
|
|
@@ -294,7 +295,7 @@ matcha-progress-bar[type="segmented"] {
|
|
|
294
295
|
// ── Forced colors ──
|
|
295
296
|
@media (forced-colors: active) {
|
|
296
297
|
matcha-progress-bar {
|
|
297
|
-
.progress
|
|
298
|
+
.progress {
|
|
298
299
|
background: Canvas !important;
|
|
299
300
|
border: 1px solid CanvasText !important;
|
|
300
301
|
}
|