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

pull/23108/head
Tobias Skarhed 6 years ago committed by GitHub
parent 01d4cb9e37
commit e5f4ac8ca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/grafana-ui/src/components/Button/Button.mdx
  2. 4
      packages/grafana-ui/src/components/Forms/index.ts
  3. 2
      packages/grafana-ui/src/components/Layout/Layout.story.tsx
  4. 2
      packages/grafana-ui/src/components/index.ts

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

@ -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,

@ -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'];

@ -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';

Loading…
Cancel
Save