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

fix(deps): update dependency @mui/lab to v5.0.0-alpha.175 #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 7, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@mui/lab (source) 5.0.0-alpha.106 -> 5.0.0-alpha.175 age adoption passing confidence

Release Notes

mui/material-ui (@​mui/lab)

v5.0.0-alpha.164

v5.0.0-alpha.163

v5.0.0-alpha.161

v5.0.0-alpha.159

Compare Source

v5.0.0-alpha.158

Compare Source

v5.0.0-alpha.157

Compare Source

v5.0.0-alpha.156

Compare Source

v5.0.0-alpha.155

Compare Source

v5.0.0-alpha.154

Compare Source

v5.0.0-alpha.152

v5.0.0-alpha.151

Compare Source

v5.0.0-alpha.150

Compare Source

v5.0.0-alpha.149

Compare Source

v5.0.0-alpha.148

Compare Source

v5.0.0-alpha.147

Compare Source

v5.0.0-alpha.146

Compare Source

v5.0.0-alpha.145

Compare Source

v5.0.0-alpha.144

Compare Source

v5.0.0-alpha.143

Compare Source

v5.0.0-alpha.142

Compare Source

v5.0.0-alpha.139

Compare Source

v5.0.0-alpha.138

Compare Source

v5.0.0-alpha.137

Compare Source

v5.0.0-alpha.135

v5.0.0-alpha.134

Compare Source

v5.0.0-alpha.133

Compare Source

v5.0.0-alpha.132

Compare Source

v5.0.0-alpha.131

Compare Source

v5.0.0-alpha.130

Compare Source

v5.0.0-alpha.129

Compare Source

v5.0.0-alpha.128

Compare Source

Breaking changes
  • The component prop is no longer supported because it can be replaced with the slots API. This is how the transformation will look like:

     <Button
    -  component="span"
    +  slots={{ root: "span" }}
     />

    If using TypeScript, the custom component type should be added as a generic on the Button component.

    -<Button
    +<Button<typeof CustomComponent>
       slots={{ root: CustomComponent }}
       customProp="foo"
     />

    There is codemod that you can run in your project to do the transformation:

    npx @&#8203;mui/codemod v5.0.0/base-remove-component-prop <path>

    The full documentation about the codemod can be found here.

    This is the list of PR related to this change:

  • ​[base] Improve API consistency (#​36970) @​michaldudak

    Brought consistency to Base UI components and hooks' parameters and return values:

    1. Whenever a hook needs a ref, it's now called <slot_name>Ref, which matches the get<slot_name>Props in the return value.
    2. All hooks that accept external refs now return merged refs, making combining multiple hooks on one element easier. This was proven necessary in several compound components (like menuItem being both a button and a list item). The type of this value is React.RefCallback as using the more general React.Ref caused variance issues.
    3. Type of accepted refs is standardized to React.Ref<Element>
    4. Naming and typing of the forwarded ref in unstyled components were standardized - it's forwardedRef: React.ForwardedRef (unless a more specific type is needed).
    5. The shape of the definition of unstyled components was standardized - it's React.forwardRef(function Component(props: Props, forwardedRef: React.Ref) { ... });. Specifically, the generic parameters of forwardRef were removed as they are specified in function arguments.
Changes

v5.0.0-alpha.127

Compare Source

Breaking changes
  • ​[base] Remove unstyled suffix from Base components + Codemod script (#​36873) @​hbjORbj

    The Unstyled suffix has been removed from all Base UI component names, including names of types and other related identifiers.

    You can use this codemod to help with the migration:

    npx @&#8203;mui/codemod v5.0.0/base-remove-unstyled-suffix <path>
Changes

v5.0.0-alpha.126

Compare Source

Breaking changes
  • ​[base] Refactor the compound components building blocks (#​36400) @​michaldudak
    Components affected by the changes are:
    • Menu
      • MenuUnstyledContext is replaced by MenuProvider. The value to pass to the provider is returned by the useMenu hook.
      • MenuUnstyled's onClose prop is replaced by onOpenChange. It has the open parameter and is called when a menu is opened or closed
    • Select
      • SelectUnstyledContext is replaced by SelectProvider. The value to pass to the provider is returned by the useSelect hook.
      • SelectUnstyled's popup is permanently mounted.
      • The defaultOpen prop was added to the SelectUnstyled. The open/close state can now be controlled or uncontrolled, as a value.
    • Tabs
      • TabsContext is replaced by TabsProvider. The value to pass to the provider is returned by the useTabs hook.
      • To deselect all tabs, pass in null to Tabs' value prop, instead of false. This is consistent with how Select works.
      • The value prop is still technically not mandatory on TabUnstyled and TabPanel, but when omitted, the contents of the selected tab panel will not be rendered during SSR.

v5.0.0-alpha.125

Compare Source

  • ​[PopperUnstyled] Do not merge internal ownerState with ownerState from props (#​36599) @​hbjORbj

v5.0.0-alpha.124

Compare Source

v5.0.0-alpha.123

Compare Source

v5.0.0-alpha.122

Compare Source

v5.0.0-alpha.121

v5.0.0-alpha.120

Breaking changes
  • ​[Select][base] Add the multiselect functionality to SelectUnstyled (#​36274) @​michaldudak

    The MultiSelectUnstyled was removed. The SelectUnstyled component with the multiple prop should be used instead. Additionally, the SelectUnstyledProps received a second generic parameter: Multiple extends boolean. If you deal with strictly single- or multi-select components, you can hard-code this parameter to false or true, respectively. Below is an example of how the migration should look like:

    -import MultiSelectUnstyled from '@&#8203;mui/base/MultiSelectUnstyled';
    +import SelectUnstyled from '@&#8203;mui/base/SelectUnstyled';
    
     export default App() {
    -return <MultiSelectUnstyled />
    +return <SelectUnstyled multiple />
     }
Changes

v5.0.0-alpha.119

Compare Source

Breaking changes
  • ​[base] Remove classes prop from the Base components that have it (#​36157) @​hbjORbj
    These are the components affected by this change: ModalUnstyled, SliderUnstyled, TablePaginationUnstyled and TablePaginationActionsUnstyled.
    You can replace the classes prop by providing the class name prop directly to the prop via slotProps. Below is an example of how the migration should look like:

     <TablePaginationUnstyled
    -   classes={{ toolbar: 'toolbar-classname', menuItem: 'menuItem-classname' }}
    +   slotProps={{ toolbar: { className: 'toolbar-classname' }, menuItem: { className: 'menuItem-classname'}}}
     />
  • ​[base] Move hooks to their own directories (#​36235) @​hbjORbj
    Base hooks (e.g., useSelect) are no longer exported from {Component}Unstyled directories and instead they have their own directories.
    Below is an example of how the migration should look like:

    -import { useBadge } from '@&#8203;mui/base/BadgeUnstyled';
    +import useBadge from '@&#8203;mui/base/useBadge';

    You can use this codemod to help with the migration.

Changes

v5.0.0-alpha.118

Compare Source

v5.0.0-alpha.117

Compare Source

v5.0.0-alpha.116

Compare Source

v5.0.0-alpha.115

Compare Source

Breaking changes
  • ​[SliderUnstyled] Improved logic for displaying the value label (#​35805) @​ZeeshanTamboli

    • The valueLabelDisplay prop is removed from SliderUnstyled. The prop was not working as intended in SliderUnstyled (See #​35398). You can instead provide a valueLabel slot with the slots prop API to show the value label:
    - <SliderUnstyled valueLabelDisplay="on" />
    + <SliderUnstyled slots={{ valueLabel: SliderValueLabel }} />

    The following demo shows how to show a value label when it is hovered over with the thumb: https://mui.com/base-ui/react-slider/#value-label

    • The following classes are removed from sliderUnstyledClasses since they are not needed for the value label:
    - valueLabel
    - valueLabelOpen
    - valueLabelCircle
    - valueLabelLabel

    In the custom value label component, you can define your own classNames and target them with CSS.

    • The SliderValueLabelUnstyled component is removed from SliderUnstyled. You should provide your own custom component for the value label.

    • To avoid using React.cloneElement API in value label, the component hierarchy structure of the value label is changed. The value label is now inside the Thumb slot - Thumb -> Input, ValueLabel.

Changes

v5.0.0-alpha.114

Compare Source

v5.0.0-alpha.113

v5.0.0-alpha.112

v5.0.0-alpha.111

Compare Source

v5.0.0-alpha.110

Compare Source

v5.0.0-alpha.109

Compare Source

v5.0.0-alpha.108

Compare Source

v5.0.0-alpha.107

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Nov 7, 2022
@vercel
Copy link

vercel bot commented Nov 7, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sponsor ❌ Failed (Inspect) Dec 21, 2024 8:39am

@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from e81aeff to c6dd25a Compare November 14, 2022 04:38
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.107 fix(deps): update dependency @mui/lab to v5.0.0-alpha.108 Nov 15, 2022
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from c6dd25a to 501d3a7 Compare November 15, 2022 09:48
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.108 fix(deps): update dependency @mui/lab to v5.0.0-alpha.109 Nov 22, 2022
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from 501d3a7 to d57aac2 Compare November 22, 2022 12:22
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.109 fix(deps): update dependency @mui/lab to v5.0.0-alpha.110 Nov 28, 2022
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from d57aac2 to 7cee14b Compare November 28, 2022 18:40
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from 7cee14b to ebc3987 Compare December 6, 2022 12:40
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.110 fix(deps): update dependency @mui/lab to v5.0.0-alpha.111 Dec 6, 2022
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from ebc3987 to fbb181c Compare December 13, 2022 14:11
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.111 fix(deps): update dependency @mui/lab to v5.0.0-alpha.112 Dec 13, 2022
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.112 Update dependency @mui/lab to v5.0.0-alpha.112 Dec 17, 2022
@renovate renovate bot changed the title Update dependency @mui/lab to v5.0.0-alpha.112 fix(deps): update dependency @mui/lab to v5.0.0-alpha.112 Dec 17, 2022
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from fbb181c to 1a5a837 Compare December 20, 2022 11:26
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.112 fix(deps): update dependency @mui/lab to v5.0.0-alpha.113 Dec 20, 2022
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from 1a5a837 to 356115a Compare December 26, 2022 16:53
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.113 fix(deps): update dependency @mui/lab to v5.0.0-alpha.114 Dec 26, 2022
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.114 fix(deps): update dependency @mui/lab to v5.0.0-alpha.115 Jan 9, 2023
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from 356115a to f4f8159 Compare January 9, 2023 16:48
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.165 fix(deps): update dependency @mui/lab to v5.0.0-alpha.166 Feb 25, 2024
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from eefd896 to 685e4b2 Compare March 7, 2024 05:48
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.166 fix(deps): update dependency @mui/lab to v5.0.0-alpha.167 Mar 7, 2024
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from 685e4b2 to 4b4dd20 Compare March 14, 2024 08:42
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.167 fix(deps): update dependency @mui/lab to v5.0.0-alpha.168 Mar 14, 2024
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from 4b4dd20 to 14d13b8 Compare March 20, 2024 02:31
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.168 fix(deps): update dependency @mui/lab to v5.0.0-alpha.169 Mar 20, 2024
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from 14d13b8 to 09515d7 Compare April 6, 2024 11:47
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.169 fix(deps): update dependency @mui/lab to v5.0.0-alpha.170 Apr 6, 2024
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from 09515d7 to a461c53 Compare July 7, 2024 02:41
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.170 fix(deps): update dependency @mui/lab to v5.0.0-alpha.171 Jul 7, 2024
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from a461c53 to 3990621 Compare July 12, 2024 02:39
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.171 fix(deps): update dependency @mui/lab to v5.0.0-alpha.172 Jul 12, 2024
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from 3990621 to 320fb56 Compare July 27, 2024 05:59
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.172 fix(deps): update dependency @mui/lab to v5.0.0-alpha.173 Jul 27, 2024
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from 320fb56 to 592bb13 Compare November 28, 2024 20:21
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.173 fix(deps): update dependency @mui/lab to v5.0.0-alpha.174 Nov 28, 2024
@renovate renovate bot force-pushed the renovate/material-ui-monorepo branch from 592bb13 to 461fc38 Compare December 21, 2024 08:37
@renovate renovate bot changed the title fix(deps): update dependency @mui/lab to v5.0.0-alpha.174 fix(deps): update dependency @mui/lab to v5.0.0-alpha.175 Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants