|
1 | 1 | import Portal from '@rc-component/portal'; |
2 | 2 | import classNames from 'classnames'; |
3 | | -import type { CSSMotionProps } from 'rc-motion'; |
4 | | -import ResizeObserver from 'rc-resize-observer'; |
5 | | -import { isDOM } from 'rc-util/lib/Dom/findDOMNode'; |
6 | | -import { getShadowRoot } from 'rc-util/lib/Dom/shadow'; |
7 | | -import useEvent from 'rc-util/lib/hooks/useEvent'; |
8 | | -import useId from 'rc-util/lib/hooks/useId'; |
9 | | -import useLayoutEffect from 'rc-util/lib/hooks/useLayoutEffect'; |
10 | | -import isMobile from 'rc-util/lib/isMobile'; |
| 3 | +import type { CSSMotionProps } from '@rc-component/motion'; |
| 4 | +import ResizeObserver from '@rc-component/resize-observer'; |
| 5 | +import { isDOM } from '@rc-component/util/lib/Dom/findDOMNode'; |
| 6 | +import { getShadowRoot } from '@rc-component/util/lib/Dom/shadow'; |
| 7 | +import useEvent from '@rc-component/util/lib/hooks/useEvent'; |
| 8 | +import useId from '@rc-component/util/lib/hooks/useId'; |
| 9 | +import useLayoutEffect from '@rc-component/util/lib/hooks/useLayoutEffect'; |
| 10 | +import isMobile from '@rc-component/util/lib/isMobile'; |
11 | 11 | import * as React from 'react'; |
12 | 12 | import Popup from './Popup'; |
13 | 13 | import TriggerWrapper from './TriggerWrapper'; |
@@ -80,9 +80,9 @@ export interface TriggerProps { |
80 | 80 | maskClosable?: boolean; |
81 | 81 |
|
82 | 82 | // =================== Motion ==================== |
83 | | - /** Set popup motion. You can ref `rc-motion` for more info. */ |
| 83 | + /** Set popup motion. You can ref `@rc-component/motion` for more info. */ |
84 | 84 | popupMotion?: CSSMotionProps; |
85 | | - /** Set mask motion. You can ref `rc-motion` for more info. */ |
| 85 | + /** Set mask motion. You can ref `@rc-component/motion` for more info. */ |
86 | 86 | maskMotion?: CSSMotionProps; |
87 | 87 |
|
88 | 88 | /** @deprecated Please us `popupMotion` instead. */ |
|
0 commit comments