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

[RadioGroup] Convert to a function component #14964

Merged
merged 4 commits into from
Mar 22, 2019

Conversation

joshwooding
Copy link
Member

Todo

  • Convert RadioGroup to function component
  • Forward ref to RadioGroup
  • Provide focus via actions prop for consistency
  • Adjust tests and test ref is forwarded

@joshwooding joshwooding added breaking change component: radio This is the name of the generic UI component, not the React module! labels Mar 19, 2019
@mui-pr-bot
Copy link

mui-pr-bot commented Mar 19, 2019

Details of bundle changes.

Comparing: 7e64283...34af883

bundle parsed diff gzip diff prev parsed current parsed prev gzip current gzip
@material-ui/core -0.06% -0.10% 353,435 353,236 90,549 90,462
@material-ui/core/Paper -0.01% -0.02% 68,636 68,626 19,982 19,978
@material-ui/core/Paper.esm -0.01% -0.01% 62,366 62,358 19,075 19,073
@material-ui/core/Popper +0.01% 🔺 +0.03% 🔺 30,457 30,460 10,525 10,528
@material-ui/core/styles/createMuiTheme -0.03% -0.02% 17,390 17,384 5,729 5,728
@material-ui/core/useMediaQuery 0.00% +0.10% 🔺 2,469 2,469 1,036 1,037
@material-ui/lab 0.00% -0.01% 152,179 152,181 44,538 44,534
@material-ui/styles -0.01% -0.03% 53,841 53,837 15,621 15,616
@material-ui/system -0.02% -0.11% 17,141 17,138 4,524 4,519
Button -0.01% -0.00% 90,925 90,918 26,971 26,970
Modal -0.00% +0.01% 🔺 84,715 84,712 25,260 25,262
colorManipulator -0.06% -0.08% 3,234 3,232 1,301 1,300
docs.landing 0.00% 0.00% 51,843 51,843 11,349 11,349
docs.main 0.00% 0.00% 649,387 649,387 201,472 201,472
packages/material-ui/build/umd/material-ui.production.min.js -0.04% +0.02% 🔺 302,411 302,275 83,725 83,744

Generated by 🚫 dangerJS against 34af883

@joshwooding joshwooding added the new feature New feature or request label Mar 19, 2019
@oliviertassinari
Copy link
Member

Nice :)

@joshwooding joshwooding deleted the radio-group-hooks branch March 22, 2019 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: radio This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants