Skip to content

Commit

Permalink
Give DataGrid preferences top-start placement
Browse files Browse the repository at this point in the history
  • Loading branch information
canac committed Mar 15, 2024
1 parent da83800 commit 165f309
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 14 deletions.
24 changes: 12 additions & 12 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
13 changes: 13 additions & 0 deletions .yarn/patches/@mui-x-data-grid-npm-5.17.4-542730a19e.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/components/panel/GridPanel.js b/components/panel/GridPanel.js
index e832b6b806fa0e0a40b79ba299917c81198daaf1..5c0551f98dfe7dc57bd7b168f8d1eb4d9f7e34d2 100644
--- a/components/panel/GridPanel.js
+++ b/components/panel/GridPanel.js
@@ -76,7 +76,7 @@ const GridPanel = /*#__PURE__*/React.forwardRef((props, ref) => {

return /*#__PURE__*/_jsx(GridPanelRoot, _extends({
ref: ref,
- placement: "bottom-start",
+ placement: "top-start",
className: clsx(className, classes.panel),
anchorEl: anchorEl,
modifiers: modifiers
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@
"package-json/got": "^11.8.5",
"http-cache-semantics": "~4.1.1",
"cacheable-request": "^10.2.7",
"@mui/[email protected]": "patch:@mui/base@npm%3A5.0.0-alpha.98#./.yarn/patches/@mui-base-npm-5.0.0-alpha.98-f4d605d753.patch"
"@mui/[email protected]": "patch:@mui/base@npm%3A5.0.0-alpha.98#./.yarn/patches/@mui-base-npm-5.0.0-alpha.98-f4d605d753.patch",
"@mui/x-data-grid@^5.17.4": "patch:@mui/x-data-grid@npm%3A5.17.4#./.yarn/patches/@mui-x-data-grid-npm-5.17.4-542730a19e.patch"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --cache --fix"
Expand Down
20 changes: 19 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4972,7 +4972,7 @@ __metadata:
languageName: node
linkType: hard

"@mui/x-data-grid@npm:^5.17.4":
"@mui/x-data-grid@npm:5.17.4":
version: 5.17.4
resolution: "@mui/x-data-grid@npm:5.17.4"
dependencies:
Expand All @@ -4990,6 +4990,24 @@ __metadata:
languageName: node
linkType: hard

"@mui/x-data-grid@patch:@mui/x-data-grid@npm%3A5.17.4#./.yarn/patches/@mui-x-data-grid-npm-5.17.4-542730a19e.patch::locator=mpdx-react%40workspace%3A.":
version: 5.17.4
resolution: "@mui/x-data-grid@patch:@mui/x-data-grid@npm%3A5.17.4#./.yarn/patches/@mui-x-data-grid-npm-5.17.4-542730a19e.patch::version=5.17.4&hash=362dcd&locator=mpdx-react%40workspace%3A."
dependencies:
"@babel/runtime": ^7.18.9
"@mui/utils": ^5.10.3
clsx: ^1.2.1
prop-types: ^15.8.1
reselect: ^4.1.6
peerDependencies:
"@mui/material": ^5.4.1
"@mui/system": ^5.4.1
react: ^17.0.2 || ^18.0.0
react-dom: ^17.0.2 || ^18.0.0
checksum: 0c31923597e605528d3ce17e40eca4f97519af7174b768f5530d85fb7764194c75e22eb63252ddff5e455a236afc497a826de9b4eb722965519f2b1efaaef928
languageName: node
linkType: hard

"@mui/x-date-pickers@npm:^6.19.6":
version: 6.19.6
resolution: "@mui/x-date-pickers@npm:6.19.6"
Expand Down

0 comments on commit 165f309

Please sign in to comment.