Upgrade AG Grid packages and fix duplicate InputProps

This commit is contained in:
2025-10-16 01:12:49 -06:00
parent f0baf4cdda
commit 07c3de1bf2
2 changed files with 9 additions and 12 deletions

View File

@@ -14,8 +14,8 @@
"@mui/material": "7.0.2",
"@mui/x-date-pickers": "8.11.3",
"@mui/x-tree-view": "8.10.0",
"ag-grid-community": "^32.3.2",
"ag-grid-react": "^32.3.2",
"ag-grid-community": "34.2.0",
"ag-grid-react": "34.2.0",
"dayjs": "1.11.18",
"normalize.css": "8.0.1",
"prismjs": "1.30.0",

View File

@@ -191,7 +191,13 @@ export default function NodeConfigurationSidebar({ drawerOpen, setDrawerOpen, ti
disabled={isReadOnly}
InputProps={{
readOnly: isReadOnly,
sx: { color: "#ccc" }
sx: {
color: "#ccc",
backgroundColor: "#1e1e1e",
"& fieldset": { borderColor: "#444" },
"&:hover fieldset": { borderColor: "#666" },
"&.Mui-focused fieldset": { borderColor: "#58a6ff" }
}
}}
onChange={(e) => {
if (isReadOnly) return;
@@ -206,15 +212,6 @@ export default function NodeConfigurationSidebar({ drawerOpen, setDrawerOpen, ti
);
window.BorealisValueBus[nodeId] = newValue;
}}
InputProps={{
sx: {
backgroundColor: "#1e1e1e",
color: "#ccc",
"& fieldset": { borderColor: "#444" },
"&:hover fieldset": { borderColor: "#666" },
"&.Mui-focused fieldset": { borderColor: "#58a6ff" }
}
}}
/>
</Box>
);