chore(deps): update npm
This MR contains the following updates:
Release Notes
babel/babel (@babel/core)
v7.22.10
🐛 Bug Fix
-
babel-plugin-transform-typescript
- #15799 [ts] Strip type-only namespaces (@nicolo-ribaudo)
- #15798 [ts] Fix compiling extended exported nested namespace (@nicolo-ribaudo)
-
babel-helper-create-class-features-plugin
,babel-plugin-proposal-decorators
,babel-plugin-proposal-destructuring-private
,babel-plugin-transform-class-properties
,babel-plugin-transform-class-static-block
,babel-plugin-transform-new-target
,babel-plugin-transform-private-methods
,babel-preset-env
💅 Polish
-
babel-cli
-
babel-traverse
,babel-types
-
#15661 Improve the type definition of
path.isX
(@liuxingbaoyu)
-
#15661 Improve the type definition of
-
babel-generator
,babel-types
🏠 Internal
- Other
-
babel-cli
,babel-core
,babel-generator
,babel-helper-builder-react-jsx
,babel-preset-env
,babel-standalone
-
babel-helper-compilation-targets
-
#15811 Remove
@babel/core
peerDep fromhelper-compilation-targets
(@nicolo-ribaudo)
-
#15811 Remove
-
babel-parser
-
babel-plugin-transform-runtime
,babel-traverse
,babel-types
-
#15716 chore: Use
typescript-eslint@v6
with reworked configs (@JoshuaKGoldberg)
-
#15716 chore: Use
🔬 Output optimization
-
babel-plugin-transform-block-scoping
,babel-plugin-transform-parameters
,babel-plugin-transform-regenerator
-
#15746 Reduce
transform-block-scoping
loops output size (@liuxingbaoyu)
-
#15746 Reduce
mui/material-ui (@mui/icons-material)
v5.14.3
Jul 31, 2023
A big thanks to the 17 contributors who made this release possible. Here are some highlights
-
🚀 Joy UI is now in Beta -
✨ Refine Joy UI's default theme @siriwatknp @zanivan -
🎉 Added Dropdown higher-level menu component Base UI @michaldudak -
💫 Added Material You Badge tomaterial-next
(#37850) @DiegoAndai
@mui/material@5.14.3
- [Autocomplete][material][joy] Add default
getOptionLabel
prop in ownerState (#38100) @DSK9012 - [Menu][Divider][material] Do not allow focus on Divider when inside Menu list (#38102) @divyammadhok
- [typescript][material] Rename one letter type parameters (#38155) @michaldudak
- [Menu][material] Fixes slots and slotProps overriding defaults completely (#37902) @gitstart
- [Theme][material] Add missing styleOverrides type for theme MuiStack (#38189) @DiegoAndai
- [typescript][material] Add
component
field to*Props
types (#38084) @michaldudak
@mui/base@5.0.0-beta.9
Breaking changes
- [Dropdown][base][joy] Introduce higher-level menu component (#37667) @michaldudak
Other changes
- [typescript][base] Rename one letter type parameters (#38171) @michaldudak
@mui/joy@5.0.0-beta.0
- [joy] Refine the default theme (#36843) @siriwatknp
@mui/material-next@6.0.0-alpha.95
- [Badge][material-next] Add Badge component (#37850) @DiegoAndai
- [Chip][material-next] Copy chip component from material (#38053) @DiegoAndai
- [typescript][material-next] Rename one letter type parameters (#38172) @michaldudak
@mui/system@5.14.3
- [Box][system] Remove
component
from TypeMap (#38168) @michaldudak - [Stack][system] Fix CSS selector (#37525) @sai6855
Docs
- [docs] Update Joy UI's package README (#38262) @ZeeshanTamboli
- [docs][base-ui] Add new batch of coming soon pages (#38025) @danilo-leal
- [docs] fix links to standardized examples (#38193) @emmanuel-ferdman
- [docs-infra] Small design polish to the Diamond Sponsor container (#38257) @danilo-leal
- [docs-infra] Show props in the table of content (#38173) @alexfauquette
- [docs-infra] Polish API page design (#38196) @oliviertassinari
- [docs-infra] Search with productCategory when product is missing (#38239) @oliviertassinari
- [docs][material] Revise and update Examples doc (#38205) @samuelsycamore
- [docs] Fix typo in notifications.json @mbrookes
- [docs-infra] Remove leftover standardNavIcon (#38252) @DiegoAndai
- [docs][base] Add Tailwind CSS & plain CSS demos on the Popper page (#37953) @zanivan
- [docs][Button][joy] Improve
loading
prop documentation (#38156) @sai6855 - [docs] Prepare docs infra for Tree View migration to X (#38202) @flaviendelangle
- [docs] Fix SEO issues reported by ahrefs @oliviertassinari
- [docs] Fix palette pages - live edit not working (#38195) @oliviertassinari
- [docs] Add Google Analytics action for the styling menu (#38085) @mnajdova
- [docs] Fix Discord redirection chain @oliviertassinari
- [docs] Cover pnpm in more places (#38161) @oliviertassinari
- [docs] Avoid broken link (#38154) @oliviertassinari
- [docs] Add notification for beta release of Toolpad (#38152) @prakhargupta1
- [docs-infra] Remove sidenav icons (#38174) @oliviertassinari
- [docs-infra] Fix search ranking when no productId (#38162) @oliviertassinari
- [docs-infra] Adjust the side nav for deeper nested items (#38047) @cherniavskii
- [docs][joy] Update TS file of adding more typography levels demo to match the corresponding JS file's styles (#38232) @ZeeshanTamboli
- [docs][joy] Add TS demo for reusable component section in approaches page (#38210) @sai6855
- [docs][joy] Add TS demo for theme typography new level customization (#38199) @sai6855
Core
- [blog] Fix blog post slug Base UI (#38254) @oliviertassinari
- [core] Use native Node's fetch instead of node-fetch package (#38263) @michaldudak
- [core] Remove dead code @oliviertassinari
- [core] Polish Stack test to closer CSS injection order @oliviertassinari
- [core] Remove unnecessary
Required
utility type from Typography font style type (#38203) @ZeeshanTamboli - [core] Fix generate Proptypes script skipping unstable items (#38198) @mj12albert
- [website] Adding Rich Bustos Twitter handle in bio (#38213) @richbustos
- [website] Prepare importing data from HiBob (#38238) @oliviertassinari
- [website] Sync team member with HiBob, add Raffaella (#38201) @rluzists1
All contributors of this release in alphabetical order: @cherniavskii, @DiegoAndai, @divyammadhok, @DSK9012, @flaviendelangle, @gitstart, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @prakhargupta1, @richbustos, @rluzists1, @sai6855, @siriwatknp, @zanivan, @ZeeshanTamboli
mui/mui-x (@mui/x-date-pickers)
v6.11.0
Aug 4, 2023
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights
-
⌚ ️ Move the tree view component from@mui/lab
packageThe
<TreeView />
component has been moved to the MUI X repository. It is now accessible from its own package:@mui/x-tree-view
. -
🌍 Improve Hebrew (he-IL), Finnish (fi-FI), and Italian (it-IT) locales on the data grid -
🐞 Bugfixes -
📚 Documentation improvements
Data Grid
@mui/x-data-grid@v6.11.0
- [DataGrid] Add
ariaV7
experimental flag (#9496) @cherniavskii - [DataGrid] Fix cell size when column width is set to
undefined
(#9871) @gitstart - [l10n] Improve Hebrew (he-IL) locale (#9820) @itayG98
- [l10n] Improve Finnish (fi-FI) locale (#9848) @sambbaahh
- [l10n] Improve Italian (it-IT) locale (#9627) @fabio-rizzello-omnia
@mui/x-data-grid-pro@v6.11.0
Same changes as in @mui/x-data-grid@v6.11.0
.
@mui/x-data-grid-premium@v6.11.0
Same changes as in @mui/x-data-grid-pro@v6.11.0
.
Date Pickers
@mui/x-date-pickers@v6.11.0
- [fields] Correctly handle events with a complete value insertion (#9896) @LukasTy
- [fields] Fix hours editing on dayjs with timezone and DST (#9901) @flaviendelangle
- [fields] Fix section clearing with timezone (#9819) @flaviendelangle
- [pickers] Add
CalendarHeader
slot (#7784) @flaviendelangle - [pickers] Allow to override the
InputProps
of theTextField
using theslotProps
(#9849) @flaviendelangle - [pickers] Allow to override the opening aria text using the
localeText
prop on the pickers (#9870) @flaviendelangle - [pickers] Fix
sx
andclassName
props onMobileDateRangePicker
(#9853) @flaviendelangle - [pickers] Fix default descriptions (#9887) @LukasTy
- [pickers] Fix offset management on dayjs adapter (#9884) @flaviendelangle
- [pickers] Use device motion reduction preference (#9823) @LukasTy
@mui/x-date-pickers-pro@v6.11.0
Same changes as in @mui/x-date-pickers@v6.11.0
.
@mui/x-charts@v6.0.0-alpha.6
Charts / - [charts] Add TS definition to the exported elements (#9885) @alexfauquette
- [charts] Add sparkline (#9662) @alexfauquette
- [charts] Fix missing configuration types (#9886) @alexfauquette
- [charts] Introduce dataset to simplify plot of data from API (#9774) @alexfauquette
@mui/x-tree-view@v6.0.0-alpha.0
Tree View / - [TreeView] Add missing exported types (#9862) @flaviendelangle
- [TreeView] Add tree view to changelog generator script (#9903) @MBilalShafi
- [TreeView] Create the package on the X repository (#9798) @flaviendelangle
- [TreeView] Improve props typing (#9855) @flaviendelangle
Docs
- [docs] Add Tree View doc (#9825) @flaviendelangle
- [docs] Add charts nav item (#9821) @LukasTy
- [docs] Add charts to MUI X introduction pages (#9704) @joserodolfofreitas
- [docs] Add example for avoiding picker views layout shift (#9781) @noraleonte
- [docs] Consistency of Next.js App Router @oliviertassinari
- [docs] Fix API page regression: bring back slots section (#9866) @alexfauquette
- [docs] Fix demo using Pro while it's MIT (#9842) @oliviertassinari
- [docs] Get ready for next docs-infra change @oliviertassinari
- [docs] Improve the slots documentation
Recommended usage
section (#9892) @flaviendelangle
Core
- [core] Fix font loading issue dev-mode (#9843) @oliviertassinari
- [core] Fix pipeline (#9894) @LukasTy
- [core] Fix the link-check script on Windows (#9888) @alexfauquette
- [core] Fix v7 capitalization (#9878) @oliviertassinari
- [core] Regen doc (#9902) @flaviendelangle
- [core] Remove benchmark package (#9413) @LukasTy
- [core] Stop using the deprecated
JSX
global namespace (#9854) @flaviendelangle - [core] Update monorepo (#9846) @flaviendelangle
- [core] Update tree data API docs (#9827) @cherniavskii
- [test] Add pickers e2e tests (#9747) @LukasTy
- [test] Data grid e2e tests follow-up (#9822) @cherniavskii
storybookjs/storybook (@storybook/addon-essentials)
v7.2.1
- Addon docs: Add safe check in Webpack preset - #23687, thanks @yannbf!
- Autodocs: Fix docs pages ignoring
meta.id
when calculating their ID - #23520, thanks @sookmax! - CLI: Fix error logging being swallowed from dev/build failures - #23689, thanks @yannbf!
- Channels: Remove self-referencing in
package.json
- #23681, thanks @stof! - UI: Fix ArgsTable empty state on docs - #23688, thanks @cdedreuille!
- UI: Improve controls addon - #23635, thanks @cdedreuille!
v7.2.0
This month, we're going to experiment with our launch cycle by making smaller but more frequent releases. Our goal is to bring you new features more quickly, while also smoothing the upgrade process.
Storybook 7.2 is the first of these new, faster releases:
- Automigration: Fix wrap-require automigration for common js main.js files - #23644, thanks @valentinpalkovic!
- CSF Tools: Use recast for printing in csf-tools - #23427, thanks @kasperpeulen!
- CSF-tools: Parse stories using typescript keywords 'satisfies' and 'as' - #23638, thanks @joaonunomota!
- Core: Fix channelOptions for serverChannel - #23615, thanks @ndelangen!
- NextJS: Add
@babel/core
as a dependency - #22450, thanks @valentinpalkovic! - Vite: Fix config loading - project directory - #22240, thanks @nVitius!
- Angular: Fix initialization of Storybook in Angular 16.1 - #23598, thanks @valentinpalkovic!
- Dependencies: Downgrade
jest-mock
- #23597, thanks @ndelangen! - Dependencies: Upgrade simple-update-notifier - #23396, thanks @dartess!
- Storyshots: fix broken storyshots with angular - #23555, thanks @mattlewis92!
- TypeScript: Added
expanded
toCoreCommon_StorybookRefs
to fix typescript errors - #23488, thanks @DotwoodMedia! - TypeScript: Downgrade to the last version of type-fest that doesn't need typescript 5.0 - #23574, thanks @ndelangen!
- Vue2: Source Decorator reactivity - #23149, thanks @chakAs3!
- Router: Support RegExp in Route component - #23292, thanks @ndelangen!
- UI: Improve tabs component, more type correct, allow for FC as title - #23288, thanks @ndelangen!
- Addons: Improve code quality by using title as FC & sharing state via useAddonState - #23298, thanks @ndelangen!
- InteractionsAddon: Improve code quality by using title as FC & sharing state via useAddonState - #23291, thanks @ndelangen!
- UI: Add storyStatus to sidebar UI - #23342, thanks @ndelangen!
- Addon API: Add experimental page addon type - #23307, thanks @ndelangen!
- UI: refactor Canvas component so we can improve types for MREVIEW addons and TAB addons - #23311, thanks @ndelangen!
- UI: Improve Button layout and props - #23356, thanks @cdedreuille!
- Dependencies: Remove references to api and the 2 deprecated channel packages - #23384, thanks @ndelangen!
- UI: Show the story status in the search results - #23441, thanks @ndelangen!
- UI: Create new form elements in the new Core UI (Input, TextArea, Select) - #23469, thanks @cdedreuille!
chromaui/chromatic-cli (chromatic)
v6.21.0
danger/danger-js (danger)
v11.2.8
vercel/next.js (next)
v13.4.13
Core Changes
- Improve internal web stream utils: #53004
- fix: Add
Next-Url
to http vary in consideration of intercept routes.: #52746 - update Turbopack: #53098
- Add app, error, and document entrypoints: #53013
- Turbopack: use edge environment in server-side rendering of client components too: #53099
- refactor(codemod): replace chalk with picocolors: #53115
- move webpack specific logic into a separate file: #53114
- feat(turbopack): emit MODULE_FEATURE telemetry from turbopack: #52356
- Fix not found hangs the build with overridden node env: #53106
- chore: update warning message from
yarn add sharp
tonpm i sharp
: #53130 - fix(edge): allow
Request
cloning viaNextRequest
: #53157 - chore: extract common get-validated-args: #53165
- Fix minimal basePath handling: #53174
- Updates @typescript-eslint/parser to 6.1.0: #52848
- fix(next/image): washed out blur placeholder: #52583
- Handle basePath app-dir minimal case: #53189
Documentation Changes
- (Docs) add missing import.: #52992
- Fix formData code snippet in route handler docs: #52532
- docs: remove unneeded good to know section during installation: #53078
- docs: fix typo in
08-parallel-routes.mdx
: #53069 - chore(docs): Extend the options for custom server init: #52851
- (Docs) Add missing import for
useRef()
: #53015 - (Docs) Remove
FormData
type onformData
defined in.js
file: #53014 - docs: fix codeblock for redirect: #53120
- chore(docs): client-side data fetching loading state: #53164
Example Changes
- feat: remove unused global variable: #51767
Misc Changes
- chore(ci): always run validate-docs-links action: #53022
- update install-native postinstall to use pnpm: #53080
- chore(ci): make
validate-docs-links
required: #53123 - chore(test): fix flaky tsconfig.json test: #53132
- chore(ci): fix validate-docs-links for non-MR: #53129
- Temporarily skip flakey action revalidate: #53134
Credits
Huge thanks to @vinaykulk621, @Lantianyou, @styfle, @shuding, @joulev, @AkifumiSato, @trigaten, @HurSungYun, @DevLab2425, @sokra, @alexkirsz, @ztanner, @leerob, @SukkaW, @kwonoj, @huozhi, @ijjk, @balazsorban44, @daniel-web-developer, @ky1ejs, and @arturbien for helping!
prettier/prettier (prettier)
v3.0.1
#14812 by @fisker)
Fix cursor positioning for a special case (// <|> is the cursor position
/* Input */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|> } from "fs"
/* Prettier 3.0.0 */
// All messages are represented in JSON.
// So, the prettier.py <|>controls a subprocess which spawns "node {this_file}".
import {} from "fs"
/* Prettier 3.0.1 */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|>} from "fs"
#15018 by @kingyue737)
Fix plugins/estree.d.ts to make it a module (Add export {}
in plugins/estree.d.ts
to fix the "File is not a module" error
#15037 by @auvred)
Add parenthesis around leading multiline comment in return statement (// Input
function fn() {
return (
/**
* @​type {...}
*/ expresssion
)
}
// Prettier 3.0.0
function fn() {
return /**
* @​type {...}
*/ expresssion;
}
// Prettier 3.0.1
function fn() {
return (
/**
* @​type {...}
*/ expresssion
);
}
#15066 by @auvred)
Add support for Vue "Generic Components" (https://blog.vuejs.org/posts/vue-3-3#generic-components
<!-- Input -->
<script setup lang="ts" generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean"></script>
<!-- Prettier 3.0.0 -->
<script
setup
lang="ts"
generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean"
></script>
<!-- Prettier 3.0.1 -->
<script
setup
lang="ts"
generic="
T extends Type1 & Type2 & (Type3 | Type4),
U extends string | number | boolean
"
></script>
IfStatement
(#15076 by @fisker)
Fix comments print in function a(b) {
if (b) return 1; // comment
else return 2;
}
/* Prettier 3.0.0 */
Error: Comment "comment" was not printed. Please report this error!
/* Prettier 3.0.1 */
function a(b) {
if (b) return 1; // comment
else return 2;
}
printer.preprocess
(#15123 by @so1ve)
Add missing type definition for export interface Printer<T = any> {
// ...
+ preprocess?:
+ | ((ast: T, options: ParserOptions<T>) => T | Promise<T>)
+ | undefined;
}
getVisitorKeys
method type definition for Printer
(#15125 by @auvred)
Add missing const printer: Printer = {
print: () => [],
getVisitorKeys(node, nonTraversableKeys) {
return ["body"];
},
};
readonly
array properties of AST Node (#15127 by @auvred)
Add typing to support // Input
interface TestNode {
readonlyArray: readonly string[];
}
declare const path: AstPath<TestNode>;
path.map(() => "", "readonlyArray");
// Prettier 3.0.0
interface TestNode {
readonlyArray: readonly string[];
}
declare const path: AstPath<TestNode>;
path.map(() => "", "readonlyArray");
// ^ Argument of type '"readonlyArray"' is not assignable to parameter of type '"regularArray"'. ts(2345)
// Prettier 3.0.1
interface TestNode {
readonlyArray: readonly string[];
}
declare const path: AstPath<TestNode>;
path.map(() => "", "readonlyArray");
#15129 by @pamelalozano)
Add space before unary minus followed by a function call (// Input
div {
margin: - func();
}
// Prettier 3.0.0
div {
margin: -func();
}
// Prettier 3.0.1
div {
margin: - func();
}
react-hook-form/react-hook-form (react-hook-form)
v7.45.4
: Version 7.45.4
thanks to @eg-bernardo
v7.45.3
: Version 7.45.3
thanks to @jasonLaster
i18next/react-i18next (react-i18next)
v13.0.3
- fix unescape is not consistently called for all values 1657
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.