mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Forms Migrations; Remove Buttons from Forms namespace (#23105)
This commit is contained in:
parent
01d4cb9e37
commit
e5f4ac8ca0
@ -61,7 +61,7 @@ Used for removing or deleting entities.
|
|||||||
|
|
||||||
## Link
|
## Link
|
||||||
|
|
||||||
Used for for hyperlinks.
|
Used for hyperlinks.
|
||||||
|
|
||||||
<Preview>
|
<Preview>
|
||||||
<div>
|
<div>
|
||||||
|
@ -10,13 +10,9 @@ import { Field } from './Field';
|
|||||||
import { Switch } from './Switch';
|
import { Switch } from './Switch';
|
||||||
import { TextArea } from './TextArea/TextArea';
|
import { TextArea } from './TextArea/TextArea';
|
||||||
import { Checkbox } from './Checkbox';
|
import { Checkbox } from './Checkbox';
|
||||||
//Will be removed after Enterprise changes have been merged
|
|
||||||
import { Button, LinkButton } from '../Button';
|
|
||||||
|
|
||||||
const Forms = {
|
const Forms = {
|
||||||
RadioButtonGroup,
|
RadioButtonGroup,
|
||||||
Button,
|
|
||||||
LinkButton,
|
|
||||||
Switch,
|
Switch,
|
||||||
getFormStyles,
|
getFormStyles,
|
||||||
Label,
|
Label,
|
||||||
|
@ -11,7 +11,7 @@ export default {
|
|||||||
decorators: [withStoryContainer, withCenteredStory, withHorizontallyCenteredStory],
|
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'];
|
const spacingVariants = ['xs', 'sm', 'md', 'lg'];
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ export { LogLabels } from './Logs/LogLabels';
|
|||||||
export { LogRows } from './Logs/LogRows';
|
export { LogRows } from './Logs/LogRows';
|
||||||
export { getLogRowStyles } from './Logs/getLogRowStyles';
|
export { getLogRowStyles } from './Logs/getLogRowStyles';
|
||||||
export { ToggleButtonGroup, ToggleButton } from './ToggleButtonGroup/ToggleButtonGroup';
|
export { ToggleButtonGroup, ToggleButton } from './ToggleButtonGroup/ToggleButtonGroup';
|
||||||
// Panel editors./Forms/Legacy/Button/FullWidthButtonContainer
|
// Panel editors
|
||||||
export { FullWidthButtonContainer } from './Button/FullWidthButtonContainer';
|
export { FullWidthButtonContainer } from './Button/FullWidthButtonContainer';
|
||||||
export { ThresholdsEditor } from './ThresholdsEditor/ThresholdsEditor';
|
export { ThresholdsEditor } from './ThresholdsEditor/ThresholdsEditor';
|
||||||
export { ClickOutsideWrapper } from './ClickOutsideWrapper/ClickOutsideWrapper';
|
export { ClickOutsideWrapper } from './ClickOutsideWrapper/ClickOutsideWrapper';
|
||||||
|
Loading…
Reference in New Issue
Block a user