-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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(Checkbox): react/wc parity #18329
base: main
Are you sure you want to change the base?
fix(Checkbox): react/wc parity #18329
Conversation
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #18329 +/- ##
=======================================
Coverage 84.17% 84.17%
=======================================
Files 408 408
Lines 14435 14435
Branches 4660 4690 +30
=======================================
Hits 12150 12150
Misses 2120 2120
Partials 165 165 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good. one minor nitpick. as a convention we should continue to stick with constants.{ts,js,etc}
instead of defs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Just a few small changes.
packages/web-components/src/components/checkbox/checkbox-group.ts
Outdated
Show resolved
Hide resolved
packages/web-components/src/components/checkbox/checkbox.stories.ts
Outdated
Show resolved
Hide resolved
packages/web-components/src/components/checkbox/checkbox.stories.ts
Outdated
Show resolved
Hide resolved
packages/web-components/src/components/checkbox/checkbox.stories.ts
Outdated
Show resolved
Hide resolved
Hey, thanks for putting up this PR! I just added @thyhmdo as a reviewer to be sure we get a ux and visual review on this. |
Hey @davidmenendez Thanks for reviewing! In Carbon Web Components, I’ve noticed that they use the naming convention def.ts for constants. |
Closes #17927
Checkbox - react and wc parity
Changelog
New
Changed
-packages/web-components/src/components/checkbox/checkbox-group.ts
-packages/web-components/src/components/checkbox/checkbox.scss
-packages/web-components/src/components/checkbox/checkbox.stories.ts
Testing / Reviewing
Added orientation prop and corresponding style.
Tested using storybook , can be checked in storybook controls.