Skip to content

Feature/emotion #70

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

Merged
merged 9 commits into from
Jan 12, 2020
Prev Previous commit
cleanup @emotion imports
  • Loading branch information
ShMcK committed Jan 12, 2020
commit 453d8ecaeac990bfccea663f18f036c8ffed6c33
1 change: 0 additions & 1 deletion web-app/src/components/Card/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Card as AlifdCard } from '@alifd/next'
import * as React from 'react'
import { css, jsx } from '@emotion/core'

const styles = {
card: {
Expand Down
1 change: 0 additions & 1 deletion web-app/src/components/Checkbox/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react'
import { css, jsx } from '@emotion/core'

const styles = {
box: {
Expand Down
1 change: 0 additions & 1 deletion web-app/src/components/Debugger/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as React from 'react'
import * as T from 'typings'
import { css, jsx } from '@emotion/core'

interface Props extends T.MachineContext {
state: string
Expand Down
1 change: 0 additions & 1 deletion web-app/src/components/Divider.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react'
import { css, jsx } from '@emotion/core'

const styles = {
divider: {
Expand Down
1 change: 0 additions & 1 deletion web-app/src/components/Error/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ApolloError } from 'apollo-boost'
import { GraphQLError } from 'graphql'
import * as React from 'react'
import { css, jsx } from '@emotion/core'

const styles = {
container: {
Expand Down
1 change: 0 additions & 1 deletion web-app/src/components/ProcessEvents/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Message as AlifdMessage } from '@alifd/next'
import * as React from 'react'
import * as T from 'typings'
import { css, jsx } from '@emotion/core'

interface Props {
processes: T.ProcessEvent[]
Expand Down
1 change: 0 additions & 1 deletion web-app/src/components/StepHelp/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Balloon } from '@alifd/next'
import * as React from 'react'
import { css, jsx } from '@emotion/core'
import Button from '../Button'

const styles = {
Expand Down
1 change: 0 additions & 1 deletion web-app/src/components/Workspace/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react'
import { css, jsx } from '@emotion/core'

interface Props {
children: React.ReactElement
Expand Down
1 change: 0 additions & 1 deletion web-app/src/containers/Continue/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as React from 'react'
import * as CR from 'typings'
import * as G from 'typings/graphql'
import { css, jsx } from '@emotion/core'
import Button from '../../components/Button'
import Card from '../../components/Card'

Expand Down
1 change: 0 additions & 1 deletion web-app/src/containers/LoadingPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as React from 'react'
import * as T from 'typings'
import { css, jsx } from '@emotion/core'
import Loading from '../components/Loading'
import Message from '../components/Message'

Expand Down
1 change: 0 additions & 1 deletion web-app/src/containers/New/NewPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as React from 'react'
import * as G from 'typings/graphql'
import { css, jsx } from '@emotion/core'
import TutorialList from './TutorialList'

const styles = {
Expand Down
1 change: 0 additions & 1 deletion web-app/src/containers/New/TutorialList/TutorialItem.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react'
import { css, jsx } from '@emotion/core'
import Card from '../../../components/Card'

const styles = {
Expand Down
1 change: 0 additions & 1 deletion web-app/src/containers/Tutorial/CompletedPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as React from 'react'
import * as CR from 'typings'
import { css, jsx } from '@emotion/core'
import Button from '../../components/Button'

const styles = {
Expand Down
1 change: 0 additions & 1 deletion web-app/src/containers/Tutorial/LevelPage/Level.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as React from 'react'
import * as T from 'typings'
import * as G from 'typings/graphql'
import { css, jsx } from '@emotion/core'
import Button from '../../../components/Button'
import Markdown from '../../../components/Markdown'
import ProcessEvents from '../../../components/ProcessEvents'
Expand Down
1 change: 0 additions & 1 deletion web-app/src/containers/Tutorial/LevelPage/Step.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as React from 'react'
import * as T from 'typings'
import { css, jsx } from '@emotion/core'
import Checkbox from '../../../components/Checkbox'
import Markdown from '../../../components/Markdown'
import StepHelp from '../../../components/StepHelp'
Expand Down
1 change: 0 additions & 1 deletion web-app/stories/Checkbox.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { storiesOf } from '@storybook/react'
import React from 'react'
import { css, jsx } from '@emotion/core'
import Checkbox from '../src/components/Checkbox'
import SideBarDecorator from './utils/SideBarDecorator'

Expand Down
1 change: 0 additions & 1 deletion web-app/stories/utils/SideBarDecorator.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as React from 'react'
import { css, jsx } from '@emotion/core'

const styles = {
container: {
Expand Down