Forms Migrations; Remove Buttons from Forms namespace (#23105)

This commit is contained in:
Tobias Skarhed 2020-03-26 12:47:21 +01:00 committed by GitHub
parent 01d4cb9e37
commit e5f4ac8ca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 7 deletions

View File

@ -61,7 +61,7 @@ Used for removing or deleting entities.
## Link
Used for for hyperlinks.
Used for hyperlinks.
<Preview>
<div>

View File

@ -10,13 +10,9 @@ import { Field } from './Field';
import { Switch } from './Switch';
import { TextArea } from './TextArea/TextArea';
import { Checkbox } from './Checkbox';
//Will be removed after Enterprise changes have been merged
import { Button, LinkButton } from '../Button';
const Forms = {
RadioButtonGroup,
Button,
LinkButton,
Switch,
getFormStyles,
Label,

View File

@ -11,7 +11,7 @@ export default {
decorators: [withStoryContainer, withCenteredStory, withHorizontallyCenteredStory],
};
const justifyVariants = ['flex-start', 'flex-end', 'space-betw een'];
const justifyVariants = ['flex-start', 'flex-end', 'space-between'];
const spacingVariants = ['xs', 'sm', 'md', 'lg'];

View File

@ -98,7 +98,7 @@ export { LogLabels } from './Logs/LogLabels';
export { LogRows } from './Logs/LogRows';
export { getLogRowStyles } from './Logs/getLogRowStyles';
export { ToggleButtonGroup, ToggleButton } from './ToggleButtonGroup/ToggleButtonGroup';
// Panel editors./Forms/Legacy/Button/FullWidthButtonContainer
// Panel editors
export { FullWidthButtonContainer } from './Button/FullWidthButtonContainer';
export { ThresholdsEditor } from './ThresholdsEditor/ThresholdsEditor';
export { ClickOutsideWrapper } from './ClickOutsideWrapper/ClickOutsideWrapper';