-
Notifications
You must be signed in to change notification settings - Fork 78
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
feat: Move FormGroup to forms #769
Conversation
Deploy preview for fundamental-react ready! Built with commit 171e3fd |
Check the deploy log for errors here: https://app.netlify.com/sites/fundamental-react/deploys Built with commit e85db4d https://app.netlify.com/sites/fundamental-react/deploys/5da64e95b94bbd000aa6aaff |
@@ -1,7 +1,7 @@ | |||
import FormGroup from '../FormGroup'; | |||
import FormItem from '../../Forms/FormItem'; | |||
import FormLabel from '../../Forms/FormLabel'; |
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.
Minor nit: both FormItem
and FormLabel
could have paths simplified to ../FormItem
or ../FormLabel
, respectively.
src/index.js
Outdated
@@ -28,7 +28,7 @@ export { default as Identifier } from './Identifier/Identifier'; | |||
export { default as Image } from './Image/Image'; | |||
export { default as InlineHelp } from './InlineHelp/InlineHelp'; | |||
export { default as InputGroup } from './InputGroup/InputGroup'; | |||
export { default as FormGroup } from './InputGroup/FormGroup'; | |||
export { default as FormGroup } from './Forms/FormGroup'; |
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.
Probably worth reordering this list by alpha - it will put FormGroup
up by the other Form*
exports.
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. 🚢
@@ -16,42 +16,42 @@ export const FormsComponent = () => { | |||
and noted by an asterisk (*).`} | |||
title='Inputs'> | |||
<div> | |||
<FormSet> | |||
<FormGroup> |
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.
Added FormGroup to an example so that we are using FormGroup in the Forms page
Description
BREAKING CHANGE
As a side story to the breaking change we're making by refactoring inputgroup -> moving over FormGroup to Forms instead of InputGroup.
Used git mv in order to preserve git history.