edx-pattern-library
Advanced tools
Comparing version 0.15.0 to 0.16.0
@@ -5,2 +5,8 @@ # Changelog | ||
## 0.16.0 (2016-07-11) | ||
* Add eslint-config-edx v1.2.0 | ||
* Remove edx-icons, aFontGarde, and modernizr files | ||
- - - | ||
## 0.15.0 (2016-06-24) | ||
@@ -7,0 +13,0 @@ * Add breadcrumbs pattern example and styles |
{ | ||
"name": "edx-pattern-library", | ||
"version": "0.15.0", | ||
"version": "0.16.0", | ||
"author": "edX Pattern Library Team <pattern-library@edx.org>", | ||
@@ -40,2 +40,4 @@ "license": "Apache-2.0", | ||
"edx-ui-toolkit": "~1.4.1", | ||
"eslint": "~2.13.1", | ||
"eslint-config-edx": "~1.2.0", | ||
"extract-text-webpack-plugin": "~1.0.1", | ||
@@ -47,2 +49,3 @@ "file-loader": "0.8.5", | ||
"gulp-concat": "*", | ||
"gulp-eslint": "^2.0.0", | ||
"gulp-filesize": "*", | ||
@@ -74,4 +77,5 @@ "gulp-filter": "*", | ||
"gulp": "gulp", | ||
"development": "gulp build-development" | ||
"development": "gulp build-development", | ||
"lint": "gulp lint" | ||
} | ||
} |
define([ | ||
'jquery' | ||
], function($) { | ||
], function($) { | ||
'use strict'; | ||
/* | ||
@@ -15,14 +15,12 @@ * Select menu replacement | ||
*/ | ||
var CustomSelectReplacement = { | ||
vars: { | ||
replaced: $('.replace-select'), | ||
replacedClass: 'is-replaced is-transparent', | ||
customClass: 'wrapper-custom-select', | ||
wrapperClass: 'wrapper-replace-select', | ||
valueClass: 'replace-value', | ||
iconClass: 'icon-caret-down', | ||
hoverClass: 'is-hover' | ||
replaced: $('.replace-select'), | ||
replacedClass: 'is-replaced is-transparent', | ||
customClass: 'wrapper-custom-select', | ||
wrapperClass: 'wrapper-replace-select', | ||
valueClass: 'replace-value', | ||
iconClass: 'icon-caret-down', | ||
hoverClass: 'is-hover' | ||
}, | ||
@@ -40,3 +38,2 @@ | ||
if (variables.replaced.length) { | ||
variables.replaced.each(function(index, el) { | ||
@@ -63,2 +60,3 @@ var $el = $(el), | ||
/* eslint-disable indent, max-len */ | ||
$el.replaceWith([ | ||
@@ -75,3 +73,4 @@ '<div class="' + variables.wrapperClass + '">', | ||
'</div>' | ||
].join('')); | ||
].join('')); | ||
/* eslint-enable indent, max-len */ | ||
}); | ||
@@ -78,0 +77,0 @@ } |
@@ -56,3 +56,3 @@ # edX Pattern Library | ||
| [susy](https://github.com/ericam/susy) | 2.2.9 | Grid configuration and utilities | | ||
| [A Font Garde](https://github.com/filamentgroup/a-font-garde) | 0.1.6 | A set of reliable (nay, bulletproof) patterns for icon fonts. | | ||
| [Font Awesome](https://github.com/FortAwesome/Font-Awesome) | 4.6.3 | Accessibility-minded iconic font | | ||
@@ -59,0 +59,0 @@ ## Documentation |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
1198907
36
69
161