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

[utils] Centralize clamp implementation in utils #40267

Merged
merged 15 commits into from
Jan 17, 2024

Conversation

Kamino0
Copy link
Contributor

@Kamino0 Kamino0 commented Dec 21, 2023

This update unify clamp functions and move it to utils as suggested in #39365

@mui-bot
Copy link

mui-bot commented Dec 21, 2023

Netlify deploy preview

https://deploy-preview-40267--material-ui.netlify.app/

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against 32b1486

@danilo-leal danilo-leal added the package: utils Specific to the @mui/utils package label Dec 21, 2023
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

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

@Kamino0 If you look at the CI, the tests fail related to the Slider. Can you take a look?

Copy link
Member

@mj12albert mj12albert left a comment

Choose a reason for hiding this comment

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

@Kamino0 Thanks for working on this 🤚 looks good, I have suggested one change ~

@mj12albert mj12albert self-assigned this Dec 28, 2023
packages/mui-base/src/useSlider/useSlider.ts Outdated Show resolved Hide resolved
packages/mui-base/src/useSlider/useSlider.ts Outdated Show resolved Hide resolved
packages/mui-base/src/useSlider/useSlider.ts Outdated Show resolved Hide resolved
@ZeeshanTamboli ZeeshanTamboli added the enhancement This is not a bug, nor a new feature label Jan 6, 2024
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

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

@Kamino0 I pushed the requested changes. Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is not a bug, nor a new feature package: utils Specific to the @mui/utils package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants