upgrade some devDeps and fix stylelint

This commit is contained in:
afc163 2017-08-04 17:58:32 +08:00
parent da8c82a6e4
commit 6a17efcbf1
23 changed files with 39 additions and 39 deletions

View File

@ -1,10 +1,7 @@
{
"extends": "stylelint-config-standard",
"rules": {
"at-rule-empty-line-before": null,
"at-rule-name-space-after": null,
"comment-empty-line-before": null,
"declaration-bang-space-before": null,
"declaration-empty-line-before": null,
"function-comma-newline-after": null,
"function-name-case": null,

View File

@ -103,7 +103,7 @@
top: auto;
display: block;
position: relative;
transform: none!important;
transform: none !important;
}
}

View File

@ -5,9 +5,9 @@
@btn-prefix-cls: ~"@{ant-prefix}-btn";
// for compatibile
@btn-ghost-color : @text-color;
@btn-ghost-bg : transparent;
@btn-ghost-border : @border-color-base;
@btn-ghost-color: @text-color;
@btn-ghost-bg: transparent;
@btn-ghost-border: @border-color-base;
// Button styles
// -----------------------------
@ -142,7 +142,7 @@
}
&-background-ghost {
background: transparent!important;
background: transparent !important;
border-color: #fff;
color: #fff;
}

View File

@ -10,7 +10,7 @@
&-input.@{ant-prefix}-input {
// Add important to fix https://github.com/ant-design/ant-design/issues/5078
// because input.less will compile after cascader.less
background-color: transparent!important;
background-color: transparent !important;
cursor: pointer;
width: 100%;
display: block;

View File

@ -133,7 +133,7 @@
}
.@{checkbox-inner-prefix-cls} {
border-color: @border-color-base!important;
border-color: @border-color-base !important;
background-color: @input-disabled-bg;
&:after {
animation-name: none;

View File

@ -10,8 +10,7 @@
.@{ant-prefix}-row-flex {
display: flex;
flex-direction: row;
flex-wrap: wrap;
flex-flow: row nowrap;
&:before,
&:after {

View File

@ -135,7 +135,7 @@
}
}
&:hover {
height: 60%!important;
height: 60% !important;
}
}
@ -152,7 +152,7 @@
}
}
&:hover {
height: 60%!important;
height: 60% !important;
}
}

View File

@ -39,7 +39,8 @@
transition: all .15s @ease-in-out;
position: relative;
background: @layout-sider-background;
/* fix firefox can't set width smaller than content on flex item */
/* fix firefox can't set width smaller than content on flex item */
min-width: 0;
&-has-trigger {

View File

@ -111,7 +111,7 @@
.@{radio-prefix-cls}-disabled {
.@{radio-inner-prefix-cls} {
border-color: @border-color-base!important;
border-color: @border-color-base !important;
background-color: @input-disabled-bg;
&:after {
background-color: #ccc;
@ -226,7 +226,7 @@ span.@{radio-prefix-cls} + * {
}
&:first-child {
border-color: @primary-color;
box-shadow: none!important;
box-shadow: none !important;
}
&:hover {

View File

@ -135,7 +135,7 @@
.@{slider-prefix-cls}-handle,
.@{slider-prefix-cls}-dot {
border-color: @slider-disabled-color!important;
border-color: @slider-disabled-color !important;
background-color: @component-background;
cursor: not-allowed;
box-shadow: none;
@ -143,7 +143,7 @@
.@{slider-prefix-cls}-mark-text,
.@{slider-prefix-cls}-dot {
cursor: not-allowed!important;
cursor: not-allowed !important;
}
}
}

View File

@ -1,3 +1,4 @@
/* stylelint-disable declaration-bang-space-before */
.bezierEasingMixin() {
@functions: ~`(function() {
var NEWTON_ITERATIONS = 4;

View File

@ -1,3 +1,4 @@
/* stylelint-disable declaration-bang-space-before */
.tinyColorMixin() {
@functions: ~`(function() {
// TinyColor v1.4.1

View File

@ -1,3 +1,4 @@
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
@import "../color/colors";
// The prefix to use on all css classes from ant.

View File

@ -60,6 +60,6 @@ ReactDOM.render(
````css
th.column-money,
td.column-money {
text-align: right!important;
text-align: right !important;
}
````

View File

@ -58,7 +58,7 @@
&&-card &-content > &-tabpane,
&&-editable-card &-content > &-tabpane {
transition: none!important;
transition: none !important;
&-inactive {
overflow: hidden;
}

View File

@ -202,7 +202,7 @@
> .@{tab-prefix-cls}-tabpane-inactive {
opacity: 0;
height: 0;
padding: 0!important;
padding: 0 !important;
pointer-events: none;
}
}
@ -263,7 +263,7 @@
> .@{tab-prefix-cls}-content {
overflow: hidden;
width: auto;
margin-top: 0!important;
margin-top: 0 !important;
}
> .@{tab-prefix-cls}-bar {

View File

@ -47,8 +47,8 @@
}
&.filter-node {
> span {
color: @highlight-color!important;
font-weight: bold!important;
color: @highlight-color !important;
font-weight: bold !important;
}
}
ul {

View File

@ -13,7 +13,7 @@ Following the Ant Design specification, we developed a React UI library `antd` t
<style>
.pic-plus > * {
display: inline-block!important;
display: inline-block !important;
vertical-align: middle;
}
.pic-plus span {

View File

@ -13,7 +13,7 @@ title: Ant Design of React
<style>
.pic-plus > * {
display: inline-block!important;
display: inline-block !important;
vertical-align: middle;
}
.pic-plus span {

View File

@ -84,7 +84,7 @@
"antd-tools": "~1.6.0",
"babel-cli": "^6.18.0",
"babel-eslint": "^7.1.0",
"babel-jest": "^19.0.0",
"babel-jest": "^20.0.3",
"babel-plugin-import": "^1.0.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.18.0",
@ -97,7 +97,7 @@
"bisheng-plugin-react": "^0.5.0",
"bisheng-plugin-toc": "^0.4.0",
"color-standalone": "^0.11.6",
"cross-env": "^4.0.0",
"cross-env": "^5.0.3",
"css-split-webpack-plugin": "^0.2.3",
"dekko": "^0.2.0",
"delegate": "^3.1.2",
@ -109,7 +109,7 @@
"eslint-config-airbnb": "latest",
"eslint-plugin-babel": "^4.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^5.0.1",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-markdown": "~1.0.0-beta.4",
"eslint-plugin-react": "^7.0.1",
"eslint-tinker": "^0.4.0",
@ -117,7 +117,7 @@
"glob": "^7.1.1",
"jest": "^20.0.4",
"jsonml.js": "^0.1.0",
"lint-staged": "^3.3.1",
"lint-staged": "^4.0.2",
"mockdate": "^2.0.1",
"moment-timezone": "^0.5.5",
"pre-commit": "^1.2.2",
@ -127,7 +127,7 @@
"rc-tween-one": "^1.1.2",
"react": "^15.0.0",
"react-color": "^2.11.7",
"react-copy-to-clipboard": "^4.0.1",
"react-copy-to-clipboard": "^5.0.0",
"react-document-title": "^2.0.1",
"react-dom": "^15.0.0",
"react-github-button": "^0.1.1",
@ -136,9 +136,9 @@
"react-test-renderer": "^15.5.4",
"reqwest": "^2.0.5",
"rimraf": "^2.5.4",
"stylelint": "^7.8.0",
"stylelint-config-standard": "^16.0.0",
"typescript": "~2.3.0",
"stylelint": "^8.0.0",
"stylelint-config-standard": "^17.0.0",
"typescript": "~2.4.2",
"typescript-babel-jest": "^1.0.2",
"values.js": "^1.0.3",
"xhr2": "^0.1.3"

View File

@ -188,7 +188,7 @@
transform: scale(1.2);
}
&.anticon-check {
color: @green-6!important;
color: @green-6 !important;
font-weight: bold;
}
}

View File

@ -140,7 +140,7 @@
}
.image-modal-single .slick-dots {
display: none!important;
display: none !important;
}
}

View File

@ -30,7 +30,7 @@
width: 100%;
}
.preview-image-boxes {
margin: 0!important;
margin: 0 !important;
float: none;
width: 100%;
}
@ -188,7 +188,7 @@
padding-right: 16px;
margin-right: 0;
> .markdown > * {
width: 100%!important;
width: 100% !important;
}
}