matcha-theme 20.78.0 → 20.79.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.
@@ -4,7 +4,7 @@
4
4
  $infix: if($materialBreakpoint == null, "", "-#{$breakpoint}");
5
5
 
6
6
  &[size#{$infix}="tiny"] {
7
- font-size: px-to-rem(10px);
7
+ font-size: px-to-rem(12px);
8
8
  line-height: px-to-rem(16px);
9
9
 
10
10
  matcha-icon span {
@@ -19,10 +19,7 @@
19
19
  font-size: px-to-rem(14px);
20
20
  line-height: px-to-rem(24px);
21
21
 
22
- & .text {
23
- margin-top: 4px;
24
- }
25
-
22
+ matcha-icon,
26
23
  matcha-icon span {
27
24
  width: px-to-rem(24px);
28
25
  height: px-to-rem(24px);
@@ -36,6 +33,14 @@
36
33
 
37
34
  @mixin matcha-hint-text($theme) {
38
35
  matcha-hint-text {
36
+ // Estilos base semelhantes ao matcha-error para manter a consistência visual
37
+ width:100%;
38
+ display: flex;
39
+ align-items: center;
40
+ gap: px-to-rem(4px);
41
+ margin: 0;
42
+ padding: px-to-rem(4px) 0;
43
+
39
44
  // Cor por type
40
45
  &[type="error"] {
41
46
  color: getRed($theme);
@@ -54,10 +59,12 @@
54
59
  }
55
60
 
56
61
  &:not([size]) {
57
- font-size: px-to-rem(10px);
62
+ font-size: px-to-rem(12px);
58
63
  line-height: px-to-rem(16px);
59
64
 
65
+ matcha-icon,
60
66
  matcha-icon span {
67
+ display: flex;
61
68
  width: px-to-rem(16px);
62
69
  height: px-to-rem(16px);
63
70
  font-size: px-to-rem(16px);
@@ -68,8 +75,4 @@
68
75
  @include generate-matcha-hint-size-classes($helper-breakpoints);
69
76
  }
70
77
  }
71
- matcha-hint-text {
72
- & .text {
73
- margin-top: 4px;
74
- }
75
- }
78
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-theme",
3
- "version": "20.78.0",
3
+ "version": "20.79.0",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {