@inchurch/matcha-theme 22.24.1 → 22.26.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.
|
@@ -113,11 +113,15 @@ matcha-progress-bar {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
// ── Sizes ──────────────────────────────────────────────────────────────────
|
|
116
|
+
// Escala monotônica: tiny 4 → small 16 → medium 32. `tiny` valia 8px, o DOBRO do
|
|
117
|
+
// default de 4px, então a ordem da escala não fechava e quem pedia o menor size
|
|
118
|
+
// recebia uma barra mais grossa do que não passar size nenhum. Agora tiny é o piso
|
|
119
|
+
// e `default` é sinônimo dele (mantido como alias @deprecated no componente).
|
|
116
120
|
matcha-progress-bar {
|
|
117
|
-
// Default: 4px (já é o default do .progress)
|
|
121
|
+
// Default: 4px (já é o default do .progress) — mesmo valor de `tiny`.
|
|
118
122
|
|
|
119
123
|
&[size="xs"], &[size="tiny"] {
|
|
120
|
-
.progress { height: var(--matcha-space-
|
|
124
|
+
.progress { height: var(--matcha-space-050, 4px); }
|
|
121
125
|
}
|
|
122
126
|
&[size="sm"], &[size="small"] {
|
|
123
127
|
.progress { height: var(--matcha-space-200, 16px); border-radius: var(--matcha-radius-md, 4px); }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// =============================================================================
|
|
2
2
|
// matcha-toolbar — flex row + slot único (1:1 Figma DSV3 15866:92)
|
|
3
3
|
//
|
|
4
|
-
// Canon Figma: 1 slot `content` (flex gap-100 items-center p-200 radius-
|
|
4
|
+
// Canon Figma: 1 slot `content` (flex gap-100 items-center p-200 radius-xl).
|
|
5
5
|
// Consumer compõe Title + Actions + CTA livremente no slot default.
|
|
6
6
|
// Slots nomeados (title/actions/primary) preservados pra back-compat com
|
|
7
7
|
// consumers anteriores ao realinhamento Figma.
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
|
|
55
55
|
// Surface
|
|
56
56
|
--matcha-toolbar-bg: var(--matcha-color-surface-card);
|
|
57
|
-
--matcha-toolbar-radius: var(--matcha-radius-
|
|
57
|
+
--matcha-toolbar-radius: var(--matcha-radius-xl, 16px);
|
|
58
58
|
--matcha-toolbar-border-color: var(--matcha-color-surface-border);
|
|
59
59
|
--matcha-toolbar-border-width: var(--matcha-border-hairline, 1px);
|
|
60
60
|
|