diff --git a/bower.json b/bower.json index 9ba92473..5dede285 100644 --- a/bower.json +++ b/bower.json @@ -39,7 +39,7 @@ "findit": "~1.1.4", "philip": "~1.3.2", "promise-polyfill": "~3.1.0", - "menu": "~1.0.1", - "smalltalk": "~1.6.6" + "smalltalk": "~1.6.6", + "menu": "~1.0.2" } } diff --git a/json/modules.json b/json/modules.json index d155be5a..f2c503a7 100644 --- a/json/modules.json +++ b/json/modules.json @@ -34,7 +34,7 @@ ] }, { "name": "menu", - "version": "1.0.1", + "version": "1.0.2", "local": [ "/modules/menu/menu-io.min.css", "/modules/menu/menu-io.min.js" diff --git a/modules/menu/.bower.json b/modules/menu/.bower.json index 79b5f3db..4fc32c71 100644 --- a/modules/menu/.bower.json +++ b/modules/menu/.bower.json @@ -1,6 +1,6 @@ { "name": "menu", - "version": "1.0.1", + "version": "1.0.2", "homepage": "https://github.com/coderaiser/menu-io", "authors": [ "coderaiser " @@ -20,14 +20,14 @@ "gulpfile.js", "node_modules" ], - "_release": "1.0.1", + "_release": "1.0.2", "_resolution": { "type": "version", - "tag": "v1.0.1", - "commit": "c2aa4fda3cdcfb499e7edb9d0ce6a679b38e4c81" + "tag": "v1.0.2", + "commit": "f258a85ac333460ef2affc8b8a901be7ce93be2c" }, "_source": "git://github.com/coderaiser/menu-io.git", - "_target": "~1.0.1", + "_target": "~1.0.2", "_originalSource": "menu", "_direct": true } \ No newline at end of file diff --git a/modules/menu/ChangeLog b/modules/menu/ChangeLog index be9b9594..00bc43bc 100644 --- a/modules/menu/ChangeLog +++ b/modules/menu/ChangeLog @@ -1,3 +1,14 @@ +2016.03.01, v1.0.2 + +fix: +- (package) test: lint:css -> npm run lint:css + +feature: +- (stylelint) .stylelintrc -> .stylelintrc.yml +- (package) ~ -> ^ +- (package) add stylelint + + 2016.02.05, v1.0.1 fix: diff --git a/modules/menu/bower.json b/modules/menu/bower.json index 2ecc2110..d14c9adf 100644 --- a/modules/menu/bower.json +++ b/modules/menu/bower.json @@ -1,6 +1,6 @@ { "name": "menu", - "version": "1.0.1", + "version": "1.0.2", "homepage": "https://github.com/coderaiser/menu-io", "authors": [ "coderaiser " diff --git a/modules/menu/menu-io.css b/modules/menu/menu-io.css index c0ba04e0..d1e0ed0c 100644 --- a/modules/menu/menu-io.css +++ b/modules/menu/menu-io.css @@ -1,5 +1,5 @@ .menu-hidden { - display:none; + display: none; } .menu { @@ -13,11 +13,11 @@ color : #222; - background : rgb(255,255,255); - background : rgba(255,255,255, 0.9); + background : rgb(255, 255, 255); + background : rgba(255, 255, 255, 0.9); - border-color : rgb(49,123,249); - border-color : rgba(49,123,249,.40); + border-color : rgb(49, 123, 249); + border-color : rgba(49, 123, 249, .40); border-style : solid; border-width : 1px; border-radius : 5px; @@ -59,7 +59,7 @@ display: block; } -.menu-submenu > label:after { +.menu-submenu > label::after { display: block; float: right; width: 0; @@ -67,7 +67,7 @@ margin-top: 3px; margin-right: -10px; border-color: transparent; - border-left-color: rgb(49,123,249); + border-left-color: rgb(49, 123, 249); border-style: solid; border-width: 5px 0 5px 5px; content: " "; diff --git a/modules/menu/menu-io.min.css b/modules/menu/menu-io.min.css index d935e30f..470bd045 100644 --- a/modules/menu/menu-io.min.css +++ b/modules/menu/menu-io.min.css @@ -1 +1 @@ -.menu-hidden{display:none}.menu{position:absolute;z-index:2;padding:0;font-size:14px;list-style:none;color:#222;background:#fff;background:rgba(255,255,255,.9);border-color:#317bf9;border-color:rgba(49,123,249,.4);border-style:solid;border-width:1px;border-radius:5px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.menu-button{background:#fff;border:0}.menu-item{position:relative;padding:3px 20px;white-space:pre}.menu-item::after{content:attr(data-key);float:right}.menu-item:hover{background-color:#e3f2ff}.menu-item>.menu{top:0;left:100%;display:none}.menu-item:hover>.menu{display:block}.menu-submenu>label:after{display:block;float:right;width:0;height:0;margin-top:3px;margin-right:-10px;border-color:transparent;border-left-color:#317bf9;border-style:solid;border-width:5px 0 5px 5px;content:" "} \ No newline at end of file +.menu-hidden{display:none}.menu{position:absolute;z-index:2;padding:0;font-size:14px;list-style:none;color:#222;background:#fff;background:rgba(255,255,255,.9);border-color:#317bf9;border-color:rgba(49,123,249,.4);border-style:solid;border-width:1px;border-radius:5px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.menu-button{background:#fff;border:0}.menu-item{position:relative;padding:3px 20px;white-space:pre}.menu-item::after{content:attr(data-key);float:right}.menu-item:hover{background-color:#e3f2ff}.menu-item>.menu{top:0;left:100%;display:none}.menu-item:hover>.menu{display:block}.menu-submenu>label::after{display:block;float:right;width:0;height:0;margin-top:3px;margin-right:-10px;border-color:transparent;border-left-color:#317bf9;border-style:solid;border-width:5px 0 5px 5px;content:" "} \ No newline at end of file diff --git a/modules/menu/package.json b/modules/menu/package.json index 83030602..2af60aea 100644 --- a/modules/menu/package.json +++ b/modules/menu/package.json @@ -1,6 +1,6 @@ { "name": "menu", - "version": "1.0.1", + "version": "1.0.2", "private": true, "branch": "gh-pages", "author": "coderaiser (https://github.com/coderaiser)", @@ -11,17 +11,20 @@ "url": "git://github.com/coderaiser/menu-io.git" }, "scripts": { - "test": "gulp default", + "test": "npm run lint:css && gulp default", + "lint:css": "stylelint menu-io.css", "wisdom": "npm test" }, "devDependencies": { - "gulp": "~3.8.8", - "gulp-rename": "~1.2.0", - "gulp-minify-css": "~0.3.1", - "gulp-uglify": "~0.2.1", - "gulp-concat": "~2.2.0", - "gulp-jshint": "~1.5.3", - "gulp-recess": "~0.3.0" + "gulp": "^3.8.8", + "gulp-concat": "^2.2.0", + "gulp-jshint": "^1.5.3", + "gulp-minify-css": "^0.3.1", + "gulp-recess": "^0.3.0", + "gulp-rename": "^1.2.0", + "gulp-uglify": "^0.2.1", + "stylelint": "^4.4.0", + "stylelint-config-standard": "^3.0.0" }, "license": "MIT", "engines": {