Skip to content

Commit da17257

Browse files
authored
Merge branch 'dev' into patch-1
2 parents ef33431 + 0684676 commit da17257

File tree

55 files changed

+2295
-1877
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+2295
-1877
lines changed

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{
2-
"devDependencies": {
3-
"lerna": "3.11.0"
2+
"dependencies": {
3+
"lerna": "3.11.0",
4+
"prettier": "^1.14.3",
5+
"pretty-quick": "^1.8.0"
46
},
57
"private": true,
68
"scripts": {
79
"bootstrap": "lerna bootstrap",
8-
"setup": "npm run bootstrap && npm run build:uikit",
9-
"build:uikit": "lerna exec --scope @pattern-lab/uikit-workshop -- npm run build",
10+
"setup": "npm install && npm run bootstrap && npm run build:uikit",
11+
"build:uikit": "cd packages/uikit-workshop && npm run build",
1012
"precommit": "pretty-quick --staged",
1113
"prettier": "prettier --config .prettierrc --write ./**/*.js --ignore-path .prettierignore",
1214
"test": "lerna run test",

packages/core/src/lib/addPattern.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
'use strict';
22

3-
const _ = require('lodash');
4-
53
const logger = require('./log');
64

75
module.exports = function(pattern, patternlab) {

packages/core/src/lib/plugin_manager.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
const plugin_manager = function() {
44
const path = require('path');
55
const findModules = require('./findModules');
6-
7-
const _ = require('lodash');
8-
96
const logger = require('./log');
107

118
const pluginMatcher = /^plugin-(.*)$/;

packages/core/src/lib/ui_builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const ui_builder = function() {
9090
logger.info(
9191
`Omitting ${
9292
pattern.patternPartial
93-
} from styleguide patterns because it has an underscore suffix.`
93+
} from styleguide patterns because it has an underscore prefix.`
9494
);
9595
return true;
9696
}

packages/uikit-workshop/dist/index.html

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -77,27 +77,7 @@
7777

7878
</div>
7979
<!--end pl-c-viewport-->
80-
<div class="pl-c-modal__cover pl-js-modal-cover"></div>
81-
<div class="pl-c-modal pl-js-modal">
82-
<div class="pl-c-modal__toolbar">
83-
<div class="pl-c-modal__resizer pl-js-modal-resizer"></div>
84-
<div class="pl-c-modal__toolbar-controls">
85-
<!-- @todo: revisit to see if slotted content might make sense here (ex. to have an extra toggle for switching the layout -->
86-
<pl-toggle-layout></pl-toggle-layout>
87-
88-
<button class="pl-c-modal__close-btn pl-js-modal-close-btn" title="Hide pattern info">
89-
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12" viewBox="0 0 12 12" class="pl-c-modal__close-btn-icon">
90-
<title>Close</title>
91-
<path fill="currentColor" d="M11.8905,9.6405 L11.8905,9.6405 L8.25,6 L11.8905,2.3595 L11.8905,2.3595 C11.9295,2.3205 11.958,2.27475 11.976,2.226 C12.0255,2.0925 11.997,1.9365 11.8905,1.82925 L10.17075,0.1095 C10.0635,0.00225 9.9075,-0.02625 9.774,0.024 C9.72525,0.042 9.6795,0.0705 9.6405,0.1095 L9.6405,0.1095 L6,3.75 L2.3595,0.1095 L2.3595,0.1095 C2.3205,0.0705 2.27475,0.042 2.226,0.024 C2.0925,-0.0255 1.9365,0.00225 1.82925,0.1095 L0.1095,1.82925 C0.00225,1.9365 -0.02625,2.0925 0.024,2.226 C0.042,2.27475 0.0705,2.3205 0.1095,2.3595 L0.1095,2.3595 L3.75,6 L0.1095,9.6405 L0.1095,9.6405 C0.0705,9.6795 0.042,9.72525 0.024,9.774 C-0.0255,9.9075 0.00225,10.0635 0.1095,10.17075 L1.82925,11.8905 C1.9365,11.99775 2.0925,12.02625 2.226,11.976 C2.27475,11.958 2.3205,11.9295 2.3595,11.8905 L2.3595,11.8905 L6,8.25 L9.6405,11.8905 L9.6405,11.8905 C9.6795,11.9295 9.72525,11.958 9.774,11.976 C9.9075,12.0255 10.0635,11.99775 10.17075,11.8905 L11.8905,10.17075 C11.99775,10.0635 12.02625,9.9075 11.976,9.774 C11.958,9.72525 11.9295,9.6795 11.8905,9.6405 L11.8905,9.6405 Z"></path>
92-
</svg>
93-
</button>
94-
</div>
95-
</div>
96-
<div class="pl-c-modal__content-wrapper">
97-
<div class="pl-c-modal__content pl-js-modal-content"></div>
98-
</div>
99-
</div>
100-
80+
<pl-drawer></pl-drawer>
10181
</div>
10282
</pl-layout>
10383

@@ -229,9 +209,7 @@
229209

230210
<ul class="pl-c-tools__list pl-js-acc-panel">
231211
<li class="pl-c-tools__item">
232-
<button class="pl-c-tools__action pl-js-pattern-info-toggle">Show Pattern Info</button>
233-
<!-- WIP - commenting out for now -->
234-
<!-- <pl-info-toggle></pl-info-toggle> -->
212+
<pl-toggle-info></pl-toggle-info>
235213
</li>
236214
<li class="pl-c-tools__item">
237215
<pl-toggle-layout text="Switch Layout"><pl-toggle-layout>

packages/uikit-workshop/dist/styleguide/css/pattern-lab.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/uikit-workshop/dist/styleguide/js/0-chunk-bfab2102075df63da231.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

packages/uikit-workshop/dist/styleguide/js/0-chunk-e368189cde6a7045d400.js

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/uikit-workshop/dist/styleguide/js/2-chunk-e309c72e0e8f5783df94.js renamed to packages/uikit-workshop/dist/styleguide/js/2-chunk-d9fa8aeb5796d832a786.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/uikit-workshop/dist/styleguide/js/patternlab-pattern.js

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)