-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into material-you-chip
- Loading branch information
Showing
451 changed files
with
12,584 additions
and
2,816 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,165 @@ | ||
# [Versions](https://mui.com/versions/) | ||
|
||
## 5.14.10 | ||
|
||
<!-- generated comparing v5.14.9..master --> | ||
|
||
_Sep 18, 2023_ | ||
|
||
A big thanks to the 16 contributors who made this release possible. This release was mostly about 🐛 bug fixes and 📚 documentation improvements. | ||
|
||
### `@mui/[email protected]` | ||
|
||
- ​<!-- 20 -->[Chip] Add cursor CSS property reset (#38984) @DiegoAndai | ||
|
||
### `@mui/[email protected]` | ||
|
||
- ​<!-- 05 -->[utils] Move @types/prop-types back to dependencies (#39030) @Methuselah96 | ||
|
||
### `@mui/[email protected]` | ||
|
||
- ​<!-- 24 -->[NumberInput][base-ui] Warn when changing control mode with `useControlled` (#38757) @sai6855 | ||
- ​<!-- 23 -->[Select][base-ui] Fix Select button layout shift, add placeholder prop (#38796) @mj12albert | ||
- ​<!-- 22 -->[useList][base-ui] Accept arbitrary external props and forward to root (#38848) @mj12albert | ||
- ​<!-- 25 -->[Autocomplete][base-ui] Added ref to getInputProps return value (#38919) @DarhkVoyd | ||
|
||
### `@mui/[email protected]` | ||
|
||
- ​<!-- 26 -->[AccordionGroup][joy-ui] Fix console warning when using custom color (#38950) @sai6855 | ||
- ​<!-- 07 -->[GlobalStyles][joy-ui] Ensure compatibility with RSC (#38955) @mateuseap | ||
|
||
### Docs | ||
|
||
- ​<!-- 21 -->[docs][base] Add Tailwind CSS + plain CSS demo on the NumberInput page (#38928) @alisasanib | ||
- ​<!-- 13 -->[docs][Dialog] Add non-modal dialog docs & demo (#38684) @mnajdova | ||
- ​<!-- 12 -->[docs] Fix number input wrong demo @oliviertassinari | ||
- ​<!-- 11 -->[docs] Exclude joy-ui LinearProgressCountup from visual regression (#38969) @siriwatknp | ||
- ​<!-- 09 -->[docs][joy-ui] Revise the Overview page (#38842) @danilo-leal | ||
- ​<!-- 08 -->[docs][material-ui][Pagination] Add `TablePagination` to the API components list (#38486) @MonstraG | ||
|
||
### Core | ||
|
||
- ​<!-- 19 -->[core] Add more context about useEventCallback @oliviertassinari | ||
- ​<!-- 18 -->[core] Allow deeper import of @mui/utils (#38806) @oliviertassinari | ||
- ​<!-- 17 -->[core] Remove react-dom from @mui/utils peerDependencies (#38974) @michaldudak | ||
- ​<!-- 16 -->[core] Remove react from styled-engine dependencies (#38971) @michaldudak | ||
- ​<!-- 15 -->[core] Fix image loading bug on Safari @oliviertassinari | ||
- ​<!-- 14 -->[core] Fix bundle size upload to S3 job (#38956) @Janpot | ||
- ​<!-- 20 -->[core] Move eslint to peer dependencies of eslint-plugin-material-ui (#39033) @michaldudak | ||
- ​<!-- 10 -->[docs-infra] Display markdown lists correctly in docs for props description (#38973) @ZeeshanTamboli | ||
- ​<!-- 04 -->[website] Improve lighthouse score (#39011) @oliviertassinari | ||
- ​<!-- 03 -->[website] Fix lighthouse issues @oliviertassinari | ||
- ​<!-- 02 -->[website] Create the `InfoCard` component (#38987) @danilo-leal | ||
- ​<!-- 01 -->[website] Small tweaks for performance @oliviertassinari | ||
- ​<!-- 06 -->[zero][next] Setup nextjs plugin package (#38852) @brijeshb42 | ||
|
||
All contributors of this release in alphabetical order: @alisasanib, @brijeshb42, @danilo-leal, @DarhkVoyd, @DiegoAndai, @Janpot, @mateuseap, @Methuselah96, @michaldudak, @mj12albert, @mnajdova, @MonstraG, @oliviertassinari, @sai6855, @siriwatknp, @ZeeshanTamboli | ||
|
||
## 5.14.9 | ||
|
||
<!-- generated comparing v5.14.8..master --> | ||
|
||
_Sep 13, 2023_ | ||
|
||
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨: | ||
|
||
- 🎉 Added the [`Drawer` component](https://mui.com/joy-ui/react-drawer/) to Joy UI (#38169) @mnajdova | ||
- ✨ Material UI's [`ButtonGroup` component](https://mui.com/material-ui/react-button-group/) now styles button elements within it correctly (#38520) @ZeeshanTamboli | ||
|
||
### `@mui/[email protected]` | ||
|
||
- ​<!-- 44 -->[ButtonGroup] Determine first, last and middle buttons to support different elements with correct styling (#38520) @ZeeshanTamboli | ||
- ​<!-- 07 -->[Modal] Fix console warning when onTransitionEnter , onTransitionExit provided (#38868) @sai6855 | ||
- ​<!-- 54 -->Revert "[Autocomplete] Type multiple values with readonly arrays." (#38827) @mnajdova | ||
- ​<!-- 57 -->[Tabs] Scrollable tabs shouldn't crash when customizing their styles in the theme with slot callbacks (#38544) @brentertz | ||
- ​<!-- 59 -->[AlertTitle][BreadCrumbs] Fix inheritance message in docs (#38876) @sai6855 | ||
|
||
### `@mui/[email protected]` | ||
|
||
- ​<!-- 63 -->[useSnackbar] Align externalProps handling (#38935) @mj12albert | ||
- ​<!-- 48 -->[useInput] Align ExternalProps naming (#38849) @mj12albert | ||
- ​<!-- 13 -->[FocusTrap] Refactor & cleanup (#38878) @mnajdova | ||
- ​<!-- 12 -->[FocusTrap] Fix `disableEnforceFocus` behavior (#38816) @mnajdova | ||
- ​<!-- 06 -->[Switch] Simplify source (#38910) @oliviertassinari | ||
|
||
### `@mui/[email protected]` | ||
|
||
- ​<!-- 15 -->[Drawer] Add Drawer component (#38169) @mnajdova | ||
- ​<!-- 11 -->Reduce height of some variants (#38527) @zanivan | ||
- ​<!-- 10 -->Refine the default theme color palette (#38416) @zanivan | ||
- ​<!-- 34 -->[Dialog] Add `DialogActions`, `DialogTitle` and `DialogContent` (#38382) @siriwatknp | ||
- ​<!-- 60 -->[AccordionGroup] Add missing `variant` and `color` classes (#38814) @sai6855 | ||
|
||
### `@mui/[email protected]` | ||
|
||
- ​<!-- 09 -->Add TypeScript deprecations (#38833) @oliviertassinari | ||
- ​<!-- 08 -->Fix `@mui/x-tree-view` dependency (#38822) @flaviendelangle | ||
|
||
### `@mui/[email protected]` | ||
|
||
- ​<!-- 05 -->Remove dead code (#38884) @oliviertassinari | ||
- ​<!-- 04 -->Remove getInitColorSchemeScript leading spaces (#38794) @oliviertassinari | ||
|
||
### `@mui/[email protected]` | ||
|
||
- ​<!-- 02 -->[vite] Create a package for vite plugin (#38685) @brijeshb42 | ||
|
||
### Docs | ||
|
||
- ​<!-- 53 -->[docs][base-ui] Improve recommended usage guide (#38570) @oliviertassinari | ||
- ​<!-- 52 -->[docs][base-ui] Create hooks contribution guide (#38679) @michaldudak | ||
- ​<!-- 51 -->[docs][base-ui] Structure and style revisions for Component docs (#38826) @samuelsycamore | ||
- ​<!-- 50 -->[docs][base-ui] Add Number Input to the all components page (#38839) @danilo-leal | ||
- ​<!-- 49 -->[docs][base-ui] Mark Popup with the Preview tag (#38851) @michaldudak | ||
- ​<!-- 47 -->[blog] Polish component reference name @oliviertassinari | ||
- ​<!-- 46 -->[blog] Fix missing card (#38834) @oliviertassinari | ||
- ​<!-- 45 -->[Button][docs][material-ui] Update the file upload demo (#38823) @danilo-leal | ||
- ​<!-- 33 -->[docs][DialogTitle] Fix props docs doesn't mention it extends `Typography` props (#38856) @sai6855 | ||
- ​<!-- 32 -->[docs] Improve npm experience (#38906) @oliviertassinari | ||
- ​<!-- 31 -->[docs] Fix redirection to Base UI URLs @oliviertassinari | ||
- ​<!-- 30 -->[docs] Fix use of callouts (#38747) @oliviertassinari | ||
- ​<!-- 29 -->[docs] Fix 301 links for SEO @oliviertassinari | ||
- ​<!-- 28 -->[docs] Remove flag from installation page @oliviertassinari | ||
- ​<!-- 27 -->[docs] Fix strange break line on mobile in between product name @oliviertassinari | ||
- ​<!-- 26 -->[docs] Clearer npm package homepages (#38864) @oliviertassinari | ||
- ​<!-- 25 -->[docs] enableColorScheme prop was removed (#38795) @oliviertassinari | ||
- ​<!-- 24 -->[docs] Fix a11y issues in tables demos (#38829) @michaldudak | ||
- ​<!-- 62 -->[docs][joy-ui] Refine the Messages template (#38807) @zanivan | ||
- ​<!-- 22 -->[docs][joy-ui] Fix copy on the Tutorial page (#38907) @danilo-leal | ||
- ​<!-- 21 -->[docs][joy-ui] Fix grammar and update Usage section in color inversion page (#38850) @ZeeshanTamboli | ||
- ​<!-- 20 -->[docs][joy-ui] Revise the Lists page (#36324) @LadyBluenotes | ||
- ​<!-- 19 -->[docs][joy-ui] Refine the Profile Dashboard template (#38599) @zanivan | ||
- ​<!-- 18 -->[docs][material-ui] Revise the Paper component docs (#38841) @danilo-leal | ||
- ​<!-- 17 -->[docs][material-ui] Revise the Typography page (#38543) @danilo-leal | ||
- ​<!-- 16 -->[docs][material-ui] Revise and split up "Styled engine" doc (#37774) @samuelsycamore | ||
- ​<!-- 03 -->[TextareaAutosize][docs] Fix component creation in render (#38577) @oliviertassinari | ||
|
||
### Examples | ||
|
||
- ​<!-- 14 -->[examples] Add shortcut to open example in online IDE (#38572) @oliviertassinari | ||
- ​<!-- 61 -->[examples][base-ui] Add Base UI + Vite + Tailwind CSS example in TypeScript (#37595) @dvkam | ||
|
||
### Core | ||
|
||
- ​<!-- 65 -->[core] Remove package declaration from same package dependencies (#38951) @DiegoAndai | ||
- ​<!-- 64 -->[core] Remove workspace dependencies from root package.json (#38940) @michaldudak | ||
- ​<!-- 43 -->[core] Fix prop-types generation (#38831) @flaviendelangle | ||
- ​<!-- 42 -->[core] Move types packages to docs' devDependencies (#38914) @michaldudak | ||
- ​<!-- 41 -->[core] Improve DX when browsing the package on npm and GitHub @oliviertassinari | ||
- ​<!-- 40 -->[core] TrapFocus was renamed to FocusTrap @oliviertassinari | ||
- ​<!-- 39 -->[core] Add types extension for clarity @oliviertassinari | ||
- ​<!-- 38 -->[core] Hoist rewriteImportPaths to parent scope @oliviertassinari | ||
- ​<!-- 37 -->[core] Bump aws-cli orb to 4.1 (#38857) @Janpot | ||
- ​<!-- 36 -->[core] Explicitly define package dependencies (#38859) @michaldudak | ||
- ​<!-- 35 -->[core] Fix yarn docs:create-playground script @oliviertassinari | ||
- ​<!-- 56 -->[docs-infra] Improve show code button affordance (#38824) @danilo-leal | ||
- ​<!-- 55 -->[docs–infra] Fix callout container width (#38880) @oliviertassinari | ||
- ​<!-- 23 -->[docs-infra] Catch duplicated trailing splashes in links (#38758) @oliviertassinari | ||
- ​<!-- 01 -->[website] add Michel Engelen to the about us page (#38818) @michelengelen | ||
- ​<!-- 58 -->[website] Add a templates & design kits section to the Material UI page (#38617) @danilo-leal | ||
|
||
All contributors of this release in alphabetical order: @brentertz, @brijeshb42, @danilo-leal, @DiegoAndai, @dvkam, @flaviendelangle, @Janpot, @LadyBluenotes, @michaldudak, @michelengelen, @mj12albert, @mnajdova, @oliviertassinari, @sai6855, @samuelsycamore, @siriwatknp, @zanivan, @ZeeshanTamboli | ||
|
||
## 5.14.8 | ||
|
||
<!-- generated comparing v5.14.7..master --> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"rules": { | ||
"react/react-in-jsx-scope": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Next App | ||
|
||
A sample vite application to test the working of zero runtime library. | ||
This project is not part of the workspace yet. | ||
|
||
## How to run | ||
|
||
You can either `yarn build` command to build all the packages, or you need to build, the the minimum - | ||
|
||
1. `@mui/zero-runtime` | ||
2. `@mui/zero-tag-processor` | ||
3. `@mui/zero-next-plugin` | ||
|
||
Make sure you have also run `yarn build` at least once because we also use `@mui/material` and `@mui/system` packages. On subsequent runs, you can only build the above packages using - | ||
|
||
```bash | ||
yarn build | ||
``` | ||
|
||
After building, you can run the project by changing into the directory and then | ||
|
||
1. Install dependencies using `yarn install` | ||
2. Start the dev server using `yarn dev` | ||
3. Build the code using `yarn build` | ||
|
||
Optionally, before running the dev server, you can run `yarn vite optimize --force` if it logged some error during `yarn vite`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
const { createTheme } = require('@mui/material/styles'); | ||
const withZero = require('@mui/zero-next-plugin').default; | ||
|
||
const theme = createTheme({ | ||
typography: { | ||
fontFamilyCode: 'Menlo,Consolas,"Droid Sans Mono",monospace', | ||
}, | ||
}); | ||
// @TODO - Make this part of the main package | ||
// @ts-ignore | ||
theme.applyDarkStyles = function applyDarkStyles(obj) { | ||
return { | ||
// @TODO - Use custom stylis plugin as in docs/src/createEmotionCache.ts | ||
// so that we don't need to use * | ||
'* :where([data-mui-color-scheme="dark"]) &': obj, | ||
}; | ||
}; | ||
|
||
/** @type {import('@mui/zero-webpack-plugin').ZeroPluginOptions} */ | ||
const zeroPluginConfig = { | ||
theme, | ||
cssVariablesPrefix: 'app', | ||
displayName: true, | ||
// sourceMap: true, | ||
}; | ||
|
||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
// linaria: zeroPluginConfig, | ||
eslint: { | ||
ignoreDuringBuilds: true, | ||
}, | ||
typescript: { | ||
ignoreBuildErrors: true, | ||
}, | ||
}; | ||
|
||
module.exports = withZero(nextConfig, zeroPluginConfig); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "@app/zero-runtime-next-app", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "next", | ||
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint" | ||
}, | ||
"dependencies": { | ||
"@mui/base": "file:../../packages/mui-base/build", | ||
"@mui/material": "file:../../packages/mui-material/build", | ||
"@mui/utils": "file:../../packages/mui-utils/build", | ||
"@mui/zero-runtime": "file:../../packages/zero-runtime/build", | ||
"next": "13.4.19", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0" | ||
}, | ||
"devDependencies": { | ||
"@mui/zero-tag-processor": "file:../../packages/zero-tag-processor/build", | ||
"@mui/zero-next-plugin": "file:../../packages/zero-next-plugin/build", | ||
"@types/node": "20.5.7", | ||
"@types/react": "18.2.21", | ||
"@types/react-dom": "18.2.7", | ||
"typescript": "5.1.6" | ||
}, | ||
"resolutions": { | ||
"@mui/zero-tag-processor": "file:../../packages/zero-tag-processor/build" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.