Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pickers] Use usePickerContext() and usePickerActionsContext() instead of passing props to the shortcuts and toolbar slots #15948

Merged
merged 3 commits into from
Dec 30, 2024

Conversation

flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented Dec 19, 2024

Closes #15495 ( 🙏 )
Part of #16059

What?

  • Remove the last props passed to the shortcuts, layout and toolbar slots
  • Introduce a new useIsValidValue hook to avoid passing something to usePickerContext that updates on every render
  • Add value to usePickerContext
  • Add setValue to usePickerContext and usePickerActionContext. This should eventually be the only way for parts of the UI to update the value (it will replace the onChange prop passed to the views and to the field in the future).
  • Rename PickerShortcutChangeImportance into PickerChangeImportance since it's not only used for the shortcut anymore.

Changelog

Breaking changes

  • The component passed to the layout slot no longer receives the value, onChange and onSelectShortcut props — Learn more.

  • The component passed to the toolbar slot no longer receives the value, onChange and isLandscape props — Learn more.

  • The component passed to the shortcuts slot no longer receives the onChange, isValid and isLandscape props — Learn more.

  • The PickerShortcutChangeImportance type has been renamed PickerChangeImportanceLearn more.

@flaviendelangle flaviendelangle added breaking change component: pickers This is the name of the generic UI component, not the React module! labels Dec 19, 2024
@flaviendelangle flaviendelangle self-assigned this Dec 19, 2024
@mui-bot
Copy link

mui-bot commented Dec 19, 2024

Localization writing tips ✍️

Seems you are updating localization 🌍 files.

Thank you for contributing to the localization! 🎉 To make your PR perfect, here is a list of elements to check: ✔️

  • Verify if the PR title respects the release format. Here are two examples (depending if you update or add a locale file)

    [l10n] Improve Swedish (sv-SE) locale
    [l10n] Add Danish (da-DK) locale

  • Update the documentation of supported locales by running pnpm l10n
  • Clean files with pnpm prettier.

Deploy preview: https://deploy-preview-15948--material-ui-x.netlify.app/

Updated pages:

Generated by 🚫 dangerJS against 361fb4a

@flaviendelangle flaviendelangle force-pushed the layout-last-props branch 4 times, most recently from 2f4fb12 to 6fe5cfa Compare December 20, 2024 10:32
@flaviendelangle flaviendelangle changed the title [pickers] Remove the last props passed to the layout slot [pickers] Use usePickerContext() and usePickerActionsContext() to get the propspassed to the shortcuts and toolbar slots Dec 20, 2024
@flaviendelangle flaviendelangle changed the title [pickers] Use usePickerContext() and usePickerActionsContext() to get the propspassed to the shortcuts and toolbar slots [pickers] Use usePickerContext() and usePickerActionsContext() instead of passing props to the shortcuts and toolbar slots Dec 20, 2024
@flaviendelangle flaviendelangle force-pushed the layout-last-props branch 3 times, most recently from 59ca6f1 to bfb0786 Compare December 20, 2024 11:24
/**
* Returns a function to check if a value is valid according to the validation props passed to the parent picker.
*/
export function useIsValidValue<TValue extends PickerValidValue>() {
Copy link
Member Author

@flaviendelangle flaviendelangle Dec 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now it's a super dumb hook.
It re-renders everytime the picker render and just calls the function that the picker gives him (which calls the validation).

But introducing this hook will allow us in the future to add it to the Date Calendar and Digital Clock as well and potentially to add some caching mechanism to avoid testing several times the same date.

For now it's only needed for the shortcut slot because we were passing this isValid prop.
When the view and the field will use it, it will probably impact the shape of the context(s) related to validation, but I'm pretty sure we will still have a hook with this exact signature 👌

@flaviendelangle flaviendelangle marked this pull request as ready for review December 20, 2024 11:53
* The shortcut that triggered this change.
* Should not be defined if the change does not come from a shortcut.
*/
shortcut?: PickersShortcutsItemContext;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the Base UI version we won't have a notion of shortcut, so this field will probably only live in the MUI version (since some people needed it).

The other will be handled by the Base UI layer.

Copy link
Member

@michelengelen michelengelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good i general ... only concern is that we could simplify all places where we check for value == null || !utils.isValid(value) into utils.isValid(value) ... agree?

@flaviendelangle flaviendelangle force-pushed the layout-last-props branch 2 times, most recently from 0617646 to 3befa0c Compare December 30, 2024 08:27
Copy link
Member

@michelengelen michelengelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only nits... feel free to ignore... I love the cleanup! Much more readable now! Thanks for taking care of it! 🙇

@flaviendelangle flaviendelangle merged commit 61346b3 into mui:master Dec 30, 2024
18 checks passed
@flaviendelangle flaviendelangle deleted the layout-last-props branch December 30, 2024 09:19
lauri865 added a commit to lauri865/mui-x that referenced this pull request Jan 14, 2025
commit 55b01ba
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Tue Jan 14 20:51:13 2025 +0200

    Bump MUI Internal (mui#16177)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit bdd82ae
Author: Alexandre Fauquette <[email protected]>
Date:   Tue Jan 14 14:35:41 2025 +0100

    [charts] Plot data at first render if `skipAnimation` is set to `true` (mui#16166)

    Signed-off-by: Alexandre Fauquette <[email protected]>
    Signed-off-by: Jose C Quintas Jr <[email protected]>
    Co-authored-by: Jose C Quintas Jr <[email protected]>

commit ca63047
Author: Alexandre Fauquette <[email protected]>
Date:   Tue Jan 14 13:18:02 2025 +0100

    [docs] Add example for custom legend (mui#16169)

commit fdcc57e
Author: Alexandre Fauquette <[email protected]>
Date:   Tue Jan 14 12:01:56 2025 +0100

    [docs] Remove broken links (mui#16167)

commit 7c505ea
Author: Flavien DELANGLE <[email protected]>
Date:   Tue Jan 14 07:35:12 2025 +0100

    [pickers] Let the field components handle their opening UI, and allow field editing on mobile pickers (mui#15671)

    Signed-off-by: Flavien DELANGLE <[email protected]>
    Co-authored-by: Lukas Tyla <[email protected]>

commit c7f8cd6
Author: Flavien DELANGLE <[email protected]>
Date:   Mon Jan 13 16:37:49 2025 +0100

    [docs] Add full custom field creation example (mui#15194)

    Signed-off-by: Flavien DELANGLE <[email protected]>
    Signed-off-by: Lukas Tyla <[email protected]>
    Co-authored-by: Lukas Tyla <[email protected]>

commit aa515ec
Author: Alexandre Fauquette <[email protected]>
Date:   Mon Jan 13 15:53:59 2025 +0100

    [charts] Move z-axis to plugin (mui#16130)

commit 2c9ddc9
Author: Jose C Quintas Jr <[email protected]>
Date:   Mon Jan 13 13:58:06 2025 +0100

    [charts] Make `useChartGradientId` public (mui#16106)

commit 6e76ec9
Author: Lukas Tyla <[email protected]>
Date:   Mon Jan 13 13:18:23 2025 +0200

    [code-infra] Stop renovate from updating `date-fns-v2` (mui#16158)

commit 770ab40
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 13 10:03:03 2025 +0200

    Bump next to ^15.1.4 (mui#16150)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 2ee4a8f
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 13 09:50:58 2025 +0200

    Bump pnpm to 9.15.3 (mui#16151)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 89b0740
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 13 09:47:53 2025 +0200

    Bump markdown-to-jsx to ^7.7.3 (mui#16149)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 3ac1a43
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 13 09:47:40 2025 +0200

    Bump @octokit/plugin-retry to ^7.1.3 (mui#16140)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit d42a129
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 13 09:34:21 2025 +0200

    Bump typescript to ^5.7.3 (mui#16152)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 8eaf601
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 13 09:31:00 2025 +0200

    Bump jscodeshift to 17.1.2 (mui#16148)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit b216ad8
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 13 09:21:50 2025 +0200

    Bump React (mui#16143)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 1a6dfc2
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 13 09:20:37 2025 +0200

    Bump @tanstack/query-core to ^5.64.0 (mui#16154)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit eea3ad8
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 13 09:20:08 2025 +0200

    Bump babel to ^7.26.5 (mui#16146)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 4cfb04c
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 13 09:19:20 2025 +0200

    Bump @types/d3-shape to ^3.1.7 (mui#16141)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 8351f94
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 13 08:51:56 2025 +0200

    Bump Material UI to ^5.16.14 (mui#16145)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 6b3dece
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Jan 12 13:43:15 2025 +0000

    Bump @octokit/rest to ^21.1.0 (mui#16153)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 41e5994
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Jan 12 13:40:44 2025 +0000

    Bump fast-glob to ^3.3.3 (mui#16147)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 71cdcbf
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Jan 12 09:30:42 2025 +0000

    Bump GitHub Actions (mui#16144)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit f07901e
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Jan 12 09:28:32 2025 +0000

    Bump @types/node to ^20.17.12 (mui#16142)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 49bee80
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Jan 12 05:32:28 2025 +0000

    Bump @next/eslint-plugin-next to 15.1.4 (mui#16139)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 3174216
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Jan 12 05:31:35 2025 +0000

    Bump @mui/monorepo digest to c51af8e (mui#16138)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 769855d
Author: Jose C Quintas Jr <[email protected]>
Date:   Sat Jan 11 10:54:03 2025 +0100

    [charts] Handle case where gradient stop `offset` could be `Infinite` (mui#16131)

commit e93f4d2
Author: Rom Grk <[email protected]>
Date:   Fri Jan 10 17:25:27 2025 -0500

    [DataGrid] Refactor: remove missed theme (mui#16122)

commit 9c2224f
Author: Jose C Quintas Jr <[email protected]>
Date:   Fri Jan 10 16:24:43 2025 +0100

    [charts] Replace tooltip mark with style (mui#16117)

commit 7d5dd73
Author: Jose C Quintas Jr <[email protected]>
Date:   Fri Jan 10 15:41:02 2025 +0100

    [charts] Support `rtl` for gradient legend (mui#16115)

commit d25c213
Author: Armin Mehinovic <[email protected]>
Date:   Fri Jan 10 14:30:29 2025 +0100

    [docs] Fix demo rendering issue on Codesandbox (mui#16118)

commit 1fdcf85
Author: Alexandre Fauquette <[email protected]>
Date:   Fri Jan 10 13:23:05 2025 +0100

    [charts] Use plugin system for series and axes (mui#15865)

    Co-authored-by: Jose C Quintas Jr <[email protected]>

commit 5999d29
Author: Jose C Quintas Jr <[email protected]>
Date:   Fri Jan 10 12:00:00 2025 +0100

    [charts][docs] Fix wrong props warnings (mui#16119)

commit 7541f95
Author: Armin Mehinovic <[email protected]>
Date:   Fri Jan 10 11:55:23 2025 +0100

    [core] Type all references as `RefObject` (mui#16124)

commit 85961a5
Author: Rom Grk <[email protected]>
Date:   Fri Jan 10 03:26:26 2025 -0500

    [DataGrid] refactor: theme to CSS variables (mui#15704)

    Signed-off-by: Rom Grk <[email protected]>
    Co-authored-by: Kenan Yusuf <[email protected]>

commit 9e07e0f
Author: Flavien DELANGLE <[email protected]>
Date:   Fri Jan 10 09:18:12 2025 +0100

    [pickers] Use context to pass props from the picker to the field (mui#16042)

    Signed-off-by: Flavien DELANGLE <[email protected]>
    Co-authored-by: Lukas Tyla <[email protected]>

commit 6412b8c
Author: Armin Mehinovic <[email protected]>
Date:   Thu Jan 9 15:49:00 2025 +0100

    v8.0.0-alpha.7 (mui#16110)

    Signed-off-by: Armin Mehinovic <[email protected]>
    Co-authored-by: Bilal Shafi <[email protected]>
    Co-authored-by: Lukas Tyla <[email protected]>
    Co-authored-by: Alexandre Fauquette <[email protected]>

commit 296a499
Author: Bilal Shafi <[email protected]>
Date:   Thu Jan 9 17:13:03 2025 +0500

    [DataGridPremium] Server-side aggregation with data source (mui#15741)

    Co-authored-by: Armin Mehinovic <[email protected]>

commit 3b0bba2
Author: Rom Grk <[email protected]>
Date:   Thu Jan 9 04:18:25 2025 -0500

    [core] Update argos screenshots (mui#16111)

commit 068ab78
Author: Andrew Cherniavskii <[email protected]>
Date:   Wed Jan 8 21:52:57 2025 +0100

    [DataGridPremium] Improve aggregation performance for multiple columns (mui#16097)

commit 3fe74a9
Author: Jose C Quintas Jr <[email protected]>
Date:   Wed Jan 8 16:18:31 2025 +0100

    [charts] New HTML legend & styles (mui#15733)

    Signed-off-by: Jose C Quintas Jr <[email protected]>
    Co-authored-by: Alexandre Fauquette <[email protected]>

commit 86d6e2a
Author: Rom Grk <[email protected]>
Date:   Tue Jan 7 17:39:23 2025 -0500

    [DataGrid] Refactor: create tooltip props (mui#16086)

commit f1332f1
Author: Lukas Tyla <[email protected]>
Date:   Tue Jan 7 16:45:26 2025 +0200

    [pickers] Rename `AdapterDateFns` into `AdapterDateFnsV2` and `AdapterDateFnsV3` into `AdapterDateFns` (mui#16082)

    Signed-off-by: Lukas Tyla <[email protected]>
    Co-authored-by: Michel Engelen <[email protected]>

commit 0a7ba21
Author: Flavien DELANGLE <[email protected]>
Date:   Tue Jan 7 14:56:09 2025 +0100

    [pickers] Always use `setValue` internally to update the picker value (mui#16056)

commit cad579c
Author: Flavien DELANGLE <[email protected]>
Date:   Tue Jan 7 12:35:24 2025 +0100

    [pickers] Rename `ctx.onViewChange` to `ctx.setView` and add it to the actions context (mui#16044)

commit 011ccd0
Author: Lukas Tyla <[email protected]>
Date:   Tue Jan 7 13:32:27 2025 +0200

    [pickers] Memoize `<PickersActionBar />` (mui#16071)

commit fb23fd1
Author: Lukas Tyla <[email protected]>
Date:   Tue Jan 7 12:53:00 2025 +0200

    [l10n] Improve Norwegian (nb-NO) locale (mui#16083) (@josteinjhauge) (mui#16089)

    Signed-off-by: Jostein Hauge <[email protected]>
    Co-authored-by: Jostein Hauge <[email protected]>

commit 0a8dff6
Author: tomashauser <[email protected]>
Date:   Tue Jan 7 09:23:10 2025 +0100

    [docs] Fix non-existing "adapter" property of LocalizationProvider (mui#16084)

commit 0f66a53
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 6 12:25:52 2025 +0200

    Lock file maintenance (mui#16051)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 8e785f9
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 6 16:43:26 2025 +0700

    Bump @mui/monorepo digest to 5d892ca (mui#16073)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 82cf0ed
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 6 11:20:02 2025 +0200

    Bump markdownlint-cli2 to ^0.17.1 (mui#16079)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 5189633
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 6 11:15:50 2025 +0200

    Bump concurrently to ^9.1.2 (mui#16078)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit b80d266
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 6 11:09:21 2025 +0200

    Bump @tanstack/query-core to ^5.62.15 (mui#16074)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 7c41d42
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 6 11:04:23 2025 +0200

    Bump styled-components to ^6.1.14 (mui#16080)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 0219cb4
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Jan 6 11:00:43 2025 +0200

    Bump MUI Internal (mui#16077)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 5a267e7
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Jan 5 04:43:34 2025 +0000

    Bump @types/node to ^20.17.11 (mui#16076)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 959dc9d
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Jan 5 04:42:38 2025 +0000

    Bump @types/lodash to ^4.17.14 (mui#16075)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 3ebf4fb
Author: Rom Grk <[email protected]>
Date:   Fri Jan 3 18:23:01 2025 -0500

    [DataGrid] Refactor: create base button props (mui#15930)

commit 513b8f6
Author: Lukas Tyla <[email protected]>
Date:   Fri Jan 3 15:37:59 2025 +0200

    [pickers] Update `closeOnSelect` and `actionBar.actions` default values (mui#15944)

    Signed-off-by: Lukas Tyla <[email protected]>
    Co-authored-by: Arthur Balduini <[email protected]>
    Co-authored-by: arthurbalduini <[email protected]>

commit 5f0cd45
Author: Armin Mehinovic <[email protected]>
Date:   Fri Jan 3 14:12:01 2025 +0100

    [DataGrid] Fix number filter field formatting values while typing (mui#16062)

commit d85fff1
Author: Jose C Quintas Jr <[email protected]>
Date:   Thu Jan 2 12:42:58 2025 +0100

    [code-infra] Add `testSkipIf` and `describeSkipIf`  (mui#16049)

    Signed-off-by: Jose C Quintas Jr <[email protected]>
    Co-authored-by: Lukas Tyla <[email protected]>

commit 3fffa77
Author: Steve Xu <[email protected]>
Date:   Thu Jan 2 17:25:40 2025 +0800

    [l10n] Add Chinese (Taiwan) (zh-TW) locale (mui#16033)

    Signed-off-by: Steve Xu <[email protected]>
    Co-authored-by: Lukas Tyla <[email protected]>

commit 3b47f1d
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Wed Jan 1 21:23:49 2025 +0700

    Bump @mui/monorepo digest to 84d6ecf (mui#16021)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Lukas <[email protected]>

commit 88438a1
Author: Lukas Tyla <[email protected]>
Date:   Wed Jan 1 14:25:27 2025 +0200

    [test] Stabilize flaky Data Grid tests (mui#16053)

commit a5f4a73
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Tue Dec 31 14:55:55 2024 +0200

    Bump MUI Internal (mui#16028)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 390211c
Author: Rajat <[email protected]>
Date:   Tue Dec 31 17:53:50 2024 +0530

    [docs] Fix `EditingWithDatePickers` demo (mui#15967)

commit d570c6d
Author: Andrew Cherniavskii <[email protected]>
Date:   Tue Dec 31 13:22:53 2024 +0100

    [DataGrid] Fix TS error (mui#16046)

commit 797c5a0
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Tue Dec 31 13:57:37 2024 +0200

    Bump next to ^15.1.3 (mui#16026)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 552f08b
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Tue Dec 31 13:57:00 2024 +0200

    Bump @tanstack/query-core to ^5.62.9 (mui#16023)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 2f4af7e
Author: Flavien DELANGLE <[email protected]>
Date:   Tue Dec 31 12:55:57 2024 +0100

    [docs] Fix inconsistent multi input range field separators (mui#16043)

commit f689693
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Tue Dec 31 13:55:29 2024 +0200

    Bump pnpm to 9.15.2 (mui#16027)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit ea384f1
Author: Rajat <[email protected]>
Date:   Tue Dec 31 16:08:36 2024 +0530

    [DataGridPremium] Make Aggregation keyboard accessible in the column menu (mui#15934)

    Co-authored-by: Bilal Shafi <[email protected]>

commit 20e037b
Author: Flavien DELANGLE <[email protected]>
Date:   Tue Dec 31 10:56:57 2024 +0100

    [pickers] Introduce a new concept of `manager` (mui#15339)

    Signed-off-by: Flavien DELANGLE <[email protected]>
    Co-authored-by: Lukas Tyla <[email protected]>

commit e5471d4
Author: Derek Alvarado <[email protected]>
Date:   Mon Dec 30 15:59:16 2024 -0700

    [DataGrid] Add `name` attribute to selection checkboxes (mui#15178)

    Co-authored-by: Andrew Cherniavskii <[email protected]>

commit 43411bf
Author: Flavien DELANGLE <[email protected]>
Date:   Mon Dec 30 17:31:41 2024 +0100

    [pickers] Create a new context to pass the range position props to the layout components and to the views (mui#15846)

commit 9bce04c
Author: Lukas Tyla <[email protected]>
Date:   Mon Dec 30 18:21:16 2024 +0200

    [fields] Handle focusing container with `inputRef.current.focus` on `accessibleFieldDOMStructure` (mui#15985)

commit 3ead503
Author: Andrew Cherniavskii <[email protected]>
Date:   Mon Dec 30 17:10:14 2024 +0100

    [core] Update the `release:version` docs (mui#16038)

commit 0c6aa25
Author: Flavien DELANGLE <[email protected]>
Date:   Mon Dec 30 16:27:38 2024 +0100

    [pickers] Remove `NonEmptyDateRange` type (mui#16035)

commit 2cc9bc8
Author: Flavien DELANGLE <[email protected]>
Date:   Mon Dec 30 16:26:21 2024 +0100

    [docs] Unify the wording of the pickers slots breaking changes (mui#16036)

commit e283172
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Dec 30 17:04:59 2024 +0200

    [core] Improve React 19 support (mui#15769)

    Signed-off-by: Armin Mehinovic <[email protected]>
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Jose Quintas <[email protected]>
    Co-authored-by: Lukas <[email protected]>
    Co-authored-by: flavien <[email protected]>
    Co-authored-by: Armin Mehinovic <[email protected]>
    Co-authored-by: Armin Mehinovic <[email protected]>
    Co-authored-by: Bilal Shafi <[email protected]>

commit 89215a1
Author: Bilal Shafi <[email protected]>
Date:   Mon Dec 30 19:58:59 2024 +0500

    [DataGrid] Fix select all checkbox state reset with server side data (mui#16034)

commit 61346b3
Author: Flavien DELANGLE <[email protected]>
Date:   Mon Dec 30 10:14:59 2024 +0100

    [pickers] Use `usePickerContext()` and `usePickerActionsContext()` instead of passing props to the `shortcuts` and `toolbar` slots (mui#15948)

commit dac7c3d
Author: Olivier Tassinari <[email protected]>
Date:   Sun Dec 29 13:22:12 2024 +0100

    [core] Small fixes on docs

commit 2fa4d4f
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Dec 29 06:16:16 2024 +0000

    Bump markdownlint-cli2 to ^0.17.0 (mui#16029)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 2c0a4a4
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Dec 29 06:15:15 2024 +0000

    Bump eslint-plugin-react to ^7.37.3 (mui#16025)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 7e7d63b
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Dec 29 04:56:05 2024 +0000

    Bump concurrently to ^9.1.1 (mui#16024)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 25ae6e4
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Dec 29 04:55:10 2024 +0000

    Bump @next/eslint-plugin-next to 15.1.3 (mui#16022)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 7bc37b2
Author: Bilal Shafi <[email protected]>
Date:   Sat Dec 28 12:20:24 2024 +0500

    [core] Clarify the release strategy (mui#16014)

    Co-authored-by: Andrew Cherniavskii <[email protected]>

commit 2799763
Author: Lukas Tyla <[email protected]>
Date:   Fri Dec 27 18:06:40 2024 +0200

    [pickers] Support `date-fns-jalali` v4 (mui#16011)

commit dcdc59e
Author: Lukas Tyla <[email protected]>
Date:   Fri Dec 27 15:07:37 2024 +0200

    [docs] Refactor Data Grid with Date Pickers example (mui#15992)

commit d8dbace
Author: Olivier Tassinari <[email protected]>
Date:   Fri Dec 27 02:10:59 2024 +0100

    [core] Sync with other repos

commit 9c0c462
Author: Olivier Tassinari <[email protected]>
Date:   Fri Dec 27 01:28:01 2024 +0100

    [docs] Fix 301 redirections

    Reported in https://app.ahrefs.com/site-audit/6021552/issues?current=25-12-2024T023235

commit 61d8511
Author: Danail Hadjiatanasov <[email protected]>
Date:   Thu Dec 26 22:13:45 2024 +0200

    v8.0.0-alpha.6 (mui#16002)

commit b061f55
Author: Lauri <[email protected]>
Date:   Thu Dec 26 10:13:55 2024 +0100

    [data grid] Avoid subscribing to `renderContext` state in grid root for better scroll performance (mui#15986)

commit 758d8b8
Author: Lukas Tyla <[email protected]>
Date:   Tue Dec 24 10:06:37 2024 +0200

    [l10n] Improve Dutch (nl-NL) locale (mui#15920) @JoepVerkoelen (mui#15994)

    Signed-off-by: JoepVerkoelen <[email protected]>
    Co-authored-by: JoepVerkoelen <[email protected]>
    Co-authored-by: Joep Verkoelen <[email protected]>

commit 4a649f2
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Dec 23 17:47:28 2024 +0100

    Bump @codspeed/vitest-plugin to ^4.0.0 (mui#15898)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Jose Quintas <[email protected]>

commit a886d98
Author: Bilal Shafi <[email protected]>
Date:   Mon Dec 23 18:07:16 2024 +0500

    [DataGrid] Improve test coverage of server side data source (mui#15942)

commit f572940
Author: Rajat <[email protected]>
Date:   Mon Dec 23 18:27:07 2024 +0530

    [DataGrid] Fix header filters showing clear button while empty (mui#15829)

    Co-authored-by: Armin Mehinovic <[email protected]>

commit 26b1463
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Dec 23 11:21:25 2024 +0200

    Bump webpack-cli to ^6.0.1 (mui#15980)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit a7e6782
Author: Lauri <[email protected]>
Date:   Mon Dec 23 09:53:35 2024 +0100

    [DataGrid] Replace `forwardRef` with a shim for forward compatibility (mui#15955)

commit a58d118
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Dec 23 10:07:10 2024 +0200

    Bump pnpm to 9.15.1 (mui#15977)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 0a8efa4
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Dec 23 10:06:57 2024 +0200

    Bump React router to ^6.28.1 (mui#15974)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit ee83cad
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Dec 23 09:45:24 2024 +0200

    Bump react-hook-form to ^7.54.2 (mui#15978)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit ca29c58
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Dec 23 09:41:48 2024 +0200

    Bump markdown-to-jsx to ^7.7.2 (mui#15975)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 4b73330
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Dec 23 09:40:59 2024 +0200

    Bump @tanstack/query-core to ^5.62.8 (mui#15972)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 1d72f1a
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Dec 23 09:40:27 2024 +0200

    Bump @docsearch/react to ^3.8.2 (mui#15970)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit ae9c40b
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Dec 23 09:27:14 2024 +0200

    Bump next to ^15.1.2 (mui#15976)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 032c788
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Dec 22 08:24:39 2024 +0000

    Bump github/codeql-action action to v3.28.0 (mui#15979)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 9ab258d
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Dec 22 08:20:03 2024 +0000

    Bump @types/react to ^18.3.18 (mui#15973)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 0458ca5
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Dec 22 04:28:13 2024 +0000

    Bump @next/eslint-plugin-next to 15.1.2 (mui#15971)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 5e7eaa5
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Dec 22 04:27:18 2024 +0000

    Bump @mui/monorepo digest to 0ea1ef5 (mui#15969)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit 1bac67d
Author: Rom Grk <[email protected]>
Date:   Fri Dec 20 18:03:58 2024 -0500

    [DataGrid] Refactor: move skeleton to leaf import (mui#15931)

commit f985ea0
Author: Lauri <[email protected]>
Date:   Fri Dec 20 23:48:32 2024 +0100

    [docs] remove production profiler from docs build (mui#15959)

commit 562675c
Author: Rom Grk <[email protected]>
Date:   Fri Dec 20 17:43:15 2024 -0500

    [DataGrid] Refactor: move progress components to leaf import (mui#15914)

    Signed-off-by: Rom Grk <[email protected]>
    Co-authored-by: Olivier Tassinari <[email protected]>
    Co-authored-by: Kenan Yusuf <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: pickers This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[pickers] Remove all the props passed by usePickers to PickersLayout and use the new contexts instead
3 participants