Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 35337b6

Browse files
committed
Merge branch 'dev'
2 parents 32ef7ca + 66c2f21 commit 35337b6

File tree

15 files changed

+42
-21
lines changed

15 files changed

+42
-21
lines changed

CHANGELOG

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

3+
PL-v0.7.6
4+
- FIX: pattern search now searches the entire name of a pattern
5+
- FIX: the MQ menu lines up with the navigation item
6+
37
PL-v0.7.5
48
- ADD: a quick pattern search using typeahead
59
- ADD: keyboard shortcuts for a bunch of features using jwerty
@@ -24,6 +28,7 @@ PL-v0.7.5
2428
- THX: thanks to @joshrcook for some styling fixes and hitting on the cause of the start-up issues on ubuntu
2529
- THX: thanks to @tylersticka for lots of ideas: pattern states, cmd+a, boolean pattern parameters and the feedback on the watcher
2630
- THX: thanks to @nikvm for the fix for properly sorting the styleguide view
31+
- THX: thanks to @aarongustafson for the idea to only load the JS when it's in the iframe
2732

2833
PL-v0.7.2
2934
- FIX: proper support for Windows with the changes that happened in v0.7.0

core/lib/PatternLab/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*!
4-
* Pattern Lab Builder Class - v0.7.5
4+
* Pattern Lab Builder Class - v0.7.6
55
*
66
* Copyright (c) 2013-2014 Dave Olsen, http://dmolsen.com
77
* Licensed under the MIT license

core/lib/PatternLab/Configurer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*!
4-
* Pattern Lab Configurer Class - v0.7.5
4+
* Pattern Lab Configurer Class - v0.7.6
55
*
66
* Copyright (c) 2014 Dave Olsen, http://dmolsen.com
77
* Licensed under the MIT license

core/lib/PatternLab/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*!
4-
* Pattern Lab Generator Class - v0.7.5
4+
* Pattern Lab Generator Class - v0.7.6
55
*
66
* Copyright (c) 2013-2014 Dave Olsen, http://dmolsen.com
77
* Licensed under the MIT license

core/lib/PatternLab/Migrator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*!
4-
* Pattern Lab Migrator Class - v0.7.5
4+
* Pattern Lab Migrator Class - v0.7.6
55
*
66
* Copyright (c) 2014 Dave Olsen, http://dmolsen.com
77
* Licensed under the MIT license

core/lib/PatternLab/Watcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*!
4-
* Pattern Lab Watcher Class - v0.7.5
4+
* Pattern Lab Watcher Class - v0.7.6
55
*
66
* Copyright (c) 2013-2014 Dave Olsen, http://dmolsen.com
77
* Licensed under the MIT license

core/styleguide/css/styleguide.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@
210210
position: absolute;
211211
left: auto;
212212
right: 0; }
213+
.sg-acc-panel.sg-left {
214+
position: absolute;
215+
left: auto; }
213216

214217
/* Controls (sizing, view mode) */
215218
.sg-controls {

core/styleguide/css/styleguide.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,11 @@ $animate-quick: 0.2s;
306306
left: auto;
307307
right: 0;
308308
}
309+
310+
&.sg-left {
311+
position: absolute;
312+
left: auto;
313+
}
309314
}
310315

311316
/* Controls (sizing, view mode) */

core/styleguide/css/vendor/typeahead.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
.typeahead,
1111
.tt-query,
1212
.tt-hint {
13-
width: 396px;
13+
width: 220px;
1414
height: 30px;
1515
padding: 8px 12px;
1616
font-size: 14px;

core/styleguide/js/pattern-finder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ var patternFinder = {
2626

2727
// instantiate the bloodhound suggestion engine
2828
var patterns = new Bloodhound({
29-
datumTokenizer: function(d) { return Bloodhound.tokenizers.whitespace(d.patternPartial); },
30-
queryTokenizer: Bloodhound.tokenizers.whitespace,
29+
datumTokenizer: function(d) { return Bloodhound.tokenizers.nonword(d.patternPartial); },
30+
queryTokenizer: Bloodhound.tokenizers.nonword,
3131
limit: 10,
3232
local: this.data
3333
});

0 commit comments

Comments
 (0)