@dev-tcloud/tcloud-ui 6.28.1 → 6.28.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-tcloud/tcloud-ui",
3
- "version": "6.28.1",
3
+ "version": "6.28.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.20",
6
6
  "@angular/core": "^19.2.20",
@@ -1,4 +1,5 @@
1
1
  .tc-rev-input-control {
2
+ background-color: var(--c-neutral-50);
2
3
  border: 1px solid var(--c-neutral-400);
3
4
  border-radius: var(--bor-radius-pill);
4
5
  color: var(--c-neutral-700);
@@ -12,6 +13,20 @@
12
13
  padding: 0 var(--size-16);
13
14
  max-width: 100%;
14
15
 
16
+ &::placeholder {
17
+ color: var(--c-neutral-400);
18
+ }
19
+
20
+ // Autofill: o navegador força fundo claro; o box-shadow inset com token
21
+ // repinta o fundo respeitando o dark mode.
22
+ &:-webkit-autofill,
23
+ &:-webkit-autofill:hover,
24
+ &:-webkit-autofill:focus {
25
+ -webkit-text-fill-color: var(--c-neutral-700);
26
+ -webkit-box-shadow: 0 0 0 1000px var(--c-neutral-50) inset;
27
+ caret-color: var(--c-neutral-700);
28
+ }
29
+
15
30
  &--full-width {
16
31
  width: 100%;
17
32
  }
@@ -26,7 +41,13 @@
26
41
  }
27
42
 
28
43
  &:disabled {
44
+ background-color: var(--c-neutral-100);
29
45
  border-color: var(--c-neutral-400);
46
+ color: var(--c-neutral-400);
47
+
48
+ &::placeholder {
49
+ color: var(--c-neutral-300);
50
+ }
30
51
 
31
52
  &:hover,
32
53
  &:focus,
@@ -77,6 +98,7 @@
77
98
  min-width: 7.5rem;
78
99
 
79
100
  .tc-rev-input-icon-control {
101
+ background-color: var(--c-neutral-50);
80
102
  border: 1px solid var(--c-neutral-400);
81
103
  border-radius: var(--bor-radius-pill);
82
104
  color: var(--c-neutral-700);
@@ -95,10 +117,29 @@
95
117
  width: 100%;
96
118
  z-index: 1;
97
119
 
120
+ &::placeholder {
121
+ color: var(--c-neutral-400);
122
+ }
123
+
124
+ // Autofill: repinta o fundo com token para respeitar o dark mode.
125
+ &:-webkit-autofill,
126
+ &:-webkit-autofill:hover,
127
+ &:-webkit-autofill:focus {
128
+ -webkit-text-fill-color: var(--c-neutral-700);
129
+ -webkit-box-shadow: 0 0 0 1000px var(--c-neutral-50) inset;
130
+ caret-color: var(--c-neutral-700);
131
+ }
132
+
98
133
  &:hover,
99
134
  &:focus {
100
135
  border-color: var(--c-primary-500);
101
136
  }
137
+
138
+ &:disabled {
139
+ background-color: var(--c-neutral-100);
140
+ border-color: var(--c-neutral-400);
141
+ color: var(--c-neutral-400);
142
+ }
102
143
  }
103
144
 
104
145
  .tc-rev-input-icon {