Comparing version 9.0.13 to 9.0.14
@@ -43,5 +43,5 @@ import * as React from 'react'; | ||
onClick?: MenuClickEventHandler; | ||
onOpenChange?: (openKeys: React.Key[]) => void; | ||
onOpenChange?: (openKeys: string[]) => void; | ||
} | ||
declare const Menu: React.FC<MenuProps>; | ||
export default Menu; |
@@ -8,5 +8,5 @@ "use strict"; | ||
}); | ||
exports.IdContext = void 0; | ||
exports.getMenuId = getMenuId; | ||
exports.useMenuId = useMenuId; | ||
exports.IdContext = void 0; | ||
@@ -13,0 +13,0 @@ var React = _interopRequireWildcard(require("react")); |
@@ -10,4 +10,4 @@ "use strict"; | ||
}); | ||
exports.default = InheritableContextProvider; | ||
exports.MenuContext = void 0; | ||
exports.default = InheritableContextProvider; | ||
@@ -14,0 +14,0 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties")); |
@@ -10,5 +10,5 @@ "use strict"; | ||
}); | ||
exports.useMeasure = useMeasure; | ||
exports.useFullPath = useFullPath; | ||
exports.PathUserContext = exports.PathTrackerContext = exports.PathRegisterContext = void 0; | ||
exports.useFullPath = useFullPath; | ||
exports.useMeasure = useMeasure; | ||
@@ -15,0 +15,0 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")); |
@@ -10,4 +10,4 @@ "use strict"; | ||
}); | ||
exports.default = useKeyRecords; | ||
exports.OVERFLOW_KEY = void 0; | ||
exports.default = useKeyRecords; | ||
@@ -14,0 +14,0 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")); |
@@ -8,9 +8,9 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "Divider", { | ||
Object.defineProperty(exports, "Item", { | ||
enumerable: true, | ||
get: function get() { | ||
return _Divider.default; | ||
return _MenuItem.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "Item", { | ||
Object.defineProperty(exports, "MenuItem", { | ||
enumerable: true, | ||
@@ -21,15 +21,15 @@ get: function get() { | ||
}); | ||
Object.defineProperty(exports, "ItemGroup", { | ||
Object.defineProperty(exports, "SubMenu", { | ||
enumerable: true, | ||
get: function get() { | ||
return _MenuItemGroup.default; | ||
return _SubMenu.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "MenuItem", { | ||
Object.defineProperty(exports, "MenuItemGroup", { | ||
enumerable: true, | ||
get: function get() { | ||
return _MenuItem.default; | ||
return _MenuItemGroup.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "MenuItemGroup", { | ||
Object.defineProperty(exports, "ItemGroup", { | ||
enumerable: true, | ||
@@ -40,9 +40,9 @@ get: function get() { | ||
}); | ||
Object.defineProperty(exports, "SubMenu", { | ||
Object.defineProperty(exports, "Divider", { | ||
enumerable: true, | ||
get: function get() { | ||
return _SubMenu.default; | ||
return _Divider.default; | ||
} | ||
}); | ||
exports.useFullPath = exports.default = void 0; | ||
exports.default = exports.useFullPath = void 0; | ||
@@ -49,0 +49,0 @@ var _Menu = _interopRequireDefault(require("./Menu")); |
@@ -43,5 +43,5 @@ import * as React from 'react'; | ||
onClick?: MenuClickEventHandler; | ||
onOpenChange?: (openKeys: React.Key[]) => void; | ||
onOpenChange?: (openKeys: string[]) => void; | ||
} | ||
declare const Menu: React.FC<MenuProps>; | ||
export default Menu; |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.placementsRtl = exports.placements = exports.default = void 0; | ||
exports.default = exports.placementsRtl = exports.placements = void 0; | ||
var autoAdjustOverflow = { | ||
@@ -9,0 +9,0 @@ adjustX: 1, |
{ | ||
"name": "rc-menu", | ||
"version": "9.0.13", | ||
"version": "9.0.14", | ||
"description": "menu ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
209118
106