worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
809
node_modules/@mui/private-theming/CHANGELOG.md
generated
vendored
Normal file
809
node_modules/@mui/private-theming/CHANGELOG.md
generated
vendored
Normal file
|
|
@ -0,0 +1,809 @@
|
|||
# [Versions](https://mui.com/versions/)
|
||||
|
||||
## 7.3.1
|
||||
|
||||
<!-- generated comparing v7.3.0..master -->
|
||||
|
||||
_Aug 6, 2025_
|
||||
|
||||
A big thanks to the 2 contributors who made this release possible.
|
||||
|
||||
### `@mui/material@7.3.1`
|
||||
|
||||
- [PaginationItem] Fix inheritance of component (#46666) @sai6855
|
||||
- [Select] Revert - Implement pointer cancellation PR 45789 (#46672) @ZeeshanTamboli
|
||||
|
||||
All contributors of this release in alphabetical order: @sai6855, @ZeeshanTamboli
|
||||
|
||||
## 7.3.0
|
||||
|
||||
<!-- generated comparing v7.2.0..master -->
|
||||
|
||||
_Aug 5, 2025_
|
||||
|
||||
A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
|
||||
|
||||
- 🚀 Shipped `nativeColor` feature that eliminates JS color manipulation and unlocks support for all modern color spaces (#43942) @siriwatknp!
|
||||
|
||||
To learn more, check out the [Native Color](https://mui.com/material-ui/customization/css-theme-variables/native-color/) guide.
|
||||
|
||||
### `@mui/material@7.3.0`
|
||||
|
||||
- Support native color without JS manipulation (#43942) @siriwatknp
|
||||
- [Accordion] Add `region` slot (#46659) @sai6855
|
||||
- [SpeedDial] Fix navigation with arrow keys when slotProps.fab is defined (#46508) @sai6855
|
||||
- [Select] Improve `MenuProps.slotProps` implementation (#46612) @ZeeshanTamboli
|
||||
- [Select] Implement pointer cancellation (#45789) @Kartik-Murthy
|
||||
- [Switch] Add role="switch" (#46482) @ZeeshanTamboli
|
||||
- [Autocomplete] Fix auto highlight when options change but not the length (#46489) @yafeng-c
|
||||
|
||||
### `@mui/codemod@7.3.0`
|
||||
|
||||
- Fix `v5.0.0/top-level-imports` codemod changing color imports (#46405) @AidanLDev
|
||||
|
||||
### Docs
|
||||
|
||||
- Add JetBrains IDEs MCP configuration (#46470) @bernardobelchior
|
||||
- Add warning to array spacing section (#46542) @cherniavskii
|
||||
- Add MCP server installation details for Claude Code (#46621) @saschabratton
|
||||
- Fix incorrect command for MCP Inspector in mcp.md (#46630) @EndiM
|
||||
- Fix incorrect Typography override example for responsive styles (#46558) @aditi291soni
|
||||
- Improve MCP docs (#46557) @siriwatknp
|
||||
- Fix displaying of components in dark mode (#46544) @sai6855
|
||||
- Generate `template` entries about documented generics (#46540) @LukasTy
|
||||
- Use fixed dates for stable CRUD dashboard screenshots (#46546) @apedroferreira
|
||||
- Add "Edit in Mui Chat" button on demos (#46480) @siriwatknp
|
||||
- Fix Menu customization demo (#46535) @siriwatknp
|
||||
- Add dashboard with CRUD template based on Toolpad Core (#46376) @apedroferreira
|
||||
- Clarify `createTheme` warning for future compatibility (#46476) @satendra03
|
||||
- Remove typo in `_redirects` (#46463) @bharatkashyap
|
||||
- Change API docs to stay inside Material UI (#46414) @bharatkashyap
|
||||
- [Dialog] Fix Form dialog demo's actions button padding (#46506) @frontman-git
|
||||
- [SpeedDial] Remove deprecated props from demos (#46485) @sai6855
|
||||
- [Switch] Use `slotProps.input` instead of deprecated `inputProps` for accessible controlled switch (#46625) @adiitxa
|
||||
|
||||
### Core
|
||||
|
||||
- Fix ESLint reference name (80d32a2) @oliviertassinari
|
||||
- Fix ESLint reference name (5fc166e) @oliviertassinari
|
||||
- Add `@base-ui-components/*` to env info (#46539) @Janpot
|
||||
- Remove dead property from routes (#46534) @oliviertassinari
|
||||
- Fix unpinned version regression (#46438) @oliviertassinari
|
||||
- [code-infra] Accomodate build requirements from mui-x (#46551) @brijeshb42
|
||||
- [code-infra] Extend renovate preset from infra repo (#46483) @brijeshb42
|
||||
- [code-infra] Use flat eslint config (#46258) @brijeshb42
|
||||
- [docs-infra] Remove comment saving in G-sheet option (#46617) @alexfauquette
|
||||
- [docs-infra] Move `Open in MUI Chat` to Demo toolbar and adjust styles (#46579) @siriwatknp
|
||||
- [docs-infra] Fix codeblock issues (#46323) @atharva3333
|
||||
- [docs-infra] Handle white spaces and generate either TS or JS demo for llms files (#46494) @siriwatknp
|
||||
- [examples] Rename PopOverMenu.tsx file to match its usage (#46532) @rjray
|
||||
- [infra] Fix `test_types_next`, `test_react_18`, `test_react_next` jobs (#46182) @Janpot
|
||||
- [infra] Remove package.json `module` field (#46620) @Janpot
|
||||
- [infra] Upgrade form-data to >4.0.4 (#46618) @Janpot
|
||||
- [infra] Use cpu option only in CI (#46588) @Janpot
|
||||
- [infra] Update scripts to delete publishConfig.directory (#46563) @brijeshb42
|
||||
- [infra] Remove `transform-runtime` from `next/babel` (#46552) @Janpot
|
||||
- [infra] Revert nx update (#46538) @Janpot
|
||||
- [infra] Replace Argos script with code-infra CLI and update deps (#46475) @Janpot
|
||||
- [infra] Update node group in renovate config (#46474) @Janpot
|
||||
- [infra] Move @playwright/test to peer deps in @mui/internal-test-utils (#46459) @Janpot
|
||||
- [infra] Add instructions for patch release (#46382) @mnajdova
|
||||
|
||||
All contributors of this release in alphabetical order: @adiitxa, @aditi291soni, @AidanLDev, @alexfauquette, @apedroferreira, @atharva3333, @bernardobelchior, @bharatkashyap, @brijeshb42, @cherniavskii, @EndiM, @frontman-git, @Janpot, @Kartik-Murthy, @LukasTy, @mnajdova, @oliviertassinari, @rjray, @sai6855, @saschabratton, @satendra03, @siriwatknp, @yafeng-c, @ZeeshanTamboli
|
||||
|
||||
## 7.2.0
|
||||
|
||||
<!-- generated comparing v7.1.1..master -->
|
||||
|
||||
_Jun 26, 2025_
|
||||
|
||||
A big thanks to the 17 contributors who made this release possible. Here are the highlights ✨:
|
||||
|
||||
- ⚡️ Added `modularCssLayers` theme option for splitting styles into multiple CSS layers (#46001) @siriwatknp.
|
||||
- 📖 Added example for using Material UI with React Router v7 (#46406) @siriwatknp.
|
||||
|
||||
### `@mui/material@7.2.0`
|
||||
|
||||
- [Backdrop] Fix handling of `component` prop (#46269) @sai6855
|
||||
- [Chip] Explicitly define line-height (#46260) @DiegoAndai
|
||||
- [Chip] Fix handling on event handlers (#46263) @sai6855
|
||||
- [OutlinedInput][Input] Deprecate composed classes (#46316) @sai6855
|
||||
- [Select] Pass MenuProps.slotProps.list alongside MenuListProps (#46274) @scousino
|
||||
- [l10] Enable `labelDisplayedRows` translation for Romanian (#46377) @dhu-redwoodtech
|
||||
- Skip generating `modularCssLayers` CSS var (#46329) @siriwatknp
|
||||
|
||||
### `@mui/system@7.2.0`
|
||||
|
||||
- Add `modularCssLayers` theme flag to split styles into multiple CSS layers (#46001) @siriwatknp
|
||||
|
||||
### `@mui/styled-engine@7.2.0`
|
||||
|
||||
- Do not reuse the emotion cache across SSR requests (#46276) @robbtraister
|
||||
|
||||
### `@mui/codemod@7.2.0`
|
||||
|
||||
- [Dialog] Add codemod for deprecated props (#46328) @sai6855
|
||||
|
||||
### Docs
|
||||
|
||||
- Don't forward `hasAiSuggestion` (#46415) @bharatkashyap
|
||||
- Add introduction to MCP (#46224) @bharatkashyap
|
||||
- Fallback for searchbar during SSR (#46364) @Janpot
|
||||
- Update InitColorSchemeScript options to match colorSchemeSelector (#46302) @humble-barnacle001
|
||||
- Add `ListItemButton` to make the deprecation clear (#46356) @siriwatknp
|
||||
- Remove "Unstyled" section from component docs (#46272) @mapache-salvaje
|
||||
- Add Testing section to Rating component doc (#46268) @0210shivam
|
||||
- Fix fade modal demo (#46271) @brijeshb42
|
||||
- [ai] Add suggestions to edit with MUI Chat (#46309) @bharatkashyap
|
||||
- [Dialog] Fix form dialog uses ARIA roles on incompatible elements (#46307) @ZeeshanTamboli
|
||||
- [Menu] Fix dark mode styling of grouped header demo (#46317) @sai6855
|
||||
- [TextField] Removed type="number" demos (#46314) @KirankumarAmbati
|
||||
- [examples] Add `material-ui-react-router-ts` example (#46406) @siriwatknp
|
||||
|
||||
### Core
|
||||
|
||||
- pnpm docs:sync-team (3641a0b) @oliviertassinari
|
||||
- Add cross-env to eslint script (#46358) @ZeeshanTamboli
|
||||
- Support merging of className and style from theme (#45975) @sai6855
|
||||
- [code-infra] Create bundle size package (#45911) @Janpot
|
||||
- [docs-infra] Add a script to generate Material UI `llms.txt` and docs markdown. (#46308) @siriwatknp
|
||||
- [docs-infra] Fix stackblitz for js projects (#46220) @Janpot
|
||||
- [infra] Add emotion as external for bundle monitor (#46372) @Janpot
|
||||
- [infra] Create update PR on every canary publish for internal packages (#46367) @Janpot
|
||||
- [infra] Remove deprecated esmExternals (#46365) @Janpot
|
||||
- [infra] Support project-specific changelog in build scripts (#46425) @michaldudak
|
||||
- [toolpad][website] Remove references to Toolpad (#46311) @prakhargupta1
|
||||
|
||||
All contributors of this release in alphabetical order: @0210shivam, @bharatkashyap, @brijeshb42, @dhu-redwoodtech, @DiegoAndai, @humble-barnacle001, @Janpot, @KirankumarAmbati, @mapache-salvaje, @michaldudak, @oliviertassinari, @prakhargupta1, @robbtraister, @sai6855, @scousino, @siriwatknp, @ZeeshanTamboli
|
||||
|
||||
## 7.1.2
|
||||
|
||||
_Jun 18, 2025_
|
||||
|
||||
A big thanks to the 2 contributors who made this release possible.
|
||||
|
||||
### `@mui/material@7.1.2`
|
||||
|
||||
- [Chip] Fix handling on event handlers (#46263) @sai6855
|
||||
|
||||
### Docs
|
||||
|
||||
- Fix fade modal demo (#46271) @brijeshb42
|
||||
|
||||
All contributors of this release in alphabetical order: @brijeshb42, @sai6855
|
||||
|
||||
## 7.1.1
|
||||
|
||||
<!-- generated comparing v7.1.0..master -->
|
||||
|
||||
_May 30, 2025_
|
||||
|
||||
A big thanks to the 15 contributors who made this release possible.
|
||||
|
||||
### `@mui/material@7.1.1`
|
||||
|
||||
- [Autocomplete] Fix label shrink issue when `renderValue` is used with empty array in multiple mode (#46047) @ZeeshanTamboli
|
||||
- [Autocomplete] Prevent `renderValue` from being skipped when value is 0 (#46145) @LakshitAgarwal
|
||||
- [Autocomplete] Add note in JSDoc for non-TextField components in `renderInput` (#46141) @khllbnomrn
|
||||
- [Chip] Add slots and slotProps (#46098) @sai6855
|
||||
- [Menu] Remove depreacted `MenuListProps` from demos (#46144) @sai6855
|
||||
- [TablePaginationActions] Export TablePaginationActions as new component (#46149) @sai6855
|
||||
- [SnackbarContent] Fix `square` prop not working (#46196) @0210shivam
|
||||
- [SnackbarContent] Fix error when theme value is CSS variable (#46198) @0210shivam
|
||||
|
||||
### `@mui/codemod@7.1.1`
|
||||
|
||||
- Add package name option (#45977) @siriwatknp
|
||||
|
||||
### `@mui/system@7.1.1`
|
||||
|
||||
- Skip styled component from being transformed (#46129) @siriwatknp
|
||||
- Update the type for borderRadius (#46154) @codiini
|
||||
|
||||
### `@mui/styled-engine@7.1.1`
|
||||
|
||||
- Fix variant props callback type to spread `ownerState` (#46187) @siriwatknp
|
||||
|
||||
### `@mui/stylis-plugin-rtl@7.1.1`
|
||||
|
||||
- Fix RTL does not work with CSS layer with a new package (#46230) @siriwatknp
|
||||
|
||||
### Docs
|
||||
|
||||
- [Dialog] Remove deprecated TransitionComponent from demo (#46185) @sai6855
|
||||
- [Grid] Remove direction `column` and `column-reverse` from the demo (#46127) @0210shivam
|
||||
- [Grid] Update grid migration guide (#46057) @sai6855
|
||||
- [templates] Fix rendering of logos in dark mode (#46221) @sai6855
|
||||
- [ToggleButtonGroup] Add spacing demo (#46058) @sai6855
|
||||
- Fix typo in dark mode docs (#46229) @ZeeshanTamboli
|
||||
- Clarify Next.js + Tailwind CSS v3 integration requirements (#46176) @chaitanyasharma1011
|
||||
- Fix GridLegacy docs order (#46135) @oliviertassinari
|
||||
- Update upgrade guide for resolution of `react-is` (#46002) @siriwatknp
|
||||
- Remove oudated scaffoldhub ad (#46090) @oliviertassinari
|
||||
- Show how to target global state classes with CSS Modules (#45992) @RubemMazzetto
|
||||
|
||||
### Core
|
||||
|
||||
- [code-infra] Add plugin to check for index file access (#46178) @Janpot
|
||||
- [code-infra] Bump eslint to v9 (#46222) @brijeshb42
|
||||
- [code-infra] Move packages to mui/mui-public (#46155) @Janpot
|
||||
- [code-infra] Move `chai` to peerDep (#46227) @JCQuintas
|
||||
- [code-infra] Avoid loading barrel file during type checking (#46177) @Janpot
|
||||
- [code-infra] Remove unnecessary ref from `HighlightedCode` component (#46151) @ZeeshanTamboli
|
||||
- [code-infra] Import mocha type instead of global (#46108) @JCQuintas
|
||||
- [code-infra] Dependabot also create branches (795a481) @oliviertassinari
|
||||
- [code-infra] Avoid running continuous release on forks (#46103) @Janpot
|
||||
- [code-infra] Remove checkout job altogether (#46100) @Janpot
|
||||
- [code-infra] Remove required checkout workflows in circleci (#46099) @Janpot
|
||||
- Run pnpm docs:sync-team (c8f1da5) @oliviertassinari
|
||||
- Upgrade MUI X packages to v8 (#45990) @KenanYusuf
|
||||
- Minor detail to reduce confusion (4c64b72) @oliviertassinari
|
||||
- Update security.md (#45839) @DiegoAndai
|
||||
- Apply yml convention, blank line only at top level (f273220) @oliviertassinari
|
||||
- Add comment that lab should be in alpha (#45999) @oliviertassinari
|
||||
|
||||
All contributors of this release in alphabetical order: @0210shivam, @brijeshb42, @chaitanyasharma1011, @codiini, @DiegoAndai, @Janpot, @JCQuintas, @KenanYusuf, @khllbnomrn, @LakshitAgarwal, @oliviertassinari, @RubemMazzetto, @sai6855, @siriwatknp, @ZeeshanTamboli
|
||||
|
||||
## 7.1.0
|
||||
|
||||
<!-- generated comparing v7.0.2..master -->
|
||||
|
||||
_May 6, 2025_
|
||||
|
||||
A big thanks to the 21 contributors who made this release possible. Here are some highlights ✨:
|
||||
|
||||
- 🎉 Material UI now works with **Tailwind CSS v4**! Check out the [setup guide](https://mui.com/material-ui/integrations/tailwindcss/tailwindcss-v4/).
|
||||
|
||||
### `@mui/material@7.1.0`
|
||||
|
||||
- [InputBase] Text cursor jumps several lines up when inserting text fragment with new line at the end (#45246) @yermartee
|
||||
- [OutlinedInput] Add missing `notchedOutline` slot (#45917) @siriwatknp
|
||||
- [Snackbar] Skip default `onClickAway` behavior when `defaultMuiPrevented` is provided (#45629) @sai6855
|
||||
- [Avatar] Fix img slot types and add missing slots (#45483) @siriwatknp
|
||||
- [Badge] Replace useSlotProps with useSlot hook (#45871) @sai6855
|
||||
- [BottomNavigationAction] Add slots and slotProps (#45776) @sai6855
|
||||
- [CardActionArea] Add slots and slotProps (#45866) @sai6855
|
||||
- [useMediaQuery] Add warning and docs for using `useMediaQuery('print')` (#44790) @good-jinu
|
||||
- Remove unnecessary clsx usages (#46084) @sai6855
|
||||
- Corrected generic type definition in `SelectChangeEvent` (#45941) @SuyashShukla0007
|
||||
- Fix theme object changes between renders (#45863) @siriwatknp
|
||||
|
||||
### `@mui/material-nextjs@7.1.0`
|
||||
|
||||
- Add option to enable CSS layers for pages router (#45596) @siriwatknp
|
||||
- Do not wrap `@layer` order rules in App Router (#45864) @Nayeem-XTREME
|
||||
|
||||
### `@mui/system@7.1.0`
|
||||
|
||||
- Fix `@mui/system` types organization (#45860) @Janpot
|
||||
|
||||
### `@mui/styled-engine@7.1.0`
|
||||
|
||||
- Infer `ownerState` from props in `styled` (#46083) @siriwatknp
|
||||
- Fix style overrides variants type (#45478) @siriwatknp
|
||||
|
||||
### Docs
|
||||
|
||||
- [Avatar] Add avatar upload demo (#45986) @Demianeen
|
||||
- [Dialog] Remove deprecated props usage in demos (#45923) @sai6855
|
||||
- [Menu] Update `paper` slot JSDoc default from `Paper` to `PopoverPaper` (#45722) @andreachiera
|
||||
- [examples] Remove create-react-app usages (#45426) @CodeLeom
|
||||
- Add `AccordionSummary` to the v5 breaking change migration (#45947) @siriwatknp
|
||||
- Update CSS variable usage in migration guide for Pigment CSS (#46033) @sai6855
|
||||
- Fix docs API dark mode color (#46086) @alexfauquette
|
||||
- Add a guide for extending Material UI classes in Tailwind CSS (#46039) @siriwatknp
|
||||
- Add `InitColorSchemeScript` docs and API (#45927) @siriwatknp
|
||||
- Add Tailwind CSS v4 integration guide (#45906) @siriwatknp
|
||||
- Fix 301 links to the system v6 (#45931) @oliviertassinari
|
||||
- Add notification for MUI X v8 announcement (#45942) @joserodolfofreitas
|
||||
- Fix som 301 redirections (ae84b35) @oliviertassinari
|
||||
- Fix some 301 redirections (057384e) @oliviertassinari
|
||||
- Fix logo is not centered on small screens (#45920) @crabsim
|
||||
- Fix line break typo (a2a62d5) @oliviertassinari
|
||||
- Fix markdown typo in templates.md (#45914) @scyzoryck
|
||||
- Add Next.js App Router guide for custom classnames (#45852) @siriwatknp
|
||||
|
||||
### Core
|
||||
|
||||
- [code-infra] Give a stable name to dev tool app (3889ded) @oliviertassinari
|
||||
- [code-infra] Normalize author package in org (8135638) @oliviertassinari
|
||||
- [code-infra] Correct some manually curated .d.ts files (#46054) @Janpot
|
||||
- [code-infra] Align deps versions (#46048) @Janpot
|
||||
- [code-infra] Fix dynamic import in imports resolver (#46046) @Janpot
|
||||
- [code-infra] Eliminate `@mui/utils` deep imports (#46004) @Janpot
|
||||
- [code-infra] Expand renovate.json for react types (#45935) @Janpot
|
||||
- [code-infra] Make Argos upload script reusable (#45883) @Janpot
|
||||
- [code-infra] Disallow redundant window prefixes for globals (#45880) @Janpot
|
||||
- [code-infra] Remove type generation of modern build (#45912) @Janpot
|
||||
- [code-infra] Clean up bundle size checker (#45622) @Janpot
|
||||
- [code-infra] Fix `StrictMode` effects not being called twice in React 19 tests (#45812) @bernardobelchior
|
||||
- [code-infra] Convert `@mui/utils` to typescript (#45671) @Janpot
|
||||
- [docs-infra] Improve export into sandbox package.json (#46044) @oliviertassinari
|
||||
- [docs-infra] Update feedback Node.js to v22 (#46064) @oliviertassinari
|
||||
- [docs-infra] Normalize netlify.toml in org (b101d5c) @oliviertassinari
|
||||
- [docs-infra] Uniformize Vale between repositories (0f79796) @oliviertassinari
|
||||
- [docs-infra] Fix Vale no longer working (#46029) @oliviertassinari
|
||||
- [docs-infra] Remove demo styling switch (#45926) @Janpot
|
||||
- [docs-infra] StackBlitz WebContainer demos (#45924) @Janpot
|
||||
- [docs-infra] Fix feedback management (#45872) @alexfauquette
|
||||
- [test] Replace `playwright` with `@playwright/test` (#45998) @ZeeshanTamboli
|
||||
- Fix internal version duplication (#46051) @oliviertassinari
|
||||
- Avoid the need for `@mui/material/themeCssVarsAugmentation` (#46053) @Janpot
|
||||
- Add security label to dependabot PRs (0a5c027) @oliviertassinari
|
||||
- Remove unecessary versions (#46034) @oliviertassinari
|
||||
- Remove redundant overrides resolver (#45970) @romgrk
|
||||
- Fix duplicate branch reference (#45915) @oliviertassinari
|
||||
- Fix outdated <link rel="shortcut icon" (#45916) @oliviertassinari
|
||||
- Fix redirection chains (#45930) @oliviertassinari
|
||||
- Run pnpm docs:sync-team (beee09f) @oliviertassinari
|
||||
- Add `pkg.pr.new` publishing (#42984) @Aslemammad
|
||||
- Remove @mui/base from the master branch (#45857) @mnajdova
|
||||
|
||||
All contributors of this release in alphabetical order: @alexfauquette, @andreachiera, @Aslemammad, @bernardobelchior, @CodeLeom, @crabsim, @Demianeen, @good-jinu, @Janpot, @joserodolfofreitas, @mnajdova, @Nayeem-XTREME, @oliviertassinari, @renovate[bot], @romgrk, @sai6855, @scyzoryck, @siriwatknp, @SuyashShukla0007, @yermartee, @ZeeshanTamboli
|
||||
|
||||
## 7.0.2
|
||||
|
||||
_Apr 9, 2025_
|
||||
|
||||
A big thanks to the 12 contributors who made this release possible.
|
||||
|
||||
### `@mui/material@7.0.2`
|
||||
|
||||
- [Autocomplete] Add ability to render custom single value (#45387) @ZeeshanTamboli
|
||||
- [Autocomplete] Prevent shrink animation in controlled Autocomplete when initial `value` is provided (#45734) @imadx
|
||||
- [AvatarGroup] Fix `spacing` prop ignoring value `0` (#45799) @Kartik-Murthy
|
||||
- [Dialog] Deprecate composed classes (#45418) @sai6855
|
||||
|
||||
### `@mui/material-nextjs@7.0.2`
|
||||
|
||||
- Fix nonce issues (#45794) @Janpot
|
||||
- Add warnings to nextjs router integration (#45778) @Janpot
|
||||
|
||||
### `@mui/styled-engine@7.0.2`
|
||||
|
||||
- Added caching to `StyledEngineProvider` to improve performance for running tests with Jest (#45846) @siriwatknp
|
||||
|
||||
### Core
|
||||
|
||||
- [blog] Improve upvote video (0646444) @oliviertassinari
|
||||
- [code-infra] Remove webpack aliases (#45841) @Janpot
|
||||
- [code-infra] Remove .tsbuildinfo from build folder (#45727) @Janpot
|
||||
- [code-infra] Stabilize theme viewer screenshot tests (#45768) @Janpot
|
||||
- [code-infra] Remove modern bundles (#45808) @Janpot
|
||||
- Update buildTypes script to optionally remove css imports (#45835) @brijeshb42
|
||||
- Allow repo to be accepted as an argument for releaseTag (#45801) @brijeshb42
|
||||
- Update scripts to support base-ui (#45784) @brijeshb42
|
||||
- Sync scorecards.yml across codebase (4de5076) @oliviertassinari
|
||||
- Remove baseUrl and skipLibCheck (#45806) @Janpot
|
||||
- [docs-infra] Fix redirect styles pages (#45848) @siriwatknp
|
||||
- [docs-infra] Remove false-positive Vale rules (#45843) @oliviertassinari
|
||||
- [docs-infra] Make sure Next.js can find package.json through its aliases (#45840) @Janpot
|
||||
- [docs-infra] Fix Next.js brand name coverage (6915f8d) @oliviertassinari
|
||||
- [docs-infra] Fix layout shift between MIT and commercial pages (#45760) @oliviertassinari
|
||||
- [docs-infra] Non breaking space for ESM (#45758) @oliviertassinari
|
||||
- [support-infra] Remove dead 'workflow_call:' (#45736) @oliviertassinari
|
||||
- [utils] Support cleanup callbacks in useForkRef (#45621) @DiegoAndai
|
||||
|
||||
### Docs
|
||||
|
||||
- Fix pigment vite integration example (#44746) @brijeshb42
|
||||
- Update migration instructions and codemod references for deprecated APIs (#45793) @sai6855
|
||||
- Add TanStack Router routing example (#44930) @vetledv
|
||||
- Fix layout shifting in icons page (#45779) @sai6855
|
||||
- Fix migration instructions (#45762) @oliviertassinari
|
||||
- Fix wrong TypeScript support version (#45761) @oliviertassinari
|
||||
- Fix link to mui-joy/src/styles/components.d.ts (#45763) @oliviertassinari
|
||||
- Fix 301 link (ae94c40) @oliviertassinari
|
||||
- Fix 301 links (abd8f63) @oliviertassinari
|
||||
- Fix 301 redirection (c7658de) @oliviertassinari
|
||||
- [nextjs] Migrate from deprecated "legacyBehavior" prop (#44871) @oliviertassinari
|
||||
- [nextjs] Document CSP for Next.js Pages Router (#45798) @Grohden
|
||||
|
||||
All contributors of this release in alphabetical order: @brijeshb42, @DiegoAndai, @Grohden, @imadx, @Janpot, @Kartik-Murthy, @oliviertassinari, @renovate[bot], @sai6855, @siriwatknp, @vetledv, @ZeeshanTamboli
|
||||
|
||||
## 7.0.1
|
||||
|
||||
<!-- generated comparing v7.0.0..master -->
|
||||
|
||||
_Mar 28, 2025_
|
||||
|
||||
A big thanks to the 7 contributors who made this release possible.
|
||||
|
||||
### `@mui/material@7.0.1`
|
||||
|
||||
- Export ThemeProviderProps (#45701) @aarongarciah
|
||||
- [Fab] Fix default variant text color when using CSS vars (#45714) @aarongarciah
|
||||
- Remove mention of v7 in deprecation messages (#45708) @DiegoAndai
|
||||
- [Popover] Allow `null` in `anchorEl` function return type (#45045) @eduter
|
||||
- Fix missing CSSProperties/MixinOptions types (#45706) @Janpot
|
||||
|
||||
### `@mui/icons-material@7.0.1`
|
||||
|
||||
- [code-infra] Fix icon-material type resolution under `moduleResolution: "node"` (#45704) @Janpot
|
||||
- Bring back individual icon dts (#45711) @Janpot
|
||||
|
||||
### Core
|
||||
|
||||
- Improve the release instructions (#45688) @mnajdova
|
||||
|
||||
### Docs
|
||||
|
||||
- Fix Masonry and Toolpad dark mode demos (#45721) @siriwatknp
|
||||
- Update v7 related copy (#45716) @aarongarciah
|
||||
- Avoid unwanted undefined in page title (#45718) @aarongarciah
|
||||
- Fix joy templates error (#45715) @siriwatknp
|
||||
- Rename GitHub icon import (#45709) @micttyoid
|
||||
- Fix Safari issue in dark mode (#45696) @mnajdova
|
||||
- Fix `Grid`, `GridLegacy`, `Stack`, `Badge`, `Select`, `Autocomplete` demos CSS variables (#45693) @DiegoAndai
|
||||
- Add "Material UI v7 is here" to the notifications (#45694) @DiegoAndai
|
||||
- Fix `Breadcrumbs`, `List`, `Divider`, and `Typography` dark mode demos (#45692) @siriwatknp
|
||||
- Fix Material Icons page in dark mode (#45691) @mnajdova
|
||||
|
||||
All contributors of this release in alphabetical order: @aarongarciah, @DiegoAndai, @eduter, @Janpot, @micttyoid, @mnajdova, @siriwatknp
|
||||
|
||||
## 7.0.0
|
||||
|
||||
<!-- generated comparing v7.0.0-rc.0..master -->
|
||||
|
||||
_Mar 26, 2025_
|
||||
|
||||
🎉 We're happy to announce the stable release of v7.
|
||||
|
||||
- Read the [blog post](https://mui.com/blog/material-ui-v7-is-here/) about the announcement.
|
||||
- Check out the [v7 upgrade guide](https://mui.com/material-ui/migration/upgrade-to-v7/).
|
||||
|
||||
### `@mui/material@7.0.0`
|
||||
|
||||
- [Autocomplete] Fix when `onHighlightChange` is called (#45438) @ZeeshanTamboli
|
||||
- [Tabs] Fix modifier keys + Left/Right Arrow key from being consumed by tab navigation (#45345) @mushfiqbh
|
||||
- Update minimum TypeScript support to 4.9 (#45535) @siriwatknp
|
||||
|
||||
### `@mui/system@7.0.0`
|
||||
|
||||
- [system] Fix palette mode does not change when not using CSS vars (#45660) @siriwatknp
|
||||
|
||||
### `@mui/lab@7.0.0-beta.9`
|
||||
|
||||
- [lab] Remove @mui/base dependency (#45602) @mnajdova
|
||||
|
||||
### Docs
|
||||
|
||||
- [docs] Fix unnecessary redirects for v7 (#45677) @Janpot
|
||||
- [docs] Fix new React project link, CRA deprecated (#45362) @oliviertassinari
|
||||
- [docs] Prepare the v7 upgrade guide for stable release (#45624) @DiegoAndai
|
||||
- [docs] Fix grammatical errors in support.md (#45631) @letianpailove
|
||||
- [docs] Update nextjs font optimization guide (#45600) @IshfaqAhmedProg
|
||||
- [docs] Deprecate Toolpad Studio (#45613) @Janpot
|
||||
- [docs] Sync the mode from page to demos #45661 @siriwatknp
|
||||
|
||||
### Core
|
||||
|
||||
- [blog] v7 stable release (#45623) @DiegoAndai
|
||||
- [code-infra] Disable flaky masonry screenshot (#45678) @Janpot
|
||||
- [code-infra] Migrate regression tests to vite (#44964) @Janpot
|
||||
- [code-infra] Update rollup (#45666) @Janpot
|
||||
- [code-infra] Support `React.ComponentType` in proptypes generation (#45664) @Janpot
|
||||
- [code-infra] Ensure `translations.json` is present in all `@mui/docs` package builds (#45626) @LukasTy
|
||||
- [code-infra] Improve Argos script debuggability (#45619) @Janpot
|
||||
- [code-infra] Reconfigure `react-remove-properties` babel plugin (#45218) @Janpot
|
||||
- [core] Prepare master for v7 stable (#45674) @DiegoAndai
|
||||
- [core] Improve instructions on changing domain (#45637) @mnajdova
|
||||
- [core] Deprecate `ponyfillGlobal` (#45606) @Janpot
|
||||
- [docs-infra] Restructure docs theme context to CSS variables (#45386) @siriwatknp
|
||||
- [styles] Remove code & docs (#45633) @mnajdova
|
||||
|
||||
All contributors of this release in alphabetical order: @DiegoAndai, @IshfaqAhmedProg, @Janpot, @letianpailove, @LukasTy, @mnajdova, @mushfiqbh, @oliviertassinari, @siriwatknp, @ZeeshanTamboli
|
||||
|
||||
## 7.0.0-rc.0
|
||||
|
||||
<!-- generated comparing v7.0.0-beta.4..master -->
|
||||
|
||||
_Mar 18, 2025_
|
||||
|
||||
A big thanks to the 4 contributors who made this release possible.
|
||||
|
||||
### `@mui/material@7.0.0-rc.0`
|
||||
|
||||
- [StepLabel] Add missing root slot (#45603) @sai6855
|
||||
- [Switch] Add slots and slotProps (#45595) @siriwatknp
|
||||
- [utils] Add merging function to `mergeSlotProps` utility (#45543) @siriwatknp
|
||||
|
||||
### Core
|
||||
|
||||
- [blog] Clarify the difference between the two Pro plans (#45266) @oliviertassinari
|
||||
- [code-infra] Allow specifying a custom error formatter module for error minifcation (#45291) @Janpot
|
||||
- [code-infra] Make `getVersionEnvVariables` reusable for other repos (#45562) @Janpot
|
||||
- [code-infra] Update peer dependency of `@mui/utils` in `@mui/docs` (#45561) @Janpot
|
||||
- Add StackBlitz template to issue template (#45504) @Janpot
|
||||
|
||||
All contributors of this release in alphabetical order: @Janpot, @oliviertassinari, @sai6855, @siriwatknp
|
||||
|
||||
## 7.0.0-beta.4
|
||||
|
||||
<!-- generated comparing v7.0.0-beta.3..master -->
|
||||
|
||||
_Mar 13, 2025_
|
||||
|
||||
A big thanks to the 10 contributors who made this release possible.
|
||||
This release contains bug fixes 🐛 and improvements to the new package layout 🏗️.
|
||||
|
||||
### `@mui/material@7.0.0-beta.4`
|
||||
|
||||
- [Accordion] Add missing `root` slot (#45532) @sai6855
|
||||
- [AccordionSummary] Add slots and slotProps (#45559) @sai6855
|
||||
- [ListItemText] Add missing `root` slot (#45540) @sai6855
|
||||
- [SpeedDial] Add missing `root` slot (#45541) @sai6855
|
||||
- [Tooltip] Allow auto placement on tooltip (#45399) @Jtaks
|
||||
- [useScrollTrigger] Do nothing if target is null (#45441) @vipierozan99
|
||||
- [TextareaAutosize] Fix ResizeObserver causing infinite `selectionchange` loop (#45351) @mj12albert
|
||||
- Fix negative input for CSS variables spacing array (#45550) @siriwatknp
|
||||
- Add missing deprecations in deprecations-all file (#45505) @sai6855
|
||||
- Rename some `@mui/material/styles/createTypography` exports (#45558) @Janpot
|
||||
|
||||
### `@mui/icons-material@7.0.0-beta.4`
|
||||
|
||||
- Remove unused icon names from the download script (#45453) @yermartee
|
||||
|
||||
### `@mui/system@7.0.0-beta.4`
|
||||
|
||||
- Prevent nested non-vars theme inheritance (#45545) @siriwatknp
|
||||
- Disable theme recalculation as default behavior (#45405) @siriwatknp
|
||||
- Fix package layout inconsistencies (#45491) @DiegoAndai
|
||||
|
||||
### `@mui/styled-engine@7.0.0-beta.4`
|
||||
|
||||
- Add `enableCssLayer` prop to StyledEngineProvider (#45428) @siriwatknp
|
||||
|
||||
### `@mui/types@7.3.0`
|
||||
|
||||
- [code-infra] Fix type resolution for @mui/types (#45513) @Janpot
|
||||
|
||||
### `@mui/utils@7.0.0-beta.4`
|
||||
|
||||
- Fix package layout inconsistencies (#45491) @DiegoAndai
|
||||
- Use correct iri-reference homepage format (#45472) @dahiro
|
||||
|
||||
### Docs
|
||||
|
||||
- [Backdrop] Fix component name in migration guide (#45506) @sai6855
|
||||
- [TextField] Add HTML input section to TextField page (#45439) @siriwatknp
|
||||
|
||||
### Core
|
||||
|
||||
- [code-infra] Convert a few docs modules to ts (#45548) @Janpot
|
||||
- [code-infra] Remove more CJS modules from the docs (#45557) @Janpot
|
||||
- [code-infra] Remove nested imports from theme augmentation (#45514) @Janpot
|
||||
- [docs-infra] Add @ts-ignore to avoid type checking for MUI X (#45555) @siriwatknp
|
||||
- [blog] Fix author end-of-year updates (#45533) @oliviertassinari
|
||||
|
||||
All contributors of this release in alphabetical order: @dahiro, @DiegoAndai, @Janpot, @Jtaks, @mj12albert, @oliviertassinari, @sai6855, @siriwatknp, @vipierozan99, @yermartee
|
||||
|
||||
## 7.0.0-beta.3
|
||||
|
||||
<!-- generated comparing v7.0.0-beta.2..master -->
|
||||
|
||||
_Mar 5, 2025_
|
||||
|
||||
A big thanks to the 3 contributors who made this release possible.
|
||||
|
||||
### `@mui/material@7.0.0-beta.3`
|
||||
|
||||
- Fix moduleResolution:node for icons (#45444) @Janpot
|
||||
- [ThemeProvider] Add `storageManager` prop to `ThemeProvider` (#45136) @siriwatknp
|
||||
- [Radio] Fix `inputProps` not forwarded (#45471) @siriwatknp
|
||||
|
||||
### `@mui/codemod@7.0.0-beta.3`
|
||||
|
||||
- [codemod] Fix codemods not found (#45473) @DiegoAndai
|
||||
|
||||
All contributors of this release in alphabetical order: @DiegoAndai, @Janpot, @siriwatknp
|
||||
|
||||
## 7.0.0-beta.2
|
||||
|
||||
<!-- generated comparing v7.0.0-beta.1..master -->
|
||||
|
||||
_Feb 27, 2025_
|
||||
|
||||
A big thanks to the 2 contributors who made this release possible.
|
||||
|
||||
### Core
|
||||
|
||||
- [code-infra] Add package.json export (#45433) @Janpot
|
||||
- [blog] React 19 migration for MUI X (#45348) @arminmeh
|
||||
|
||||
All contributors of this release in alphabetical order: @arminmeh, @Janpot
|
||||
|
||||
## 7.0.0-beta.1
|
||||
|
||||
<!-- generated comparing v7.0.0-beta.0..master -->
|
||||
|
||||
_Feb 27, 2025_
|
||||
|
||||
This release fixes incorrect build output from the previous release (`beta.0`).
|
||||
|
||||
### Core
|
||||
|
||||
- [code-infra] Fix build:types script omitting folders with a dot in their name (#45422) @Janpot
|
||||
- [release] Fix versions (#45420) @mj12albert
|
||||
|
||||
All contributors of this release in alphabetical order: @Janpot, @mj12albert
|
||||
|
||||
## 7.0.0-beta.0
|
||||
|
||||
<!-- generated comparing v7.0.0-alpha.2..master -->
|
||||
|
||||
_Feb 26, 2025_
|
||||
|
||||
A big thanks to the 8 contributors who made this release possible.
|
||||
|
||||
### `@mui/material@7.0.0-beta.0`
|
||||
|
||||
- [Modal][Dialog] Remove deprecated `onBackdropClick` (#45395) @DiegoAndai
|
||||
- [Grid] Improve Grid2 upgrade experience (#45304) @DiegoAndai
|
||||
- [Grid] Rename to GridLegacy (#45363) @DiegoAndai
|
||||
- [Grid2] Rename to Grid (#45381) @DiegoAndai
|
||||
- Remove SvgIcon data-testid in production (#45333) @Janpot
|
||||
- Allow nested theme creation with `vars` (#45335) @siriwatknp
|
||||
- [Rating] Deprecate \*Props and complete `slots`, `slotProps` (#45295) @harry-whorlow
|
||||
- [Slider] Fix css class selector in migration guide (#45402) @sai6855
|
||||
- [Slider] Fix spacings in .md files (#45388) @sai6855
|
||||
- [styles] Remove deprecated exports (#45397) @DiegoAndai
|
||||
- [Menu] Deprecate \*Props and complete `slots`, `slotProps` (#44913) @siriwatknp
|
||||
- [StepButton] Remove StepIconButton type (#45396) @DiegoAndai
|
||||
|
||||
### Docs
|
||||
|
||||
- [Autocomplete] Remove unnecessary renderTags prop from Sizes demo (#45401) @ZeeshanTamboli
|
||||
- Add `overriding-component-structure` doc to Material UI (#45186) @siriwatknp
|
||||
- Fix typo in slider docs (#45390) @sai6855
|
||||
- Fix Context Menu selection lost on Safari (#44903) @NooBat
|
||||
|
||||
### Core
|
||||
|
||||
- [code-infra] Fix types for @mui/styled-engine (#45413) @Janpot
|
||||
- [docs-infra] Fix theme toggle call (#45400) @siriwatknp
|
||||
- [docs-infra] Add `color-scheme` to document in iframe demos (#45406) @KenanYusuf
|
||||
- [docs-infra] Revert to use deprecated `CssVarsProvider` for MUI X (#45371) @siriwatknp
|
||||
- [docs-infra] Fix dark mode flicker for API pages (#45354) @siriwatknp
|
||||
- [examples] Remove unnecessary comma in Material UI Vite JS example (#45370) @ZeeshanTamboli
|
||||
- [test] Remove unused renderTags prop and fix key warning in Autocomplete regression test (#45410) @ZeeshanTamboli
|
||||
|
||||
All contributors of this release in alphabetical order: @DiegoAndai, @harry-whorlow, @Janpot, @KenanYusuf, @NooBat, @sai6855, @siriwatknp, @ZeeshanTamboli
|
||||
|
||||
## 7.0.0-alpha.2
|
||||
|
||||
<!-- generated comparing v7.0.0-alpha.1..master -->
|
||||
|
||||
_Feb 18, 2025_
|
||||
|
||||
A big thanks to the 9 contributors who made this release possible.
|
||||
|
||||
### `@mui/material@7.0.0-alpha.2`
|
||||
|
||||
- [Autocomplete] Remove legacy `aria-owns` attribute for combobox (#45302) @ZeeshanTamboli
|
||||
- [Button] Apply id only if loading indicator is present (#45296) @aarongarciah
|
||||
- [Hidden] Remove deprecated Hidden component (#45283) @DiegoAndai
|
||||
- [InputBase] Deprecate composed classes (#45234) @sai6855
|
||||
- [InputLabel] Changed size prop value from `normal` to `medium` (#45235) @perkrlsn
|
||||
- Fix `slotProps.transition` types (#45214) @siriwatknp
|
||||
|
||||
### Docs
|
||||
|
||||
- Fix broken links to MUI X docs (#45145) @mapache-salvaje
|
||||
- Add migration guide for package layout changes (#45222) @Janpot
|
||||
- [icons] Fix typo in material-icons.md (#45334) @a-s-russo
|
||||
|
||||
### Core
|
||||
|
||||
- Disallow access to esm/modern barrel files (#45332) @Janpot
|
||||
- [code-infra] Update `elliptic` (#45311) @Janpot
|
||||
- Update release guide to specify package bumping rules (#45294) @DiegoAndai
|
||||
|
||||
All contributors of this release in alphabetical order: @a-s-russo, @aarongarciah, @DiegoAndai, @Janpot, @mapache-salvaje, @perkrlsn, @sai6855, @siriwatknp, @ZeeshanTamboli
|
||||
|
||||
## 7.0.0-alpha.1
|
||||
|
||||
<!-- generated comparing v7.0.0-alpha.0..master -->
|
||||
|
||||
_Feb 11, 2025_
|
||||
|
||||
A big thanks to the 11 contributors who made this release possible.
|
||||
|
||||
### `@mui/material@7.0.0-alpha.1`
|
||||
|
||||
- [Checkbox] Add slots and slotProps (#44974) @sai6855
|
||||
- [LinearProgress][CircularProgress] Add variant overrides for module augumentation (#45163) @kingflamez
|
||||
- [Drawer] Deprecate \*Props and complete `slots`, `slotProps` (#44960) @siriwatknp
|
||||
- Fix wrong `slotProps` of `DetailsHTMLAttributes` types (#45215) @siriwatknp
|
||||
- [MobileStepper] deprecate `LinearProgressProps` and complete `slots`, `slotProps` (#45033) @siriwatknp
|
||||
- [Radio] Add slots and slotProps (#44972) @sai6855
|
||||
- [Radio] Remove empty line (#45184) @sai6855
|
||||
- [Slider] Deprecate composed classes (#45201) @sai6855
|
||||
- [Snackbar] Fix generated proptypes (#45156) @siriwatknp
|
||||
- [SpeedDialAction] Add slots and slotProps (#45065) @sai6855
|
||||
- [SwitchBase] Fix spreading of `handlers` in getSlotProps (#45197) @sai6855
|
||||
- [Tabs] Deprecate \*Props and complete `slots`, `slotProps` (#45012) @siriwatknp
|
||||
- [TextField] Remove deprecated props from documentation (#45199) @sai6855
|
||||
|
||||
### `@mui/icons-material@7.0.0-alpha.1`
|
||||
|
||||
- Change icon source URL and add overrides (#45020) @siriwatknp
|
||||
|
||||
### `@mui/lab@7.0.0-beta.1`
|
||||
|
||||
- Remove components which were moved from lab to material (#45232) @DiegoAndai
|
||||
|
||||
### Docs
|
||||
|
||||
- [Autocomplete] Improve Google Maps search example (#44708) @oliviertassinari
|
||||
- [Dialog] Removes deprecated PaperProps from docs (#45195) @sai6855
|
||||
- [Menu] Add Grouped Menu demo (#45241) @noobDev31
|
||||
- [material] Add disableInteractive on colorTool grid Tooltips (#37800) @Janpot
|
||||
- [blog] Consistent Base UI terminology (#45264) @oliviertassinari
|
||||
- A quick first step to update docs for Tailwind v4 (#45147) @oliviertassinari
|
||||
- Fix `element.ref` accessing warning on docs (#45155) @DiegoAndai
|
||||
- Mention Toolpad as experimental (#45273) @prakhargupta1
|
||||
- [joy-ui] Update "Set up providers" section of integration with Material UI (#45183) @mateuseap
|
||||
|
||||
### Core
|
||||
|
||||
- Update branch switch tags (#45198) @DiegoAndai
|
||||
- Fix double redirection to Base UI (#45146) @oliviertassinari
|
||||
- Fix corepack and pnpm installation in CircleCI (#45185) @mj12albert
|
||||
- Fix typo on Netlify script (#45278) @maximevtush
|
||||
- [code-infra] Fix testing library resolution with custom react (#44061) @Janpot
|
||||
- [code-infra] Update package layout for better ESM support (#43264) @Janpot
|
||||
- Update `@typescript-eslint/*` packages and remove deprecated `eslint-config-airbnb-typescript` package (#45245) @ZeeshanTamboli
|
||||
- [docs] Restore utility component docs from MUI Base to Material UI (#45213) @mapache-salvaje
|
||||
- [docs] Sync active sponsors (#45204) @oliviertassinari
|
||||
- [docs] Fix links in CONTRIBUTING.md (#45202) @bernardobelchior
|
||||
- [docs-infra] Point to MUI X next docs (#45207) @cherniavskii
|
||||
- [test] Fix React 18 tests (#45161) @DiegoAndai
|
||||
|
||||
All contributors of this release in alphabetical order: @bernardobelchior, @cherniavskii, @DiegoAndai, @Janpot, @kingflamez, @mapache-salvaje, @mateuseap, @maximevtush, @mj12albert, @noobDev31, @oliviertassinari, @prakhargupta1, @sai6855, @siriwatknp, @ZeeshanTamboli
|
||||
|
||||
## 7.0.0-alpha.0
|
||||
|
||||
<!-- generated comparing v6.4.1..master -->
|
||||
|
||||
_Jan 31, 2025_
|
||||
|
||||
A big thanks to the 9 contributors who made this release possible.
|
||||
This is the first alpha release of Material UI v7 🎉.
|
||||
|
||||
### `@mui/material@7.0.0-alpha.0`
|
||||
|
||||
- [Autocomplete] Prevent shrink animation in uncontrolled Autocomplete when default value is set (#44873) @ZeeshanTamboli
|
||||
- [Popover] Deprecate \*Props and complete `slots`, `slotProps` (#45035) @siriwatknp
|
||||
- [Slider] Fix arrow keys past the end for Slider with custom marks (#45050) @joshkel
|
||||
- [SwitchBase] Deprecate `inputProps` and complete slots, slotProps (#45076) @siriwatknp
|
||||
- [TextareaAutosize] Temporarily disconnect ResizeObserver to avoid loop error (#44540) @mj12albert
|
||||
- [Slider] Narrow onChange value type (#44777) @good-jinu
|
||||
- [Snackbar] Add Slots and SlotProps (#45103) @harry-whorlow
|
||||
|
||||
### `@mui/utils@7.0.0-alpha.0`
|
||||
|
||||
- Merge `sx` instead of override when using `mergeSlotProps` (#45062) @siriwatknp
|
||||
|
||||
### Core
|
||||
|
||||
- [code-infra] a few fixes uncovered during ESM updates (#45031) @Janpot
|
||||
- [code-infra] Remove rsc-builder (#45079) @Janpot
|
||||
- [code-infra] Remove commonjs imports in docs (#44976) @Janpot
|
||||
- [docs-infra] Move Ukraine banner to the bottom (#45135) @oliviertassinari
|
||||
- Fix MUI Base vale rule (#45140) @oliviertassinari
|
||||
- Fix missing store contributor renaming (b3d1be0) @oliviertassinari
|
||||
- Fix 404 errors (#45137) @oliviertassinari
|
||||
- Prepare libraries for first v7 alpha release (#45132) @DiegoAndai
|
||||
- Fix CHANGELOG vale failure (#45151) @DiegoAndai
|
||||
|
||||
### Docs
|
||||
|
||||
- Fix `/base-ui` redirect and prune links (#45083) @mj12albert
|
||||
- Add v6 to v7 migration guide (#45143) @DiegoAndai
|
||||
|
||||
All contributors of this release in alphabetical order: @DiegoAndai, @good-jinu, @harry-whorlow, @Janpot, @joshkel, @mj12albert, @oliviertassinari, @siriwatknp, @ZeeshanTamboli
|
||||
|
||||
## Older versions
|
||||
|
||||
Changes before 7.x are listed in our [changelog for older versions](https://github.com/mui/material-ui/blob/HEAD/CHANGELOG.old.md).
|
||||
21
node_modules/@mui/private-theming/LICENSE
generated
vendored
Normal file
21
node_modules/@mui/private-theming/LICENSE
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Call-Em-All
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
3
node_modules/@mui/private-theming/README.md
generated
vendored
Normal file
3
node_modules/@mui/private-theming/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# @mui/private-theming
|
||||
|
||||
The React theme context to be shared between `@mui/styles` and `@mui/material`.
|
||||
6
node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.d.ts
generated
vendored
Normal file
6
node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { DefaultTheme } from "../defaultTheme/index.js";
|
||||
export interface ThemeProviderProps<Theme = DefaultTheme> {
|
||||
children?: React.ReactNode;
|
||||
theme: Partial<Theme> | ((outerTheme: Theme) => Theme);
|
||||
}
|
||||
export default function ThemeProvider<T = DefaultTheme>(props: ThemeProviderProps<T>): React.ReactElement<ThemeProviderProps<T>>;
|
||||
76
node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js
generated
vendored
Normal file
76
node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js
generated
vendored
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
"use strict";
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var React = _interopRequireWildcard(require("react"));
|
||||
var _propTypes = _interopRequireDefault(require("prop-types"));
|
||||
var _exactProp = _interopRequireDefault(require("@mui/utils/exactProp"));
|
||||
var _ThemeContext = _interopRequireDefault(require("../useTheme/ThemeContext"));
|
||||
var _useTheme = _interopRequireDefault(require("../useTheme"));
|
||||
var _nested = _interopRequireDefault(require("./nested"));
|
||||
var _jsxRuntime = require("react/jsx-runtime");
|
||||
// To support composition of theme.
|
||||
function mergeOuterLocalTheme(outerTheme, localTheme) {
|
||||
if (typeof localTheme === 'function') {
|
||||
const mergedTheme = localTheme(outerTheme);
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (!mergedTheme) {
|
||||
console.error(['MUI: You should return an object from your theme function, i.e.', '<ThemeProvider theme={() => ({})} />'].join('\n'));
|
||||
}
|
||||
}
|
||||
return mergedTheme;
|
||||
}
|
||||
return {
|
||||
...outerTheme,
|
||||
...localTheme
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* This component takes a `theme` prop.
|
||||
* It makes the `theme` available down the React tree thanks to React context.
|
||||
* This component should preferably be used at **the root of your component tree**.
|
||||
*/
|
||||
function ThemeProvider(props) {
|
||||
const {
|
||||
children,
|
||||
theme: localTheme
|
||||
} = props;
|
||||
const outerTheme = (0, _useTheme.default)();
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (outerTheme === null && typeof localTheme === 'function') {
|
||||
console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', '<ThemeProvider theme={outerTheme => outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\n'));
|
||||
}
|
||||
}
|
||||
const theme = React.useMemo(() => {
|
||||
const output = outerTheme === null ? {
|
||||
...localTheme
|
||||
} : mergeOuterLocalTheme(outerTheme, localTheme);
|
||||
if (output != null) {
|
||||
output[_nested.default] = outerTheme !== null;
|
||||
}
|
||||
return output;
|
||||
}, [localTheme, outerTheme]);
|
||||
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ThemeContext.default.Provider, {
|
||||
value: theme,
|
||||
children: children
|
||||
});
|
||||
}
|
||||
process.env.NODE_ENV !== "production" ? ThemeProvider.propTypes = {
|
||||
/**
|
||||
* Your component tree.
|
||||
*/
|
||||
children: _propTypes.default.node,
|
||||
/**
|
||||
* A theme object. You can provide a function to extend the outer theme.
|
||||
*/
|
||||
theme: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.func]).isRequired
|
||||
} : void 0;
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
process.env.NODE_ENV !== "production" ? ThemeProvider.propTypes = (0, _exactProp.default)(ThemeProvider.propTypes) : void 0;
|
||||
}
|
||||
var _default = exports.default = ThemeProvider;
|
||||
2
node_modules/@mui/private-theming/ThemeProvider/index.d.ts
generated
vendored
Normal file
2
node_modules/@mui/private-theming/ThemeProvider/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export { default } from "./ThemeProvider.js";
|
||||
export * from "./ThemeProvider.js";
|
||||
20
node_modules/@mui/private-theming/ThemeProvider/index.js
generated
vendored
Normal file
20
node_modules/@mui/private-theming/ThemeProvider/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
"use strict";
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _ThemeProvider.default;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "unstable_nested", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _nested.default;
|
||||
}
|
||||
});
|
||||
var _ThemeProvider = _interopRequireDefault(require("./ThemeProvider"));
|
||||
var _nested = _interopRequireDefault(require("./nested"));
|
||||
8
node_modules/@mui/private-theming/ThemeProvider/nested.js
generated
vendored
Normal file
8
node_modules/@mui/private-theming/ThemeProvider/nested.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
const hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
||||
var _default = exports.default = hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';
|
||||
5
node_modules/@mui/private-theming/defaultTheme/index.d.ts
generated
vendored
Normal file
5
node_modules/@mui/private-theming/defaultTheme/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/**
|
||||
* The default theme interface, augment this to avoid having to set the theme type everywhere.
|
||||
* Our [TypeScript guide on theme customization](https://mui.com/material-ui/customization/theming/#custom-variables) explains in detail how you would add custom properties.
|
||||
*/
|
||||
export interface DefaultTheme {}
|
||||
5
node_modules/@mui/private-theming/defaultTheme/index.js
generated
vendored
Normal file
5
node_modules/@mui/private-theming/defaultTheme/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
6
node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.d.ts
generated
vendored
Normal file
6
node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { DefaultTheme } from "../defaultTheme/index.js";
|
||||
export interface ThemeProviderProps<Theme = DefaultTheme> {
|
||||
children?: React.ReactNode;
|
||||
theme: Partial<Theme> | ((outerTheme: Theme) => Theme);
|
||||
}
|
||||
export default function ThemeProvider<T = DefaultTheme>(props: ThemeProviderProps<T>): React.ReactElement<ThemeProviderProps<T>>;
|
||||
69
node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js
generated
vendored
Normal file
69
node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js
generated
vendored
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
import * as React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import exactProp from '@mui/utils/exactProp';
|
||||
import ThemeContext from "../useTheme/ThemeContext.js";
|
||||
import useTheme from "../useTheme/index.js";
|
||||
import nested from "./nested.js";
|
||||
|
||||
// To support composition of theme.
|
||||
import { jsx as _jsx } from "react/jsx-runtime";
|
||||
function mergeOuterLocalTheme(outerTheme, localTheme) {
|
||||
if (typeof localTheme === 'function') {
|
||||
const mergedTheme = localTheme(outerTheme);
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (!mergedTheme) {
|
||||
console.error(['MUI: You should return an object from your theme function, i.e.', '<ThemeProvider theme={() => ({})} />'].join('\n'));
|
||||
}
|
||||
}
|
||||
return mergedTheme;
|
||||
}
|
||||
return {
|
||||
...outerTheme,
|
||||
...localTheme
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* This component takes a `theme` prop.
|
||||
* It makes the `theme` available down the React tree thanks to React context.
|
||||
* This component should preferably be used at **the root of your component tree**.
|
||||
*/
|
||||
function ThemeProvider(props) {
|
||||
const {
|
||||
children,
|
||||
theme: localTheme
|
||||
} = props;
|
||||
const outerTheme = useTheme();
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (outerTheme === null && typeof localTheme === 'function') {
|
||||
console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', '<ThemeProvider theme={outerTheme => outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\n'));
|
||||
}
|
||||
}
|
||||
const theme = React.useMemo(() => {
|
||||
const output = outerTheme === null ? {
|
||||
...localTheme
|
||||
} : mergeOuterLocalTheme(outerTheme, localTheme);
|
||||
if (output != null) {
|
||||
output[nested] = outerTheme !== null;
|
||||
}
|
||||
return output;
|
||||
}, [localTheme, outerTheme]);
|
||||
return /*#__PURE__*/_jsx(ThemeContext.Provider, {
|
||||
value: theme,
|
||||
children: children
|
||||
});
|
||||
}
|
||||
process.env.NODE_ENV !== "production" ? ThemeProvider.propTypes = {
|
||||
/**
|
||||
* Your component tree.
|
||||
*/
|
||||
children: PropTypes.node,
|
||||
/**
|
||||
* A theme object. You can provide a function to extend the outer theme.
|
||||
*/
|
||||
theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired
|
||||
} : void 0;
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
process.env.NODE_ENV !== "production" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;
|
||||
}
|
||||
export default ThemeProvider;
|
||||
2
node_modules/@mui/private-theming/esm/ThemeProvider/index.d.ts
generated
vendored
Normal file
2
node_modules/@mui/private-theming/esm/ThemeProvider/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export { default } from "./ThemeProvider.js";
|
||||
export * from "./ThemeProvider.js";
|
||||
2
node_modules/@mui/private-theming/esm/ThemeProvider/index.js
generated
vendored
Normal file
2
node_modules/@mui/private-theming/esm/ThemeProvider/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export { default } from "./ThemeProvider.js";
|
||||
export { default as unstable_nested } from "./nested.js";
|
||||
2
node_modules/@mui/private-theming/esm/ThemeProvider/nested.js
generated
vendored
Normal file
2
node_modules/@mui/private-theming/esm/ThemeProvider/nested.js
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
const hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
||||
export default hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';
|
||||
5
node_modules/@mui/private-theming/esm/defaultTheme/index.d.ts
generated
vendored
Normal file
5
node_modules/@mui/private-theming/esm/defaultTheme/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/**
|
||||
* The default theme interface, augment this to avoid having to set the theme type everywhere.
|
||||
* Our [TypeScript guide on theme customization](https://mui.com/material-ui/customization/theming/#custom-variables) explains in detail how you would add custom properties.
|
||||
*/
|
||||
export interface DefaultTheme {}
|
||||
1
node_modules/@mui/private-theming/esm/defaultTheme/index.js
generated
vendored
Normal file
1
node_modules/@mui/private-theming/esm/defaultTheme/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
export {};
|
||||
5
node_modules/@mui/private-theming/esm/index.d.ts
generated
vendored
Normal file
5
node_modules/@mui/private-theming/esm/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
export { default as ThemeProvider } from "./ThemeProvider/index.js";
|
||||
export * from "./ThemeProvider/index.js";
|
||||
export { default as useTheme } from "./useTheme/index.js";
|
||||
export * from "./useTheme/index.js";
|
||||
export * from "./defaultTheme/index.js";
|
||||
10
node_modules/@mui/private-theming/esm/index.js
generated
vendored
Normal file
10
node_modules/@mui/private-theming/esm/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* @mui/private-theming v7.3.1
|
||||
*
|
||||
* @license MIT
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
export { default as ThemeProvider } from "./ThemeProvider/index.js";
|
||||
export * from "./ThemeProvider/index.js";
|
||||
export { default as useTheme } from "./useTheme/index.js";
|
||||
1
node_modules/@mui/private-theming/esm/package.json
generated
vendored
Normal file
1
node_modules/@mui/private-theming/esm/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"type":"module","sideEffects":false}
|
||||
8
node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js
generated
vendored
Normal file
8
node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
'use client';
|
||||
|
||||
import * as React from 'react';
|
||||
const ThemeContext = /*#__PURE__*/React.createContext(null);
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
ThemeContext.displayName = 'ThemeContext';
|
||||
}
|
||||
export default ThemeContext;
|
||||
2
node_modules/@mui/private-theming/esm/useTheme/index.d.ts
generated
vendored
Normal file
2
node_modules/@mui/private-theming/esm/useTheme/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export { default } from "./useTheme.js";
|
||||
export * from "./useTheme.js";
|
||||
1
node_modules/@mui/private-theming/esm/useTheme/index.js
generated
vendored
Normal file
1
node_modules/@mui/private-theming/esm/useTheme/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
export { default } from "./useTheme.js";
|
||||
2
node_modules/@mui/private-theming/esm/useTheme/useTheme.d.ts
generated
vendored
Normal file
2
node_modules/@mui/private-theming/esm/useTheme/useTheme.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
import { DefaultTheme } from "../defaultTheme/index.js";
|
||||
export default function useTheme<T = DefaultTheme>(): T;
|
||||
11
node_modules/@mui/private-theming/esm/useTheme/useTheme.js
generated
vendored
Normal file
11
node_modules/@mui/private-theming/esm/useTheme/useTheme.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import * as React from 'react';
|
||||
import ThemeContext from "./ThemeContext.js";
|
||||
export default function useTheme() {
|
||||
const theme = React.useContext(ThemeContext);
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
// TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler
|
||||
// eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production
|
||||
React.useDebugValue(theme);
|
||||
}
|
||||
return theme;
|
||||
}
|
||||
5
node_modules/@mui/private-theming/index.d.ts
generated
vendored
Normal file
5
node_modules/@mui/private-theming/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
export { default as ThemeProvider } from "./ThemeProvider/index.js";
|
||||
export * from "./ThemeProvider/index.js";
|
||||
export { default as useTheme } from "./useTheme/index.js";
|
||||
export * from "./useTheme/index.js";
|
||||
export * from "./defaultTheme/index.js";
|
||||
43
node_modules/@mui/private-theming/index.js
generated
vendored
Normal file
43
node_modules/@mui/private-theming/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/**
|
||||
* @mui/private-theming v7.3.1
|
||||
*
|
||||
* @license MIT
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
"use strict";
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
var _exportNames = {
|
||||
ThemeProvider: true,
|
||||
useTheme: true
|
||||
};
|
||||
Object.defineProperty(exports, "ThemeProvider", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _ThemeProvider.default;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, "useTheme", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _useTheme.default;
|
||||
}
|
||||
});
|
||||
var _ThemeProvider = _interopRequireWildcard(require("./ThemeProvider"));
|
||||
Object.keys(_ThemeProvider).forEach(function (key) {
|
||||
if (key === "default" || key === "__esModule") return;
|
||||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
||||
if (key in exports && exports[key] === _ThemeProvider[key]) return;
|
||||
Object.defineProperty(exports, key, {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _ThemeProvider[key];
|
||||
}
|
||||
});
|
||||
});
|
||||
var _useTheme = _interopRequireDefault(require("./useTheme"));
|
||||
75
node_modules/@mui/private-theming/package.json
generated
vendored
Normal file
75
node_modules/@mui/private-theming/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
{
|
||||
"name": "@mui/private-theming",
|
||||
"version": "7.3.1",
|
||||
"author": "MUI Team",
|
||||
"description": "Private - The React theme context to be shared between `@mui/styles` and `@mui/material`.",
|
||||
"main": "./index.js",
|
||||
"keywords": [
|
||||
"react",
|
||||
"react-component",
|
||||
"mui",
|
||||
"theme"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/mui/material-ui.git",
|
||||
"directory": "packages/mui-private-theming"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mui/material-ui/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mui/material-ui/tree/master/packages/mui-private-theming",
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/mui-org"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.28.2",
|
||||
"prop-types": "^15.8.1",
|
||||
"@mui/utils": "^7.3.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
||||
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@types/react": {
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
"sideEffects": false,
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
},
|
||||
"private": false,
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"require": {
|
||||
"types": "./index.d.ts",
|
||||
"default": "./index.js"
|
||||
},
|
||||
"import": {
|
||||
"types": "./esm/index.d.ts",
|
||||
"default": "./esm/index.js"
|
||||
}
|
||||
},
|
||||
"./*": {
|
||||
"require": {
|
||||
"types": "./*/index.d.ts",
|
||||
"default": "./*/index.js"
|
||||
},
|
||||
"import": {
|
||||
"types": "./esm/*/index.d.ts",
|
||||
"default": "./esm/*/index.js"
|
||||
}
|
||||
},
|
||||
"./esm": null,
|
||||
"./modern": null
|
||||
},
|
||||
"types": "./index.d.ts"
|
||||
}
|
||||
14
node_modules/@mui/private-theming/useTheme/ThemeContext.js
generated
vendored
Normal file
14
node_modules/@mui/private-theming/useTheme/ThemeContext.js
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
"use strict";
|
||||
'use client';
|
||||
|
||||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var React = _interopRequireWildcard(require("react"));
|
||||
const ThemeContext = /*#__PURE__*/React.createContext(null);
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
ThemeContext.displayName = 'ThemeContext';
|
||||
}
|
||||
var _default = exports.default = ThemeContext;
|
||||
2
node_modules/@mui/private-theming/useTheme/index.d.ts
generated
vendored
Normal file
2
node_modules/@mui/private-theming/useTheme/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export { default } from "./useTheme.js";
|
||||
export * from "./useTheme.js";
|
||||
13
node_modules/@mui/private-theming/useTheme/index.js
generated
vendored
Normal file
13
node_modules/@mui/private-theming/useTheme/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
"use strict";
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _useTheme.default;
|
||||
}
|
||||
});
|
||||
var _useTheme = _interopRequireDefault(require("./useTheme"));
|
||||
2
node_modules/@mui/private-theming/useTheme/useTheme.d.ts
generated
vendored
Normal file
2
node_modules/@mui/private-theming/useTheme/useTheme.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
import { DefaultTheme } from "../defaultTheme/index.js";
|
||||
export default function useTheme<T = DefaultTheme>(): T;
|
||||
19
node_modules/@mui/private-theming/useTheme/useTheme.js
generated
vendored
Normal file
19
node_modules/@mui/private-theming/useTheme/useTheme.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
"use strict";
|
||||
|
||||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
||||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = useTheme;
|
||||
var React = _interopRequireWildcard(require("react"));
|
||||
var _ThemeContext = _interopRequireDefault(require("./ThemeContext"));
|
||||
function useTheme() {
|
||||
const theme = React.useContext(_ThemeContext.default);
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
// TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler
|
||||
// eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production
|
||||
React.useDebugValue(theme);
|
||||
}
|
||||
return theme;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue