Skip to content

Commit

Permalink
Merge branch 'master' into classes
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Aug 29, 2023
2 parents 864c90b + a392609 commit 303de28
Show file tree
Hide file tree
Showing 570 changed files with 46,500 additions and 36,819 deletions.
48 changes: 24 additions & 24 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: 2.1
orbs:
aws-s3: circleci/[email protected]
aws-cli: circleci/[email protected]
aws-s3: circleci/[email protected]

parameters:
browserstack-force:
Expand Down Expand Up @@ -227,7 +228,7 @@ jobs:
name: 'Write "use client" directive'
command: yarn rsc:build
- run:
name: '`yarn rsc:build` changes detected, "use client" missing from exports'
name: '`yarn rsc:build` changes committed?'
command: git add -A && git diff --exit-code --staged
- run:
name: Generate the documentation
Expand Down Expand Up @@ -344,7 +345,7 @@ jobs:
<<: *defaults
resource_class: 'medium+'
docker:
- image: mcr.microsoft.com/playwright:v1.37.0-focal
- image: mcr.microsoft.com/playwright:v1.37.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand Down Expand Up @@ -374,7 +375,7 @@ jobs:
test_e2e:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.37.0-focal
- image: mcr.microsoft.com/playwright:v1.37.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -393,7 +394,7 @@ jobs:
test_e2e_website:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.37.0-focal
- image: mcr.microsoft.com/playwright:v1.37.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -408,7 +409,7 @@ jobs:
test_profile:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.37.0-focal
- image: mcr.microsoft.com/playwright:v1.37.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -435,7 +436,7 @@ jobs:
test_regressions:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.37.0-focal
- image: mcr.microsoft.com/playwright:v1.37.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand Down Expand Up @@ -489,7 +490,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack4/
docker:
- image: mcr.microsoft.com/playwright:v1.37.0-focal
- image: mcr.microsoft.com/playwright:v1.37.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -513,7 +514,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack5/
docker:
- image: mcr.microsoft.com/playwright:v1.37.0-focal
- image: mcr.microsoft.com/playwright:v1.37.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -537,7 +538,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/create-react-app/
docker:
- image: mcr.microsoft.com/playwright:v1.37.0-focal
- image: mcr.microsoft.com/playwright:v1.37.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -561,7 +562,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/snowpack/
docker:
- image: mcr.microsoft.com/playwright:v1.37.0-focal
- image: mcr.microsoft.com/playwright:v1.37.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -585,7 +586,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/vite/
docker:
- image: mcr.microsoft.com/playwright:v1.37.0-focal
- image: mcr.microsoft.com/playwright:v1.37.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand All @@ -609,7 +610,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/esbuild/
docker:
- image: mcr.microsoft.com/playwright:v1.37.0-focal
- image: mcr.microsoft.com/playwright:v1.37.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand Down Expand Up @@ -637,7 +638,7 @@ jobs:
<<: *defaults
working_directory: /tmp/material-ui/test/bundling/fixtures/gatsby/
docker:
- image: mcr.microsoft.com/playwright:v1.37.0-focal
- image: mcr.microsoft.com/playwright:v1.37.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand Down Expand Up @@ -687,11 +688,12 @@ jobs:
pattern: '^pull/.+$'
value: << pipeline.git.branch >>
steps:
- aws-cli/setup:
aws_access_key_id: AWS_ACCESS_KEY_ID_ARTIFACTS
region: AWS_REGION_ARTIFACTS
aws_secret_access_key: AWS_SECRET_ACCESS_KEY_ARTIFACTS
# Upload distributables to S3
- aws-s3/copy:
aws-access-key-id: AWS_ACCESS_KEY_ID_ARTIFACTS
aws-region: AWS_REGION_ARTIFACTS
aws-secret-access-key: AWS_SECRET_ACCESS_KEY_ARTIFACTS
from: mui-material.tgz
to: s3://mui-org-ci/artifacts/$CIRCLE_BRANCH/$CIRCLE_SHA1/
- store_artifacts:
Expand All @@ -715,20 +717,18 @@ jobs:
pattern: '^pull/.+$'
value: << pipeline.git.branch >>
steps:
- aws-cli/setup:
aws_access_key_id: AWS_ACCESS_KEY_ID_ARTIFACTS
region: AWS_REGION_ARTIFACTS
aws_secret_access_key: AWS_SECRET_ACCESS_KEY_ARTIFACTS
# persist size snapshot on S3
- aws-s3/copy:
arguments: --content-type application/json
aws-access-key-id: AWS_ACCESS_KEY_ID_ARTIFACTS
aws-region: AWS_REGION_ARTIFACTS
aws-secret-access-key: AWS_SECRET_ACCESS_KEY_ARTIFACTS
from: size-snapshot.json
to: s3://mui-org-ci/artifacts/$CIRCLE_BRANCH/$CIRCLE_SHA1/
# symlink size-snapshot to latest
- aws-s3/copy:
arguments: --content-type application/json
aws-access-key-id: AWS_ACCESS_KEY_ID_ARTIFACTS
aws-region: AWS_REGION_ARTIFACTS
aws-secret-access-key: AWS_SECRET_ACCESS_KEY_ARTIFACTS
from: size-snapshot.json
to: s3://mui-org-ci/artifacts/$CIRCLE_BRANCH/latest/
- run:
Expand All @@ -739,7 +739,7 @@ jobs:
test_benchmark:
<<: *defaults
docker:
- image: mcr.microsoft.com/playwright:v1.37.0-focal
- image: mcr.microsoft.com/playwright:v1.37.1-focal
environment:
NODE_ENV: development # Needed if playwright is in `devDependencies`
steps:
Expand Down
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ module.exports = {

'material-ui/docgen-ignore-before-comment': 'error',
'material-ui/rules-of-use-theme-variants': 'error',
'material-ui/no-empty-box': 'error',

'react-hooks/exhaustive-deps': ['error', { additionalHooks: 'useEnhancedEffect' }],
'react-hooks/rules-of-hooks': 'error',
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- run: echo "${{ github.actor }}"
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
# fetch all tags which are required for `yarn release:changelog`
fetch-depth: 0
- name: Use Node.js 18.x
uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381 # v3.8.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: 18
cache: 'yarn' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@a09933a12a80f87b87005513f0abb1494c27a716 # v2.21.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mark-duplicate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
issues: write
steps:
- name: mark-duplicate
uses: actions-cool/issues-helper@25379ae1ea683ac484497214db131ab8f003a52b # v3.5.1
uses: actions-cool/issues-helper@5457ae8d7c1dc20597a753501d30183ed8043c8b # v3.5.2
with:
actions: 'mark-duplicate'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
persist-credentials: false

Expand Down
120 changes: 119 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,123 @@
# [Versions](https://mui.com/versions/)

## 5.14.6

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

_Aug 23, 2023_

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

- 🚀 Added the [Popup](https://mui.com/base-ui/react-popup/) component to Base UI (#37960) @michaldudak
It's intended to replace the Popper component, which uses the deprecated Popper JS library. The Popup is built on top of Floating UI and has a similar API to the Popper.
- 🚀 Added the [Accordion](https://mui.com/joy-ui/react-accordion/) component to Joy UI (#38164) @siriwatknp
- 🚀 Added InputBase and ButtonBase components to `material-next` (#38319) @DiegoAndai @mj12albert
- 🔋 First iteration on the zero-runtime styling engine compatible with Server Components (#38378) @brijeshb42

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

- [Modal] Update it to use the useModal hook (#38498) @mnajdova
- [Select] Add `root` class to `SelectClasses` (#38424) @sai6855
- [Skeleton] Soften the pulse animation (#38506) @oliviertassinari
- [TextField] Fix onClick regressions handling changes (#38474) @mj12albert
- [TextField] Fix TextField onClick test (#38597) @mj12albert

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

- [Popup] New component (#37960) @michaldudak

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

- [Accordion] Add Joy UI Accordion components (#38164) @siriwatknp
- [Select] Add `required` prop (#38167) @siriwatknp
- Miscellaneous fixes (#38462) @siriwatknp

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

- [ButtonBase] Add ButtonBase component (#38319) @DiegoAndai
- [Input] Add InputBase component (#38392) @mj12albert

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

- Implementation of styled tag processor for linaria (#38378) @brijeshb42

### Docs

- [blog] Clarify tree view move @oliviertassinari
- [docs] Improve the "Understanding MUI packages" page images (#38619) @danilo-leal
- [docs][base-ui] Revise the structure of the Component docs (#38529) @samuelsycamore
- [docs][base-ui] Fix Menu Hooks demo (#38479) @homerchen19
- [docs][base-ui] Correct the MUI System quickstart example (#38496) @michaldudak
- [docs][base-ui] Add Tailwind & plain CSS demos for Autocomplete page (#38157) @mj12albert
- [docs][base-ui] Add Tailwind CSS + plain CSS demo on the Input page (#38302) @alisasanib
- [docs][base-ui] Add Tailwind CSS + plain CSS demo on the Snackbar, Badge, Switch pages (#38425) @alisasanib
- [docs][base-ui] Add Tailwind CSS + plain CSS demo on the Slider page (#38413) @alisasanib
- [docs][base-ui] Add Tailwind CSS + plain CSS demo on the Select page (#38367) @alisasanib
- [docs][joy-ui] Fix typo: Classname -> Class name for consistency (#38510) @alexfauquette
- [docs][joy-ui] Revise the theme color page (#38402) @danilo-leal
- [docs][joy-ui] Sort templates by popularity (#38490) @oliviertassinari
- [docs][joy-ui] Fix the `fullWidth` prop description for the Input (#38545) @0xturner
- [docs][joy-ui] Updated the List playground demo (#38499) @zanivan
- [docs][joy-ui] Changed bgcolor of the Playground demo (#38502) @zanivan
- [docs][material-ui] Fix key warning in SimpleDialog demo (#38580) @ZeeshanTamboli
- [docs][material-ui] Fixed Google Fonts link for material two-tone icons in CodeSandbox and Stackblitz (#38247) @ZeeshanTamboli
- [docs][material-ui] Fix the Drawer's `onClose` API docs (#38273) @johnmatthiggins
- [docs][material-ui] Improve nav link tab example (#38315) @oliviertassinari
- [docs][material-ui] Fix missing import in the styled engine guide (#38450) @codersjj
- [docs][material-ui][Dialog] Improve screen reader announcement of Customized Dialog (#38592) @ZeeshanTamboli
- [docs] Add 3rd party libraries integration examples for Joy Input (#38541) @siriwatknp
- [docs] Hide translation call to action (#38449) @cristianmacedo
- [docs] Fix codemod name in changelog of v5.14.4 (#38593) @GresilleSiffle
- [docs] More space for theme builder (#38532) @oliviertassinari
- [docs] Fix the math symbol of the width sx prop range @oliviertassinari
- [docs] Fix typo on a11y section of Tabs @oliviertassinari
- [docs] Clarify System peer dependencies @oliviertassinari
- [docs] Fix horizontal scrollbar @oliviertassinari
- [docs] Code style convention @oliviertassinari
- [docs] Fix typo in Base UI @oliviertassinari
- [docs] Update the backers page (#38505) @danilo-leal
- [docs] Add stray design adjustments to the docs (#38501) @danilo-leal
- [docs] Use IBM Plex Sans in Tailwind CSS demos (#38464) @mnajdova
- [docs] Fix SEO issues reported by ahrefs (#38423) @oliviertassinari

### Examples

- [examples] Start to remove Gatsby (#38567) @oliviertassinari
- [examples][joy-ui] Fix Joy UI example CLI (#38531) @oliviertassinari
- [examples][joy-ui] Improve example when using Next Font (#38540) @mwskwong

### Core

- [CHANGELOG] Fix issues in highlight @oliviertassinari
- [core] Remove redundant `@material-ui/` aliases from regression test webpack config (#38574) @ZeeshanTamboli
- [core] Fix CI error @oliviertassinari
- [core] Remove unnecessary Box (#38461) @oliviertassinari
- [core] Set GitHub Action top level permission @oliviertassinari
- [docs-infra][joy-ui] Polish the usage and CSS vars playgrounds (#38600) @danilo-leal
- [docs-infra] Support link title (#38579) @oliviertassinari
- [docs-infra] Fix ad layout shift (#38622) @oliviertassinari
- [docs-infra] Add light tweaks to the ad container (#38504) @danilo-leal
- [docs-infra] Fix anchor scroll without tabs (#38586) @oliviertassinari
- [docs-infra] Retain velocity animation speed (#38470) @oliviertassinari
- [docs-infra] Follow import and CSS token standard (#38508) @oliviertassinari
- [docs-infra] Add icon to callouts (#38525) @alexfauquette
- [docs-infra] Fix the anchor link on headings (#38528) @danilo-leal
- [docs-infra] Cleanup code on demo code block expansion (#38522) @ZeeshanTamboli
- [docs-infra] Improve the heading buttons positioning (#38428) @danilo-leal
- [docs-infra] Customize the blockquote design (#38503) @danilo-leal
- [docs-infra] Improve the alert before a negative feedback (#38500) @danilo-leal
- [docs-infra] Fix GoogleAnalytics missing event for code copy (#38469) @alexfauquette
- [docs-infra] Improve affordance on the code block expansion (#38421) @danilo-leal
- [website] Fine-tune the branding theme buttons (#38588) @danilo-leal
- [website] Improve the Base UI hero section demo (#38585) @danilo-leal
- [website] Add stray design improvements to the Material UI page (#38590) @danilo-leal
- [website] Fix mobile view Material UI page (#38568) @oliviertassinari
- [website] Fix reference to the data grid @oliviertassinari
- [website] Configure Apple Pay @oliviertassinari
- [website] Fix template link on the homepage (#38471) @danilo-leal

All contributors of this release in alphabetical order: @0xturner, @alexfauquette, @alisasanib, @brijeshb42, @codersjj, @cristianmacedo, @danilo-leal, @DiegoAndai, @GresilleSiffle, @homerchen19, @johnmatthiggins, @michaldudak, @mj12albert, @mnajdova, @mwskwong, @oliviertassinari, @sai6855, @samuelsycamore, @siriwatknp, @zanivan, @ZeeshanTamboli

## 5.14.5

<!-- generated comparing v5.14.4..master -->
Expand Down Expand Up @@ -116,7 +234,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
A codemod is provided to help with the migration:

```bash
npx @mui/codemod v5.0.0/base-use-named-imports <path>
npx @mui/codemod v5.0.0/base-use-named-exports <path>
```

#### Changes
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.old.md
Original file line number Diff line number Diff line change
Expand Up @@ -6156,7 +6156,7 @@ A big thanks to the 18 contributors who made this release possible!
Here are some highlights ✨:

- 💅 Update the Typography implementation to better follow the specification (#12916) @eps1lon.
- 📝 Enable [translating the documentation into Chinese](https://translate.mui.com) @mbrookes.
- 📝 Enable [translating the documentation into Chinese](https://crowdin.com/project/material-ui-docs) @mbrookes.
- 📝 Fix many SEO issues of the docs.
- And many more bug fixes 🐛 and documentation improvements.

Expand Down
13 changes: 8 additions & 5 deletions apps/zero-runtime-vite-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,22 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite"
"dev": "vite",
"build": "vite build"
},
"dependencies": {
"@mui/zero-runtime": "file:../../packages/zero-runtime/build",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.22.10",
"@linaria/vite": "^4.5.4",
"@mui/utils": "^5.14.5",
"@mui/material": "^5.14.5",
"@mui/utils": "^5.14.6",
"@mui/material": "^5.14.6",
"@mui/zero-tag-processor": "file:../../packages/zero-tag-processor/build",
"vite": "4.4.9",
"@vitejs/plugin-react": "^4.0.4"
"@types/babel__core": "^7.20.1",
"@vitejs/plugin-react": "^4.0.4",
"vite": "4.4.9"
}
}
Loading

0 comments on commit 303de28

Please sign in to comment.