Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@
"postcss": "^8.5.3",
"prismjs": "^1.30.0",
"prop-types": "^15.8.1",
"react": "^19.0.0",
"react": "^19.1.0",
"react-docgen": "^5.4.3",
"react-dom": "^19.0.0",
"react-dom": "^19.1.0",
"react-hook-form": "^7.54.2",
"react-is": "^19.0.0",
"react-is": "^19.1.0",
"react-router": "^7.4.0",
"react-runner": "^1.0.5",
"react-simple-code-editor": "^0.14.1",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@
"prettier": "^3.5.3",
"pretty-quick": "^4.1.1",
"process": "^0.11.10",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"remark": "^15.0.1",
"rimraf": "^6.0.1",
"serve": "^14.2.4",
Expand All @@ -199,7 +199,7 @@
"yargs": "^17.7.2"
},
"resolutions": {
"react-is": "^19.0.0",
"react-is": "^19.1.0",
"@types/node": "^20.17.25"
},
"packageManager": "pnpm@10.6.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/x-charts-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
"@react-spring/shared": "^9.7.5",
"@types/prop-types": "^15.7.14",
"csstype": "^3.1.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/x-charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
"@types/react-is": "^19.0.0",
"@types/use-sync-external-store": "^0.0.6",
"csstype": "^3.1.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/x-charts/src/hooks/useChartGradientId.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('useChartGradientId', () => {
</ChartDataProvider>,
);

expect(screen.getByText(/:\w+:-gradient-test-id/)).toBeVisible();
expect(screen.getByText(/[«|:]\w+[»|:]-gradient-test-id/)).toBeVisible();
});

describe('useChartGradientIdObjectBound', () => {
Expand All @@ -35,7 +35,7 @@ describe('useChartGradientId', () => {
</ChartDataProvider>,
);

expect(screen.getByText(/:\w+:-gradient-test-id-object-bound/)).toBeVisible();
expect(screen.getByText(/[«|:]\w+[»|:]-gradient-test-id-object-bound/)).toBeVisible();
});
});
});
4 changes: 2 additions & 2 deletions packages/x-data-grid-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"@mui/icons-material": "^7.0.0",
"@mui/material": "^7.0.0",
"@types/chance": "^1.1.6",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/x-data-grid-premium/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
"@types/prop-types": "^15.7.14",
"@types/react-transition-group": "^4.4.12",
"date-fns": "^4.1.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-transition-group": "^4.4.5",
"rimraf": "^6.0.1"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/x-data-grid-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
"@mui/system": "^7.0.0",
"@types/prop-types": "^15.7.14",
"@types/react-transition-group": "^4.4.12",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-transition-group": "^4.4.5",
"rimraf": "^6.0.1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ describe('<DataGridPro /> - Columns', () => {
await act(() => apiRef.current?.showColumnMenu('brand'));
const menu = screen.getByRole('menu');
await waitFor(() => {
expect(menu.id).to.match(/:r[0-9a-z]+:/);
expect(menu.id).to.match(/[«|:]r[0-9a-z]+[»|:]/);
});
expect(menu.getAttribute('aria-labelledby')).to.match(/:r[0-9a-z]+:/);
expect(menu.getAttribute('aria-labelledby')).to.match(/[«|:]r[0-9a-z]+[»|:]/);
Copy link
Member

@oliviertassinari oliviertassinari Apr 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test looks very much like we test implementation details 😁. I imagine we could rewrite it to test what we really want to test and work regardless of what the id structure is.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great point! 💯
@mui/xgrid would it be possible to use the toHaveAccessibleName assertion in this case? 🤔

});
});

Expand Down
4 changes: 2 additions & 2 deletions packages/x-data-grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
"@mui/types": "^7.3.1",
"@types/prop-types": "^15.7.14",
"@types/use-sync-external-store": "^0.0.6",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/x-date-pickers-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@
"dayjs": "^1.11.13",
"luxon": "^3.5.0",
"moment": "^2.30.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/x-date-pickers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@
"moment-hijri": "^3.0.0",
"moment-jalaali": "^0.10.4",
"moment-timezone": "^0.5.47",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/x-internals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
},
"devDependencies": {
"@mui/internal-test-utils": "^2.0.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/x-license/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
},
"devDependencies": {
"@mui/internal-test-utils": "^2.0.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/x-tree-view-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"@mui/system": "^7.0.0",
"@types/prop-types": "^15.7.14",
"@types/use-sync-external-store": "^0.0.6",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/x-tree-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
"@mui/system": "^7.0.0",
"@types/prop-types": "^15.7.14",
"@types/use-sync-external-store": "^0.0.6",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1"
},
"engines": {
Expand Down
Loading