Handle aria attributes

This commit is contained in:
momo5502
2025-09-07 11:08:03 +02:00
parent 0923d8efa6
commit eed230a844
3 changed files with 8 additions and 7 deletions

View File

@@ -35,7 +35,7 @@
"react-helmet": "^6.1.0",
"react-resizable-panels": "^3.0.5",
"react-router-dom": "^7.8.2",
"react-window": "^2.0.2",
"react-window": "^2.1.0",
"shell-quote": "^1.8.3",
"tailwind-merge": "^3.3.1",
"tailwindcss": "^4.1.12",
@@ -8620,9 +8620,9 @@
}
},
"node_modules/react-window": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/react-window/-/react-window-2.0.2.tgz",
"integrity": "sha512-KCDGR+5qB6hG/eDWCNZku5ERMV21vjMEDJeobqPXI0/foVDaqjf+Fsum4iJu0ftLUTxh9yvZ9t7T+SJ7woOLFw==",
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/react-window/-/react-window-2.1.0.tgz",
"integrity": "sha512-STMrsd6t3pN/XFa5cblpwTLpsEDtrtdeNY+71QsEaY0m7Fhbn9R4XXYzYAyKDpeYbjmBpAflqHBdDDKW928m3Q==",
"license": "MIT",
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",

View File

@@ -37,7 +37,7 @@
"react-helmet": "^6.1.0",
"react-resizable-panels": "^3.0.5",
"react-router-dom": "^7.8.2",
"react-window": "^2.0.2",
"react-window": "^2.1.0",
"shell-quote": "^1.8.3",
"tailwind-merge": "^3.3.1",
"tailwindcss": "^4.1.12",

View File

@@ -160,8 +160,9 @@ class OutputGrouper {
}
function LogLineRow({
index,
ariaAttributes,
lines,
index,
style,
}: RowComponentProps<{
lines: LogLine[];
@@ -169,7 +170,7 @@ function LogLineRow({
{
const line = lines[index];
return (
<span className={line.classNames} style={style}>
<span className={line.classNames} style={style} {...ariaAttributes}>
{line.text}
</span>
);