Skip to content

Commit

Permalink
fix(next): replace fusion next package name
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Feb 22, 2019
1 parent 6355e71 commit db2061e
Show file tree
Hide file tree
Showing 20 changed files with 22 additions and 21 deletions.
1 change: 1 addition & 0 deletions packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"npm": ">=3.0.0"
},
"dependencies": {
"@alifd/next": "^1.13.1",
"@uform/react": "^0.0.6",
"@uform/utils": "^0.0.6",
"classnames": "^2.2.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/components/button.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import { FormConsumer } from '@uform/react'
import { Button } from '@alife/next'
import { Button } from '@alifd/next'

export const Submit = ({ showLoading, ...props }) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/components/formButtonGroup.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { Component } from 'react'
import ReactDOM from 'react-dom'
import { Row, Col } from '@alife/next/lib/grid'
import { Row, Col } from '@alifd/next/lib/grid'
import { FormConsumer } from '../form'
import Sticky from 'react-stikky'
import cls from 'classnames'
Expand Down
4 changes: 2 additions & 2 deletions packages/next/src/components/layout.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { Component } from 'react'
import { createVirtualBox } from '@uform/react'
import { toArr } from '@uform/utils'
import { Row, Col } from '@alife/next/lib/grid'
import Card from '@alife/next/lib/card'
import { Row, Col } from '@alifd/next/lib/grid'
import Card from '@alifd/next/lib/card'
import { FormConsumer, FormItem, FormProvider } from '../form'
import styled from 'styled-components'
import cls from 'classnames'
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/array.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { registerFormField } from '@uform/react'
import { isFn } from '@uform/utils'
import { Button, Icon } from '@alife/next'
import { Button, Icon } from '@alifd/next'
import styled from 'styled-components'

export const CircleButton = styled.div`
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/boolean.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { connect, registerFormField } from '@uform/react'
import { acceptEnum, mapStyledProps } from '../utils'
import { Switch } from '@alife/next'
import { Switch } from '@alifd/next'

registerFormField(
'boolean',
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/checkbox.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { connect, registerFormField } from '@uform/react'
import { Checkbox } from '@alife/next'
import { Checkbox } from '@alifd/next'
import { mapStyledProps, mapTextComponent } from '../utils'

const { Group: CheckboxGroup } = Checkbox
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/date.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { connect, registerFormField } from '@uform/react'
import { DatePicker } from '@alife/next'
import { DatePicker } from '@alifd/next'
import { mapStyledProps, mapTextComponent } from '../utils'

const { RangePicker, MonthPicker, YearPicker } = DatePicker
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/number.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { connect, registerFormField } from '@uform/react'
import { NumberPicker } from '@alife/next'
import { NumberPicker } from '@alifd/next'
import { acceptEnum, mapStyledProps, mapTextComponent } from '../utils'

registerFormField(
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/password.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import { connect, registerFormField } from '@uform/react'
import { Input } from '@alife/next'
import { Input } from '@alifd/next'
import styled from 'styled-components'

var isNum = function(c) {
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/radio.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { connect, registerFormField } from '@uform/react'
import { Radio } from '@alife/next'
import { Radio } from '@alifd/next'
import { mapStyledProps, mapTextComponent } from '../utils'

const { Group: RadioGroup } = Radio
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/range.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { connect, registerFormField } from '@uform/react'
import { Range } from '@alife/next'
import { Range } from '@alifd/next'
import { mapStyledProps } from '../utils'

registerFormField(
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/rating.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { connect, registerFormField } from '@uform/react'
import { Rating } from '@alife/next'
import { Rating } from '@alifd/next'
import { mapStyledProps } from '../utils'

registerFormField(
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/string.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { connect, registerFormField } from '@uform/react'
import { Input } from '@alife/next'
import { Input } from '@alifd/next'
import { acceptEnum, mapStyledProps, mapTextComponent } from '../utils'

registerFormField(
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/table.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from 'react'
import { registerFormField } from '@uform/react'
import { isFn, toArr } from '@uform/utils'
import { Icon } from '@alife/next'
import { Icon } from '@alifd/next'
import { ArrayField, CircleButton } from './array'
import styled from 'styled-components'

Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/time.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { connect, registerFormField } from '@uform/react'
import { TimePicker } from '@alife/next'
import { TimePicker } from '@alifd/next'
import { mapStyledProps, mapTextComponent } from '../utils'

registerFormField(
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/transfer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { connect, registerFormField } from '@uform/react'
import { Transfer } from '@alife/next'
import { Transfer } from '@alifd/next'
import { mapStyledProps } from '../utils'

registerFormField(
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/fields/upload.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { connect, registerFormField } from '@uform/react'
import { toArr, isArr, isEqual, mapStyledProps } from '../utils'
import { Button, Upload } from '@alife/next'
import { Button, Upload } from '@alifd/next'
const { Card: UploadCard, Dragger: UploadDragger } = Upload

const exts = [
Expand Down
4 changes: 2 additions & 2 deletions packages/next/src/form.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react'
import { registerFormWrapper, registerFieldMiddleware } from '@uform/react'
import classNames from 'classnames'
import { ConfigProvider, Balloon, Icon } from '@alife/next'
import { Row, Col } from '@alife/next/lib/grid'
import { ConfigProvider, Balloon, Icon } from '@alifd/next'
import { Row, Col } from '@alifd/next/lib/grid'
import LOCALE from './locale'
import styled from 'styled-components'
import { isFn, moveTo } from './utils'
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { Select } from '@alife/next'
import { Select } from '@alifd/next'
import styled from 'styled-components'
import { isFn } from '@uform/utils'
import MoveTo from 'moveto'
Expand Down

0 comments on commit db2061e

Please sign in to comment.