@inchurch/matcha-theme 22.4.2 → 22.5.1

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.
@@ -98,6 +98,10 @@
98
98
  --matcha-table-col-id-width: var(--matcha-space-1000, 80px);
99
99
  --matcha-table-col-narrow-width: var(--matcha-space-1500, 120px);
100
100
  --matcha-table-col-medium-width: var(--matcha-space-2500, 200px);
101
+ // Pino da coluna de Ações (matcha-cell-action) — mesma escala de
102
+ // --matcha-table-col-id-width (80px), token próprio pra não acoplar
103
+ // semanticamente coisas diferentes que hoje só coincidem em valor.
104
+ --matcha-table-col-actions-width: var(--matcha-space-1000, 80px);
101
105
 
102
106
  // ── States / animations ───────────────────────────────────────────────
103
107
  --matcha-table-disabled-opacity: var(--matcha-state-disabled-opacity, 0.5);
@@ -306,7 +310,11 @@
306
310
  // naturalmente acima do primeiro ícone). Padding uniforme L/R com resto
307
311
  // da table.
308
312
  &.col-actions {
309
- width: 1%;
313
+ width: var(--matcha-table-col-actions-width);
314
+ // min-width base da tbody td/thead th é 120px (--matcha-table-cell-min-width)
315
+ // — maior que os 80px daqui, e min-width sempre vence sobre width no box
316
+ // model. Sem este override, a coluna ficava presa em 120px (achado real).
317
+ min-width: var(--matcha-table-col-actions-width);
310
318
  white-space: nowrap;
311
319
  text-align: left;
312
320
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inchurch/matcha-theme",
3
- "version": "22.4.2",
3
+ "version": "22.5.1",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {