-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduces buttons #1
Conversation
32c94c5
to
c0a28fe
Compare
c0a28fe
to
b1a79f6
Compare
b1a79f6
to
2b8ea14
Compare
e9661a1
to
1375bd4
Compare
8f5d28b
to
0934c37
Compare
@ahennr @dnlkoch @marcjansen |
.eslintrc
Outdated
@@ -14,16 +14,30 @@ | |||
}, | |||
"parser": "babel-eslint", | |||
"globals": { | |||
"ol": false | |||
"ol": false, | |||
"Promise": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: Extra comma.
const setup = () => { | ||
const wrapper = mount(<SimpleButton />); | ||
return wrapper; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be replaced with TestUtils.mount()
.
const setup = (props, context) => { | ||
const wrapper = mount(<ToggleButton {...props} />, {context}); | ||
return wrapper; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be replaced with TestUtils.mount()
.
const setup = (props, context) => { | ||
const wrapper = mount(<ToggleGroup {...props} />, {context}); | ||
return wrapper; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be replaced with TestUtils.mount()
.
b54ee8f
to
664f3fc
Compare
.example-block > span { | ||
margin-right: 10px; | ||
} | ||
</style> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 💯
package.json
Outdated
@@ -53,15 +54,17 @@ | |||
"build:examples": "rimraf ./build/examples/* && node tasks/build-examples.js && webpack --config webpack.examples.config.js", | |||
"build:docs": "jsdoc --package ./package.json --readme ./README.md -c .jsdoc", | |||
"build:js": "webpack --config webpack.development.config.js && webpack -p --config webpack.production.config.js", | |||
"build": "npm run test && npm run build:examples && npm run build:docs && npm run build:js" | |||
"build": "npm run clean && BABEL_ENV=build babel src -d dist" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this is the right thing?
}, | ||
"dependencies": { | ||
"antd": "2.12.8", | ||
"lodash": "4.17.4", | ||
"loglevel": "1.4.1", | ||
"ol": "4.3.2", | ||
"prop-types": "15.5.10", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This migfht be one of the causes of the merge conflict
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get why adding a line causes conflicts but you were right.
664f3fc
to
fb1e3d2
Compare
Minor redlining enhancements
This PR introduces the buttons as our first components.
Also fixes the package build.
Adjusts eslint rules.
Adjust babel settings.