@inchurch/matcha-theme 22.16.5 → 22.18.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.
|
@@ -178,27 +178,9 @@ matcha-card,
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
//
|
|
182
|
-
.matcha-
|
|
183
|
-
|
|
184
|
-
aspect-ratio: 16 / 9;
|
|
185
|
-
overflow: hidden;
|
|
186
|
-
border-radius: var(--matcha-radius-md, 4px);
|
|
187
|
-
flex-shrink: 0;
|
|
188
|
-
|
|
189
|
-
img {
|
|
190
|
-
width: 100%;
|
|
191
|
-
height: 100%;
|
|
192
|
-
object-fit: cover;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
// Horizontal media
|
|
197
|
-
&.matcha-card--horizontal .matcha-card__media {
|
|
198
|
-
width: 160px;
|
|
199
|
-
aspect-ratio: auto;
|
|
200
|
-
height: 100%;
|
|
201
|
-
}
|
|
181
|
+
// .matcha-card__media (slot de mídia 16:9) saiu: dead code — a anatomia
|
|
182
|
+
// real do componente usa .matcha-card__slot--media (card.component.html),
|
|
183
|
+
// nome diferente; esta classe nunca teve consumidor (nem legado, nem real).
|
|
202
184
|
|
|
203
185
|
@media (prefers-reduced-motion: reduce) {
|
|
204
186
|
&.disabled, &.enabled {
|
|
@@ -36,28 +36,11 @@
|
|
|
36
36
|
box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent-alpha);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.the-line-connect-start-modal {
|
|
40
|
-
box-shadow: inset 2px -2px 0 2px var(--matcha-color-accent-alpha);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
39
|
.the-line-connect-middle {
|
|
44
40
|
box-shadow: inset 2px -2px 0 2px var(--matcha-color-border);
|
|
45
41
|
}
|
|
46
42
|
}
|
|
47
43
|
|
|
48
|
-
.tree-node {
|
|
49
|
-
&-content {
|
|
50
|
-
&-btn-add-node {
|
|
51
|
-
background: var(--matcha-color-surface);
|
|
52
|
-
box-shadow: inset 0 0 0 3px var(--matcha-color-accent);
|
|
53
|
-
|
|
54
|
-
&-i {
|
|
55
|
-
color: var(--matcha-color-accent);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
44
|
.tree-first-node {
|
|
62
45
|
&-begin {
|
|
63
46
|
&-btn-add-node {
|
|
@@ -161,17 +144,6 @@
|
|
|
161
144
|
background: transparent;
|
|
162
145
|
}
|
|
163
146
|
|
|
164
|
-
.the-line-connect-start-modal {
|
|
165
|
-
height: 92px;
|
|
166
|
-
margin: -34px -16px 56px -40px;
|
|
167
|
-
width: 56px;
|
|
168
|
-
border-radius: 0 0 0 40px;
|
|
169
|
-
z-index: 1;
|
|
170
|
-
display: flex;
|
|
171
|
-
position: absolute;
|
|
172
|
-
background: transparent;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
147
|
.the-line-connect-middle {
|
|
176
148
|
height: 92px;
|
|
177
149
|
margin: -34px -16px 56px -40px;
|
|
@@ -191,76 +163,29 @@
|
|
|
191
163
|
height: 80px;
|
|
192
164
|
z-index: 1;
|
|
193
165
|
|
|
194
|
-
&-header
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
font-family: var(--matcha-font-family);
|
|
201
|
-
font-size: var(--matcha-text-body-sm, 12px);
|
|
202
|
-
line-height: var(--matcha-leading-body-sm, 16px);
|
|
203
|
-
display: flex;
|
|
204
|
-
margin: 0 0 var(--matcha-space-050, 4px) 0;
|
|
205
|
-
align-items: center;
|
|
206
|
-
letter-spacing: 0.08em;
|
|
207
|
-
text-transform: uppercase;
|
|
208
|
-
font-weight: var(--matcha-weight-bold, 700);
|
|
209
|
-
|
|
210
|
-
&-bullet {
|
|
211
|
-
height: var(--matcha-space-200, 16px);
|
|
212
|
-
width: var(--matcha-space-100, 8px);
|
|
213
|
-
margin: 0 var(--matcha-space-100, 8px) 0 0;
|
|
214
|
-
display: inline-block;
|
|
215
|
-
position: relative;
|
|
216
|
-
border-radius: var(--matcha-radius-pill, 9999px);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
166
|
+
// &-header, &-content e &-content-profile saíram: eram só display:flex +
|
|
167
|
+
// justify-content/align-items — hoje cobertos por utilitárias
|
|
168
|
+
// (flex-between/flex-align-center/flex-grow-1/min-w-0) direto no consumidor,
|
|
169
|
+
// sem precisar de uma classe própria do tema pra isso. &-content-btn-add-node
|
|
170
|
+
// e &-content-profile-avatar saíram por não terem mais consumidor (canonização
|
|
171
|
+
// do control-panel-v2 pro matcha-card/matcha-avatar reais).
|
|
221
172
|
&-content {
|
|
222
|
-
display: flex;
|
|
223
|
-
justify-content: space-between;
|
|
224
|
-
|
|
225
173
|
&-profile {
|
|
226
|
-
display: flex;
|
|
227
|
-
align-items: center;
|
|
228
|
-
width: 100%;
|
|
229
|
-
|
|
230
|
-
&-avatar {
|
|
231
|
-
border-radius: var(--matcha-radius-pill, 9999px);
|
|
232
|
-
min-width: var(--matcha-icon-size-md, 24px);
|
|
233
|
-
min-height: var(--matcha-icon-size-md, 24px);
|
|
234
|
-
width: var(--matcha-icon-size-md, 24px);
|
|
235
|
-
height: var(--matcha-icon-size-md, 24px);
|
|
236
|
-
max-width: var(--matcha-icon-size-md, 24px);
|
|
237
|
-
max-height: var(--matcha-icon-size-md, 24px);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
174
|
&-name {
|
|
241
175
|
width: calc(100% - 48px);
|
|
242
|
-
display:
|
|
176
|
+
// display:flex aqui era o bug: -webkit-line-clamp exige display:-webkit-box
|
|
177
|
+
// pra funcionar, e nowrap+ellipsis exige block/inline-block — nenhum dos
|
|
178
|
+
// dois mecanismos de truncamento funcionava com flex, resultando em corte
|
|
179
|
+
// cru sem "...". block resolve o ellipsis de 1 linha (não há espaço
|
|
180
|
+
// vertical pra 2 linhas nesta altura de row).
|
|
181
|
+
display: block;
|
|
243
182
|
line-height: var(--matcha-leading-body-md, 20px);
|
|
244
183
|
font-size: var(--matcha-text-title-sm, 16px);
|
|
245
184
|
margin: 0 0 0 var(--matcha-space-100, 8px);
|
|
246
|
-
-webkit-line-clamp: 2;
|
|
247
185
|
overflow: hidden;
|
|
248
186
|
text-overflow: ellipsis;
|
|
249
187
|
word-break: break-word;
|
|
250
188
|
white-space: nowrap;
|
|
251
|
-
-webkit-box-orient: vertical;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
&-btn-add-node {
|
|
256
|
-
position: absolute;
|
|
257
|
-
margin: var(--matcha-space-300, 24px) 0 0 236px;
|
|
258
|
-
width: var(--matcha-icon-size-md, 24px);
|
|
259
|
-
height: var(--matcha-icon-size-md, 24px);
|
|
260
|
-
|
|
261
|
-
&-i {
|
|
262
|
-
line-height: var(--matcha-leading-body-sm, 16px);
|
|
263
|
-
border-radius: var(--matcha-radius-pill, 9999px);
|
|
264
189
|
}
|
|
265
190
|
}
|
|
266
191
|
}
|
|
@@ -86,38 +86,6 @@
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
// Combobox input (searchable + single): plano, herda tipografia do trigger,
|
|
90
|
-
// sem border/background próprios — parece o próprio campo.
|
|
91
|
-
.matcha-select-combobox-input {
|
|
92
|
-
flex: 1;
|
|
93
|
-
min-width: 0;
|
|
94
|
-
padding: 0;
|
|
95
|
-
margin: 0;
|
|
96
|
-
border: 0;
|
|
97
|
-
background: transparent;
|
|
98
|
-
color: var(--matcha-color-fg);
|
|
99
|
-
font: inherit;
|
|
100
|
-
font-family: var(--matcha-font-family);
|
|
101
|
-
outline: none;
|
|
102
|
-
text-overflow: ellipsis;
|
|
103
|
-
cursor: text;
|
|
104
|
-
|
|
105
|
-
&::placeholder {
|
|
106
|
-
color: var(--matcha-color-text-placeholder);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&:disabled {
|
|
110
|
-
color: var(--matcha-color-disabled-fg);
|
|
111
|
-
cursor: not-allowed;
|
|
112
|
-
background: transparent;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
// Modo combobox: trigger não tem cursor pointer (quem manda é o input).
|
|
117
|
-
.matcha-select-trigger.matcha-select-combobox {
|
|
118
|
-
cursor: text;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
89
|
.matcha-select-arrow {
|
|
122
90
|
display: inline-flex;
|
|
123
91
|
align-items: center;
|
|
@@ -158,27 +126,19 @@
|
|
|
158
126
|
// --matcha-text-body-sm nesse tier). Antes o select herdava 14/20 junto do MD e ficava
|
|
159
127
|
// 2px maior que input/date dentro do MESMO matcha-field size="small".
|
|
160
128
|
matcha-form-field[size="lg"] .matcha-select-value,
|
|
161
|
-
matcha-form-field[size="lg"] .matcha-select-combobox-input,
|
|
162
129
|
matcha-form-field[size="large"] .matcha-select-value,
|
|
163
|
-
matcha-form-field[size="
|
|
164
|
-
matcha-form-field[size="huge"] .matcha-select-value,
|
|
165
|
-
matcha-form-field[size="huge"] .matcha-select-combobox-input {
|
|
130
|
+
matcha-form-field[size="huge"] .matcha-select-value {
|
|
166
131
|
font-size: 16px;
|
|
167
132
|
line-height: 24px;
|
|
168
133
|
}
|
|
169
134
|
matcha-form-field[size="sm"] .matcha-select-value,
|
|
170
|
-
matcha-form-field[size="sm"] .matcha-select-combobox-input,
|
|
171
135
|
matcha-form-field[size="tiny"] .matcha-select-value,
|
|
172
|
-
matcha-form-field[size="
|
|
173
|
-
matcha-form-field[size="small"] .matcha-select-value,
|
|
174
|
-
matcha-form-field[size="small"] .matcha-select-combobox-input {
|
|
136
|
+
matcha-form-field[size="small"] .matcha-select-value {
|
|
175
137
|
font-size: var(--matcha-text-body-sm, 12px);
|
|
176
138
|
line-height: var(--matcha-leading-body-sm, 16px);
|
|
177
139
|
}
|
|
178
140
|
matcha-form-field[size="md"] .matcha-select-value,
|
|
179
|
-
matcha-form-field[size="
|
|
180
|
-
matcha-form-field[size="medium"] .matcha-select-value,
|
|
181
|
-
matcha-form-field[size="medium"] .matcha-select-combobox-input {
|
|
141
|
+
matcha-form-field[size="medium"] .matcha-select-value {
|
|
182
142
|
font-size: 14px;
|
|
183
143
|
line-height: 20px;
|
|
184
144
|
}
|