mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
Handle aria attributes
This commit is contained in:
8
page/package-lock.json
generated
8
page/package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user