From c1f68f13f1b2e64ec9e35164edb58061e81eaea5 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 1 Feb 2016 16:34:26 +0800 Subject: [PATCH] upgrade some deps and devDeps --- components/menu/index.jsx | 10 +++++----- package.json | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/menu/index.jsx b/components/menu/index.jsx index 90390d11a2..631bca517c 100644 --- a/components/menu/index.jsx +++ b/components/menu/index.jsx @@ -1,5 +1,5 @@ import React from 'react'; -import Menu from 'rc-menu'; +import Menu, { Item, Divider, SubMenu, ItemGroup } from 'rc-menu'; import animation from '../common/openAnimation'; function noop() { @@ -80,9 +80,9 @@ const AntMenu = React.createClass({ } }); -AntMenu.Divider = Menu.Divider; -AntMenu.Item = Menu.Item; -AntMenu.SubMenu = Menu.SubMenu; -AntMenu.ItemGroup = Menu.ItemGroup; +AntMenu.Divider = Divider; +AntMenu.Item = Item; +AntMenu.SubMenu = SubMenu; +AntMenu.ItemGroup = ItemGroup; export default AntMenu; diff --git a/package.json b/package.json index bed9122e02..eac48fac24 100644 --- a/package.json +++ b/package.json @@ -48,9 +48,9 @@ "rc-form": "~0.10.0", "rc-form-validation": "~2.5.0", "rc-input-number": "~2.4.1", - "rc-menu": "~4.9.0", + "rc-menu": "~4.10.2", "rc-notification": "~1.3.1", - "rc-pagination": "~1.3.5", + "rc-pagination": "~1.4.0", "rc-progress": "~1.0.4", "rc-queue-anim": "~0.11.2", "rc-radio": "~2.0.0", @@ -91,8 +91,8 @@ "eslint-plugin-markdown": "*", "eslint-plugin-react": "^3.3.1", "eslint-tinker": "~0.2.0", - "extract-text-webpack-plugin": "^0.9.1", - "gh-pages": "^0.8.0", + "extract-text-webpack-plugin": "^1.0.1", + "gh-pages": "^0.9.0", "history": "^1.17.0", "instantclick": "^3.1.0", "jest-cli": "~0.8.0", @@ -108,7 +108,7 @@ "rc-tween-one": "^0.1.8", "react": "0.14.x", "react-addons-test-utils": "0.14.x", - "react-copy-to-clipboard": "^3.0.4", + "react-copy-to-clipboard": "^4.0.1", "react-dom": "0.14.x", "react-router": "~1.0.3", "react-stateless-wrapper": "~1.0.2",