Skip to content

Commit e60580d

Browse files
author
Brian Muenzenmeyer
committed
Merge pull request #100 from pattern-lab/dev
patternlab node 0.8.1 release
2 parents e61b6f0 + 45690fd commit e60580d

File tree

12 files changed

+78
-12
lines changed

12 files changed

+78
-12
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@ latest-change.txt
1313
patternlab.json
1414
.sass-cache/*
1515
/sass-cache
16-
source/images/Thumbs.db
16+
source/images/Thumbs.db
17+
public/styleguide/css/static.css.map
18+
public/styleguide/css/styleguide-specific.css.map
19+
public/styleguide/css/styleguide.css.map
20+
source/css/style.css.map

CHANGELOG

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
THIS CHANGELOG IS AN ATTEMPT TO DOCUMENT CHANGES TO THIS PROJECT.
22

3+
PL-node-v0.8.1
4+
- FIX: v8 is not pulling in values from global data.json
5+
- FIX: MQ list breaks if media queries don't have spaces
6+
- THX: @getsetbro for reporting these issues :D
7+
- THX: @dmolsen for a cheat codes
8+
39
PL-node-v0.8.0
410
- CHG: note the change in versioning to proper semver. wanted to do ths to inch closer to a 1.0.0 release
511
- DEL: deleted most of the lingering PHP sync listener code
@@ -9,6 +15,7 @@ PL-node-v0.8.0
915
- THX: @getsetbro for finding and fixing a typo
1016
- FIX: fixed a bug preventing pattern states from displaying on the flat template/pages
1117
- ADD: support for basic pseudo-patterns
18+
- CHG: cleaned up patternlab.js a bit for future testing, a bit more DRYness.
1219

1320
PL-node-v0.1.7
1421
- ADD: pattern export

builder/lineage_hunter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* patternlab-node - v0.8.0 - 2015
2+
* patternlab-node - v0.8.1 - 2015
33
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.

builder/media_hunter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* patternlab-node - v0.8.0 - 2015
2+
* patternlab-node - v0.8.1 - 2015
33
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.
@@ -26,7 +26,7 @@
2626
var safeContents = contents.replace("\r", " ").replace("\n", " ");
2727
var matches = safeContents.match(/\((min|max)-width:([ ]+)?(([0-9]{1,5})(\.[0-9]{1,20}|)(px|em))/g);
2828
for(var i = 0; i < matches.length; i++){
29-
var breakpoint = matches[i].substring(matches[i].indexOf(' ') + 1);
29+
var breakpoint = matches[i].substring(matches[i].indexOf(':') + 1).trimLeft();
3030
if(patternlab.mediaQueries.indexOf(breakpoint) === -1){
3131
patternlab.mediaQueries.push(breakpoint);
3232
}

builder/object_factory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* patternlab-node - v0.8.0 - 2015
2+
* patternlab-node - v0.8.1 - 2015
33
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.

builder/pattern_exporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* patternlab-node - v0.8.0 - 2015
2+
* patternlab-node - v0.8.1 - 2015
33
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.

builder/patternlab.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* patternlab-node - v0.8.0 - 2015
2+
* patternlab-node - v0.8.1 - 2015
33
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.
@@ -87,7 +87,7 @@ var patternlab_engine = function(){
8787
//TODO: https://github.com/pattern-lab/patternlab-node/issues/95 check for patternstylemodifiers before we do much else. need to remove these from the template for proper rendering
8888

8989
//make a new Pattern Object
90-
currentPattern = new of.oPattern(subdir, filename, {});
90+
currentPattern = new of.oPattern(subdir, filename);
9191

9292
//see if this file has a state
9393
assembler.setPatternState(currentPattern, patternlab);

builder/patternlab_grunt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* patternlab-node - v0.8.0 - 2015
2+
* patternlab-node - v0.8.1 - 2015
33
*
44
* Brian Muenzenmeyer, and the web community.
55
* Licensed under the MIT license.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "patternlab-node",
33
"description": "Pattern Lab is a collection of tools to help you create atomic design systems. This is the node command line interface (CLI).",
4-
"version": "0.8.0",
4+
"version": "0.8.1",
55
"devDependencies": {
66
"grunt": "~0.4.0",
77
"grunt-contrib-watch": "^0.6.1",

source/css/scss/base/_global-classes.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@
8080
}
8181
}
8282

83+
.hide-large-2 {
84+
@media all and (min-width:$bp-large-2) {
85+
display: none;
86+
}
87+
}
88+
8389
//
8490
.valid {
8591
color: $valid;

0 commit comments

Comments
 (0)