Skip to content

Commit

Permalink
Merge branch 'master' into picker-valid-date
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Sep 30, 2024
2 parents bc47e6d + 7a515d8 commit 2cf82e0
Show file tree
Hide file tree
Showing 43 changed files with 477 additions and 470 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cherry-pick-master-to-v6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: ${{ contains(github.event.pull_request.labels.*.name, 'needs cherry-pick') && github.event.pull_request.merged == true }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0
- name: Cherry pick and create the new PR
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cherry-pick-next-to-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
if: ${{ contains(github.event.pull_request.labels.*.name, 'needs cherry-pick') && github.event.pull_request.merged == true }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0
- name: Cherry pick and create the new PR
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@294a9d92911152fe08befb9ec03e240add280cb3 # v3.26.8
uses: github/codeql-action/init@461ef6c76dfe95d5c364de2f431ddbd31a417628 # v3.26.9
with:
languages: typescript
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -29,4 +29,4 @@ jobs:
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@294a9d92911152fe08befb9ec03e240add280cb3 # v3.26.8
uses: github/codeql-action/analyze@461ef6c76dfe95d5c364de2f431ddbd31a417628 # v3.26.9
4 changes: 2 additions & 2 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
(github.event_name == 'pull_request' && github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'component: charts'))
}}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
run_install: false
- name: Use Node.js 20.x
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 20
cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/l10n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
issues: write
steps:
- run: echo "${{ github.actor }}"
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
run_install: false
- name: Use Node.js 20.x
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: 20
cache: 'pnpm' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
persist-credentials: false

Expand All @@ -44,6 +44,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@294a9d92911152fe08befb9ec03e240add280cb3 # v3.26.8
uses: github/codeql-action/upload-sarif@461ef6c76dfe95d5c364de2f431ddbd31a417628 # v3.26.9
with:
sarif_file: results.sarif
2 changes: 1 addition & 1 deletion .github/workflows/vale-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: errata-ai/vale-action@38bf078c328061f59879b347ca344a718a736018 # v2.1.0
continue-on-error: true # GitHub Action flag needed until https://github.com/errata-ai/vale-action/issues/89 is fixed
with:
Expand Down
8 changes: 4 additions & 4 deletions docs/data/data-grid/localization/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@
"languageTag": "fr-FR",
"importName": "frFR",
"localeName": "French",
"missingKeysCount": 4,
"missingKeysCount": 0,
"totalKeysCount": 122,
"githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-data-grid/src/locales/frFR.ts"
},
{
"languageTag": "de-DE",
"importName": "deDE",
"localeName": "German",
"missingKeysCount": 4,
"missingKeysCount": 0,
"totalKeysCount": 122,
"githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-data-grid/src/locales/deDE.ts"
},
Expand Down Expand Up @@ -147,7 +147,7 @@
"languageTag": "ja-JP",
"importName": "jaJP",
"localeName": "Japanese",
"missingKeysCount": 5,
"missingKeysCount": 4,
"totalKeysCount": 122,
"githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-data-grid/src/locales/jaJP.ts"
},
Expand Down Expand Up @@ -275,7 +275,7 @@
"languageTag": "vi-VN",
"importName": "viVN",
"localeName": "Vietnamese",
"missingKeysCount": 4,
"missingKeysCount": 0,
"totalKeysCount": 122,
"githubLink": "https://github.com/mui/mui-x/blob/master/packages/x-data-grid/src/locales/viVN.ts"
}
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@babel/core": "^7.25.2",
"@babel/runtime": "^7.25.6",
"@babel/runtime-corejs2": "^7.25.6",
"@docsearch/react": "^3.6.1",
"@docsearch/react": "^3.6.2",
"@emotion/cache": "^11.13.1",
"@emotion/react": "^11.13.3",
"@emotion/server": "^11.11.0",
Expand Down Expand Up @@ -108,7 +108,7 @@
"@types/d3-scale-chromatic": "^3.0.3",
"@types/doctrine": "^0.0.9",
"@types/gtag.js": "^0.0.20",
"@types/lodash": "^4.17.7",
"@types/lodash": "^4.17.9",
"@types/luxon": "^3.4.2",
"@types/moment-hijri": "^2.1.4",
"@types/moment-jalaali": "^0.7.9",
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@
"@playwright/test": "^1.44.1",
"@types/babel__core": "^7.20.5",
"@types/babel__traverse": "^7.20.6",
"@types/chai": "^4.3.19",
"@types/chai": "^4.3.20",
"@types/chai-dom": "^1.11.3",
"@types/fs-extra": "^11.0.4",
"@types/karma": "^6.3.8",
"@types/lodash": "^4.17.7",
"@types/lodash": "^4.17.9",
"@types/mocha": "^10.0.8",
"@types/node": "^20.16.5",
"@types/node": "^20.16.10",
"@types/react": "^18.3.4",
"@types/react-dom": "^18.3.0",
"@types/react-test-renderer": "^18.3.0",
Expand Down Expand Up @@ -137,26 +137,26 @@
"danger": "^12.3.3",
"date-fns-jalali-v3": "npm:[email protected]",
"date-fns-v4": "npm:[email protected]",
"eslint": "^8.57.0",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-webpack": "^0.13.9",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsdoc": "^50.2.4",
"eslint-plugin-jsdoc": "^50.3.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-material-ui": "workspace:^",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react": "^7.37.0",
"eslint-plugin-react-compiler": "0.0.0-experimental-9ed098e-20240725",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-testing-library": "^6.3.0",
"fast-glob": "^3.3.2",
"format-util": "^1.0.5",
"fs-extra": "^11.2.0",
"glob-gitignore": "^1.0.14",
"glob-gitignore": "^1.0.15",
"globby": "^14.0.2",
"html-webpack-plugin": "^5.6.0",
"jsdom": "24.1.3",
Expand All @@ -175,7 +175,7 @@
"mocha": "^10.7.3",
"moment": "^2.30.1",
"moment-timezone": "^0.5.45",
"nyc": "^17.0.0",
"nyc": "^17.1.0",
"prettier": "^3.3.3",
"pretty-quick": "^4.0.0",
"process": "^0.11.10",
Expand All @@ -192,14 +192,14 @@
"typescript": "^5.5.4",
"unist-util-visit": "^5.0.0",
"util": "^0.12.5",
"webpack": "^5.94.0",
"webpack": "^5.95.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"yargs": "^17.7.2"
},
"resolutions": {
"react-is": "^18.3.1",
"@types/node": "^20.16.5"
"@types/node": "^20.16.10"
},
"packageManager": "[email protected]",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/rsc-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
},
"devDependencies": {
"@types/mocha": "^10.0.8",
"@types/node": "^20.16.5"
"@types/node": "^20.16.10"
}
}
2 changes: 1 addition & 1 deletion packages/x-charts-vendor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"d3-format": "^3.1.0",
"d3-path": "^3.1.0",
"d3-time-format": "^4.1.0",
"execa": "^9.3.1",
"execa": "^9.4.0",
"internmap": "^2.0.3",
"rimraf": "^6.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/x-data-grid/src/components/cell/GridCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ const GridCell = React.forwardRef<HTMLDivElement, GridCellProps>(function GridCe
return (
<div
ref={handleRef}
className={clsx(className, classNames, classes.root)}
className={clsx(classes.root, classNames, className)}
role="gridcell"
data-field={field}
data-colindex={colIndex}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const GridBaseColumnHeaders = React.forwardRef<HTMLDivElement, GridBaseCo
return (
<GridColumnHeadersRoot
ref={ref}
className={clsx(className, classes.root)}
className={clsx(classes.root, className)}
ownerState={rootProps}
{...other}
role="presentation"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const GridRoot = React.forwardRef<HTMLDivElement, GridRootProps>(function GridRo
return (
<GridRootStyles
ref={handleRef}
className={clsx(className, classes.root)}
className={clsx(classes.root, className)}
ownerState={ownerState}
{...other}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const GridToolbarContainer = React.forwardRef<HTMLDivElement, GridToolbarContain
return (
<GridToolbarContainerRoot
ref={ref}
className={clsx(className, classes.root)}
className={clsx(classes.root, className)}
ownerState={rootProps}
{...other}
>
Expand Down
2 changes: 1 addition & 1 deletion packages/x-data-grid/src/components/menu/GridMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function GridMenu(props: GridMenuProps) {
return (
<GridMenuRoot
as={rootProps.slots.basePopper}
className={clsx(className, classes.root)}
className={clsx(classes.root, className)}
ownerState={rootProps}
open={open}
anchorEl={target as any}
Expand Down
2 changes: 1 addition & 1 deletion packages/x-data-grid/src/components/panel/GridPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const GridPanel = React.forwardRef<HTMLDivElement, GridPanelProps>((props, ref)
<GridPanelRoot
ref={ref}
placement="bottom-start"
className={clsx(className, classes.panel)}
className={clsx(classes.panel, className)}
ownerState={rootProps}
anchorEl={anchorEl}
modifiers={modifiers}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function GridPanelContent(props: React.HTMLAttributes<HTMLDivElement> & { sx?: S

return (
<GridPanelContentRoot
className={clsx(className, classes.root)}
className={clsx(classes.root, className)}
ownerState={rootProps}
{...other}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function GridPanelFooter(props: React.HTMLAttributes<HTMLDivElement> & { sx?: Sx

return (
<GridPanelFooterRoot
className={clsx(className, classes.root)}
className={clsx(classes.root, className)}
ownerState={rootProps}
{...other}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function GridPanelHeader(props: React.HTMLAttributes<HTMLDivElement> & { sx?: Sx

return (
<GridPanelHeaderRoot
className={clsx(className, classes.root)}
className={clsx(classes.root, className)}
ownerState={rootProps}
{...other}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const GridPanelWrapper = React.forwardRef<HTMLDivElement, GridPanelWrapperProps>
<GridPanelWrapperRoot
ref={ref}
tabIndex={-1}
className={clsx(className, classes.root)}
className={clsx(classes.root, className)}
ownerState={rootProps}
{...other}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function GridToolbarQuickFilter(props: GridToolbarQuickFilterProps) {
variant="standard"
value={searchValue}
onChange={handleSearchValueChange}
className={clsx(className, classes.root)}
className={clsx(classes.root, className)}
placeholder={apiRef.current.getLocaleText('toolbarQuickFilterPlaceholder')}
aria-label={apiRef.current.getLocaleText('toolbarQuickFilterLabel')}
type="search"
Expand Down
8 changes: 4 additions & 4 deletions packages/x-data-grid/src/locales/deDE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ const deDEGrid: Partial<GridLocaleText> = {

// Filter operators text
filterOperatorContains: 'enthält',
// filterOperatorDoesNotContain: 'does not contain',
filterOperatorDoesNotContain: 'enthält nicht',
filterOperatorEquals: 'ist gleich',
// filterOperatorDoesNotEqual: 'does not equal',
filterOperatorDoesNotEqual: 'ist ungleich',
filterOperatorStartsWith: 'beginnt mit',
filterOperatorEndsWith: 'endet mit',
filterOperatorIs: 'ist',
Expand All @@ -81,9 +81,9 @@ const deDEGrid: Partial<GridLocaleText> = {

// Header filter operators text
headerFilterOperatorContains: 'Enthält',
// headerFilterOperatorDoesNotContain: 'Does not contain',
headerFilterOperatorDoesNotContain: 'Enthält nicht',
headerFilterOperatorEquals: 'Gleich',
// headerFilterOperatorDoesNotEqual: 'Does not equal',
headerFilterOperatorDoesNotEqual: 'Ungleich',
headerFilterOperatorStartsWith: 'Beginnt mit',
headerFilterOperatorEndsWith: 'Endet mit',
headerFilterOperatorIs: 'Ist',
Expand Down
8 changes: 4 additions & 4 deletions packages/x-data-grid/src/locales/frFR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ const frFRGrid: Partial<GridLocaleText> = {

// Filter operators text
filterOperatorContains: 'contient',
// filterOperatorDoesNotContain: 'does not contain',
filterOperatorDoesNotContain: 'ne contient pas',
filterOperatorEquals: 'est égal à',
// filterOperatorDoesNotEqual: 'does not equal',
filterOperatorDoesNotEqual: "n'est pas égal à",
filterOperatorStartsWith: 'commence par',
filterOperatorEndsWith: 'se termine par',
filterOperatorIs: 'est',
Expand All @@ -81,9 +81,9 @@ const frFRGrid: Partial<GridLocaleText> = {

// Header filter operators text
headerFilterOperatorContains: 'Contient',
// headerFilterOperatorDoesNotContain: 'Does not contain',
headerFilterOperatorDoesNotContain: 'Ne contient pas',
headerFilterOperatorEquals: 'Est égal à',
// headerFilterOperatorDoesNotEqual: 'Does not equal',
headerFilterOperatorDoesNotEqual: "N'est pas égal à",
headerFilterOperatorStartsWith: 'Commence par',
headerFilterOperatorEndsWith: 'Se termine par',
headerFilterOperatorIs: 'Est',
Expand Down
2 changes: 1 addition & 1 deletion packages/x-data-grid/src/locales/jaJP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const jaJPGrid: Partial<GridLocaleText> = {
columnsManagementSearchTitle: '検索',
columnsManagementNoColumns: 'カラムなし',
columnsManagementShowHideAllText: 'すべて表示/非表示',
// columnsManagementReset: 'Reset',
columnsManagementReset: 'リセット',

// Filter panel text
filterPanelAddFilter: 'フィルター追加',
Expand Down
Loading

0 comments on commit 2cf82e0

Please sign in to comment.