Comparing version 9.8.4 to 9.9.0
@@ -37,2 +37,2 @@ import * as React from 'react'; | ||
} | ||
export default function InheritableContextProvider({ children, locked, ...restProps }: InheritableContextProps): JSX.Element; | ||
export default function InheritableContextProvider({ children, locked, ...restProps }: InheritableContextProps): React.JSX.Element; |
@@ -1,4 +0,4 @@ | ||
/// <reference types="react" /> | ||
import * as React from 'react'; | ||
import type { MenuDividerType } from './interface'; | ||
export declare type DividerProps = Omit<MenuDividerType, 'type'>; | ||
export default function Divider({ className, style }: DividerProps): JSX.Element; | ||
export default function Divider({ className, style }: DividerProps): React.JSX.Element; |
@@ -13,2 +13,2 @@ import * as React from 'react'; | ||
} | ||
export default function SubMenu(props: SubMenuProps): JSX.Element; | ||
export default function SubMenu(props: SubMenuProps): React.JSX.Element; |
@@ -8,2 +8,2 @@ import * as React from 'react'; | ||
} | ||
export default function InlineSubMenuList({ id, open, keyPath, children, }: InlineSubMenuListProps): JSX.Element; | ||
export default function InlineSubMenuList({ id, open, keyPath, children, }: InlineSubMenuListProps): React.JSX.Element; |
@@ -14,2 +14,2 @@ import * as React from 'react'; | ||
} | ||
export default function PopupTrigger({ prefixCls, visible, children, popup, popupClassName, popupOffset, disabled, mode, onVisibleChange, }: PopupTriggerProps): JSX.Element; | ||
export default function PopupTrigger({ prefixCls, visible, children, popup, popupClassName, popupOffset, disabled, mode, onVisibleChange, }: PopupTriggerProps): React.JSX.Element; |
@@ -5,3 +5,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
import * as React from 'react'; | ||
import Trigger from 'rc-trigger'; | ||
import Trigger from '@rc-component/trigger'; | ||
import classNames from 'classnames'; | ||
@@ -8,0 +8,0 @@ import raf from "rc-util/es/raf"; |
@@ -37,2 +37,2 @@ import * as React from 'react'; | ||
} | ||
export default function InheritableContextProvider({ children, locked, ...restProps }: InheritableContextProps): JSX.Element; | ||
export default function InheritableContextProvider({ children, locked, ...restProps }: InheritableContextProps): React.JSX.Element; |
@@ -1,4 +0,4 @@ | ||
/// <reference types="react" /> | ||
import * as React from 'react'; | ||
import type { MenuDividerType } from './interface'; | ||
export declare type DividerProps = Omit<MenuDividerType, 'type'>; | ||
export default function Divider({ className, style }: DividerProps): JSX.Element; | ||
export default function Divider({ className, style }: DividerProps): React.JSX.Element; |
@@ -13,2 +13,2 @@ import * as React from 'react'; | ||
} | ||
export default function SubMenu(props: SubMenuProps): JSX.Element; | ||
export default function SubMenu(props: SubMenuProps): React.JSX.Element; |
@@ -8,2 +8,2 @@ import * as React from 'react'; | ||
} | ||
export default function InlineSubMenuList({ id, open, keyPath, children, }: InlineSubMenuListProps): JSX.Element; | ||
export default function InlineSubMenuList({ id, open, keyPath, children, }: InlineSubMenuListProps): React.JSX.Element; |
@@ -14,2 +14,2 @@ import * as React from 'react'; | ||
} | ||
export default function PopupTrigger({ prefixCls, visible, children, popup, popupClassName, popupOffset, disabled, mode, onVisibleChange, }: PopupTriggerProps): JSX.Element; | ||
export default function PopupTrigger({ prefixCls, visible, children, popup, popupClassName, popupOffset, disabled, mode, onVisibleChange, }: PopupTriggerProps): React.JSX.Element; |
@@ -13,3 +13,3 @@ "use strict"; | ||
var React = _interopRequireWildcard(require("react")); | ||
var _rcTrigger = _interopRequireDefault(require("rc-trigger")); | ||
var _trigger = _interopRequireDefault(require("@rc-component/trigger")); | ||
var _classnames = _interopRequireDefault(require("classnames")); | ||
@@ -80,3 +80,3 @@ var _raf = _interopRequireDefault(require("rc-util/lib/raf")); | ||
}, [visible]); | ||
return /*#__PURE__*/React.createElement(_rcTrigger.default, { | ||
return /*#__PURE__*/React.createElement(_trigger.default, { | ||
prefixCls: prefixCls, | ||
@@ -83,0 +83,0 @@ popupClassName: (0, _classnames.default)("".concat(prefixCls, "-popup"), (0, _defineProperty2.default)({}, "".concat(prefixCls, "-rtl"), rtl), popupClassName, rootClassName), |
{ | ||
"name": "rc-menu", | ||
"version": "9.8.4", | ||
"version": "9.9.0", | ||
"description": "menu ui component for react", | ||
@@ -47,6 +47,6 @@ "keywords": [ | ||
"@babel/runtime": "^7.10.1", | ||
"@rc-component/trigger": "^1.6.2", | ||
"classnames": "2.x", | ||
"rc-motion": "^2.4.3", | ||
"rc-overflow": "^1.2.8", | ||
"rc-trigger": "^5.1.2", | ||
"rc-util": "^5.27.0" | ||
@@ -53,0 +53,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
251227
+ Added@rc-component/trigger@^1.6.2
+ Added@rc-component/portal@1.1.2(transitive)
+ Added@rc-component/trigger@1.18.3(transitive)
- Removedrc-trigger@^5.1.2
- Removeddom-align@1.12.4(transitive)
- Removedrc-align@4.0.15(transitive)
- Removedrc-trigger@5.3.4(transitive)