Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
c00bb20
refactor: porting in latest bug fixes and UI updates relating to over…
bolt-bot Oct 14, 2018
b5f9e55
chore: update uikit dependencies
bolt-bot Oct 14, 2018
6ba3c3e
chore: clean up Sass imports in recently refactored components
bolt-bot Oct 14, 2018
1680f5f
refactor: add new pl-toggle-info component
bolt-bot Oct 14, 2018
4597145
refactor: rename 'modal' component to 'drawer' -- refactor and port o…
bolt-bot Oct 14, 2018
d222d4a
refactor: add overflow shadow affordance to preformatted code -- help…
bolt-bot Oct 14, 2018
79489c2
refactor: update main pattern-lab.scss file to consistently pull in t…
bolt-bot Oct 14, 2018
239a5a6
chore: fresh uikit build
bolt-bot Oct 15, 2018
00d7bbe
fix: add eslint fixes
bolt-bot Oct 15, 2018
04d3650
Merge branch 'dev' into feature/uikit-refactor-p7
bolt-bot Oct 27, 2018
caf51ee
Merge branch 'dev' into feature/uikit-refactor-p7
bolt-bot Oct 28, 2018
40bcf78
chore: remove old modal HTML partial that's now rendered by the <pl-d…
bolt-bot Oct 28, 2018
97ecdad
chore: minor CSS cleanup
bolt-bot Oct 28, 2018
81f7ebd
refactor: reorganize remaining UI components + split apart the header…
bolt-bot Nov 23, 2018
d6f4e54
refactor: wire up new header component
bolt-bot Nov 23, 2018
c325463
chore: update path to relocated copy to clipboard component
bolt-bot Nov 23, 2018
f07ea6f
refactor: 1st pass cleaning up and converting original PL nav into a …
bolt-bot Nov 23, 2018
b33d0cd
refactor: refactor pattern name logic out of styleguide.js's jQuery soup
bolt-bot Nov 23, 2018
d7bc445
refactor: clean up and split apart the original controls component / …
bolt-bot Nov 23, 2018
ca6dfab
refactor: add standalone pl-viewport UI component to replace original…
bolt-bot Nov 23, 2018
c76bd92
refactor: remove Hogan.js template rendering in original pl-layout — …
bolt-bot Nov 23, 2018
8555509
refactor: move llogic for handling the nav opening / closing out of s…
bolt-bot Nov 23, 2018
d8efd9d
chore: remove old UI logic moved into new nav component; update main …
bolt-bot Nov 23, 2018
bda3877
chore: update Webpack to the latest version + update build config to …
bolt-bot Nov 23, 2018
58a786e
refactor: update UIKit footer so JS always loads — fix to address Pat…
bolt-bot Nov 23, 2018
a8a606c
fix: squashing minor UI bugs
bolt-bot Nov 23, 2018
9423d4c
Merge commit 'a37d708ce7d8e28cc0e8b07e0b50c4bc299e6d52' into feature/…
bolt-bot Nov 23, 2018
bc66aea
chore: fresh prod build — now almost half the size!
bolt-bot Nov 23, 2018
9788e89
fix: fix incorrect Webpack version in package.json
bolt-bot Nov 24, 2018
8ac2c1f
fix: minor CSS fixes + fresh prod build
bolt-bot Nov 24, 2018
881296a
fix: add missing preact-render-to-string library
bolt-bot Nov 24, 2018
54c6b0c
chore: fix unrelated eslint / prettier issues + add root to PL node .…
bolt-bot Nov 24, 2018
95cd1cf
fix: fix issue with viewport height exceeding the space available
bolt-bot Nov 24, 2018
dee9d70
refactor: tightening up tabs UI
bolt-bot Nov 24, 2018
a6814d0
Merge commit 'c40d94b92aa706cf8bce048a249a34a428e6c35b' into feature/…
sghoweri Feb 2, 2019
29e509e
chore: update top level NPM deps + regenerate build
sghoweri Feb 2, 2019
e2cd335
chore: upgrade lerna to the latest version + fix eslint errors
sghoweri Feb 2, 2019
6c3dcf4
Merge branch 'feature/uikit-refactor-p7' into feature/uikit-refactor-p8
sghoweri Feb 2, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"root": true,
"env": {
"node": true,
"builtin": true,
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lerna": "3.2.1",
"lerna": "3.10.8",
"packages": [
"packages/*"
],
Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"devDependencies": {
"lerna": "3.2.1"
"dependencies": {
"lerna": "3.10.8",
"prettier": "^1.14.3",
"pretty-quick": "^1.8.0"
},
"private": true,
"scripts": {
"bootstrap": "lerna bootstrap",
"setup": "npm run bootstrap && npm run build:uikit",
"build:uikit": "lerna exec --scope @pattern-lab/uikit-workshop -- npm run build",
"setup": "npm install && npm run bootstrap && npm run build:uikit",
"build:uikit": "cd packages/uikit-workshop && npm run build",
"precommit": "pretty-quick --staged",
"prettier": "prettier --config .prettierrc --write ./**/*.js --ignore-path .prettierignore",
"test": "lerna run test",
Expand Down
2 changes: 0 additions & 2 deletions packages/core/src/lib/addPattern.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'use strict';

const _ = require('lodash');

const logger = require('./log');

module.exports = function(pattern, patternlab) {
Expand Down
5 changes: 4 additions & 1 deletion packages/core/src/lib/buildPatterns.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ module.exports = (deletePatternDir, patternlab, additionalData) => {
}
//render all patterns last, so lineageR works
const allPatternsPromise = patternsToBuild.map(pattern =>
compose(pattern, patternlab)
compose(
pattern,
patternlab
)
);
//copy non-pattern files like JavaScript
const allJS = patternsToBuild.map(pattern => {
Expand Down
6 changes: 2 additions & 4 deletions packages/core/src/lib/markModifiedPatterns.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ module.exports = function(lastModified, patternlab) {
array.forEach(func);
}
};
const modifiedOrNot = _.groupBy(
patternlab.patterns,
p =>
changes_hunter.needsRebuild(lastModified, p) ? 'modified' : 'notModified'
const modifiedOrNot = _.groupBy(patternlab.patterns, p =>
changes_hunter.needsRebuild(lastModified, p) ? 'modified' : 'notModified'
);

// For all unmodified patterns load their rendered template output
Expand Down
4 changes: 3 additions & 1 deletion packages/core/src/lib/object_factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ const Pattern = function(relPath, data, patternlab) {
// (rendered!) html file for this pattern, to be shown in the iframe
this.patternLink = this.patternSectionSubtype
? `$${this.name}/index.html`
: patternlab ? this.getPatternLink(patternlab, 'rendered') : null;
: patternlab
? this.getPatternLink(patternlab, 'rendered')
: null;

// The canonical "key" by which this pattern is known. This is the callable
// name of the pattern. UPDATE: this.key is now known as this.patternPartial
Expand Down
3 changes: 0 additions & 3 deletions packages/core/src/lib/plugin_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
const plugin_manager = function() {
const path = require('path');
const findModules = require('./findModules');

const _ = require('lodash');

const logger = require('./log');

const pluginMatcher = /^plugin-(.*)$/;
Expand Down
417 changes: 7 additions & 410 deletions packages/uikit-workshop/dist/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

This file was deleted.

229 changes: 1 addition & 228 deletions packages/uikit-workshop/dist/styleguide/js/patternlab-pattern.js

Large diffs are not rendered by default.

2,655 changes: 1 addition & 2,654 deletions packages/uikit-workshop/dist/styleguide/js/patternlab-viewer.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading