chore: introduce imports ordering (#5463)
This commit is contained in:
committed by
GitHub
parent
30f0e7b031
commit
dbf2920254
@ -1,6 +1,7 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import Icon from './Icon';
|
||||
import { buttons, shadows } from './styles';
|
||||
import GoBackButton from './GoBackButton';
|
||||
|
@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
|
||||
import { css } from '@emotion/core';
|
||||
import styled from '@emotion/styled';
|
||||
import { Wrapper, Button as DropdownButton, Menu, MenuItem } from 'react-aria-menubutton';
|
||||
|
||||
import { colors, buttons, components, zIndex } from './styles';
|
||||
import Icon from './Icon';
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import { colors, colorsRaw, transitions, text } from './styles';
|
||||
|
||||
const stateColors = {
|
||||
|
@ -1,6 +1,7 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import icons from './Icon/icons';
|
||||
|
||||
const IconWrapper = styled.span`
|
||||
|
@ -1,4 +1,5 @@
|
||||
import mapValues from 'lodash/mapValues';
|
||||
|
||||
import images from './images/_index';
|
||||
|
||||
/**
|
||||
|
@ -1,5 +1,6 @@
|
||||
import React from 'react';
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import Icon from './Icon';
|
||||
import { buttons, colors, colorsRaw, shadows } from './styles';
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import Icon from './Icon';
|
||||
import { colors, lengths, buttons } from './styles';
|
||||
|
||||
|
@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
|
||||
import styled from '@emotion/styled';
|
||||
import { css, keyframes } from '@emotion/core';
|
||||
import { CSSTransition } from 'react-transition-group';
|
||||
|
||||
import { colors, zIndex } from './styles';
|
||||
|
||||
const styles = {
|
||||
|
@ -2,10 +2,11 @@ import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import styled from '@emotion/styled';
|
||||
import { css } from '@emotion/core';
|
||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
|
||||
import Icon from './Icon';
|
||||
import { colors, buttons } from './styles';
|
||||
import Dropdown, { StyledDropdownButton, DropdownItem } from './Dropdown';
|
||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
||||
|
||||
const TopBarContainer = styled.div`
|
||||
align-items: center;
|
||||
|
@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
|
||||
import styled from '@emotion/styled';
|
||||
import { css } from '@emotion/core';
|
||||
import ReactToggled from 'react-toggled';
|
||||
|
||||
import { colors, colorsRaw, shadows, transitions } from './styles';
|
||||
|
||||
const ToggleContainer = styled.button`
|
||||
|
Reference in New Issue
Block a user