Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-menu

Package Overview
Dependencies
Maintainers
10
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-menu - npm Package Compare versions

Comparing version 9.8.4 to 9.9.0

2

es/context/MenuContext.d.ts

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc