Skip to content

Commit f30a432

Browse files
committed
refactor: resolve types import path
1 parent 6789283 commit f30a432

File tree

62 files changed

+98
-98
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+98
-98
lines changed

packages/taro-ui/src/components/accordion/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import classNames from 'classnames'
22
import PropTypes, { InferProps } from 'prop-types'
33
import React from 'react'
4-
import { AtAccordionProps, AtAccordionState } from 'types/accordion'
54
import { Text, View } from '@tarojs/components'
65
import { CommonEvent } from '@tarojs/components/types/common'
6+
import { AtAccordionProps, AtAccordionState } from '../../../types/accordion'
77
import { delayQuerySelector } from '../../common/utils'
88

99
export default class AtAccordion extends React.Component<

packages/taro-ui/src/components/action-sheet/body/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import classNames from 'classnames'
22
import React from 'react'
3-
import { AtActionSheetBodyProps } from 'types/action-sheet'
43
import { View } from '@tarojs/components'
4+
import { AtActionSheetBodyProps } from '../../../../types/action-sheet'
55

66
export default class AtActionSheetBody extends React.Component<
77
AtActionSheetBodyProps

packages/taro-ui/src/components/action-sheet/body/item/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import classNames from 'classnames'
22
import PropTypes, { InferProps } from 'prop-types'
33
import React from 'react'
4-
import { AtActionSheetItemProps } from 'types/action-sheet'
54
import { View } from '@tarojs/components'
5+
import { AtActionSheetItemProps } from '../../../../../types/action-sheet'
66

77
export default class AtActionSheetItem extends React.Component<
88
AtActionSheetItemProps

packages/taro-ui/src/components/action-sheet/footer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import classNames from 'classnames'
22
import PropTypes, { InferProps } from 'prop-types'
33
import React from 'react'
4-
import { AtActionSheetFooterProps } from 'types/action-sheet'
54
import { View } from '@tarojs/components'
5+
import { AtActionSheetFooterProps } from '../../../../types/action-sheet'
66

77
export default class AtActionSheetFooter extends React.Component<
88
AtActionSheetFooterProps

packages/taro-ui/src/components/action-sheet/header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import classNames from 'classnames'
22
import React from 'react'
3-
import { AtActionSheetHeaderProps } from 'types/action-sheet'
43
import { View } from '@tarojs/components'
4+
import { AtActionSheetHeaderProps } from '../../../../types/action-sheet'
55

66
export default class AtActionSheetHeader extends React.Component<
77
AtActionSheetHeaderProps

packages/taro-ui/src/components/action-sheet/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
import classNames from 'classnames'
22
import PropTypes, { InferProps } from 'prop-types'
33
import React from 'react'
4-
import { AtActionSheetProps, AtActionSheetState } from 'types/action-sheet'
54
import { View } from '@tarojs/components'
65
import { CommonEvent } from '@tarojs/components/types/common'
6+
import {
7+
AtActionSheetProps,
8+
AtActionSheetState
9+
} from '../../../types/action-sheet'
710
import AtActionSheetBody from './body/index'
811
import AtActionSheetFooter from './footer/index'
912
import AtActionSheetHeader from './header/index'

packages/taro-ui/src/components/activity-indicator/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import classNames from 'classnames'
22
import PropTypes, { InferProps } from 'prop-types'
33
import React from 'react'
4-
import { AtActivityIndicatorProps } from 'types/activity-indicator'
54
import { Text, View } from '@tarojs/components'
5+
import { AtActivityIndicatorProps } from '../../../types/activity-indicator'
66
import AtLoading from '../loading/index'
77

88
export default class AtActivityIndicator extends React.Component<

packages/taro-ui/src/components/avatar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import classNames from 'classnames'
22
import PropTypes, { InferProps } from 'prop-types'
33
import React from 'react'
4-
import { AtAvatarProps, AtAvatarState } from 'types/avatar'
54
import { Image, OpenData, Text, View } from '@tarojs/components'
65
import Taro from '@tarojs/taro'
6+
import { AtAvatarProps, AtAvatarState } from '../../../types/avatar'
77

88
const SIZE_CLASS = {
99
large: 'large',

packages/taro-ui/src/components/badge/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import classNames from 'classnames'
22
import PropTypes, { InferProps } from 'prop-types'
33
import React from 'react'
4-
import { AtBadgeProps } from 'types/badge'
54
import { View } from '@tarojs/components'
5+
import { AtBadgeProps } from '../../../types/badge'
66

77
export default class AtBadge extends React.Component<AtBadgeProps> {
88
public static defaultProps: AtBadgeProps

packages/taro-ui/src/components/button/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import classNames from 'classnames'
22
import PropTypes, { InferProps } from 'prop-types'
33
import React from 'react'
4-
import { AtButtonProps, AtButtonState } from 'types/button'
54
import { Button, Form, View } from '@tarojs/components'
65
import { CommonEvent } from '@tarojs/components/types/common'
76
import Taro from '@tarojs/taro'
7+
import { AtButtonProps, AtButtonState } from '../../../types/button'
88
import AtLoading from '../loading/index'
99

1010
const SIZE_CLASS = {

0 commit comments

Comments
 (0)