Skip to content
Permalink
Browse files

fix(bee-radio-group): change dependencies

  • Loading branch information...
BoyuZhou
BoyuZhou committed Nov 15, 2017
1 parent a610b7d commit 29dd607315b0152f75a5f23abe11529680a6112e
Showing with 58 additions and 60 deletions.
  1. +1 −0 .gitignore
  2. +0 −6 build/RadioButton.js
  3. +1 −0 index.html
  4. +56 −53 package.json
  5. +0 −1 src/RadioButton.js
@@ -36,3 +36,4 @@ jspm_packages

dist
coverage
.idea/
@@ -20,8 +20,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d

function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
@@ -46,10 +44,6 @@ var RadioButton = function (_Component) {
}

RadioButton.prototype.render = function render() {
var _props = this.props,
clsPrefic = _props.clsPrefic,
onthers = _objectWithoutProperties(_props, ['clsPrefic']);

return _react2["default"].createElement(_Radio2["default"], this.props);
};

@@ -18,6 +18,7 @@
<script src="//design.yonyoucloud.com/static/react/16.0.0/umd/react.development.js"></script>
<script src="//design.yonyoucloud.com/static/react/16.0.0/umd/react-dom.development.js"></script>
<script src="//design.yonyoucloud.com/static/prop-types/15.6.0/prop-types.min.js"></script>

<script src="./dist/demo.js"></script>
</body>
</html>
@@ -1,55 +1,58 @@
{
"name": "bee-radio",
"version": "0.1.10",
"description": "radio-group ui component for react",
"keywords": [
"react",
"react-component",
"react-radio-group",
"iuap-design",
"neoui-react",
"radio-group"
],
"engines": {
"node": ">=4.0.0"
},
"homepage": "https://github.com/tinper-bee/radio-group",
"author": "",
"repository": "http://github.com/tinper-bee/radio-group",
"bugs": "https://github.com/tinper-bee/radio-group/issues",
"license": "MIT",
"main": "./build/index",
"config": {
"port": 8000
},
"scripts": {
"dev": "bee-tools run start",
"build": "bee-tools run build",
"lint": "bee-tools run lint",
"test": "bee-tools run test",
"chrome": "bee-tools run chrome",
"browsers": "bee-tools run browsers",
"pub": "bee-tools run pub",
"coveralls": "bee-tools run coverage"
},
"dependencies": {
"classnames": "^2.2.5",
"object-assign": "^4.1.0",
"tinper-bee-core": "latest"
},
"peerDependencies": {
"react": "^15.3.0 || ^16.0",
"react-dom": "^15.3.0 || ^16.0",
"prop-types": "15.6.0"
},
"devDependencies": {
"chai": "^3.5.0",
"enzyme": "^2.4.1",
"react-addons-test-utils": "15.3.2",
"console-polyfill": "~0.2.1",
"es5-shim": "~4.1.10",
"bee-panel": "latest",
"bee-layout": "latest",
"bee-button": "latest"
"name": "bee-radio",
"version": "1.0.0",
"description": "radio-group ui component for react",
"keywords": [
"react",
"react-component",
"react-radio-group",
"iuap-design",
"neoui-react",
"radio-group"
],
"engines": {
"node": ">=4.0.0"
},
"homepage": "https://github.com/tinper-bee/radio-group",
"author": "",
"repository": "http://github.com/tinper-bee/radio-group",
"bugs": "https://github.com/tinper-bee/radio-group/issues",
"license": "MIT",
"main": "./build/index",
"config": {
"port": 8000,
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
},
"scripts": {
"dev": "bee-tools run start",
"build": "bee-tools run build",
"lint": "bee-tools run lint",
"test": "bee-tools run test",
"chrome": "bee-tools run chrome",
"browsers": "bee-tools run browsers",
"pub": "bee-tools run pub",
"coveralls": "bee-tools run coverage"
},
"dependencies": {
"classnames": "^2.2.5",
"tinper-bee-core": "latest"
},
"peerDependencies": {
"react": "^15.3.0 || ^16.0",
"react-dom": "^15.3.0 || ^16.0",
"prop-types": "15.6.0"
},
"devDependencies": {
"bee-button": "latest",
"bee-layout": "latest",
"bee-panel": "latest",
"chai": "^3.5.0",
"console-polyfill": "~0.2.1",
"cz-conventional-changelog": "^2.1.0",
"enzyme": "^2.4.1",
"es5-shim": "~4.1.10",
"react-addons-test-utils": "15.3.2"
}
}
@@ -17,7 +17,6 @@ const defaultProps = {
class RadioButton extends Component{

render() {
const {clsPrefic, ...onthers} = this.props;
return (
<Radio {...this.props} />
);

0 comments on commit 29dd607

Please sign in to comment.
You can’t perform that action at this time.