Skip to content

Commit

Permalink
Merge commit 'e9d8fa07e1ff979bcaf92837b131cd9e292f0161' into discover…
Browse files Browse the repository at this point in the history
…y-amount
  • Loading branch information
tech-meppem committed Jan 3, 2023
2 parents 0cb3d90 + e9d8fa0 commit 66f8626
Show file tree
Hide file tree
Showing 443 changed files with 8,934 additions and 2,792 deletions.
26 changes: 13 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ jobs:
<<: *defaults
resource_class: 'medium+'
docker:
- image: mcr.microsoft.com/playwright:v1.28.1-focal
- image: mcr.microsoft.com/playwright:v1.29.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand Down Expand Up @@ -378,7 +378,7 @@ jobs:
test_e2e:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.28.1-focal
- image: mcr.microsoft.com/playwright:v1.29.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -397,7 +397,7 @@ jobs:
test_e2e_website:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.28.1-focal
- image: mcr.microsoft.com/playwright:v1.29.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -412,7 +412,7 @@ jobs:
test_profile:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.28.1-focal
- image: mcr.microsoft.com/playwright:v1.29.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -439,7 +439,7 @@ jobs:
test_regressions:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.28.1-focal
- image: mcr.microsoft.com/playwright:v1.29.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand Down Expand Up @@ -493,7 +493,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack4/
docker:
- image: mcr.microsoft.com/playwright:v1.28.1-focal
- image: mcr.microsoft.com/playwright:v1.29.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -517,7 +517,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack5/
docker:
- image: mcr.microsoft.com/playwright:v1.28.1-focal
- image: mcr.microsoft.com/playwright:v1.29.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -541,7 +541,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/create-react-app/
docker:
- image: mcr.microsoft.com/playwright:v1.28.1-focal
- image: mcr.microsoft.com/playwright:v1.29.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -565,7 +565,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/snowpack/
docker:
- image: mcr.microsoft.com/playwright:v1.28.1-focal
- image: mcr.microsoft.com/playwright:v1.29.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -589,7 +589,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/vite/
docker:
- image: mcr.microsoft.com/playwright:v1.28.1-focal
- image: mcr.microsoft.com/playwright:v1.29.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -613,7 +613,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/esbuild/
docker:
- image: mcr.microsoft.com/playwright:v1.28.1-focal
- image: mcr.microsoft.com/playwright:v1.29.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand Down Expand Up @@ -641,7 +641,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/gatsby/
docker:
- image: mcr.microsoft.com/playwright:v1.28.1-focal
- image: mcr.microsoft.com/playwright:v1.29.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand Down Expand Up @@ -743,7 +743,7 @@ jobs:
test_benchmark:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.28.1-focal
- image: mcr.microsoft.com/playwright:v1.29.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-check.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow is a workaround for ci.yml to bypass the github checks
#
# Ref: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: CI
name: CI Check

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- run: echo "${{ github.actor }}"
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
with:
# fetch all tags which are required for `yarn release:changelog`
fetch-depth: 0
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@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@a669cc5936cc5e1b6a362ec1ff9e410dc570d190 # v2.1.36
uses: github/codeql-action/init@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # v2.1.37
with:
languages: typescript
config-file: ./.github/codeql/codeql-config.yml
Expand All @@ -30,4 +30,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@a669cc5936cc5e1b6a362ec1ff9e410dc570d190 # v2.1.36
uses: github/codeql-action/analyze@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # v2.1.37
6 changes: 3 additions & 3 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
with:
persist-credentials: false

- name: Run analysis
uses: ossf/scorecard-action@99c53751e09b9529366343771cc321ec74e9bd3d # v2.0.6
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -43,6 +43,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@6856c22f5f5e3b8a6d962072aab8b196d5c31952 # v1.1.36
uses: github/codeql-action/upload-sarif@4b3fd9198891cf782111537728021ffc6ae722ba # v1.1.37
with:
sarif_file: results.sarif
127 changes: 127 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,132 @@
# [Versions](https://mui.com/versions/)

## 5.11.2

<!-- generated comparing v5.11.1..master -->

_Dec 26, 2022_

A big thanks to the 20 contributors who made this release possible. Here are some highlights ✨:

- ⚙️ Several MUI Base components were converted to TypeScript by @trizotti, @leventdeniz and @danhuynhdev (#35005, #34793, #34771)
- Many other 🐛 bug fixes abd 📚 documentation improvements.

### `@mui/[email protected]`

- &#8203;<!-- 10 -->[l10n] Add displayed rows label to `faIR` locale (#35587) @hootan-rocky
- &#8203;<!-- 09 -->[l10n] Add Kurdish (Kurmanji) locale (#32508) @JagarYousef
- &#8203;<!-- 06 -->[Select] Accept non-component children (#33530) @boutahlilsoufiane
- &#8203;<!-- 05 -->[SelectInput] Update menu to use select wrapper as anchor (#34229) @EduardoSCosta
- &#8203;<!-- 03 -->[TableCell] Fix `scope` prop to be not set when a data cell is rendered within a table head (#35559) @sai6855

### `@mui/[email protected]`

- &#8203;<!-- 02 -->[utils] `mergedeep` deeply clones source key if it's an object (#35364) @sldk-yuri

### `@mui/[email protected]`

- &#8203;<!-- 16 -->[FocusTrap][base] Convert code to TypeScript (#35005) @trizotti
- &#8203;<!-- 08 -->[Modal][base] Convert code to TypeScript (#34793) @leventdeniz
- &#8203;<!-- 07 -->[Popper][base] Convert code to TypeScript (#34771) @danhuynhdev
- &#8203;<!-- 04 -->[Slider] Exclude `isRtl` from Material UI's Slider props (#35564) @michaldudak

### `@mui/[email protected]`

- &#8203;<!-- 15 -->[Joy] Fix radius adjustment (#35629) @siriwatknp
- &#8203;<!-- 14 -->[Joy] Apply color inversion to components (#34602) @siriwatknp
- &#8203;<!-- 13 -->[Joy] Improve cursor pointer and add fallback for outlined variant (#35573) @siriwatknp
- &#8203;<!-- 12 -->[Joy] Miscellaneous fixes (#35552) @siriwatknp
- &#8203;<!-- 11 -->[Radio][joy] Use precise dimensions for radio icon (#35548) @hbjORbj

### `@mui/[email protected]`

- &#8203;<!-- 36 -->[Material You] Update Button test & add active class name (#35497) @mnajdova

### Docs

- &#8203;<!-- 35 -->[docs] Fix GoogleMaps demo (#35545) @hbjORbj
- &#8203;<!-- 25 -->[docs] Remove flow, its legacy (#35624) @oliviertassinari
- &#8203;<!-- 24 -->[docs] Add a guide on using icon libraries with Joy UI (#35377) @siriwatknp
- &#8203;<!-- 23 -->[docs] Clarify comment about `sortStability()` use case (#35570) @frontendlane
- &#8203;<!-- 22 -->[docs] Improve the experimental API demos on the button page (#35560) @mnajdova
- &#8203;<!-- 21 -->[docs] Force `light` theme mode when `activePage` is null (#35575) @LukasTy
- &#8203;<!-- 20 -->[docs] Fix ListItem button deprecated use (#33970) @MickaelAustoni
- &#8203;<!-- 19 -->[docs] Fix typo in `Progress` docs (#35553) @jasonsturges
- &#8203;<!-- 18 -->[docs] Remove empty tags on the TransferList demos (#33127) @ekusiadadus
- &#8203;<!-- 17 -->[docs][joy] Add documentation for `Stack` component (#35373) @hbjORbj
- &#8203;<!-- 35 -->[docs][joy] Add documentation for `Grid` component (#35374) @hbjORbj
- &#8203;<!-- 01 -->[website] Update sponsor grid (#35452) @danilo-leal

### Core

- &#8203;<!-- 34 -->[core] Shorthand notation to remove outline (#35623) @oliviertassinari
- &#8203;<!-- 33 -->[core] Fix header link layout shift and clash (#35626) @oliviertassinari
- &#8203;<!-- 32 -->[core] Hide keyboard shortcut if no hover feature (#35625) @oliviertassinari
- &#8203;<!-- 31 -->[core] Fix confusing duplicated name in the log @oliviertassinari
- &#8203;<!-- 30 -->[core] Fix API demos callout spacing (#35579) @oliviertassinari
- &#8203;<!-- 29 -->[core] Fix a few title case (#35547) @oliviertassinari
- &#8203;<!-- 28 -->[core] Cleanup mention of test-utils (#35577) @oliviertassinari
- &#8203;<!-- 27 -->[core] Remove oudated pickers prop-type logic (#35571) @oliviertassinari
- &#8203;<!-- 26 -->[core] Exclude documentation of Base props not used in styled libraries (#35562) @michaldudak

All contributors of this release in alphabetical order: @boutahlilsoufiane, @danhuynhdev, @danilo-leal, @EduardoSCosta, @ekusiadadus, @frontendlane, @hbjORbj, @hootan-rocky, @JagarYousef, @jasonsturges, @leventdeniz, @LukasTy, @michaldudak, @MickaelAustoni, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp, @sldk-yuri, @trizotti

## 5.11.1

<!-- generated comparing v5.11.0..master -->

_Dec 20, 2022_

A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:

- 💅 @mnajdova added motion and shape design tokens to Material You package (#35384 and #35393).
- Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure improvements.

### `@mui/[email protected]`

- [Chip] Fix hover and focus style with CSS Variables (#35502) @DimaAbr
- [InputLabel] Enable `size` prop overrides via TypeScript module augmentation (#35460) @MickaelAustoni
- [l10n] Change Kazakh locale name to match ISO-639-1 codes (#34664) @talgautb
- [TextField] Fix error focus style (#35167) @42tte
- [core] Bring `experimental_sx` back with error code (#35528) @siriwatknp

### `@mui/[email protected]`

- [Theme] Merge components and slots props (#35477) @siriwatknp

### `@mui/[email protected]`

- [Material You] Add motion design tokens (#35384) @mnajdova
- [Material You] Add shape design tokens (#35393) @mnajdova

### `@mui/[email protected]`

- [Tooltip] Fix arrow does not appear (#35473) @siriwatknp
- [Input] Fix autofill styles (#35056) @siriwatknp
- [ChipDelete] Add onDelete prop to ChipDelete (#35412) @sai6855

### `@mui/[email protected]`

- [Button][base] Set active class when a subcomponent is clicked (#35410) @michaldudak
- [Popper][base] Fix Tooltip Anchor Element Setter (#35469) @sydneyjodon-wk

### Docs

- [docs] Fixed the `Select` component `onChange` event type in the migration guide (#35509) @tzynwang
- [docs] Add missing comma to `Providing the colors directly` section (#35507) @cassidoo
- [docs] Add `CardMedia` example without `component="img"` prop (#35470) @lucasmfredmark
- [docs] Fix `unstable_sxConfig` typo (#35478) @siriwatknp
- [docs] List component introduction example default code is missing ListItemContent component (#35492) @Miigaarino
- [website] Close our first people role @oliviertassinari
- [website] Update product icons (#35413) @danilo-leal

### Core

- [test] Terminate BrowserStack after 5 minutes (#35454) @oliviertassinari
- [test] Fix broken master branch (#35446) @oliviertassinari

All contributors of this release in alphabetical order: @42tte, @cassidoo, @danilo-leal, @DimaAbr, @lucasmfredmark, @michaldudak, @MickaelAustoni, @Miigaarino, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp, @sydneyjodon-wk, @talgautb, @tzynwang

## 5.11.0

<!-- generated comparing v5.10.17..master -->
Expand Down
14 changes: 7 additions & 7 deletions benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
"server:system": "cd ../ && cross-env NODE_ENV=production BABEL_ENV=benchmark babel-node benchmark/server/scenarios/system.js --inspect=0.0.0.0:9229 --extensions \".tsx,.ts,.js\""
},
"dependencies": {
"@chakra-ui/system": "^2.3.4",
"@chakra-ui/system": "^2.3.5",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mdx-js/react": "^2.1.5",
"@mui/material": "^5.11.0",
"@mui/styles": "^5.11.0",
"@mui/system": "^5.11.0",
"@mdx-js/react": "^2.2.1",
"@mui/material": "^5.11.2",
"@mui/styles": "^5.11.2",
"@mui/system": "^5.11.2",
"@styled-system/css": "^5.1.5",
"benchmark": "^2.1.4",
"playwright": "^1.28.1",
"playwright": "^1.29.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"react-jss": "^10.9.2",
"react-redux": "^7.2.9",
"react-redux": "^8.0.5",
"redux": "^4.2.0",
"serve-handler": "^6.1.5",
"styled-components": "^5.3.6",
Expand Down
4 changes: 2 additions & 2 deletions docs/data/base/components/modal/ServerModal.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from 'react';
import Modal from '@mui/base/ModalUnstyled';
import ModalUnstyled from '@mui/base/ModalUnstyled';
import { Box, styled } from '@mui/system';

const StyledModal = styled(Modal)`
const StyledModal = styled(ModalUnstyled)`
position: fixed;
z-index: 1300;
right: 0;
Expand Down
4 changes: 2 additions & 2 deletions docs/data/base/components/modal/ServerModal.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from 'react';
import Modal from '@mui/base/ModalUnstyled';
import ModalUnstyled from '@mui/base/ModalUnstyled';
import { Box, styled } from '@mui/system';

const StyledModal = styled(Modal)`
const StyledModal = styled(ModalUnstyled)`
position: fixed;
z-index: 1300;
right: 0;
Expand Down
2 changes: 1 addition & 1 deletion docs/data/base/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const pages = [
},
{
pathname: '/base/guides',
title: 'How To Guides',
title: 'How-to guides',
icon: 'VisibilityIcon',
children: [
{
Expand Down
5 changes: 1 addition & 4 deletions docs/data/joy/components/aspect-ratio/CarouselRatio.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ export default function CarouselRatio() {
'--Card-padding': (theme) => theme.spacing(2),
}}
>
<AspectRatio
ratio="1"
sx={{ minWidth: 60, borderRadius: 'sm', overflow: 'auto' }}
>
<AspectRatio ratio="1" sx={{ minWidth: 60 }}>
<img
src={`${item.src}?h=120&fit=crop&auto=format`}
srcSet={`${item.src}?h=120&fit=crop&auto=format&dpr=2 2x`}
Expand Down
5 changes: 1 addition & 4 deletions docs/data/joy/components/aspect-ratio/CarouselRatio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ export default function CarouselRatio() {
'--Card-padding': (theme) => theme.spacing(2),
}}
>
<AspectRatio
ratio="1"
sx={{ minWidth: 60, borderRadius: 'sm', overflow: 'auto' }}
>
<AspectRatio ratio="1" sx={{ minWidth: 60 }}>
<img
src={`${item.src}?h=120&fit=crop&auto=format`}
srcSet={`${item.src}?h=120&fit=crop&auto=format&dpr=2 2x`}
Expand Down
Loading

0 comments on commit 66f8626

Please sign in to comment.