@aurea-uds/core 0.23.0 → 0.24.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.
- package/dist/aurea.css +34 -0
- package/package.json +1 -1
package/dist/aurea.css
CHANGED
|
@@ -1970,6 +1970,40 @@ img,svg { display:block; }
|
|
|
1970
1970
|
.table th,.table-wrap th { color:var(--subtle-foreground); background:var(--surface-2); font-size:var(--text-xs); letter-spacing:var(--tracking-wider); text-transform:uppercase; }
|
|
1971
1971
|
.table tr:last-child td,.table-wrap tr:last-child td { border-bottom:0; }
|
|
1972
1972
|
.table tbody tr:hover,.table-wrap tbody tr:hover { background:var(--surface-2); }
|
|
1973
|
+
/* GAR-12 e GAR-13 (08/10/2026): a tabela de COMPARAÇÃO — as chaves da `Table` e a pele do HTML de
|
|
1974
|
+
comparação. A referência principal só tem o cabeçalho preso, à mão, numa caixa de altura fixa; o
|
|
1975
|
+
resto veio do mercado, por escolha do Victor (o detalhe está no comentário da `Table`).
|
|
1976
|
+
O NOME DA LINHA (`<th scope="row">`) é texto de corpo, não rótulo de coluna: sem caixa-alta, na
|
|
1977
|
+
cor do texto, peso médio. Antes herdava a pele do cabeçalho — e ninguém no repositório usava
|
|
1978
|
+
`th` no corpo (medido), então nenhum exemplo muda. A FAIXA DE GRUPO (`<th scope="rowgroup">`)
|
|
1979
|
+
continua com a pele do cabeçalho de propósito: é rótulo, no idioma que a tabela já usa. */
|
|
1980
|
+
.table tbody th[scope="row"],.table-wrap tbody th[scope="row"] { color:var(--foreground); background:transparent; font-size:inherit; font-weight:var(--weight-medium); letter-spacing:normal; text-transform:none; }
|
|
1981
|
+
.table tbody tr:last-child th,.table-wrap tbody tr:last-child th { border-bottom:0; }
|
|
1982
|
+
/* O melhor valor: negrito. O selo "Melhor", em TEXTO, é um `Badge` que o site põe na célula — a
|
|
1983
|
+
cor sozinha não diz nada a quem não a enxerga (WCAG 1.4.1). */
|
|
1984
|
+
.table td[data-best],.table-wrap td[data-best] { font-weight:var(--weight-semibold); }
|
|
1985
|
+
/* `fit`: sem o mínimo de 720 — a comparação de dois itens cabe num celular de 360. */
|
|
1986
|
+
.table.table-fit { min-width:0; }
|
|
1987
|
+
/* `differencesOnly`: o "Só diferenças" esconde as linhas que o site marcou como iguais. */
|
|
1988
|
+
.table-differences-only tr[data-same] { display:none; }
|
|
1989
|
+
/* `stickyHeader`: o mesmo mecanismo do `DataGrid` (F6, mais abaixo). A caixa é o contêiner de
|
|
1990
|
+
rolagem, então precisa de teto para rolar por dentro; `--table-max-h` é a válvula do consumidor.
|
|
1991
|
+
O cabeçalho gruda no topo da CAIXA, não da página: com a caixa rolando de lado, um elemento
|
|
1992
|
+
grudento só gruda no contêiner de rolagem mais próximo. */
|
|
1993
|
+
.table-sticky-header { max-block-size:var(--table-max-h,60vh); }
|
|
1994
|
+
.table-sticky-header thead th { position:sticky; inset-block-start:0; z-index:1; }
|
|
1995
|
+
/* `stickyFirstColumn`: a primeira célula de cada linha fica parada ao rolar de lado, com fundo
|
|
1996
|
+
próprio (o de cartão; o do cabeçalho no cabeçalho e na faixa de grupo) para o que rola passar
|
|
1997
|
+
POR BAIXO dela. O canto (cabeçalho × primeira coluna) fica por cima dos dois. O fio do fim da
|
|
1998
|
+
coluna é um pseudo-elemento, porque a borda de célula grudenta, com `border-collapse`, fica para
|
|
1999
|
+
trás quando a tabela rola. `isolation` prende os `z-index` daqui dentro da caixa: eles não
|
|
2000
|
+
disputam com menu e janela da página. */
|
|
2001
|
+
.table-sticky-header,.table-sticky-first { isolation:isolate; }
|
|
2002
|
+
.table-sticky-first :is(thead,tbody,tfoot) > tr > :first-child { position:sticky; inset-inline-start:0; z-index:1; background:var(--card); }
|
|
2003
|
+
.table-sticky-first thead > tr > :first-child { z-index:2; background:var(--surface-2); }
|
|
2004
|
+
.table-sticky-first tbody > tr > th[scope="rowgroup"]:first-child { background:var(--surface-2); }
|
|
2005
|
+
.table-sticky-first tbody > tr:hover > :first-child { background:var(--surface-2); }
|
|
2006
|
+
.table-sticky-first :is(thead,tbody,tfoot) > tr > :first-child:not([colspan])::after { content:""; position:absolute; inset-block:0; inset-inline-end:0; inline-size:var(--border-width); background:var(--border); }
|
|
1973
2007
|
/* Avatar (Lote 2): `overflow:hidden` e o `object-fit` da imagem são a correção do defeito que
|
|
1974
2008
|
a medição achou — foto que não é quadrada vazava inteira da caixa redonda, porque
|
|
1975
2009
|
`border-radius` não recorta filho sozinho. Foto de perfil raramente vem quadrada, então isto
|