From 522e136638b1fdb177c51b913a7c4f6857e50645 Mon Sep 17 00:00:00 2001 From: Josef Bredreck Date: Mon, 4 May 2020 21:38:49 +0200 Subject: [PATCH 01/41] Add possibility for merge strategy change --- packages/cli/test/fixtures/patternlab-config.json | 1 + packages/core/patternlab-config.json | 1 + packages/core/src/lib/pseudopattern_hunter.js | 12 ++++++++++-- packages/core/test/util/patternlab-config.json | 1 + .../patternlab-config.json | 1 + .../patternlab-config.json | 13 ++++--------- .../patternlab-config.json | 1 + packages/edition-node-gulp/patternlab-config.json | 1 + packages/edition-node/patternlab-config.json | 1 + packages/edition-twig/patternlab-config.json | 1 + 10 files changed, 22 insertions(+), 11 deletions(-) diff --git a/packages/cli/test/fixtures/patternlab-config.json b/packages/cli/test/fixtures/patternlab-config.json index 6102f522f..4bd371e26 100644 --- a/packages/cli/test/fixtures/patternlab-config.json +++ b/packages/cli/test/fixtures/patternlab-config.json @@ -72,6 +72,7 @@ "patternStateCascade": ["inprogress", "inreview", "complete"], "patternExportDirectory": "./pattern_exports/", "patternExportPatternPartials": [], + "patternMergeVariantArrays": true, "serverOptions": { "wait": 1000 }, diff --git a/packages/core/patternlab-config.json b/packages/core/patternlab-config.json index 39eed54fd..28d62a2d0 100644 --- a/packages/core/patternlab-config.json +++ b/packages/core/patternlab-config.json @@ -75,6 +75,7 @@ "patternExportPatternPartials": [], "patternExportPreserveDirectoryStructure": true, "patternExportRaw": false, + "patternMergeVariantArrays": true, "serverOptions": { "wait": 1000 }, diff --git a/packages/core/src/lib/pseudopattern_hunter.js b/packages/core/src/lib/pseudopattern_hunter.js index b95dd37f1..fe9e2c722 100644 --- a/packages/core/src/lib/pseudopattern_hunter.js +++ b/packages/core/src/lib/pseudopattern_hunter.js @@ -60,10 +60,18 @@ pseudopattern_hunter.prototype.find_pseudopatterns = function( } //extend any existing data with variant data - variantFileData = _.merge( + variantFileData = _.mergeWith( {}, currentPattern.jsonFileData, - variantFileData + variantFileData, + (objValue, srcValue) => { + if ( + _.isArray(objValue) && + patternlab.config.patternMergeVariantArrays + ) { + return objValue.concat(srcValue); + } + } ); const variantName = pseudoPatterns[i] diff --git a/packages/core/test/util/patternlab-config.json b/packages/core/test/util/patternlab-config.json index c2edf9561..904e37afd 100644 --- a/packages/core/test/util/patternlab-config.json +++ b/packages/core/test/util/patternlab-config.json @@ -57,6 +57,7 @@ "patternExportPatternPartials": [], "patternExportDirectory": "./pattern_exports/", "patternExtension": "mustache", + "patternMergeVariantArrays": true, "cacheBust": true, "outputFileSuffixes": { "rendered": ".rendered", diff --git a/packages/development-edition-engine-handlebars/patternlab-config.json b/packages/development-edition-engine-handlebars/patternlab-config.json index 5b9e9a0c2..141f35a47 100644 --- a/packages/development-edition-engine-handlebars/patternlab-config.json +++ b/packages/development-edition-engine-handlebars/patternlab-config.json @@ -70,6 +70,7 @@ "patternExportPatternPartials": [], "patternExportPreserveDirectoryStructure": true, "patternExportRaw": false, + "patternMergeVariantArrays": true, "serverOptions": { "wait": 1000 }, diff --git a/packages/development-edition-engine-react/patternlab-config.json b/packages/development-edition-engine-react/patternlab-config.json index 23b459f2d..dd4efbd24 100644 --- a/packages/development-edition-engine-react/patternlab-config.json +++ b/packages/development-edition-engine-react/patternlab-config.json @@ -25,16 +25,7 @@ "m": [500, 800], "l": [800, 2600] }, -<<<<<<< HEAD:packages/development-edition-engine-react/patternlab-config.json "logLevel": "info", -======= - "patternExportAll": false, - "patternExportPreserveDirectoryStructure": false, - "patternExportRaw": false, - "patternExportPatternPartials": [], - "patternExportDirectory": "./pattern_exports/", - "cacheBust": true, ->>>>>>> 436dd99e50d808cd14691593b927209f1ecb663e:patternlab-config.json "outputFileSuffixes": { "rendered": ".rendered", "rawTemplate": "", @@ -79,8 +70,12 @@ }, "patternExtension": "mustache", "patternStateCascade": ["inprogress", "inreview", "complete"], + "patternExportAll": false, + "patternExportPreserveDirectoryStructure": false, + "patternExportRaw": false, "patternExportDirectory": "./pattern_exports/", "patternExportPatternPartials": [], + "patternMergeVariantArrays": true, "serverOptions": { "wait": 1000 }, diff --git a/packages/development-edition-engine-twig/patternlab-config.json b/packages/development-edition-engine-twig/patternlab-config.json index 3c18bd403..55fed5c95 100644 --- a/packages/development-edition-engine-twig/patternlab-config.json +++ b/packages/development-edition-engine-twig/patternlab-config.json @@ -80,6 +80,7 @@ ], "patternExportDirectory": "pattern_exports", "patternExportPatternPartials": [], + "patternMergeVariantArrays": true, "serverOptions": { "wait": 1000 }, diff --git a/packages/edition-node-gulp/patternlab-config.json b/packages/edition-node-gulp/patternlab-config.json index 20625a44f..e24473a02 100644 --- a/packages/edition-node-gulp/patternlab-config.json +++ b/packages/edition-node-gulp/patternlab-config.json @@ -75,6 +75,7 @@ "patternExportPatternPartials": [], "patternExportPreserveDirectoryStructure": true, "patternExportRaw": false, + "patternMergeVariantArrays": true, "serverOptions": { "wait": 1000 }, diff --git a/packages/edition-node/patternlab-config.json b/packages/edition-node/patternlab-config.json index e5cef6811..3112f5ac0 100644 --- a/packages/edition-node/patternlab-config.json +++ b/packages/edition-node/patternlab-config.json @@ -75,6 +75,7 @@ "patternExportPatternPartials": [], "patternExportPreserveDirectoryStructure": true, "patternExportRaw": false, + "patternMergeVariantArrays": true, "serverOptions": { "wait": 1000 }, diff --git a/packages/edition-twig/patternlab-config.json b/packages/edition-twig/patternlab-config.json index e9652bde5..ee6acd691 100644 --- a/packages/edition-twig/patternlab-config.json +++ b/packages/edition-twig/patternlab-config.json @@ -139,6 +139,7 @@ "patternExportPatternPartials": [], "patternExportPreserveDirectoryStructure": true, "patternExportRaw": false, + "patternMergeVariantArrays": true, "serverOptions": { "wait": 1000 }, From fa75d4600cf3a0239507091106d363968ded5a9b Mon Sep 17 00:00:00 2001 From: Josef Bredreck Date: Mon, 4 May 2020 22:05:59 +0200 Subject: [PATCH 02/41] #1199: Fix eslint-consistent-return error --- packages/core/src/lib/pseudopattern_hunter.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/core/src/lib/pseudopattern_hunter.js b/packages/core/src/lib/pseudopattern_hunter.js index fe9e2c722..8a4cb4adc 100644 --- a/packages/core/src/lib/pseudopattern_hunter.js +++ b/packages/core/src/lib/pseudopattern_hunter.js @@ -71,6 +71,9 @@ pseudopattern_hunter.prototype.find_pseudopatterns = function( ) { return objValue.concat(srcValue); } + // Lodash will only check for "undefined" and eslint needs a consistent + // return so do not remove + return undefined; } ); From b0a880acbecc03151c1d07bd3d7b9def4f5f2a79 Mon Sep 17 00:00:00 2001 From: Josef Bredreck Date: Wed, 6 May 2020 17:22:51 +0200 Subject: [PATCH 03/41] #1199: Fix merge patterns when needed --- packages/core/src/lib/pseudopattern_hunter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/lib/pseudopattern_hunter.js b/packages/core/src/lib/pseudopattern_hunter.js index 8a4cb4adc..42e241aca 100644 --- a/packages/core/src/lib/pseudopattern_hunter.js +++ b/packages/core/src/lib/pseudopattern_hunter.js @@ -67,9 +67,9 @@ pseudopattern_hunter.prototype.find_pseudopatterns = function( (objValue, srcValue) => { if ( _.isArray(objValue) && - patternlab.config.patternMergeVariantArrays + !patternlab.config.patternMergeVariantArrays ) { - return objValue.concat(srcValue); + return srcValue; } // Lodash will only check for "undefined" and eslint needs a consistent // return so do not remove From ad3c415f5aedec7e855c4dfda3e1ac583c23a750 Mon Sep 17 00:00:00 2001 From: Josef Bredreck Date: Fri, 8 May 2020 10:14:07 +0200 Subject: [PATCH 04/41] #1199: Add tests and fix bugs --- packages/core/src/lib/pseudopattern_hunter.js | 5 ++ .../_patterns/00-test/475-variant-test.json | 9 +++ .../00-test/475-variant-test.mustache | 1 + .../00-test/475-variant-test~merge.json | 8 +++ .../core/test/pseudopattern_hunter_tests.js | 69 +++++++++++++++++++ 5 files changed, 92 insertions(+) create mode 100644 packages/core/test/files/_patterns/00-test/475-variant-test.json create mode 100644 packages/core/test/files/_patterns/00-test/475-variant-test.mustache create mode 100644 packages/core/test/files/_patterns/00-test/475-variant-test~merge.json diff --git a/packages/core/src/lib/pseudopattern_hunter.js b/packages/core/src/lib/pseudopattern_hunter.js index 42e241aca..e5dcaf781 100644 --- a/packages/core/src/lib/pseudopattern_hunter.js +++ b/packages/core/src/lib/pseudopattern_hunter.js @@ -67,9 +67,14 @@ pseudopattern_hunter.prototype.find_pseudopatterns = function( (objValue, srcValue) => { if ( _.isArray(objValue) && + // If the parameter is not available after updating pattern lab but + // not the patternlab-config it should not override arrays. + patternlab.config.hasOwnProperty('patternMergeVariantArrays') && !patternlab.config.patternMergeVariantArrays ) { return srcValue; + } else if (_.isArray(objValue)) { + return objValue.concat(srcValue); } // Lodash will only check for "undefined" and eslint needs a consistent // return so do not remove diff --git a/packages/core/test/files/_patterns/00-test/475-variant-test.json b/packages/core/test/files/_patterns/00-test/475-variant-test.json new file mode 100644 index 000000000..9d371748a --- /dev/null +++ b/packages/core/test/files/_patterns/00-test/475-variant-test.json @@ -0,0 +1,9 @@ +{ + "a": 1, + "b": [2, 3], + "c": { + "d": [4, 5], + "e": 8, + "f": {"a": ["a"], "b": ["b"], "c": ["c"]} + } +} \ No newline at end of file diff --git a/packages/core/test/files/_patterns/00-test/475-variant-test.mustache b/packages/core/test/files/_patterns/00-test/475-variant-test.mustache new file mode 100644 index 000000000..fe4dd1f58 --- /dev/null +++ b/packages/core/test/files/_patterns/00-test/475-variant-test.mustache @@ -0,0 +1 @@ +{{a}} \ No newline at end of file diff --git a/packages/core/test/files/_patterns/00-test/475-variant-test~merge.json b/packages/core/test/files/_patterns/00-test/475-variant-test~merge.json new file mode 100644 index 000000000..c60d0974c --- /dev/null +++ b/packages/core/test/files/_patterns/00-test/475-variant-test~merge.json @@ -0,0 +1,8 @@ +{ + "a": 2, + "b": [8], + "c": { + "d": [6, 7], + "f": {"b": ["x"]} + } +} \ No newline at end of file diff --git a/packages/core/test/pseudopattern_hunter_tests.js b/packages/core/test/pseudopattern_hunter_tests.js index 1464f28b4..fed26b16c 100644 --- a/packages/core/test/pseudopattern_hunter_tests.js +++ b/packages/core/test/pseudopattern_hunter_tests.js @@ -133,3 +133,72 @@ tap.test( }); } ); + +tap.test('pseudo pattern variant data should merge arrays', function(test) { + const pl = stubPatternlab(); + pl.config.patternMergeVariantArrays = true; + + const pattern = loadPattern('00-test/475-variant-test.mustache', pl); + + addPattern(pattern, pl); + + return pph.find_pseudopatterns(pattern, pl).then(() => { + test.equals(pl.patterns[1].patternPartial, 'test-variant-test-merge'); + test.equals( + JSON.stringify(pl.patterns[1].jsonFileData), + JSON.stringify({ + a: 2, + b: [2, 3, 8], + c: { d: [4, 5, 6, 7], e: 8, f: { a: ['a'], b: ['b', 'x'], c: ['c'] } }, + }) + ); + }); +}); + +tap.test( + 'pseudo pattern variant data should merge arrays if config "patternMergeVariantArrays" is not available as default behavior', + function(test) { + const pl = stubPatternlab(); + + const pattern = loadPattern('00-test/475-variant-test.mustache', pl); + + addPattern(pattern, pl); + + return pph.find_pseudopatterns(pattern, pl).then(() => { + test.equals(pl.patterns[1].patternPartial, 'test-variant-test-merge'); + test.equals( + JSON.stringify(pl.patterns[1].jsonFileData), + JSON.stringify({ + a: 2, + b: [2, 3, 8], + c: { + d: [4, 5, 6, 7], + e: 8, + f: { a: ['a'], b: ['b', 'x'], c: ['c'] }, + }, + }) + ); + }); + } +); + +tap.test('pseudo pattern variant data should override arrays', function(test) { + const pl = stubPatternlab(); + pl.config.patternMergeVariantArrays = false; + + const pattern = loadPattern('00-test/475-variant-test.mustache', pl); + + addPattern(pattern, pl); + + return pph.find_pseudopatterns(pattern, pl).then(() => { + test.equals(pl.patterns[1].patternPartial, 'test-variant-test-merge'); + test.equals( + JSON.stringify(pl.patterns[1].jsonFileData), + JSON.stringify({ + a: 2, + b: [8], + c: { d: [6, 7], e: 8, f: { a: ['a'], b: ['x'], c: ['c'] } }, + }) + ); + }); +}); From ed0a819e51b04c98c9e52a92f54edefc995daee8 Mon Sep 17 00:00:00 2001 From: Josef Bredreck Date: Fri, 8 May 2020 11:13:59 +0200 Subject: [PATCH 05/41] #1199: Add documentation for merge behavior --- packages/docs/src/docs/pattern-pseudo-patterns.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/docs/src/docs/pattern-pseudo-patterns.md b/packages/docs/src/docs/pattern-pseudo-patterns.md index 6018113a8..7f4cb76c2 100644 --- a/packages/docs/src/docs/pattern-pseudo-patterns.md +++ b/packages/docs/src/docs/pattern-pseudo-patterns.md @@ -19,6 +19,12 @@ Pseudo-patterns are similar to [pattern-specific JSON files](/docs/creating-patt The tilde (`~`) and `.json` file extension are the hints that Pattern Lab uses to determine that this is a pseudo-pattern. The `patternName` tells Pattern Lab which existing pattern it should use when rendering the pseudo-pattern. The JSON file itself works exactly like the [pattern-specific JSON file](/docs/creating-pattern-specific-values/). It has the added benefit that the pseudo-pattern will also inherit any values from the existing pattern's pattern-specific JSON file. +As default arrays in pseudo-pattern data will be concatenated with the base patterns array data. To override this behavior globally you can set the parameter `patternMergeVariantArrays` in you `patternlab-config.json` to `false`. + +```json +"patternMergeVariantArrays": false +``` + From a navigation and naming perspective `patternName` and `pseudoPatternName` will be combined. ## Adding Pseudo-Patterns to Your Project From 7aa21d81e48840915dcf19f31de51b8fa28ece90 Mon Sep 17 00:00:00 2001 From: Josef Bredreck Date: Fri, 8 May 2020 11:16:50 +0200 Subject: [PATCH 06/41] #1199: Add additional documentation --- packages/docs/src/docs/pattern-pseudo-patterns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/docs/pattern-pseudo-patterns.md b/packages/docs/src/docs/pattern-pseudo-patterns.md index 7f4cb76c2..daa48e4d5 100644 --- a/packages/docs/src/docs/pattern-pseudo-patterns.md +++ b/packages/docs/src/docs/pattern-pseudo-patterns.md @@ -19,7 +19,7 @@ Pseudo-patterns are similar to [pattern-specific JSON files](/docs/creating-patt The tilde (`~`) and `.json` file extension are the hints that Pattern Lab uses to determine that this is a pseudo-pattern. The `patternName` tells Pattern Lab which existing pattern it should use when rendering the pseudo-pattern. The JSON file itself works exactly like the [pattern-specific JSON file](/docs/creating-pattern-specific-values/). It has the added benefit that the pseudo-pattern will also inherit any values from the existing pattern's pattern-specific JSON file. -As default arrays in pseudo-pattern data will be concatenated with the base patterns array data. To override this behavior globally you can set the parameter `patternMergeVariantArrays` in you `patternlab-config.json` to `false`. +As default arrays in pseudo-pattern data will be concatenated with the base patterns array data. To override this behavior globally you can set the parameter `patternMergeVariantArrays` in you `patternlab-config.json` to `false`. Arrays will then be overwritten and you will only have the variants array data left. ```json "patternMergeVariantArrays": false From d21ff1ac8a5ffe26aa1f4ec2aa248a94e201acd9 Mon Sep 17 00:00:00 2001 From: Josef Bredreck Date: Sat, 9 May 2020 15:04:47 +0200 Subject: [PATCH 07/41] #1199: Use suggested documentation Co-authored-by: Brian Muenzenmeyer --- packages/docs/src/docs/pattern-pseudo-patterns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/docs/pattern-pseudo-patterns.md b/packages/docs/src/docs/pattern-pseudo-patterns.md index daa48e4d5..b3ba370b6 100644 --- a/packages/docs/src/docs/pattern-pseudo-patterns.md +++ b/packages/docs/src/docs/pattern-pseudo-patterns.md @@ -19,7 +19,7 @@ Pseudo-patterns are similar to [pattern-specific JSON files](/docs/creating-patt The tilde (`~`) and `.json` file extension are the hints that Pattern Lab uses to determine that this is a pseudo-pattern. The `patternName` tells Pattern Lab which existing pattern it should use when rendering the pseudo-pattern. The JSON file itself works exactly like the [pattern-specific JSON file](/docs/creating-pattern-specific-values/). It has the added benefit that the pseudo-pattern will also inherit any values from the existing pattern's pattern-specific JSON file. -As default arrays in pseudo-pattern data will be concatenated with the base patterns array data. To override this behavior globally you can set the parameter `patternMergeVariantArrays` in you `patternlab-config.json` to `false`. Arrays will then be overwritten and you will only have the variants array data left. +By default, arrays in pseudo-pattern data will be concatenated with the base pattern's array data. To override this behavior globally you can set the parameter `patternMergeVariantArrays` in your `patternlab-config.json` to `false`. Arrays will then be overwritten and you will only have the variant's array data left. ```json "patternMergeVariantArrays": false From 1c9f842b65059307a1f5aa7981205713dc7cf4a7 Mon Sep 17 00:00:00 2001 From: Josef Bredreck Date: Sat, 9 May 2020 15:23:22 +0200 Subject: [PATCH 08/41] #1199: Fix merge strategy and add docs --- packages/core/src/lib/pseudopattern_hunter.js | 2 -- packages/core/test/pseudopattern_hunter_tests.js | 12 ++++-------- packages/docs/src/docs/advanced-config-options.md | 13 +++++++++++++ packages/docs/src/docs/pattern-pseudo-patterns.md | 4 +++- 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/packages/core/src/lib/pseudopattern_hunter.js b/packages/core/src/lib/pseudopattern_hunter.js index e5dcaf781..71c178177 100644 --- a/packages/core/src/lib/pseudopattern_hunter.js +++ b/packages/core/src/lib/pseudopattern_hunter.js @@ -73,8 +73,6 @@ pseudopattern_hunter.prototype.find_pseudopatterns = function( !patternlab.config.patternMergeVariantArrays ) { return srcValue; - } else if (_.isArray(objValue)) { - return objValue.concat(srcValue); } // Lodash will only check for "undefined" and eslint needs a consistent // return so do not remove diff --git a/packages/core/test/pseudopattern_hunter_tests.js b/packages/core/test/pseudopattern_hunter_tests.js index fed26b16c..f3d0e8d4a 100644 --- a/packages/core/test/pseudopattern_hunter_tests.js +++ b/packages/core/test/pseudopattern_hunter_tests.js @@ -148,8 +148,8 @@ tap.test('pseudo pattern variant data should merge arrays', function(test) { JSON.stringify(pl.patterns[1].jsonFileData), JSON.stringify({ a: 2, - b: [2, 3, 8], - c: { d: [4, 5, 6, 7], e: 8, f: { a: ['a'], b: ['b', 'x'], c: ['c'] } }, + b: [8, 3], + c: { d: [6, 7], e: 8, f: { a: ['a'], b: ['x'], c: ['c'] } }, }) ); }); @@ -170,12 +170,8 @@ tap.test( JSON.stringify(pl.patterns[1].jsonFileData), JSON.stringify({ a: 2, - b: [2, 3, 8], - c: { - d: [4, 5, 6, 7], - e: 8, - f: { a: ['a'], b: ['b', 'x'], c: ['c'] }, - }, + b: [8, 3], + c: { d: [6, 7], e: 8, f: { a: ['a'], b: ['x'], c: ['c'] } }, }) ); }); diff --git a/packages/docs/src/docs/advanced-config-options.md b/packages/docs/src/docs/advanced-config-options.md index fcbe07f5b..330d27e54 100644 --- a/packages/docs/src/docs/advanced-config-options.md +++ b/packages/docs/src/docs/advanced-config-options.md @@ -186,6 +186,19 @@ For example, to export the navigation, header, and footer, one might do: **default**: `[]` +### patternMergeVariantArrays + +Used to override the merge behavior of pattern variants. For more information see [The Pseudo-Pattern File Data](docs/using-pseudo-patterns/#heading-the-pseudo-pattern-file data). + +- `true` will merge arrays of the pattern and pseudo-pattern with [lodash merge](https://lodash.com/docs/4.17.15#merge) +- `false` will override arrays from the pattern with pseudo-patterns arrays + +```javascript +"patternMergeVariantArrays": true, +``` + +**default**: `true` | `undefined` + ### serverOptions Sets live-server options. See the [live-server documentation](https://github.com/pattern-lab/live-server#usage-from-node) for more details. diff --git a/packages/docs/src/docs/pattern-pseudo-patterns.md b/packages/docs/src/docs/pattern-pseudo-patterns.md index b3ba370b6..01597ab4c 100644 --- a/packages/docs/src/docs/pattern-pseudo-patterns.md +++ b/packages/docs/src/docs/pattern-pseudo-patterns.md @@ -19,7 +19,9 @@ Pseudo-patterns are similar to [pattern-specific JSON files](/docs/creating-patt The tilde (`~`) and `.json` file extension are the hints that Pattern Lab uses to determine that this is a pseudo-pattern. The `patternName` tells Pattern Lab which existing pattern it should use when rendering the pseudo-pattern. The JSON file itself works exactly like the [pattern-specific JSON file](/docs/creating-pattern-specific-values/). It has the added benefit that the pseudo-pattern will also inherit any values from the existing pattern's pattern-specific JSON file. -By default, arrays in pseudo-pattern data will be concatenated with the base pattern's array data. To override this behavior globally you can set the parameter `patternMergeVariantArrays` in your `patternlab-config.json` to `false`. Arrays will then be overwritten and you will only have the variant's array data left. +## The Pseudo-Pattern File Data + +By default, arrays in pseudo-pattern data will be merged with the base pattern's array data on an index basis, effectively creating an array having as many entries as the larger of the two, with the indices declared in the variant replacing the first n of the parent, while keeping the rest. Declaring a larger array in the variant results in only using the variant array. To override this behavior globally you can set the parameter `patternMergeVariantArrays` in your `patternlab-config.json` to `false`. Arrays will then be overwritten and you will only have the variant's array data left. ```json "patternMergeVariantArrays": false From f3e869eab33aee751cf7b61218c6a20e76932e52 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Tue, 12 May 2020 21:22:35 +0200 Subject: [PATCH 09/41] docs(attributes): removed state attribute announcement #1207 as this is even already implemented, see also https://patternlab.io/docs/using-pattern-states/ --- packages/docs/src/docs/pattern-documenting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/docs/pattern-documenting.md b/packages/docs/src/docs/pattern-documenting.md index d26d6d75e..75fd2c979 100644 --- a/packages/docs/src/docs/pattern-documenting.md +++ b/packages/docs/src/docs/pattern-documenting.md @@ -46,5 +46,5 @@ We'd name our documentation file: ## Adding More Attributes to the Front Matter -A future update of Pattern Lab will support more front matter attributes including: state, order, hidden, links and tags. +A future update of Pattern Lab will support more front matter attributes including: order, hidden, links and tags. It will also support adding custom attributes that could be utilized by plugins. For example, GitHub issues related to patterns. From 4d34c0041e8851da919d9572b7e2c3039e9d633f Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Tue, 12 May 2020 21:28:43 +0200 Subject: [PATCH 10/41] docs(attributes): updated as the excludedTags feature got released #844 #1079 #1207 --- packages/docs/src/docs/advanced-config-options.md | 1 - packages/docs/src/docs/pattern-documenting.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/docs/src/docs/advanced-config-options.md b/packages/docs/src/docs/advanced-config-options.md index fcbe07f5b..e5cdee629 100644 --- a/packages/docs/src/docs/advanced-config-options.md +++ b/packages/docs/src/docs/advanced-config-options.md @@ -276,7 +276,6 @@ Introduced in Pattern Lab Node v3, UIKits are a new term in the Pattern Lab [Eco - `enabled`: quickly turn on or off the building of this UIKit - `excludedPatternStates`: tell Pattern Lab not to include patterns with these states in this UIKit's output - `excludedPatternTags`: tell Pattern Lab not to include patterns with these tags in this UIKit's output - - [currently not supported](https://github.com/pattern-lab/patternlab-node/issues/844) Important details: diff --git a/packages/docs/src/docs/pattern-documenting.md b/packages/docs/src/docs/pattern-documenting.md index 75fd2c979..9bcde2f19 100644 --- a/packages/docs/src/docs/pattern-documenting.md +++ b/packages/docs/src/docs/pattern-documenting.md @@ -46,5 +46,5 @@ We'd name our documentation file: ## Adding More Attributes to the Front Matter -A future update of Pattern Lab will support more front matter attributes including: order, hidden, links and tags. +A future update of Pattern Lab will support more front matter attributes including: order, hidden and links. It will also support adding custom attributes that could be utilized by plugins. For example, GitHub issues related to patterns. From 6f55a97ccb9efe79a1b1c2d224ba457fb4ecba5b Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Tue, 12 May 2020 21:29:44 +0200 Subject: [PATCH 11/41] docs(attributes): corrected the attribute name #844 #1079 #1207 --- packages/docs/src/docs/advanced-config-options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/docs/advanced-config-options.md b/packages/docs/src/docs/advanced-config-options.md index e5cdee629..18f133eca 100644 --- a/packages/docs/src/docs/advanced-config-options.md +++ b/packages/docs/src/docs/advanced-config-options.md @@ -275,7 +275,7 @@ Introduced in Pattern Lab Node v3, UIKits are a new term in the Pattern Lab [Eco - `enabled`: quickly turn on or off the building of this UIKit - `excludedPatternStates`: tell Pattern Lab not to include patterns with these states in this UIKit's output -- `excludedPatternTags`: tell Pattern Lab not to include patterns with these tags in this UIKit's output +- `excludedTags`: tell Pattern Lab not to include patterns with these tags in this UIKit's output Important details: From 4b9dbf9095bfb8bfd2360b310dd7395dbfe3cf98 Mon Sep 17 00:00:00 2001 From: Joris Hulsbosch Date: Fri, 15 May 2020 13:58:37 +0200 Subject: [PATCH 12/41] fix: enable partial build via option --- packages/core/src/lib/buildPatterns.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/lib/buildPatterns.js b/packages/core/src/lib/buildPatterns.js index c550a6880..56b003a74 100644 --- a/packages/core/src/lib/buildPatterns.js +++ b/packages/core/src/lib/buildPatterns.js @@ -55,7 +55,7 @@ module.exports = async (deletePatternDir, patternlab, additionalData) => { // Flags patternlab.incrementalBuildsEnabled = !( - patternlab.config.cleanPublic || graphNeedsUpgrade + patternlab.config.cleanPublic || graphNeedsUpgrade || deletePatternDir ); // From 8aaa53398563ade14123c481bf509f9ee0c768f5 Mon Sep 17 00:00:00 2001 From: Joris Hulsbosch Date: Fri, 15 May 2020 13:58:37 +0200 Subject: [PATCH 13/41] fix: enable partial build via option --- packages/core/src/lib/buildPatterns.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/core/src/lib/buildPatterns.js b/packages/core/src/lib/buildPatterns.js index c550a6880..a1868d32f 100644 --- a/packages/core/src/lib/buildPatterns.js +++ b/packages/core/src/lib/buildPatterns.js @@ -55,7 +55,9 @@ module.exports = async (deletePatternDir, patternlab, additionalData) => { // Flags patternlab.incrementalBuildsEnabled = !( - patternlab.config.cleanPublic || graphNeedsUpgrade + patternlab.config.cleanPublic || + graphNeedsUpgrade || + deletePatternDir ); // From eb57b75cc7db3ef51c1b0d72724d9b066028b030 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Sun, 24 May 2020 09:25:03 +0200 Subject: [PATCH 14/41] chore(docs): added another attribute according to #1209 #1207 --- packages/docs/src/docs/pattern-documenting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/docs/pattern-documenting.md b/packages/docs/src/docs/pattern-documenting.md index 9bcde2f19..eb813961f 100644 --- a/packages/docs/src/docs/pattern-documenting.md +++ b/packages/docs/src/docs/pattern-documenting.md @@ -46,5 +46,5 @@ We'd name our documentation file: ## Adding More Attributes to the Front Matter -A future update of Pattern Lab will support more front matter attributes including: order, hidden and links. +A future update of Pattern Lab will support more front matter attributes including: excludeFromStyleguide, order, hidden and links. It will also support adding custom attributes that could be utilized by plugins. For example, GitHub issues related to patterns. From b1b0ee1dac696ae55bb318c267d227db2be7e2e9 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Sun, 24 May 2020 09:45:19 +0200 Subject: [PATCH 15/41] docs(tags): added a simple attributes overview #1207 that includes the tags --- packages/docs/src/docs/pattern-documenting.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/docs/src/docs/pattern-documenting.md b/packages/docs/src/docs/pattern-documenting.md index eb813961f..8cdcdb465 100644 --- a/packages/docs/src/docs/pattern-documenting.md +++ b/packages/docs/src/docs/pattern-documenting.md @@ -18,7 +18,14 @@ title: Title for my pattern This is a *Markdown* description of my pattern. ``` -The `title` attribute is used in Pattern Lab's navigation as well as in the styleguide views. The `description` is used in the styleguide views. +Attributes overview: +* The `title` attribute is used in Pattern Lab's navigation as well as in the styleguide views. Format: `string` +* Pattern `tags` has to be an array, like `tags: [new, relaunch, dev]` +* [Pattern `states`](/docs/using-pattern-states/) are defined like `state: incomplete` and [provide a simple visual indication](/docs/using-pattern-states/) + +Both `tags` and `states` could be used for [not including patterns in a UIKit specific build](/docs/editing-the-configuration-options/#heading-uikits). + +The `description` is used in the styleguide views. Pattern documentation needs to have a `.md` file extension and match the name of the pattern it's documenting. For example, to document the following pattern: From 2acd9d3ba618780d64eb070d213a72498ea90880 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Wed, 3 Jun 2020 08:27:43 +0200 Subject: [PATCH 16/41] docs(config-theme): enhanced related to current implementation added both config.theme.noViewAll and config.theme.logo --- .../docs/src/docs/advanced-config-options.md | 25 ++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/packages/docs/src/docs/advanced-config-options.md b/packages/docs/src/docs/advanced-config-options.md index fcbe07f5b..de8612434 100644 --- a/packages/docs/src/docs/advanced-config-options.md +++ b/packages/docs/src/docs/advanced-config-options.md @@ -225,7 +225,12 @@ These template and page patterns would still be accessible via navigation. ### theme -Sets the theme options for the styleguide. There are three options: 'color', 'density', and 'layout'. +Sets the theme options for the styleguide. There are five options: +* `"color"` +* `"density"` +* `"layout"` +* `"noViewAll"` (optional) +* `"logo"` (optional) Available values are: @@ -233,11 +238,25 @@ Available values are: "theme" : { "color" : "dark" | "light", "density" : "compact" | "cozy" | "comfortable", - "layout" : "horizontal" | "vertical" + "layout" : "horizontal" | "vertical", + "noViewAll" : true | false, + "logo": { + "text": "Pattern Lab", + "altText": "Pattern Lab Logo", + "url": "/", + "srcLight": "styleguide/images/pattern-lab-logo--on-light.svg", + "srcDark": "styleguide/images/pattern-lab-logo--on-dark.svg", + "width": "187", + "height": "185" + } } ``` -See the [initial release notes](https://github.com/pattern-lab/styleguidekit-assets-default/releases/tag/v4.0.0-alpha.2) for the theme feature for example output. +See the [initial release notes](https://github.com/pattern-lab/styleguidekit-assets-default/releases/tag/v4.0.0-alpha.2) for the theme feature for example output on `"color"`, `'density"` and `"layout"`. + +`"noViewAll"` provides the possibility to hide the "View All" pages and links within the navigation. + +And `"logo"` lets you finetune the different aspects of the logo displayed on the left top corner of the styleguide. **default**: From a7377ee493572ab7d58334cb62a4c1b9da9c4d0f Mon Sep 17 00:00:00 2001 From: Josef Bredreck Date: Thu, 11 Jun 2020 17:45:31 +0200 Subject: [PATCH 17/41] Fix event from iframe not evaluated --- .../src/scripts/utils/iframe-msg-data-extraction.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/uikit-workshop/src/scripts/utils/iframe-msg-data-extraction.js b/packages/uikit-workshop/src/scripts/utils/iframe-msg-data-extraction.js index aa68d688b..372b01b4f 100644 --- a/packages/uikit-workshop/src/scripts/utils/iframe-msg-data-extraction.js +++ b/packages/uikit-workshop/src/scripts/utils/iframe-msg-data-extraction.js @@ -2,14 +2,14 @@ * Does the origin sending the message match the current host? * if not dev/null the request * - * @param {MessageEvent} e A message received by a target object. + * @param {MessageEvent} event A message received by a target object. */ -export function iframeMsgDataExtraction(e) { +export function iframeMsgDataExtraction(event) { if ( window.location.protocol !== 'file:' && event.origin !== window.location.protocol + '//' + window.location.host ) { - return; + return {}; } try { From 856bcda150239928bb5e8719246b97e9fa366468 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Thu, 11 Jun 2020 23:56:56 +0200 Subject: [PATCH 18/41] fix(patternstate): added css color for pattern state "inprogress" #1216 --- .../uikit-workshop/src/sass/scss/01-abstracts/_variables.scss | 1 + .../src/sass/scss/04-components/_pattern-states.scss | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/packages/uikit-workshop/src/sass/scss/01-abstracts/_variables.scss b/packages/uikit-workshop/src/sass/scss/01-abstracts/_variables.scss index e0028f563..7e6015247 100644 --- a/packages/uikit-workshop/src/sass/scss/01-abstracts/_variables.scss +++ b/packages/uikit-workshop/src/sass/scss/01-abstracts/_variables.scss @@ -24,6 +24,7 @@ $pl-color-trans-white-25: rgba(255, 255, 255, 0.25); $pl-color-state-info: #02a4d5; $pl-color-state-complete: #03790f; $pl-color-state-inreview: #c7a118; +$pl-color-state-inprogress: #b00b02; $pl-color-state-deprecated: #b00b02; // Font Family diff --git a/packages/uikit-workshop/src/sass/scss/04-components/_pattern-states.scss b/packages/uikit-workshop/src/sass/scss/04-components/_pattern-states.scss index 103fcf0a0..1a749e28f 100644 --- a/packages/uikit-workshop/src/sass/scss/04-components/_pattern-states.scss +++ b/packages/uikit-workshop/src/sass/scss/04-components/_pattern-states.scss @@ -22,6 +22,10 @@ background-color: $pl-color-state-inreview; } + &--inprogress { + background-color: $pl-color-state-inprogress; + } + &--deprecated { background-color: $pl-color-state-deprecated; } From 89952416162c01d1e3e05221ce58a7755544131c Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Fri, 12 Jun 2020 00:40:42 +0200 Subject: [PATCH 19/41] fix(docs): fixed css code for custom patternstates color recognized this out of fix reported by #1216 --- packages/docs/src/docs/pattern-states.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs/src/docs/pattern-states.md b/packages/docs/src/docs/pattern-states.md index ec0aee7f6..65e37d026 100644 --- a/packages/docs/src/docs/pattern-states.md +++ b/packages/docs/src/docs/pattern-states.md @@ -45,8 +45,8 @@ The three default states included with Pattern Lab might not be enough for every You can use the following as your CSS template for new pattern states: ```css -{% raw %}.newpatternstate:before { - color: #B10DC9 !important; +{% raw %}.pl-c-pattern-state--newpatternstate { + background-color: #B10DC9; }{% endraw %} ``` From 1d28c7ebd829ed73876571ca7d5fd7e12a857373 Mon Sep 17 00:00:00 2001 From: Maximilian Date: Sat, 13 Jun 2020 14:19:19 +0200 Subject: [PATCH 20/41] style(docs): preventing horizontally scrolling pages #1171 because of non-wrapping code snippets --- packages/docs/src/scss/base/_text.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/docs/src/scss/base/_text.scss b/packages/docs/src/scss/base/_text.scss index bbea0b569..a2c176e66 100644 --- a/packages/docs/src/scss/base/_text.scss +++ b/packages/docs/src/scss/base/_text.scss @@ -71,6 +71,7 @@ pre { border: 0; background: transparent; color: inherit; + white-space: pre-wrap; } } From de9b6fc14e1c4a00b0c02ad206ebc122bf1b6ea5 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Sat, 13 Jun 2020 19:28:41 +0200 Subject: [PATCH 21/41] chore(code): formatting that would happen anyhow because of precommit running pretty code formatter --- packages/docs/src/js/primary-nav.js | 119 ++++++++++++++-------------- 1 file changed, 59 insertions(+), 60 deletions(-) diff --git a/packages/docs/src/js/primary-nav.js b/packages/docs/src/js/primary-nav.js index 45b8a7d91..535320975 100644 --- a/packages/docs/src/js/primary-nav.js +++ b/packages/docs/src/js/primary-nav.js @@ -9,75 +9,74 @@ * 4) If the nav dropdown trigger parent does not have an active class, add it. */ (function() { - var navDropdownListItem = document.querySelector('.js-nav-dropdown'); - var navLink = document.querySelectorAll('.js-nav-dropdown-trigger'); /* 1 */ + var navDropdownListItem = document.querySelector('.js-nav-dropdown'); + var navLink = document.querySelectorAll('.js-nav-dropdown-trigger'); /* 1 */ - for (i = 0; i < navLink.length; i++) { - /* 1 */ + for (i = 0; i < navLink.length; i++) { + /* 1 */ - navLink[i].addEventListener('click', function(event) { - /* 2 */ - event.preventDefault(); - var navLinkParent = this.parentNode; /* 2 */ + navLink[i].addEventListener('click', function(event) { + /* 2 */ + event.preventDefault(); + var navLinkParent = this.parentNode; /* 2 */ - if (navLinkParent.classList.contains('is-active')) { - /* 3 */ - navLinkParent.classList.remove('is-active'); - - this.setAttribute("aria-expanded", "false"); - } else { - /* 4 */ - navLinkParent.classList.add('is-active'); - - this.setAttribute("aria-expanded", "true"); - } - - }); - } + if (navLinkParent.classList.contains('is-active')) { + /* 3 */ + navLinkParent.classList.remove('is-active'); - /** - * Expose docs dropdown if on a docs page - */ - if (window.location.href.indexOf('docs') > -1) { - navDropdownListItem.classList.add('is-active'); - } + this.setAttribute('aria-expanded', 'false'); + } else { + /* 4 */ + navLinkParent.classList.add('is-active'); - var pathName = location.pathname; + this.setAttribute('aria-expanded', 'true'); + } + }); + } - var navLinks = document.querySelectorAll('.c-tree-nav a'); + /** + * Expose docs dropdown if on a docs page + */ + if (window.location.href.indexOf('docs') > -1) { + navDropdownListItem.classList.add('is-active'); + } - for (i = 0; i < navLinks.length; i++) { - var subnavLink = navLinks[i].getAttribute('href'); - if (subnavLink == pathName) { - navLinks[i].classList.add('is-active'); - } - } + var pathName = location.pathname; - /** - * Toggles active class on the primary nav panel - * 1) Select all nav triggers and cycle through them - * 2) On click, find the nav panel within the header - * 3) If the navPanel already has active class, remove it on click. - * 4) If the navPanel does not have an active class, add it on click. - */ - var navToggle = document.querySelectorAll('.js-nav-trigger'); /* 1 */ + var navLinks = document.querySelectorAll('.c-tree-nav a'); - for (i = 0; i < navToggle.length; i++) { - /* 1 */ + for (i = 0; i < navLinks.length; i++) { + var subnavLink = navLinks[i].getAttribute('href'); + if (subnavLink == pathName) { + navLinks[i].classList.add('is-active'); + } + } - navToggle[i].addEventListener('click', function(event) { - /* 2 */ - event.preventDefault(); - var navToggleParent = this.parentNode; /* 2 */ - var navPanel = navToggleParent.querySelector('.js-nav-panel'); /* 2 */ + /** + * Toggles active class on the primary nav panel + * 1) Select all nav triggers and cycle through them + * 2) On click, find the nav panel within the header + * 3) If the navPanel already has active class, remove it on click. + * 4) If the navPanel does not have an active class, add it on click. + */ + var navToggle = document.querySelectorAll('.js-nav-trigger'); /* 1 */ - if (navPanel.classList.contains('is-active')) { - /* 3 */ - navPanel.classList.remove('is-active'); - } else { - /* 4 */ - navPanel.classList.add('is-active'); - } - }); - } + for (i = 0; i < navToggle.length; i++) { + /* 1 */ + + navToggle[i].addEventListener('click', function(event) { + /* 2 */ + event.preventDefault(); + var navToggleParent = this.parentNode; /* 2 */ + var navPanel = navToggleParent.querySelector('.js-nav-panel'); /* 2 */ + + if (navPanel.classList.contains('is-active')) { + /* 3 */ + navPanel.classList.remove('is-active'); + } else { + /* 4 */ + navPanel.classList.add('is-active'); + } + }); + } })(); From 9ccf47f2e2d2b295a5cadd72bb9ce26cedb8c5e9 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Sat, 13 Jun 2020 19:32:06 +0200 Subject: [PATCH 22/41] improvement(nav): closing nav on tapping outside on mobile #1169 --- packages/docs/src/js/primary-nav.js | 9 ++++++--- packages/docs/src/scss/components/_header.scss | 12 ++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/packages/docs/src/js/primary-nav.js b/packages/docs/src/js/primary-nav.js index 535320975..867ca265a 100644 --- a/packages/docs/src/js/primary-nav.js +++ b/packages/docs/src/js/primary-nav.js @@ -56,8 +56,8 @@ * Toggles active class on the primary nav panel * 1) Select all nav triggers and cycle through them * 2) On click, find the nav panel within the header - * 3) If the navPanel already has active class, remove it on click. - * 4) If the navPanel does not have an active class, add it on click. + * 3) If the navPanel already has active class, remove it on click, as well as the aria-expanded attributes value. + * 4) If the navPanel does not have an active class, add it on click, as well as the aria-expanded attributes value. */ var navToggle = document.querySelectorAll('.js-nav-trigger'); /* 1 */ @@ -67,15 +67,18 @@ navToggle[i].addEventListener('click', function(event) { /* 2 */ event.preventDefault(); - var navToggleParent = this.parentNode; /* 2 */ + var navToggleElement = this; + var navToggleParent = navToggleElement.parentNode; /* 2 */ var navPanel = navToggleParent.querySelector('.js-nav-panel'); /* 2 */ if (navPanel.classList.contains('is-active')) { /* 3 */ navPanel.classList.remove('is-active'); + navToggleElement.setAttribute('aria-expanded', 'false'); } else { /* 4 */ navPanel.classList.add('is-active'); + navToggleElement.setAttribute('aria-expanded', 'true'); } }); } diff --git a/packages/docs/src/scss/components/_header.scss b/packages/docs/src/scss/components/_header.scss index bc5255b35..0173fbe32 100644 --- a/packages/docs/src/scss/components/_header.scss +++ b/packages/docs/src/scss/components/_header.scss @@ -47,6 +47,18 @@ .c-header__nav-btn { margin-left: auto; + // Pseudo / breakout element that enables clicking/tabbing outside of the menu to close it + &[aria-expanded="true"]::after { + position: fixed; + top: 0; + left: 0; + + content: ""; + + width: 100vw; + height: 100vh; + } + @media all and (min-width: $bp-large) { display: none; } From 12a5daeb0e6f032441ab09ee24d036c454f8a4dd Mon Sep 17 00:00:00 2001 From: Maximilian Date: Sat, 13 Jun 2020 21:56:43 +0200 Subject: [PATCH 23/41] improvement(core): added npmignore #1186 for the folders described in the ticket: .nyc_output and test --- packages/core/.npmignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 packages/core/.npmignore diff --git a/packages/core/.npmignore b/packages/core/.npmignore new file mode 100644 index 000000000..c1e1ac97f --- /dev/null +++ b/packages/core/.npmignore @@ -0,0 +1,2 @@ +test +.nyc_output From d8244a2d307b0a81d0846491f8c5a12e0ae167a5 Mon Sep 17 00:00:00 2001 From: Maximilian Date: Sat, 13 Jun 2020 22:11:15 +0200 Subject: [PATCH 24/41] fix(docs): headlines styling breaks in edge cases #1158 --- packages/docs/src/scss/abstracts/_mixins.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/docs/src/scss/abstracts/_mixins.scss b/packages/docs/src/scss/abstracts/_mixins.scss index a2425f6df..4cd55aa8c 100644 --- a/packages/docs/src/scss/abstracts/_mixins.scss +++ b/packages/docs/src/scss/abstracts/_mixins.scss @@ -91,6 +91,9 @@ z-index: 0; content: attr(data-text); + // Mitigating the positioning by 4px from the left to not have the words break incorrectly (see #GH-1158) + margin-right: -4px; + background-image: radial-gradient( $color-brand-purple 0%, $color-brand-purple 60%, From 63300bc00ee797e38bfdb73fdc7694c188a423dc Mon Sep 17 00:00:00 2001 From: Maximilian Date: Fri, 19 Jun 2020 00:08:02 +0200 Subject: [PATCH 25/41] fix(patternflyouts): preventing horizontal scrollbar in pattern flyouts in Edge 18 #1124 --- .../uikit-workshop/src/scripts/components/pl-nav/pl-nav.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/uikit-workshop/src/scripts/components/pl-nav/pl-nav.scss b/packages/uikit-workshop/src/scripts/components/pl-nav/pl-nav.scss index cdcd5ba17..edafb1de5 100644 --- a/packages/uikit-workshop/src/scripts/components/pl-nav/pl-nav.scss +++ b/packages/uikit-workshop/src/scripts/components/pl-nav/pl-nav.scss @@ -586,7 +586,7 @@ pl-nav { opacity: 1; .pl-c-body--theme-horizontal & { - overflow: auto; + overflow-y: auto; } @media all and (min-width: $pl-bp-med) { From 6893b7cb5478309d4fdab0121edba3921718bd69 Mon Sep 17 00:00:00 2001 From: Maximilian Date: Fri, 19 Jun 2020 00:26:36 +0200 Subject: [PATCH 26/41] fix(resetcss): selector in uikit-workshop #1109 optimized regarding unnamespaced button style --- packages/uikit-workshop/src/sass/scss/02-base/_reset.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/uikit-workshop/src/sass/scss/02-base/_reset.scss b/packages/uikit-workshop/src/sass/scss/02-base/_reset.scss index 735a18995..ea44b6fd2 100644 --- a/packages/uikit-workshop/src/sass/scss/02-base/_reset.scss +++ b/packages/uikit-workshop/src/sass/scss/02-base/_reset.scss @@ -16,7 +16,7 @@ box-sizing: border-box; } -button { +button[class|="pl-c"] { font-size: inherit; background-color: transparent; } From b58f742093e335615c784a67523b0f00586983bf Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Mon, 22 Jun 2020 23:30:30 +0200 Subject: [PATCH 27/41] improvement(docs): corrected some URLs --- packages/core/docs/events.md | 6 +++--- packages/core/src/lib/events.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/core/docs/events.md b/packages/core/docs/events.md index 2df8191d1..0e7d26fe2 100644 --- a/packages/core/docs/events.md +++ b/packages/core/docs/events.md @@ -77,7 +77,7 @@ Emitted after global `data.json` and `listitems.json` are read, and the supporti Emitted before all data is merged prior to a Pattern's render. Global `data.json` is merged with any pattern `.json`. Global `listitems.json` is merged with any pattern `.listitems.json`. **Kind**: inner property of [EVENTS](#exp_module_Events--EVENTS) -**See**: [Pattern](https://github.com/pattern-lab/patternlab-node/blob/master/src/lib/object_factory.js#L16) +**See**: [Pattern](https://github.com/pattern-lab/patternlab-node/blob/master/packages/core/src/lib/object_factory.js#L16) **Properties** | Name | Type | Description | @@ -92,7 +92,7 @@ Emitted before all data is merged prior to a Pattern's render. Global `data.json Emitted before a pattern's template, HTML, and encoded HTML files are written to their output location **Kind**: inner property of [EVENTS](#exp_module_Events--EVENTS) -**See**: [Pattern](https://github.com/pattern-lab/patternlab-node/blob/master/src/lib/object_factory.js#L16) +**See**: [Pattern](https://github.com/pattern-lab/patternlab-node/blob/master/packages/core/src/lib/object_factory.js#L16) **Properties** | Name | Type | Description | @@ -107,7 +107,7 @@ Emitted before a pattern's template, HTML, and encoded HTML files are written to Emitted after a pattern's template, HTML, and encoded HTML files are written to their output location **Kind**: inner property of [EVENTS](#exp_module_Events--EVENTS) -**See**: [Pattern](https://github.com/pattern-lab/patternlab-node/blob/master/src/lib/object_factory.js#L16) +**See**: [Pattern](https://github.com/pattern-lab/patternlab-node/blob/master/packages/core/src/lib/object_factory.js#L16) **Properties** | Name | Type | Description | diff --git a/packages/core/src/lib/events.js b/packages/core/src/lib/events.js index b1653b3c8..bb708bb3c 100644 --- a/packages/core/src/lib/events.js +++ b/packages/core/src/lib/events.js @@ -39,7 +39,7 @@ const EVENTS = Object.freeze({ * @desc Emitted before all data is merged prior to a Pattern's render. Global `data.json` is merged with any pattern `.json`. Global `listitems.json` is merged with any pattern `.listitems.json`. * @property {object} patternlab - global data store * @property {Pattern} pattern - current pattern - * @see {@link https://github.com/pattern-lab/patternlab-node/blob/master/src/lib/object_factory.js#L16|Pattern} + * @see {@link https://github.com/pattern-lab/patternlab-node/blob/master/packages/core/src/lib/object_factory.js#L16|Pattern} */ PATTERNLAB_PATTERN_BEFORE_DATA_MERGE: 'patternlab-pattern-before-data-merge', @@ -47,7 +47,7 @@ const EVENTS = Object.freeze({ * @desc Emitted before a pattern's template, HTML, and encoded HTML files are written to their output location * @property {object} patternlab - global data store * @property {Pattern} pattern - current pattern - * @see {@link https://github.com/pattern-lab/patternlab-node/blob/master/src/lib/object_factory.js#L16|Pattern} + * @see {@link https://github.com/pattern-lab/patternlab-node/blob/master/packages/core/src/lib/object_factory.js#L16|Pattern} */ PATTERNLAB_PATTERN_WRITE_BEGIN: 'patternlab-pattern-write-begin', @@ -55,7 +55,7 @@ const EVENTS = Object.freeze({ * @desc Emitted after a pattern's template, HTML, and encoded HTML files are written to their output location * @property {object} patternlab - global data store * @property {Pattern} pattern - current pattern - * @see {@link https://github.com/pattern-lab/patternlab-node/blob/master/src/lib/object_factory.js#L16|Pattern} + * @see {@link https://github.com/pattern-lab/patternlab-node/blob/master/packages/core/src/lib/object_factory.js#L16|Pattern} */ PATTERNLAB_PATTERN_WRITE_END: 'patternlab-pattern-write-end', From 26ede14a6eafe8649cbc6b0076d84f1d323c3e20 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Mon, 22 Jun 2020 23:31:44 +0200 Subject: [PATCH 28/41] fix(docs): corrected a URL --- packages/starterkit-handlebars-demo/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/starterkit-handlebars-demo/package.json b/packages/starterkit-handlebars-demo/package.json index e3ffa26dd..6d1c32ce5 100644 --- a/packages/starterkit-handlebars-demo/package.json +++ b/packages/starterkit-handlebars-demo/package.json @@ -18,7 +18,7 @@ "bugs": { "url": "https://github.com/pattern-lab/patternlab-node/issues" }, - "homepage": "https://github.com/pattern-lab/patternlab-node/tree/master/packages/starterkit-handebars-demo", + "homepage": "https://github.com/pattern-lab/patternlab-node/tree/master/packages/starterkit-handlebars-demo", "publishConfig": { "access": "public" }, From 4f55160feec3c78b6fa29f5ab32a0ba1de55a15e Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Mon, 22 Jun 2020 23:31:54 +0200 Subject: [PATCH 29/41] chore(docs): simple typos --- .github/CONTRIBUTING.md | 2 +- packages/edition-node-gulp/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 558a1f99d..3120a9571 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -2,7 +2,7 @@ If you'd like to contribute to Pattern Lab Node, please do so! There is always a lot of ground to cover and something for your wheelhouse. -No pull request is too small. Check out any [help wanted πŸ†˜](https://github.com/pattern-lab/patternlab-node/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted+%3Asos%3A%22) or [good first issues πŸŽ“](https://github.com/pattern-lab/patternlab-node/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue+%3Amortar_board%3A%22)as a good way to get your feet wet, or add some more unit tests. +No pull request is too small. Check out any [help wanted πŸ†˜](https://github.com/pattern-lab/patternlab-node/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted+%3Asos%3A%22) or [good first issues πŸŽ“](https://github.com/pattern-lab/patternlab-node/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue+%3Amortar_board%3A%22) as a good way to get your feet wet, or add some more unit tests. ## Prerequisites diff --git a/packages/edition-node-gulp/README.md b/packages/edition-node-gulp/README.md index a6426c8ff..5218bf041 100644 --- a/packages/edition-node-gulp/README.md +++ b/packages/edition-node-gulp/README.md @@ -5,7 +5,7 @@ # Pattern Lab Node - Gulp Edition -The Gulp wrapper around [Pattern Lab Node Core](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core)), the default PatternEngine, and supporting frontend assets. +The Gulp wrapper around [Pattern Lab Node Core](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core), the default PatternEngine, and supporting frontend assets. [Online Demo of Pattern Lab Output](https://demo.patternlab.io/) From 0f4c0d26ed907940b56f6faed4084e3d1d06571f Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Tue, 23 Jun 2020 00:49:28 +0200 Subject: [PATCH 30/41] improvement(plugins): finding a home for the list of plugins --- packages/docs/src/docs/advanced-ecosystem-overview.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/docs/src/docs/advanced-ecosystem-overview.md b/packages/docs/src/docs/advanced-ecosystem-overview.md index 1d3c2a0c4..986b4922e 100644 --- a/packages/docs/src/docs/advanced-ecosystem-overview.md +++ b/packages/docs/src/docs/advanced-ecosystem-overview.md @@ -49,6 +49,13 @@ PatternEngines are the templating engines that are responsible for parsing patte Plugins allow developers to extend Pattern Lab Core and other parts of the ecosystem. Pattern Lab’s architecture allows developers to modify data at different stages, add their own commands or pattern rules, or change the front-end to modify and extend Pattern Lab’s capabilities. +#### Node Plugins + +Currently the following plugins are provided by the community: +* [plugin-tab](https://github.com/pattern-lab/patternlab-node/tree/master/packages/plugin-tab): Displaying sibling files next to a pattern in the filesystem as further code tab panels +* [patternlab-plugin-node-wrappable](https://github.com/networkteam/patternlab-plugin-node-wrappable): Configuration to wrap patterns styleguide HTML output (e.g. for inverse backgrounds) + + ### Other Types of Components The flexibility of the Pattern Lab ecosystem means that teams can develop tools on top of Pattern Lab that meet _their_ needs. Want to standardize and push entire data sets to teams? Want to develop with granular collections of components instead of entire StarterKits? Only want to customize the CSS for the default StyleguideKit and distribute it as part of your projects? All of this and more is possible. We feel we're just scratching the surface on what it means to develop projects and design systems with a tool like Pattern Lab From bedf3d5fcba715f1b7dce0cba9179ebbcf7ba5b3 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Tue, 23 Jun 2020 01:11:51 +0200 Subject: [PATCH 31/41] docs(plugins): added another plugin --- packages/docs/src/docs/advanced-ecosystem-overview.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/docs/src/docs/advanced-ecosystem-overview.md b/packages/docs/src/docs/advanced-ecosystem-overview.md index 986b4922e..3fa6f06e4 100644 --- a/packages/docs/src/docs/advanced-ecosystem-overview.md +++ b/packages/docs/src/docs/advanced-ecosystem-overview.md @@ -53,6 +53,7 @@ Plugins allow developers to extend Pattern Lab Core and other parts of the ecosy Currently the following plugins are provided by the community: * [plugin-tab](https://github.com/pattern-lab/patternlab-node/tree/master/packages/plugin-tab): Displaying sibling files next to a pattern in the filesystem as further code tab panels +* [plugin-node-minify-html](https://github.com/JosefBredereck/plugin-node-minify-html): Patternlab Node HTML tabs panel compressor/minifier/beautifier * [patternlab-plugin-node-wrappable](https://github.com/networkteam/patternlab-plugin-node-wrappable): Configuration to wrap patterns styleguide HTML output (e.g. for inverse backgrounds) From 6cb3d4b1724a99d9e72cc2da0cd3f7a503bba2c3 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Tue, 23 Jun 2020 01:15:48 +0200 Subject: [PATCH 32/41] chore(docs): added plugins contribution motivational comment --- packages/docs/src/docs/advanced-ecosystem-overview.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/docs/src/docs/advanced-ecosystem-overview.md b/packages/docs/src/docs/advanced-ecosystem-overview.md index 3fa6f06e4..d61bc7d67 100644 --- a/packages/docs/src/docs/advanced-ecosystem-overview.md +++ b/packages/docs/src/docs/advanced-ecosystem-overview.md @@ -56,6 +56,7 @@ Currently the following plugins are provided by the community: * [plugin-node-minify-html](https://github.com/JosefBredereck/plugin-node-minify-html): Patternlab Node HTML tabs panel compressor/minifier/beautifier * [patternlab-plugin-node-wrappable](https://github.com/networkteam/patternlab-plugin-node-wrappable): Configuration to wrap patterns styleguide HTML output (e.g. for inverse backgrounds) +Please feel to contribute and [add your plugin to this list as well](https://github.com/pattern-lab/patternlab-node/edit/dev/packages/docs/src/docs/advanced-ecosystem-overview.md). ### Other Types of Components From 049b0034e21af83b2b4c49a4ea1d05ec91d02547 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Tue, 23 Jun 2020 19:19:30 +0200 Subject: [PATCH 33/41] docs(plugins): added another plugin --- packages/docs/src/docs/advanced-ecosystem-overview.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/docs/src/docs/advanced-ecosystem-overview.md b/packages/docs/src/docs/advanced-ecosystem-overview.md index d61bc7d67..f199a2911 100644 --- a/packages/docs/src/docs/advanced-ecosystem-overview.md +++ b/packages/docs/src/docs/advanced-ecosystem-overview.md @@ -55,6 +55,7 @@ Currently the following plugins are provided by the community: * [plugin-tab](https://github.com/pattern-lab/patternlab-node/tree/master/packages/plugin-tab): Displaying sibling files next to a pattern in the filesystem as further code tab panels * [plugin-node-minify-html](https://github.com/JosefBredereck/plugin-node-minify-html): Patternlab Node HTML tabs panel compressor/minifier/beautifier * [patternlab-plugin-node-wrappable](https://github.com/networkteam/patternlab-plugin-node-wrappable): Configuration to wrap patterns styleguide HTML output (e.g. for inverse backgrounds) +* [plugin-node-patternlab-inline-assets](https://github.com/michaelworm/plugin-node-patternlab-inline-assets): Consume and inline assets (out of the file system) into your templates before compiling Please feel to contribute and [add your plugin to this list as well](https://github.com/pattern-lab/patternlab-node/edit/dev/packages/docs/src/docs/advanced-ecosystem-overview.md). From 2bf1a01917676fe504999023d5d065e046cffa2f Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Sun, 28 Jun 2020 00:02:56 +0200 Subject: [PATCH 34/41] docs(plugins): added another plugin --- packages/docs/src/docs/advanced-ecosystem-overview.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/docs/src/docs/advanced-ecosystem-overview.md b/packages/docs/src/docs/advanced-ecosystem-overview.md index f199a2911..0c230ec17 100644 --- a/packages/docs/src/docs/advanced-ecosystem-overview.md +++ b/packages/docs/src/docs/advanced-ecosystem-overview.md @@ -56,6 +56,7 @@ Currently the following plugins are provided by the community: * [plugin-node-minify-html](https://github.com/JosefBredereck/plugin-node-minify-html): Patternlab Node HTML tabs panel compressor/minifier/beautifier * [patternlab-plugin-node-wrappable](https://github.com/networkteam/patternlab-plugin-node-wrappable): Configuration to wrap patterns styleguide HTML output (e.g. for inverse backgrounds) * [plugin-node-patternlab-inline-assets](https://github.com/michaelworm/plugin-node-patternlab-inline-assets): Consume and inline assets (out of the file system) into your templates before compiling +* [plugin-node-uiextension](https://github.com/bmuenzenmeyer/plugin-node-uiextension): Provide a simple Patternlab chrome customization path versus forking the `StyleguideKit` Please feel to contribute and [add your plugin to this list as well](https://github.com/pattern-lab/patternlab-node/edit/dev/packages/docs/src/docs/advanced-ecosystem-overview.md). From 3a2ad9f12d83b6d21dcca62e89d944a6a46342f6 Mon Sep 17 00:00:00 2001 From: Salem Cobalt Date: Sun, 28 Jun 2020 13:18:56 -0400 Subject: [PATCH 35/41] fix: visually hide NavToggle icon text; fix for visual regression after merging down https://github.com/pattern-lab/patternlab-node/pull/1227 --- .../uikit-workshop/src/scripts/components/pl-nav/src/NavList.js | 2 +- .../src/scripts/components/pl-nav/src/NavToggle.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/uikit-workshop/src/scripts/components/pl-nav/src/NavList.js b/packages/uikit-workshop/src/scripts/components/pl-nav/src/NavList.js index 0f12980b9..dcd11156f 100644 --- a/packages/uikit-workshop/src/scripts/components/pl-nav/src/NavList.js +++ b/packages/uikit-workshop/src/scripts/components/pl-nav/src/NavList.js @@ -36,7 +36,7 @@ export const NavList = props => { aria-controls={category} onClick={elem.toggleSpecialNavPanel} > - {category} + Expand / Collapse {category} Panel )} diff --git a/packages/uikit-workshop/src/scripts/components/pl-nav/src/NavToggle.js b/packages/uikit-workshop/src/scripts/components/pl-nav/src/NavToggle.js index cf238ee1a..f879e00f4 100644 --- a/packages/uikit-workshop/src/scripts/components/pl-nav/src/NavToggle.js +++ b/packages/uikit-workshop/src/scripts/components/pl-nav/src/NavToggle.js @@ -7,7 +7,7 @@ export const NavToggle = props => { role="tab" {...props} > - {props.children} + {props.children} Date: Sun, 28 Jun 2020 15:32:50 -0400 Subject: [PATCH 36/41] chore: update auto to the latest version --- package.json | 4 +- yarn.lock | 212 ++++++++++++++++++++++++++------------------------- 2 files changed, 112 insertions(+), 104 deletions(-) diff --git a/package.json b/package.json index 97fc859e4..f11ea4478 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ "prettier": "^1.14.3", "lerna": "3.17.0", "pretty-quick": "^1.11.1", - "auto": "^9.31.1", - "@auto-it/released": "^9.31.1" + "auto": "^9.40.5", + "@auto-it/released": "^9.40.5" }, "repository": { "type": "git", diff --git a/yarn.lock b/yarn.lock index fd72ef805..e14f5ac0a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -64,23 +64,22 @@ time-require "^0.1.2" valid-url "^1.0.9" -"@auto-it/bot-list@^9.31.1": - version "9.31.1" - resolved "https://registry.yarnpkg.com/@auto-it/bot-list/-/bot-list-9.31.1.tgz#d76e3c1cb7252bde9dc4f30f696cbdec3261cbd0" - integrity sha512-mHcF/Nth4ZAHwlojaJjr8Dka0y7u+zkwSB3Z63siL0NXw91TYWoraPOY6tydUC59cflEzjuYxGlHN9ZWQ2tRVw== - -"@auto-it/core@^9.31.1": - version "9.31.1" - resolved "https://registry.yarnpkg.com/@auto-it/core/-/core-9.31.1.tgz#932007341d67bc22c39bb8974cf5cbbefa18f849" - integrity sha512-nHMQHL0T2LMnRWn/RQiFTc049JndXfza981FPb84RSxDH1z8pylblwo+Af6LnnAbg7GMd0JfEJmbKt9lq/AHuQ== - dependencies: - "@auto-it/bot-list" "^9.31.1" - "@octokit/core" "2.4.2" - "@octokit/graphql" "4.3.1" - "@octokit/plugin-enterprise-compatibility" "1.2.2" - "@octokit/plugin-retry" "3.0.1" +"@auto-it/bot-list@^9.40.5": + version "9.40.5" + resolved "https://registry.yarnpkg.com/@auto-it/bot-list/-/bot-list-9.40.5.tgz#11b5b0eeb642139b6964a7f6b9c445546e73c582" + integrity sha512-bqNfmY2CWFfmwAoSqmh3a3P77+Bu8zBm1TqSjUEGmqHsbJ5GQjmR4MxGdq5rLB+wsXj8mKOzuMBopXnEOOPXRg== + +"@auto-it/core@^9.40.5": + version "9.40.5" + resolved "https://registry.yarnpkg.com/@auto-it/core/-/core-9.40.5.tgz#39f1632ffddadfdd4f22069b3535d5829b0c05da" + integrity sha512-EmuxNU4gYWxdnlQzeB2Il7pWJe12SDKFG4TnaapEba3fjnfNlPSlVcgBjAowZNGOhhPkhfxkeKUE6aXcHLtplg== + dependencies: + "@auto-it/bot-list" "^9.40.5" + "@octokit/graphql" "^4.4.0" + "@octokit/plugin-enterprise-compatibility" "^1.2.2" + "@octokit/plugin-retry" "^3.0.1" "@octokit/plugin-throttling" "^3.2.0" - "@octokit/rest" "16.43.1" + "@octokit/rest" "^18.0.0" await-to-js "^2.1.1" chalk "^4.0.0" cosmiconfig "6.0.0" @@ -106,16 +105,16 @@ tapable "^2.0.0-beta.2" terminal-link "^2.1.1" tinycolor2 "^1.4.1" - tslib "1.11.1" + tslib "2.0.0" typescript-memoize "^1.0.0-alpha.3" url-join "^4.0.0" -"@auto-it/npm@^9.31.1": - version "9.31.1" - resolved "https://registry.yarnpkg.com/@auto-it/npm/-/npm-9.31.1.tgz#72b9cb071ac3f30f7a06f0e0633f3d05b79420ba" - integrity sha512-OcKAiCNA9kBqMZn2n4NEiw5myvDITYTz0MqYFXFQKa1EhNbOPL/VrFVFGL8xG+A7d626TT3BuuqG0OXc56WjMQ== +"@auto-it/npm@^9.40.5": + version "9.40.5" + resolved "https://registry.yarnpkg.com/@auto-it/npm/-/npm-9.40.5.tgz#16edf3636b4d5474ba3f843e3257d4a8b4f5f35f" + integrity sha512-jVQ1IWnX54alDQyX9NyY1dFKPcBo9mMbWoy004khXWhNnRnOH0l6hwF7aNCXQdEO0rseC1QJX55DgyW7crfAIQ== dependencies: - "@auto-it/core" "^9.31.1" + "@auto-it/core" "^9.40.5" await-to-js "^2.1.1" env-ci "^5.0.1" fp-ts "^2.5.3" @@ -125,21 +124,21 @@ parse-github-url "1.0.2" registry-url "^5.1.0" semver "^7.0.0" - tslib "1.11.1" + tslib "2.0.0" typescript-memoize "^1.0.0-alpha.3" url-join "^4.0.0" user-home "^2.0.0" -"@auto-it/released@^9.31.1": - version "9.31.1" - resolved "https://registry.yarnpkg.com/@auto-it/released/-/released-9.31.1.tgz#ed21d4bec75451fb87e49fe56e98e27928528bff" - integrity sha512-opWCWp2uj0feoSbrsOTNWF2lJGt6dAzzPkyCvY2C8bBj8m7mCUuIxCodl+x8NnQBCocNnerpCr4kQ14RzBLKqQ== +"@auto-it/released@^9.40.5": + version "9.40.5" + resolved "https://registry.yarnpkg.com/@auto-it/released/-/released-9.40.5.tgz#c7be442f355e0f0984528e18be7d56a16c0ff482" + integrity sha512-z+sFrQFzbaHrDtIEfQkFzyAtAJBwyTG8S2S4ry22wHSk4oDkgc8YyteEuRxtmL3L3zYx2T3KTMA3hraACqA8yA== dependencies: - "@auto-it/core" "^9.31.1" + "@auto-it/core" "^9.40.5" deepmerge "^4.0.0" fp-ts "^2.5.3" io-ts "^2.1.2" - tslib "1.11.1" + tslib "2.0.0" "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5": version "7.5.5" @@ -479,7 +478,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-syntax-jsx@^7.2.0": +"@babel/plugin-syntax-jsx@7.2.0", "@babel/plugin-syntax-jsx@^7.2.0": version "7.2.0" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.2.0.tgz#0b85a3b4bc7cdf4cc4b8bf236335b907ca22e7c7" integrity sha512-VyN4QANJkRW6lDBmENzRszvZf3/4AXaj9YR7GwrWeeN9tEBPuXbmDYVU9bYBN0D70zCWVwUy0HWq2553VCb6Hw== @@ -724,7 +723,7 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-jsx" "^7.2.0" -"@babel/plugin-transform-react-jsx@^7.0.0", "@babel/plugin-transform-react-jsx@^7.3.0": +"@babel/plugin-transform-react-jsx@7.3.0", "@babel/plugin-transform-react-jsx@^7.0.0": version "7.3.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.3.0.tgz#f2cab99026631c767e2745a5368b331cfe8f5290" integrity sha512-a/+aRb7R06WcKvQLOu4/TpjKOdvVEKRLWFpKcNuHhiREPgGRB4TQJxq07+EZLS8LFVYpfq1a5lDUnuMdcCpBKg== @@ -1726,15 +1725,15 @@ dependencies: "@octokit/types" "^2.0.0" -"@octokit/core@2.4.2": - version "2.4.2" - resolved "https://registry.yarnpkg.com/@octokit/core/-/core-2.4.2.tgz#c22e583afc97e74015ea5bfd3ffb3ffc56c186ed" - integrity sha512-fUx/Qt774cgiPhb3HRKfdl6iufVL/ltECkwkCg373I4lIPYvAPY4cbidVZqyVqHI+ThAIlFlTW8FT4QHChv3Sg== +"@octokit/core@^3.0.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@octokit/core/-/core-3.1.0.tgz#9c3c9b23f7504668cfa057f143ccbf0c645a0ac9" + integrity sha512-yPyQSmxIXLieEIRikk2w8AEtWkFdfG/LXcw1KvEtK3iP0ENZLW/WYQmdzOKqfSaLhooz4CJ9D+WY79C8ZliACw== dependencies: "@octokit/auth-token" "^2.4.0" "@octokit/graphql" "^4.3.1" - "@octokit/request" "^5.3.1" - "@octokit/types" "^2.0.0" + "@octokit/request" "^5.4.0" + "@octokit/types" "^5.0.0" before-after-hook "^2.1.0" universal-user-agent "^5.0.0" @@ -1755,15 +1754,6 @@ is-plain-object "^3.0.0" universal-user-agent "^5.0.0" -"@octokit/graphql@4.3.1": - version "4.3.1" - resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.3.1.tgz#9ee840e04ed2906c7d6763807632de84cdecf418" - integrity sha512-hCdTjfvrK+ilU2keAdqNBWOk+gm1kai1ZcdjRfB30oA3/T6n53UVJb7w0L5cR3/rhU91xT3HSqCd+qbvH06yxA== - dependencies: - "@octokit/request" "^5.3.0" - "@octokit/types" "^2.0.0" - universal-user-agent "^4.0.0" - "@octokit/graphql@^4.3.1": version "4.4.0" resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.4.0.tgz#4540b48bbf796b837b311ba6ea5104760db530ca" @@ -1773,45 +1763,54 @@ "@octokit/types" "^2.0.0" universal-user-agent "^5.0.0" -"@octokit/plugin-enterprise-compatibility@1.2.2": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@octokit/plugin-enterprise-compatibility/-/plugin-enterprise-compatibility-1.2.2.tgz#a30b635b63760e1504e57af5cf54da058b32a1de" - integrity sha512-LjESzkcoQHm1JN3drgjttbSk5fYNI8EPtcAiDqpnok0oL69vWIb5tcjyKrg7fPwzyRl/+A+UQbkIOsG2LJh09w== +"@octokit/graphql@^4.4.0": + version "4.5.1" + resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.5.1.tgz#162aed1490320b88ce34775b3f6b8de945529fa9" + integrity sha512-qgMsROG9K2KxDs12CO3bySJaYoUu2aic90qpFrv7A8sEBzZ7UFGvdgPKiLw5gOPYEYbS0Xf8Tvf84tJutHPulQ== + dependencies: + "@octokit/request" "^5.3.0" + "@octokit/types" "^5.0.0" + universal-user-agent "^5.0.0" + +"@octokit/plugin-enterprise-compatibility@^1.2.2": + version "1.2.5" + resolved "https://registry.yarnpkg.com/@octokit/plugin-enterprise-compatibility/-/plugin-enterprise-compatibility-1.2.5.tgz#43f77a2e392daf76841dc1d25d5dd7846de5fad4" + integrity sha512-c909SIGuLV8/gF2qh5jwrWAu2+MdWbaeubQzTJjvSzeTY8JPlj5OVxHHKtIgc7JhJKhgt4a4+2eirnOR8LEcRw== dependencies: "@octokit/request-error" "^2.0.0" - "@octokit/types" "^2.0.1" + "@octokit/types" "^5.0.0" "@octokit/plugin-enterprise-rest@^3.6.1": version "3.6.2" resolved "https://registry.yarnpkg.com/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-3.6.2.tgz#74de25bef21e0182b4fa03a8678cd00a4e67e561" integrity sha512-3wF5eueS5OHQYuAEudkpN+xVeUsg8vYEMMenEzLphUZ7PRZ8OJtDcsreL3ad9zxXmBbaFWzLmFcdob5CLyZftA== -"@octokit/plugin-paginate-rest@^1.1.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-1.1.2.tgz#004170acf8c2be535aba26727867d692f7b488fc" - integrity sha512-jbsSoi5Q1pj63sC16XIUboklNw+8tL9VOnJsWycWYR78TKss5PVpIPb1TUUcMQ+bBh7cY579cVAWmf5qG+dw+Q== +"@octokit/plugin-paginate-rest@^2.2.0": + version "2.2.3" + resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.2.3.tgz#a6ad4377e7e7832fb4bdd9d421e600cb7640ac27" + integrity sha512-eKTs91wXnJH8Yicwa30jz6DF50kAh7vkcqCQ9D7/tvBAP5KKkg6I2nNof8Mp/65G0Arjsb4QcOJcIEQY+rK1Rg== dependencies: - "@octokit/types" "^2.0.1" + "@octokit/types" "^5.0.0" "@octokit/plugin-request-log@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.0.tgz#eef87a431300f6148c39a7f75f8cfeb218b2547e" integrity sha512-ywoxP68aOT3zHCLgWZgwUJatiENeHE7xJzYjfz8WI0goynp96wETBF+d95b8g/uL4QmS6owPVlaxiz3wyMAzcw== -"@octokit/plugin-rest-endpoint-methods@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-2.4.0.tgz#3288ecf5481f68c494dd0602fc15407a59faf61e" - integrity sha512-EZi/AWhtkdfAYi01obpX0DF7U6b1VRr30QNQ5xSFPITMdLSfhcBqjamE3F+sKcxPbD7eZuMHu3Qkk2V+JGxBDQ== +"@octokit/plugin-rest-endpoint-methods@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.0.0.tgz#b02a2006dda8e908c3f8ab381dd5475ef5a810a8" + integrity sha512-emS6gysz4E9BNi9IrCl7Pm4kR+Az3MmVB0/DoDCmF4U48NbYG3weKyDlgkrz6Jbl4Mu4nDx8YWZwC4HjoTdcCA== dependencies: - "@octokit/types" "^2.0.1" + "@octokit/types" "^5.0.0" deprecation "^2.3.1" -"@octokit/plugin-retry@3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@octokit/plugin-retry/-/plugin-retry-3.0.1.tgz#4f17e4349b89754fd06951b548f08e2d8e7dd311" - integrity sha512-X+VALkeYyE4XGMHOoOnRS1/OvwvleZ2Xe3yxshaAKJrA4pbjBYptDx7IAY9xQj5JYY9vlCKUsXEZMWLRNxfViw== +"@octokit/plugin-retry@^3.0.1": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@octokit/plugin-retry/-/plugin-retry-3.0.3.tgz#9d7983ab15ae48da43e2584ea90932602c1cd37c" + integrity sha512-RFvcBg4JGyfWTWE35EIF7jf/eglIk5MuvfygzdIMLIVK3/4Ywz3X1x9Ri75nlyAmk53EpVWB4DwM/xEB1NXxXA== dependencies: - "@octokit/types" "^2.0.1" + "@octokit/types" "^5.0.0" bottleneck "^2.15.3" "@octokit/plugin-throttling@^3.2.0": @@ -1852,7 +1851,7 @@ once "^1.4.0" universal-user-agent "^4.0.0" -"@octokit/request@^5.3.0", "@octokit/request@^5.3.1": +"@octokit/request@^5.3.0": version "5.4.2" resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.4.2.tgz#74f8e5bbd39dc738a1b127629791f8ad1b3193ee" integrity sha512-zKdnGuQ2TQ2vFk9VU8awFT4+EYf92Z/v3OlzRaSh4RIP0H6cvW1BFPXq4XYvNez+TPQjqN+0uSkCYnMFFhcFrw== @@ -1866,27 +1865,19 @@ once "^1.4.0" universal-user-agent "^5.0.0" -"@octokit/rest@16.43.1": - version "16.43.1" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.43.1.tgz#3b11e7d1b1ac2bbeeb23b08a17df0b20947eda6b" - integrity sha512-gfFKwRT/wFxq5qlNjnW2dh+qh74XgTQ2B179UX5K1HYCluioWj8Ndbgqw2PVqa1NnVJkGHp2ovMpVn/DImlmkw== +"@octokit/request@^5.4.0": + version "5.4.5" + resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.4.5.tgz#8df65bd812047521f7e9db6ff118c06ba84ac10b" + integrity sha512-atAs5GAGbZedvJXXdjtKljin+e2SltEs48B3naJjqWupYl2IUBbB/CJisyjbNHcKpHzb3E+OYEZ46G8eakXgQg== dependencies: - "@octokit/auth-token" "^2.4.0" - "@octokit/plugin-paginate-rest" "^1.1.1" - "@octokit/plugin-request-log" "^1.0.0" - "@octokit/plugin-rest-endpoint-methods" "2.4.0" - "@octokit/request" "^5.2.0" - "@octokit/request-error" "^1.0.2" - atob-lite "^2.0.0" - before-after-hook "^2.0.0" - btoa-lite "^1.0.0" + "@octokit/endpoint" "^6.0.1" + "@octokit/request-error" "^2.0.0" + "@octokit/types" "^5.0.0" deprecation "^2.0.0" - lodash.get "^4.4.2" - lodash.set "^4.3.2" - lodash.uniq "^4.5.0" - octokit-pagination-methods "^1.1.0" + is-plain-object "^3.0.0" + node-fetch "^2.3.0" once "^1.4.0" - universal-user-agent "^4.0.0" + universal-user-agent "^5.0.0" "@octokit/rest@^16.28.4": version "16.33.1" @@ -1906,6 +1897,16 @@ once "^1.4.0" universal-user-agent "^4.0.0" +"@octokit/rest@^18.0.0": + version "18.0.0" + resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-18.0.0.tgz#7f401d9ce13530ad743dfd519ae62ce49bcc0358" + integrity sha512-4G/a42lry9NFGuuECnua1R1eoKkdBYJap97jYbWDNYBOUboWcM75GJ1VIcfvwDV/pW0lMPs7CEmhHoVrSV5shg== + dependencies: + "@octokit/core" "^3.0.0" + "@octokit/plugin-paginate-rest" "^2.2.0" + "@octokit/plugin-request-log" "^1.0.0" + "@octokit/plugin-rest-endpoint-methods" "4.0.0" + "@octokit/types@^2.0.0", "@octokit/types@^2.0.1", "@octokit/types@^2.11.1": version "2.15.0" resolved "https://registry.yarnpkg.com/@octokit/types/-/types-2.15.0.tgz#b2070520207727bc6ab3a9caa1e4f60b0434bfa8" @@ -1913,6 +1914,13 @@ dependencies: "@types/node" ">= 8" +"@octokit/types@^5.0.0": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@octokit/types/-/types-5.0.1.tgz#5459e9a5e9df8565dcc62c17a34491904d71971e" + integrity sha512-GorvORVwp244fGKEt3cgt/P+M0MGy4xEDbckw+K5ojEezxyMDgCaYPKVct+/eWQfZXOT7uq0xRpmrl/+hliabA== + dependencies: + "@types/node" ">= 8" + "@pattern-lab/starterkit-mustache-base@3.0.3": version "3.0.3" resolved "https://registry.yarnpkg.com/@pattern-lab/starterkit-mustache-base/-/starterkit-mustache-base-3.0.3.tgz#8ce9bc8e0d2254ee970a09c4bdc76d4f6131c91d" @@ -3132,22 +3140,22 @@ auto-bind@^2.0.0: dependencies: "@types/react" "^16.8.12" -auto@^9.31.1: - version "9.31.1" - resolved "https://registry.yarnpkg.com/auto/-/auto-9.31.1.tgz#1baeece6fc6bcd7e8443070440b2acb468f7df0e" - integrity sha512-fEvP9Wj1+UvDvWSk1AsLGOlrP/HJtVXWPSYm9WNDgLNWSqrGtcw/aa5JdrG2XZuQYimA4Qs7M2K/Gz+Zpy0Hbg== +auto@^9.40.5: + version "9.40.5" + resolved "https://registry.yarnpkg.com/auto/-/auto-9.40.5.tgz#0492ec2bf630c4c6bb83c1cc07356ef8945c6544" + integrity sha512-0KVhgcdb8l7B9I49qixgKwYIeWh7A2MASQYidQsleVJHrdu7N3NwH6XFGVNhRDs7HTEY6AGCMu9c2WIfHiOm1A== dependencies: - "@auto-it/core" "^9.31.1" - "@auto-it/npm" "^9.31.1" - "@auto-it/released" "^9.31.1" + "@auto-it/core" "^9.40.5" + "@auto-it/npm" "^9.40.5" + "@auto-it/released" "^9.40.5" await-to-js "^2.1.1" chalk "^4.0.0" - command-line-application "^0.9.3" + command-line-application "^0.10.1" endent "^2.0.1" module-alias "^2.2.2" signale "^1.4.0" terminal-link "^2.1.1" - tslib "1.11.1" + tslib "2.0.0" autoprefixer@^9.6.5: version "9.7.1" @@ -4755,10 +4763,10 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" -command-line-application@^0.9.3: - version "0.9.6" - resolved "https://registry.yarnpkg.com/command-line-application/-/command-line-application-0.9.6.tgz#03da3db29a0dbee1af601f03198a2f2425d67803" - integrity sha512-7wc7YX7s/hqZWKp4r37IBlW/Bhh92HWeQW2VV++Mt9x35AKFntz9f7A94Zz+AsImHZmRGHd8iNW5m0jUd4GQpg== +command-line-application@^0.10.1: + version "0.10.1" + resolved "https://registry.yarnpkg.com/command-line-application/-/command-line-application-0.10.1.tgz#9ee0db7e41fe69f532eef0747e9ae958c0d348ae" + integrity sha512-PWZ4nRkz09MbBRocqEe/Fil3RjTaMNqw0didl1n/i3flDcw/vecVfvsw3r+ZHhGs4BOuW7sk3cEYSdfM3Wv5/Q== dependencies: "@types/command-line-args" "^5.0.0" "@types/command-line-usage" "^5.0.1" @@ -17490,10 +17498,10 @@ tslib@1.10.0, tslib@^1.9.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== -tslib@1.11.1: - version "1.11.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35" - integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA== +tslib@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.0.tgz#18d13fc2dce04051e20f074cc8387fd8089ce4f3" + integrity sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g== tslib@^1.11.1: version "1.11.2" From d3660b78bc0a74c52ed85b69b023c612b789c318 Mon Sep 17 00:00:00 2001 From: Salem Cobalt Date: Sun, 28 Jun 2020 15:33:51 -0400 Subject: [PATCH 37/41] fix: update Webpack config to point to the patched version of preact-dom --- packages/uikit-workshop/webpack.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/uikit-workshop/webpack.config.js b/packages/uikit-workshop/webpack.config.js index 0a5812f7f..6129d83e5 100644 --- a/packages/uikit-workshop/webpack.config.js +++ b/packages/uikit-workshop/webpack.config.js @@ -140,7 +140,10 @@ module.exports = function(apiConfig) { extensions: ['.js', '.jsx'], alias: { react: path.resolve(__dirname, './src/scripts/utils/preact-compat'), - 'react-dom': 'preact-compat', + 'react-dom': path.resolve( + __dirname, + './src/scripts/utils/preact-compat' + ), }, }, output: { From b93770669c6f723128ba68e522c9398cc1d2d70c Mon Sep 17 00:00:00 2001 From: Salem Cobalt Date: Sun, 28 Jun 2020 15:34:37 -0400 Subject: [PATCH 38/41] fix: update Viewport Size toggle to better handle async-loaded ishControl data + prevent rendering errors --- .../pl-viewport-size-list.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/uikit-workshop/src/scripts/lit-components/pl-viewport-size-list/pl-viewport-size-list.js b/packages/uikit-workshop/src/scripts/lit-components/pl-viewport-size-list/pl-viewport-size-list.js index 6b5110354..319240560 100644 --- a/packages/uikit-workshop/src/scripts/lit-components/pl-viewport-size-list/pl-viewport-size-list.js +++ b/packages/uikit-workshop/src/scripts/lit-components/pl-viewport-size-list/pl-viewport-size-list.js @@ -54,7 +54,7 @@ class ViewportSizes extends BaseComponent { super.connectedCallback && super.connectedCallback(); styles.use(); const state = store.getState(); - const { ishControlsHide } = window.ishControls; + const { ishControlsHide } = window?.ishControls; this.ishControlsHide = ishControlsHide; // Remove EventListener or they will be added multiple times when reloading in serve mode @@ -301,7 +301,7 @@ class ViewportSizes extends BaseComponent { render() { return (
    - {!this.ishControlsHide.s && ( + {!this.ishControlsHide?.s && (
  • )} - {!this.ishControlsHide.m && ( + {!this.ishControlsHide?.m && (
  • )} - {!this.ishControlsHide.l && ( + {!this.ishControlsHide?.l && (
  • )} - {!this.ishControlsHide.full && ( + {!this.ishControlsHide?.full && (
  • )} - {!this.ishControlsHide.random && ( + {!this.ishControlsHide?.random && (
  • )} - {!this.ishControlsHide.disco && ( + {!this.ishControlsHide?.disco && (
  • )} - {!this.ishControlsHide.hay && ( + {!this.ishControlsHide?.hay && (
  • Date: Sun, 28 Jun 2020 15:42:36 -0400 Subject: [PATCH 39/41] [skip travis] chore(release): publish v5.11.0 --- CHANGELOG.md | 21 +++++++++++++++++++ lerna.json | 2 +- packages/cli/CHANGELOG.md | 8 +++++++ packages/cli/package.json | 4 ++-- packages/core/CHANGELOG.md | 11 ++++++++++ packages/core/package.json | 2 +- packages/create/CHANGELOG.md | 8 +++++++ packages/create/package.json | 4 ++-- .../CHANGELOG.md | 8 +++++++ .../package.json | 8 +++---- .../CHANGELOG.md | 8 +++++++ .../package.json | 6 +++--- .../CHANGELOG.md | 8 +++++++ .../package.json | 8 +++---- packages/docs/CHANGELOG.md | 12 +++++++++++ packages/docs/package.json | 2 +- packages/edition-node-gulp/CHANGELOG.md | 8 +++++++ packages/edition-node-gulp/package.json | 8 +++---- packages/edition-node/CHANGELOG.md | 8 +++++++ packages/edition-node/package.json | 8 +++---- packages/edition-twig/CHANGELOG.md | 8 +++++++ packages/edition-twig/package.json | 10 ++++----- packages/engine-twig-php/CHANGELOG.md | 8 +++++++ packages/engine-twig-php/package.json | 4 ++-- .../starterkit-handlebars-demo/CHANGELOG.md | 11 ++++++++++ .../starterkit-handlebars-demo/package.json | 2 +- packages/uikit-workshop/CHANGELOG.md | 16 ++++++++++++++ packages/uikit-workshop/package.json | 4 ++-- 28 files changed, 179 insertions(+), 36 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d459bfea0..e46a3076f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,27 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.0) (2020-06-28) + + +### Bug Fixes + +* update Viewport Size toggle to better handle async-loaded ishControl data + prevent rendering errors ([b937706](https://github.com/pattern-lab/patternlab-node/commit/b93770669c6f723128ba68e522c9398cc1d2d70c)) +* update Webpack config to point to the patched version of preact-dom ([d3660b7](https://github.com/pattern-lab/patternlab-node/commit/d3660b78bc0a74c52ed85b69b023c612b789c318)) +* visually hide NavToggle icon text; fix for visual regression after merging down https://github.com/pattern-lab/patternlab-node/pull/1227 ([3a2ad9f](https://github.com/pattern-lab/patternlab-node/commit/3a2ad9f12d83b6d21dcca62e89d944a6a46342f6)) +* **docs:** corrected a URL ([26ede14](https://github.com/pattern-lab/patternlab-node/commit/26ede14a6eafe8649cbc6b0076d84f1d323c3e20)) +* **docs:** fixed css code for custom patternstates color ([8995241](https://github.com/pattern-lab/patternlab-node/commit/89952416162c01d1e3e05221ce58a7755544131c)), closes [#1216](https://github.com/pattern-lab/patternlab-node/issues/1216) +* **docs:** headlines styling breaks in edge cases [#1158](https://github.com/pattern-lab/patternlab-node/issues/1158) ([d8244a2](https://github.com/pattern-lab/patternlab-node/commit/d8244a2d307b0a81d0846491f8c5a12e0ae167a5)) +* **patternflyouts:** preventing horizontal scrollbar in pattern flyouts in Edge 18 [#1124](https://github.com/pattern-lab/patternlab-node/issues/1124) ([63300bc](https://github.com/pattern-lab/patternlab-node/commit/63300bc00ee797e38bfdb73fdc7694c188a423dc)) +* **patternstate:** added css color for pattern state "inprogress" [#1216](https://github.com/pattern-lab/patternlab-node/issues/1216) ([856bcda](https://github.com/pattern-lab/patternlab-node/commit/856bcda150239928bb5e8719246b97e9fa366468)) +* **resetcss:** selector in uikit-workshop [#1109](https://github.com/pattern-lab/patternlab-node/issues/1109) ([6893b7c](https://github.com/pattern-lab/patternlab-node/commit/6893b7cb5478309d4fdab0121edba3921718bd69)) +* enable partial build via option ([8aaa533](https://github.com/pattern-lab/patternlab-node/commit/8aaa53398563ade14123c481bf509f9ee0c768f5)) +* enable partial build via option ([4b9dbf9](https://github.com/pattern-lab/patternlab-node/commit/4b9dbf9095bfb8bfd2360b310dd7395dbfe3cf98)) + + + + + ## [5.10.2](https://github.com/pattern-lab/patternlab-node/compare/v5.10.1...v5.10.2) (2020-05-24) diff --git a/lerna.json b/lerna.json index 68da376ac..a8a9b8ed0 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "3.11.0", - "version": "5.10.2", + "version": "5.11.0", "packages": [ "packages/*" ], diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 733080af4..10c85203b 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.10.2...v5.11.0) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/cli + + + + + ## [5.10.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.10.0...v5.10.1) (2020-05-09) **Note:** Version bump only for package @pattern-lab/cli diff --git a/packages/cli/package.json b/packages/cli/package.json index a0c779851..37188f044 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@pattern-lab/cli", "description": "Command-line interface (CLI) for the @pattern-lab/core.", - "version": "5.10.1", + "version": "5.11.0", "bin": { "patternlab": "bin/patternlab.js" }, @@ -9,7 +9,7 @@ "name": "Raphael Okon" }, "dependencies": { - "@pattern-lab/core": "^5.10.1", + "@pattern-lab/core": "^5.11.0", "@pattern-lab/live-server": "^5.10.1", "@pattern-lab/starterkit-mustache-base": "3.0.3", "archiver": "2.1.1", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index e40c06606..9fc1cc8d7 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/compare/v5.10.2...v5.11.0) (2020-06-28) + + +### Bug Fixes + +* enable partial build via option ([8aaa533](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/commit/8aaa53398563ade14123c481bf509f9ee0c768f5)) + + + + + ## [5.10.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/compare/v5.10.0...v5.10.1) (2020-05-09) **Note:** Version bump only for package @pattern-lab/core diff --git a/packages/core/package.json b/packages/core/package.json index b606d8edf..e3b0f8dd3 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@pattern-lab/core", "description": "Create atomic design systems with Pattern Lab. This is the core API and orchestrator of the ecosystem.", - "version": "5.10.1", + "version": "5.11.0", "main": "./src/index.js", "dependencies": { "@pattern-lab/engine-mustache": "^5.10.1", diff --git a/packages/create/CHANGELOG.md b/packages/create/CHANGELOG.md index d0f9844dd..14741834d 100644 --- a/packages/create/CHANGELOG.md +++ b/packages/create/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.0) (2020-06-28) + +**Note:** Version bump only for package create-pattern-lab + + + + + ## [5.10.1](https://github.com/pattern-lab/patternlab-node/compare/v5.10.0...v5.10.1) (2020-05-09) **Note:** Version bump only for package create-pattern-lab diff --git a/packages/create/package.json b/packages/create/package.json index 6a8ba6deb..ee343b28b 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -1,12 +1,12 @@ { "name": "create-pattern-lab", - "version": "5.10.1", + "version": "5.11.0", "description": "", "bin": "index.js", "main": "index.js", "scripts": {}, "dependencies": { - "@pattern-lab/cli": "^5.10.1" + "@pattern-lab/cli": "^5.11.0" }, "author": "", "license": "MIT", diff --git a/packages/development-edition-engine-handlebars/CHANGELOG.md b/packages/development-edition-engine-handlebars/CHANGELOG.md index f385f0cdf..330a81b77 100644 --- a/packages/development-edition-engine-handlebars/CHANGELOG.md +++ b/packages/development-edition-engine-handlebars/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.0) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + ## [5.10.2](https://github.com/pattern-lab/patternlab-node/compare/v5.10.1...v5.10.2) (2020-05-24) **Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars diff --git a/packages/development-edition-engine-handlebars/package.json b/packages/development-edition-engine-handlebars/package.json index d3e09aa41..83d26bd4a 100644 --- a/packages/development-edition-engine-handlebars/package.json +++ b/packages/development-edition-engine-handlebars/package.json @@ -1,7 +1,7 @@ { "name": "@pattern-lab/development-edition-engine-handlebars", "private": true, - "version": "5.10.2", + "version": "5.11.0", "description": "The tree of components we use to test, develop and validate the Handlebars engine", "scripts": { "pl:build": "patternlab build --config ./patternlab-config.json", @@ -28,12 +28,12 @@ "node": ">=12.12.0" }, "dependencies": { - "@pattern-lab/cli": "^5.10.1", - "@pattern-lab/core": "^5.10.1", + "@pattern-lab/cli": "^5.11.0", + "@pattern-lab/core": "^5.11.0", "@pattern-lab/engine-handlebars": "^5.10.1", "@pattern-lab/engine-mustache": "^5.10.1", "@pattern-lab/plugin-tab": "^5.10.1", "@pattern-lab/starterkit-mustache-demo": "^5.0.0", - "@pattern-lab/uikit-workshop": "^5.10.2" + "@pattern-lab/uikit-workshop": "^5.11.0" } } diff --git a/packages/development-edition-engine-react/CHANGELOG.md b/packages/development-edition-engine-react/CHANGELOG.md index 8dd4ea0d0..c6addcb3b 100644 --- a/packages/development-edition-engine-react/CHANGELOG.md +++ b/packages/development-edition-engine-react/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/pattern-lab/edition-node-gulp/compare/v5.10.2...v5.11.0) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + ## [5.10.2](https://github.com/pattern-lab/edition-node-gulp/compare/v5.10.1...v5.10.2) (2020-05-24) **Note:** Version bump only for package @pattern-lab/engine-react-testing-tree diff --git a/packages/development-edition-engine-react/package.json b/packages/development-edition-engine-react/package.json index 569f9feff..d31c9c7e3 100644 --- a/packages/development-edition-engine-react/package.json +++ b/packages/development-edition-engine-react/package.json @@ -1,14 +1,14 @@ { "name": "@pattern-lab/engine-react-testing-tree", "description": "The tree of components we use to test, develop and validate the React engine", - "version": "5.10.2", + "version": "5.11.0", "private": true, "main": "gulpfile.js", "dependencies": { - "@pattern-lab/core": "^5.10.1", + "@pattern-lab/core": "^5.11.0", "@pattern-lab/engine-mustache": "^5.10.1", "@pattern-lab/engine-react": "^5.10.0", - "@pattern-lab/uikit-workshop": "^5.10.2", + "@pattern-lab/uikit-workshop": "^5.11.0", "gulp": "3.9.1", "minimist": "^1.2.0", "react": "16.2.0" diff --git a/packages/development-edition-engine-twig/CHANGELOG.md b/packages/development-edition-engine-twig/CHANGELOG.md index 85a64768a..4b70c66d1 100644 --- a/packages/development-edition-engine-twig/CHANGELOG.md +++ b/packages/development-edition-engine-twig/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.0) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-twig + + + + + ## [5.10.2](https://github.com/pattern-lab/patternlab-node/compare/v5.10.1...v5.10.2) (2020-05-24) **Note:** Version bump only for package @pattern-lab/development-edition-engine-twig diff --git a/packages/development-edition-engine-twig/package.json b/packages/development-edition-engine-twig/package.json index b3387fc07..2b625f0fe 100644 --- a/packages/development-edition-engine-twig/package.json +++ b/packages/development-edition-engine-twig/package.json @@ -1,7 +1,7 @@ { "name": "@pattern-lab/development-edition-engine-twig", "private": true, - "version": "5.10.2", + "version": "5.11.0", "description": "The tree of components we use to test, develop and validate the twig engine (not engine-twig-php)", "scripts": { "postbootstrap": "patternlab install --starterkits @pattern-lab/starterkit-twig-demo", @@ -30,11 +30,11 @@ "node": ">=12.12.0" }, "dependencies": { - "@pattern-lab/cli": "^5.10.1", - "@pattern-lab/core": "^5.10.1", + "@pattern-lab/cli": "^5.11.0", + "@pattern-lab/core": "^5.11.0", "@pattern-lab/engine-twig": "^5.10.2", "@pattern-lab/starterkit-twig-demo": "^5.10.1", - "@pattern-lab/uikit-workshop": "^5.10.2" + "@pattern-lab/uikit-workshop": "^5.11.0" }, "workspaces": { "nohoist": [ diff --git a/packages/docs/CHANGELOG.md b/packages/docs/CHANGELOG.md index 8ff0bd8c5..c37585a99 100644 --- a/packages/docs/CHANGELOG.md +++ b/packages/docs/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/bradfrost/pl-website-eleventy/compare/v5.10.2...v5.11.0) (2020-06-28) + + +### Bug Fixes + +* **docs:** fixed css code for custom patternstates color ([8995241](https://github.com/bradfrost/pl-website-eleventy/commit/89952416162c01d1e3e05221ce58a7755544131c)), closes [#1216](https://github.com/bradfrost/pl-website-eleventy/issues/1216) +* **docs:** headlines styling breaks in edge cases [#1158](https://github.com/bradfrost/pl-website-eleventy/issues/1158) ([d8244a2](https://github.com/bradfrost/pl-website-eleventy/commit/d8244a2d307b0a81d0846491f8c5a12e0ae167a5)) + + + + + ## [5.10.1](https://github.com/bradfrost/pl-website-eleventy/compare/v5.10.0...v5.10.1) (2020-05-09) **Note:** Version bump only for package @pattern-lab/website diff --git a/packages/docs/package.json b/packages/docs/package.json index 4e80b4be2..95ac869f1 100755 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,6 +1,6 @@ { "name": "@pattern-lab/website", - "version": "5.10.1", + "version": "5.11.0", "description": "The website for patternlab.io", "main": "index.js", "dependencies": { diff --git a/packages/edition-node-gulp/CHANGELOG.md b/packages/edition-node-gulp/CHANGELOG.md index 4999f19e0..2c89d6133 100644 --- a/packages/edition-node-gulp/CHANGELOG.md +++ b/packages/edition-node-gulp/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.10.2...v5.11.0) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + ## [5.10.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.10.1...v5.10.2) (2020-05-24) **Note:** Version bump only for package @pattern-lab/edition-node-gulp diff --git a/packages/edition-node-gulp/package.json b/packages/edition-node-gulp/package.json index 1f465f1fd..1cfc7eb08 100644 --- a/packages/edition-node-gulp/package.json +++ b/packages/edition-node-gulp/package.json @@ -1,13 +1,13 @@ { "name": "@pattern-lab/edition-node-gulp", "description": "The gulp wrapper around patternlab-node core, providing tasks to interact with the core library and move supporting frontend assets.", - "version": "5.10.2", + "version": "5.11.0", "main": "gulpfile.js", "dependencies": { - "@pattern-lab/cli": "^5.10.1", - "@pattern-lab/core": "^5.10.1", + "@pattern-lab/cli": "^5.11.0", + "@pattern-lab/core": "^5.11.0", "@pattern-lab/engine-mustache": "^5.10.1", - "@pattern-lab/uikit-workshop": "^5.10.2", + "@pattern-lab/uikit-workshop": "^5.11.0", "gulp": "3.9.1", "minimist": "1.2.0" }, diff --git a/packages/edition-node/CHANGELOG.md b/packages/edition-node/CHANGELOG.md index 0969d9e11..316bbaace 100644 --- a/packages/edition-node/CHANGELOG.md +++ b/packages/edition-node/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.10.2...v5.11.0) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + ## [5.10.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.10.1...v5.10.2) (2020-05-24) **Note:** Version bump only for package @pattern-lab/edition-node diff --git a/packages/edition-node/package.json b/packages/edition-node/package.json index 87db89795..0a5c4ef00 100644 --- a/packages/edition-node/package.json +++ b/packages/edition-node/package.json @@ -1,13 +1,13 @@ { "name": "@pattern-lab/edition-node", "description": "A pure wrapper around patternlab-node core, the default pattern engine, and supporting frontend assets.", - "version": "5.10.2", + "version": "5.11.0", "main": "patternlab-config.json", "dependencies": { - "@pattern-lab/cli": "^5.10.1", - "@pattern-lab/core": "^5.10.1", + "@pattern-lab/cli": "^5.11.0", + "@pattern-lab/core": "^5.11.0", "@pattern-lab/engine-handlebars": "^5.10.1", - "@pattern-lab/uikit-workshop": "^5.10.2" + "@pattern-lab/uikit-workshop": "^5.11.0" }, "keywords": [ "Pattern Lab", diff --git a/packages/edition-twig/CHANGELOG.md b/packages/edition-twig/CHANGELOG.md index 577bf4711..837aeae88 100644 --- a/packages/edition-twig/CHANGELOG.md +++ b/packages/edition-twig/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.0) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + ## [5.10.2](https://github.com/pattern-lab/patternlab-node/compare/v5.10.1...v5.10.2) (2020-05-24) **Note:** Version bump only for package @pattern-lab/edition-twig diff --git a/packages/edition-twig/package.json b/packages/edition-twig/package.json index 7c66a015a..5c6ec254c 100644 --- a/packages/edition-twig/package.json +++ b/packages/edition-twig/package.json @@ -1,6 +1,6 @@ { "name": "@pattern-lab/edition-twig", - "version": "5.10.2", + "version": "5.11.0", "description": "Pattern Lab node with Twig PHP Engine", "author": { "name": "Evan Lovely", @@ -23,10 +23,10 @@ "dev": "node ./node_modules/@pattern-lab/uikit-workshop/build-tools.js" }, "dependencies": { - "@pattern-lab/cli": "^5.10.1", - "@pattern-lab/core": "^5.10.1", - "@pattern-lab/engine-twig-php": "^5.10.1", - "@pattern-lab/uikit-workshop": "^5.10.2" + "@pattern-lab/cli": "^5.11.0", + "@pattern-lab/core": "^5.11.0", + "@pattern-lab/engine-twig-php": "^5.11.0", + "@pattern-lab/uikit-workshop": "^5.11.0" }, "engines": { "node": ">=12.12.0" diff --git a/packages/engine-twig-php/CHANGELOG.md b/packages/engine-twig-php/CHANGELOG.md index d6ce46aff..eeccb31da 100644 --- a/packages/engine-twig-php/CHANGELOG.md +++ b/packages/engine-twig-php/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/engine-twig-php/compare/v5.10.2...v5.11.0) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/engine-twig-php + + + + + ## [5.10.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/engine-twig-php/compare/v5.10.0...v5.10.1) (2020-05-09) **Note:** Version bump only for package @pattern-lab/engine-twig-php diff --git a/packages/engine-twig-php/package.json b/packages/engine-twig-php/package.json index f3b2b1166..13ffdaff8 100644 --- a/packages/engine-twig-php/package.json +++ b/packages/engine-twig-php/package.json @@ -1,11 +1,11 @@ { "name": "@pattern-lab/engine-twig-php", "description": "The Twig PHP engine for Pattern Lab Node", - "version": "5.10.1", + "version": "5.11.0", "main": "lib/engine_twig_php.js", "dependencies": { "@basalt/twig-renderer": "0.13.1", - "@pattern-lab/core": "^5.10.1", + "@pattern-lab/core": "^5.11.0", "chalk": "^4.0.0", "fs-extra": "0.30.0" }, diff --git a/packages/starterkit-handlebars-demo/CHANGELOG.md b/packages/starterkit-handlebars-demo/CHANGELOG.md index cc7b9ed6b..4032d2067 100644 --- a/packages/starterkit-handlebars-demo/CHANGELOG.md +++ b/packages/starterkit-handlebars-demo/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.0) (2020-06-28) + + +### Bug Fixes + +* **docs:** corrected a URL ([26ede14](https://github.com/pattern-lab/patternlab-node/commit/26ede14a6eafe8649cbc6b0076d84f1d323c3e20)) + + + + + ## [5.7.2](https://github.com/pattern-lab/patternlab-node/compare/v5.7.1...v5.7.2) (2020-03-24) **Note:** Version bump only for package @pattern-lab/starterkit-handlebars-demo diff --git a/packages/starterkit-handlebars-demo/package.json b/packages/starterkit-handlebars-demo/package.json index 6d1c32ce5..e3b5a2ac8 100644 --- a/packages/starterkit-handlebars-demo/package.json +++ b/packages/starterkit-handlebars-demo/package.json @@ -1,6 +1,6 @@ { "name": "@pattern-lab/starterkit-handlebars-demo", - "version": "5.7.2", + "version": "5.11.0", "description": "Pattern Lab's Demo StarterKit for Handlebars.", "main": "README.md", "repository": { diff --git a/packages/uikit-workshop/CHANGELOG.md b/packages/uikit-workshop/CHANGELOG.md index 6a16b3680..c0dea9c09 100644 --- a/packages/uikit-workshop/CHANGELOG.md +++ b/packages/uikit-workshop/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.11.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.10.2...v5.11.0) (2020-06-28) + + +### Bug Fixes + +* update Viewport Size toggle to better handle async-loaded ishControl data + prevent rendering errors ([b937706](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/b93770669c6f723128ba68e522c9398cc1d2d70c)) +* update Webpack config to point to the patched version of preact-dom ([d3660b7](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/d3660b78bc0a74c52ed85b69b023c612b789c318)) +* visually hide NavToggle icon text; fix for visual regression after merging down https://github.com/pattern-lab/patternlab-node/pull/1227 ([3a2ad9f](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/3a2ad9f12d83b6d21dcca62e89d944a6a46342f6)) +* **patternflyouts:** preventing horizontal scrollbar in pattern flyouts in Edge 18 [#1124](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/issues/1124) ([63300bc](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/63300bc00ee797e38bfdb73fdc7694c188a423dc)) +* **patternstate:** added css color for pattern state "inprogress" [#1216](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/issues/1216) ([856bcda](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/856bcda150239928bb5e8719246b97e9fa366468)) +* **resetcss:** selector in uikit-workshop [#1109](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/issues/1109) ([6893b7c](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/6893b7cb5478309d4fdab0121edba3921718bd69)) + + + + + ## [5.10.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.10.1...v5.10.2) (2020-05-24) diff --git a/packages/uikit-workshop/package.json b/packages/uikit-workshop/package.json index a3b76d642..759ef9875 100644 --- a/packages/uikit-workshop/package.json +++ b/packages/uikit-workshop/package.json @@ -1,6 +1,6 @@ { "name": "@pattern-lab/uikit-workshop", - "version": "5.10.2", + "version": "5.11.0", "description": "Front-end assets and templates for the default Pattern Lab workshop view", "main": "gulpfile.js", "scripts": { @@ -32,7 +32,7 @@ "repository": "https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop", "bugs": "https://github.com/pattern-lab/patternlab-node/issues", "devDependencies": { - "@pattern-lab/core": "^5.10.1", + "@pattern-lab/core": "^5.11.0", "@pattern-lab/engine-handlebars": "^5.10.1", "@pattern-lab/engine-mustache": "^5.10.1", "better-opn": "^1.0.0", From dca19489b85f715de3ade2294fa49df89b8bb59f Mon Sep 17 00:00:00 2001 From: Salem Cobalt Date: Sun, 28 Jun 2020 15:46:47 -0400 Subject: [PATCH 40/41] fix: update yarn.lock --- yarn.lock | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 69 insertions(+), 2 deletions(-) diff --git a/yarn.lock b/yarn.lock index e14f5ac0a..e2be70f0f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -184,6 +184,13 @@ dependencies: "@babel/types" "^7.0.0" +"@babel/helper-annotate-as-pure@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.1.tgz#f6d08acc6f70bbd59b436262553fb2e259a1a268" + integrity sha512-ewp3rvJEwLaHgyWGe4wQssC2vjks3E80WiUe2BpMb0KhreTjMROCbxXcEovTrbeGVdQct5VjQfrv9EgC+xMzCw== + dependencies: + "@babel/types" "^7.10.1" + "@babel/helper-builder-binary-assignment-operator-visitor@^7.1.0": version "7.1.0" resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.1.0.tgz#6b69628dfe4087798e0c4ed98e3d4a6b2fbd2f5f" @@ -192,6 +199,23 @@ "@babel/helper-explode-assignable-expression" "^7.1.0" "@babel/types" "^7.0.0" +"@babel/helper-builder-react-jsx-experimental@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.10.1.tgz#9a7d58ad184d3ac3bafb1a452cec2bad7e4a0bc8" + integrity sha512-irQJ8kpQUV3JasXPSFQ+LCCtJSc5ceZrPFVj6TElR6XCHssi3jV8ch3odIrNtjJFRZZVbrOEfJMI79TPU/h1pQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.1" + "@babel/helper-module-imports" "^7.10.1" + "@babel/types" "^7.10.1" + +"@babel/helper-builder-react-jsx@^7.10.3": + version "7.10.3" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.10.3.tgz#62c4b7bb381153a0a5f8d83189b94b9fb5384fc5" + integrity sha512-vkxmuFvmovtqTZknyMGj9+uQAZzz5Z9mrbnkJnPkaYGfKTaSsYcjQdXP0lgrWLVh8wU6bCjOmXOpx+kqUi+S5Q== + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.1" + "@babel/types" "^7.10.3" + "@babel/helper-builder-react-jsx@^7.3.0": version "7.3.0" resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.3.0.tgz#a1ac95a5d2b3e88ae5e54846bf462eeb81b318a4" @@ -275,6 +299,13 @@ dependencies: "@babel/types" "^7.0.0" +"@babel/helper-module-imports@^7.10.1": + version "7.10.3" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.10.3.tgz#766fa1d57608e53e5676f23ae498ec7a95e1b11a" + integrity sha512-Jtqw5M9pahLSUWA+76nhK9OG8nwYXzhQzVIGFoNaHnXF/r4l7kz4Fl0UAW7B6mqC5myoJiBP5/YQlXQTMfHI9w== + dependencies: + "@babel/types" "^7.10.3" + "@babel/helper-module-transforms@^7.1.0", "@babel/helper-module-transforms@^7.4.4": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.5.5.tgz#f84ff8a09038dcbca1fd4355661a500937165b4a" @@ -299,6 +330,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250" integrity sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA== +"@babel/helper-plugin-utils@^7.10.1", "@babel/helper-plugin-utils@^7.10.3": + version "7.10.3" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.3.tgz#aac45cccf8bc1873b99a85f34bceef3beb5d3244" + integrity sha512-j/+j8NAWUTxOtx4LKHybpSClxHoq6I91DQ/mKgAXn5oNUPIUiGppjPIX3TDtJWPrdfP9Kfl7e4fgVMiQR9VE/g== + "@babel/helper-regex@^7.0.0", "@babel/helper-regex@^7.4.4": version "7.5.5" resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.5.5.tgz#0aa6824f7100a2e0e89c1527c23936c152cab351" @@ -342,6 +378,11 @@ dependencies: "@babel/types" "^7.4.4" +"@babel/helper-validator-identifier@^7.10.3": + version "7.10.3" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.3.tgz#60d9847f98c4cea1b279e005fdb7c28be5412d15" + integrity sha512-bU8JvtlYpJSBPuj1VUmKpFGaDZuLxASky3LhaKj3bmpSTY6VWooSM8msk+Z0CZoErFye2tlABF6yDkT3FOPAXw== + "@babel/helper-wrap-function@^7.1.0": version "7.2.0" resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.2.0.tgz#c4e0012445769e2815b55296ead43a958549f6fa" @@ -478,7 +519,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-syntax-jsx@7.2.0", "@babel/plugin-syntax-jsx@^7.2.0": +"@babel/plugin-syntax-jsx@^7.10.1": + version "7.10.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.10.1.tgz#0ae371134a42b91d5418feb3c8c8d43e1565d2da" + integrity sha512-+OxyOArpVFXQeXKLO9o+r2I4dIoVoy6+Uu0vKELrlweDM3QJADZj+Z+5ERansZqIZBcLj42vHnDI8Rz9BnRIuQ== + dependencies: + "@babel/helper-plugin-utils" "^7.10.1" + +"@babel/plugin-syntax-jsx@^7.2.0": version "7.2.0" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.2.0.tgz#0b85a3b4bc7cdf4cc4b8bf236335b907ca22e7c7" integrity sha512-VyN4QANJkRW6lDBmENzRszvZf3/4AXaj9YR7GwrWeeN9tEBPuXbmDYVU9bYBN0D70zCWVwUy0HWq2553VCb6Hw== @@ -723,7 +771,7 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-jsx" "^7.2.0" -"@babel/plugin-transform-react-jsx@7.3.0", "@babel/plugin-transform-react-jsx@^7.0.0": +"@babel/plugin-transform-react-jsx@^7.0.0": version "7.3.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.3.0.tgz#f2cab99026631c767e2745a5368b331cfe8f5290" integrity sha512-a/+aRb7R06WcKvQLOu4/TpjKOdvVEKRLWFpKcNuHhiREPgGRB4TQJxq07+EZLS8LFVYpfq1a5lDUnuMdcCpBKg== @@ -732,6 +780,16 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-jsx" "^7.2.0" +"@babel/plugin-transform-react-jsx@^7.3.0": + version "7.10.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.10.3.tgz#c07ad86b7c159287c89b643f201f59536231048e" + integrity sha512-Y21E3rZmWICRJnvbGVmDLDZ8HfNDIwjGF3DXYHx1le0v0mIHCs0Gv5SavyW5Z/jgAHLaAoJPiwt+Dr7/zZKcOQ== + dependencies: + "@babel/helper-builder-react-jsx" "^7.10.3" + "@babel/helper-builder-react-jsx-experimental" "^7.10.1" + "@babel/helper-plugin-utils" "^7.10.3" + "@babel/plugin-syntax-jsx" "^7.10.1" + "@babel/plugin-transform-regenerator@^7.4.5": version "7.4.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.5.tgz#629dc82512c55cee01341fb27bdfcb210354680f" @@ -916,6 +974,15 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" +"@babel/types@^7.10.1", "@babel/types@^7.10.3": + version "7.10.3" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.10.3.tgz#6535e3b79fea86a6b09e012ea8528f935099de8e" + integrity sha512-nZxaJhBXBQ8HVoIcGsf9qWep3Oh3jCENK54V4mRF7qaJabVsAYdbTtmSD8WmAp1R6ytPiu5apMwSXyxB1WlaBA== + dependencies: + "@babel/helper-validator-identifier" "^7.10.3" + lodash "^4.17.13" + to-fast-properties "^2.0.0" + "@basalt/twig-renderer@0.13.1": version "0.13.1" resolved "https://registry.yarnpkg.com/@basalt/twig-renderer/-/twig-renderer-0.13.1.tgz#00d184b9397dbcb1661950e2554e6525d62506ec" From 831c8b0787f41bd842d1a38c83c4c4756fb1da48 Mon Sep 17 00:00:00 2001 From: Salem Cobalt Date: Sun, 28 Jun 2020 15:48:48 -0400 Subject: [PATCH 41/41] [skip travis] chore(release): publish v5.11.1 --- CHANGELOG.md | 22 +++++++++++++++++++ lerna.json | 2 +- packages/cli/CHANGELOG.md | 8 +++++++ packages/cli/package.json | 4 ++-- packages/core/CHANGELOG.md | 11 ++++++++++ packages/core/package.json | 2 +- packages/create/CHANGELOG.md | 8 +++++++ packages/create/package.json | 4 ++-- .../CHANGELOG.md | 8 +++++++ .../package.json | 8 +++---- .../CHANGELOG.md | 8 +++++++ .../package.json | 6 ++--- .../CHANGELOG.md | 8 +++++++ .../package.json | 8 +++---- packages/docs/CHANGELOG.md | 12 ++++++++++ packages/docs/package.json | 2 +- packages/edition-node-gulp/CHANGELOG.md | 8 +++++++ packages/edition-node-gulp/package.json | 8 +++---- packages/edition-node/CHANGELOG.md | 8 +++++++ packages/edition-node/package.json | 8 +++---- packages/edition-twig/CHANGELOG.md | 8 +++++++ packages/edition-twig/package.json | 10 ++++----- packages/engine-twig-php/CHANGELOG.md | 8 +++++++ packages/engine-twig-php/package.json | 4 ++-- .../starterkit-handlebars-demo/CHANGELOG.md | 11 ++++++++++ .../starterkit-handlebars-demo/package.json | 2 +- packages/uikit-workshop/CHANGELOG.md | 16 ++++++++++++++ packages/uikit-workshop/package.json | 4 ++-- 28 files changed, 180 insertions(+), 36 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e46a3076f..b849f08c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,28 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.1) (2020-06-28) + + +### Bug Fixes + +* update Viewport Size toggle to better handle async-loaded ishControl data + prevent rendering errors ([b937706](https://github.com/pattern-lab/patternlab-node/commit/b93770669c6f723128ba68e522c9398cc1d2d70c)) +* update Webpack config to point to the patched version of preact-dom ([d3660b7](https://github.com/pattern-lab/patternlab-node/commit/d3660b78bc0a74c52ed85b69b023c612b789c318)) +* update yarn.lock ([dca1948](https://github.com/pattern-lab/patternlab-node/commit/dca19489b85f715de3ade2294fa49df89b8bb59f)) +* visually hide NavToggle icon text; fix for visual regression after merging down https://github.com/pattern-lab/patternlab-node/pull/1227 ([3a2ad9f](https://github.com/pattern-lab/patternlab-node/commit/3a2ad9f12d83b6d21dcca62e89d944a6a46342f6)) +* **docs:** corrected a URL ([26ede14](https://github.com/pattern-lab/patternlab-node/commit/26ede14a6eafe8649cbc6b0076d84f1d323c3e20)) +* **docs:** fixed css code for custom patternstates color ([8995241](https://github.com/pattern-lab/patternlab-node/commit/89952416162c01d1e3e05221ce58a7755544131c)), closes [#1216](https://github.com/pattern-lab/patternlab-node/issues/1216) +* **docs:** headlines styling breaks in edge cases [#1158](https://github.com/pattern-lab/patternlab-node/issues/1158) ([d8244a2](https://github.com/pattern-lab/patternlab-node/commit/d8244a2d307b0a81d0846491f8c5a12e0ae167a5)) +* **patternflyouts:** preventing horizontal scrollbar in pattern flyouts in Edge 18 [#1124](https://github.com/pattern-lab/patternlab-node/issues/1124) ([63300bc](https://github.com/pattern-lab/patternlab-node/commit/63300bc00ee797e38bfdb73fdc7694c188a423dc)) +* **patternstate:** added css color for pattern state "inprogress" [#1216](https://github.com/pattern-lab/patternlab-node/issues/1216) ([856bcda](https://github.com/pattern-lab/patternlab-node/commit/856bcda150239928bb5e8719246b97e9fa366468)) +* **resetcss:** selector in uikit-workshop [#1109](https://github.com/pattern-lab/patternlab-node/issues/1109) ([6893b7c](https://github.com/pattern-lab/patternlab-node/commit/6893b7cb5478309d4fdab0121edba3921718bd69)) +* enable partial build via option ([8aaa533](https://github.com/pattern-lab/patternlab-node/commit/8aaa53398563ade14123c481bf509f9ee0c768f5)) +* enable partial build via option ([4b9dbf9](https://github.com/pattern-lab/patternlab-node/commit/4b9dbf9095bfb8bfd2360b310dd7395dbfe3cf98)) + + + + + # [5.11.0](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.0) (2020-06-28) diff --git a/lerna.json b/lerna.json index a8a9b8ed0..91053c6de 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "3.11.0", - "version": "5.11.0", + "version": "5.11.1", "packages": [ "packages/*" ], diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 10c85203b..f958b8db0 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.10.2...v5.11.1) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/cli + + + + + # [5.11.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.10.2...v5.11.0) (2020-06-28) **Note:** Version bump only for package @pattern-lab/cli diff --git a/packages/cli/package.json b/packages/cli/package.json index 37188f044..a3265d6aa 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@pattern-lab/cli", "description": "Command-line interface (CLI) for the @pattern-lab/core.", - "version": "5.11.0", + "version": "5.11.1", "bin": { "patternlab": "bin/patternlab.js" }, @@ -9,7 +9,7 @@ "name": "Raphael Okon" }, "dependencies": { - "@pattern-lab/core": "^5.11.0", + "@pattern-lab/core": "^5.11.1", "@pattern-lab/live-server": "^5.10.1", "@pattern-lab/starterkit-mustache-base": "3.0.3", "archiver": "2.1.1", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 9fc1cc8d7..6e8207e7b 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/compare/v5.10.2...v5.11.1) (2020-06-28) + + +### Bug Fixes + +* enable partial build via option ([8aaa533](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/commit/8aaa53398563ade14123c481bf509f9ee0c768f5)) + + + + + # [5.11.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/compare/v5.10.2...v5.11.0) (2020-06-28) diff --git a/packages/core/package.json b/packages/core/package.json index e3b0f8dd3..52f508ab6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@pattern-lab/core", "description": "Create atomic design systems with Pattern Lab. This is the core API and orchestrator of the ecosystem.", - "version": "5.11.0", + "version": "5.11.1", "main": "./src/index.js", "dependencies": { "@pattern-lab/engine-mustache": "^5.10.1", diff --git a/packages/create/CHANGELOG.md b/packages/create/CHANGELOG.md index 14741834d..528ded96c 100644 --- a/packages/create/CHANGELOG.md +++ b/packages/create/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.1) (2020-06-28) + +**Note:** Version bump only for package create-pattern-lab + + + + + # [5.11.0](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.0) (2020-06-28) **Note:** Version bump only for package create-pattern-lab diff --git a/packages/create/package.json b/packages/create/package.json index ee343b28b..248e2d593 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -1,12 +1,12 @@ { "name": "create-pattern-lab", - "version": "5.11.0", + "version": "5.11.1", "description": "", "bin": "index.js", "main": "index.js", "scripts": {}, "dependencies": { - "@pattern-lab/cli": "^5.11.0" + "@pattern-lab/cli": "^5.11.1" }, "author": "", "license": "MIT", diff --git a/packages/development-edition-engine-handlebars/CHANGELOG.md b/packages/development-edition-engine-handlebars/CHANGELOG.md index 330a81b77..47016ad9c 100644 --- a/packages/development-edition-engine-handlebars/CHANGELOG.md +++ b/packages/development-edition-engine-handlebars/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.1) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + # [5.11.0](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.0) (2020-06-28) **Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars diff --git a/packages/development-edition-engine-handlebars/package.json b/packages/development-edition-engine-handlebars/package.json index 83d26bd4a..b99d064c7 100644 --- a/packages/development-edition-engine-handlebars/package.json +++ b/packages/development-edition-engine-handlebars/package.json @@ -1,7 +1,7 @@ { "name": "@pattern-lab/development-edition-engine-handlebars", "private": true, - "version": "5.11.0", + "version": "5.11.1", "description": "The tree of components we use to test, develop and validate the Handlebars engine", "scripts": { "pl:build": "patternlab build --config ./patternlab-config.json", @@ -28,12 +28,12 @@ "node": ">=12.12.0" }, "dependencies": { - "@pattern-lab/cli": "^5.11.0", - "@pattern-lab/core": "^5.11.0", + "@pattern-lab/cli": "^5.11.1", + "@pattern-lab/core": "^5.11.1", "@pattern-lab/engine-handlebars": "^5.10.1", "@pattern-lab/engine-mustache": "^5.10.1", "@pattern-lab/plugin-tab": "^5.10.1", "@pattern-lab/starterkit-mustache-demo": "^5.0.0", - "@pattern-lab/uikit-workshop": "^5.11.0" + "@pattern-lab/uikit-workshop": "^5.11.1" } } diff --git a/packages/development-edition-engine-react/CHANGELOG.md b/packages/development-edition-engine-react/CHANGELOG.md index c6addcb3b..c96b105a4 100644 --- a/packages/development-edition-engine-react/CHANGELOG.md +++ b/packages/development-edition-engine-react/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/pattern-lab/edition-node-gulp/compare/v5.10.2...v5.11.1) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + # [5.11.0](https://github.com/pattern-lab/edition-node-gulp/compare/v5.10.2...v5.11.0) (2020-06-28) **Note:** Version bump only for package @pattern-lab/engine-react-testing-tree diff --git a/packages/development-edition-engine-react/package.json b/packages/development-edition-engine-react/package.json index d31c9c7e3..f965e876b 100644 --- a/packages/development-edition-engine-react/package.json +++ b/packages/development-edition-engine-react/package.json @@ -1,14 +1,14 @@ { "name": "@pattern-lab/engine-react-testing-tree", "description": "The tree of components we use to test, develop and validate the React engine", - "version": "5.11.0", + "version": "5.11.1", "private": true, "main": "gulpfile.js", "dependencies": { - "@pattern-lab/core": "^5.11.0", + "@pattern-lab/core": "^5.11.1", "@pattern-lab/engine-mustache": "^5.10.1", "@pattern-lab/engine-react": "^5.10.0", - "@pattern-lab/uikit-workshop": "^5.11.0", + "@pattern-lab/uikit-workshop": "^5.11.1", "gulp": "3.9.1", "minimist": "^1.2.0", "react": "16.2.0" diff --git a/packages/development-edition-engine-twig/CHANGELOG.md b/packages/development-edition-engine-twig/CHANGELOG.md index 4b70c66d1..e0b2901a8 100644 --- a/packages/development-edition-engine-twig/CHANGELOG.md +++ b/packages/development-edition-engine-twig/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.1) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-twig + + + + + # [5.11.0](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.0) (2020-06-28) **Note:** Version bump only for package @pattern-lab/development-edition-engine-twig diff --git a/packages/development-edition-engine-twig/package.json b/packages/development-edition-engine-twig/package.json index 2b625f0fe..614f98cf3 100644 --- a/packages/development-edition-engine-twig/package.json +++ b/packages/development-edition-engine-twig/package.json @@ -1,7 +1,7 @@ { "name": "@pattern-lab/development-edition-engine-twig", "private": true, - "version": "5.11.0", + "version": "5.11.1", "description": "The tree of components we use to test, develop and validate the twig engine (not engine-twig-php)", "scripts": { "postbootstrap": "patternlab install --starterkits @pattern-lab/starterkit-twig-demo", @@ -30,11 +30,11 @@ "node": ">=12.12.0" }, "dependencies": { - "@pattern-lab/cli": "^5.11.0", - "@pattern-lab/core": "^5.11.0", + "@pattern-lab/cli": "^5.11.1", + "@pattern-lab/core": "^5.11.1", "@pattern-lab/engine-twig": "^5.10.2", "@pattern-lab/starterkit-twig-demo": "^5.10.1", - "@pattern-lab/uikit-workshop": "^5.11.0" + "@pattern-lab/uikit-workshop": "^5.11.1" }, "workspaces": { "nohoist": [ diff --git a/packages/docs/CHANGELOG.md b/packages/docs/CHANGELOG.md index c37585a99..3d409c881 100644 --- a/packages/docs/CHANGELOG.md +++ b/packages/docs/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/bradfrost/pl-website-eleventy/compare/v5.10.2...v5.11.1) (2020-06-28) + + +### Bug Fixes + +* **docs:** fixed css code for custom patternstates color ([8995241](https://github.com/bradfrost/pl-website-eleventy/commit/89952416162c01d1e3e05221ce58a7755544131c)), closes [#1216](https://github.com/bradfrost/pl-website-eleventy/issues/1216) +* **docs:** headlines styling breaks in edge cases [#1158](https://github.com/bradfrost/pl-website-eleventy/issues/1158) ([d8244a2](https://github.com/bradfrost/pl-website-eleventy/commit/d8244a2d307b0a81d0846491f8c5a12e0ae167a5)) + + + + + # [5.11.0](https://github.com/bradfrost/pl-website-eleventy/compare/v5.10.2...v5.11.0) (2020-06-28) diff --git a/packages/docs/package.json b/packages/docs/package.json index 95ac869f1..4abbaa287 100755 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,6 +1,6 @@ { "name": "@pattern-lab/website", - "version": "5.11.0", + "version": "5.11.1", "description": "The website for patternlab.io", "main": "index.js", "dependencies": { diff --git a/packages/edition-node-gulp/CHANGELOG.md b/packages/edition-node-gulp/CHANGELOG.md index 2c89d6133..59eec8ccf 100644 --- a/packages/edition-node-gulp/CHANGELOG.md +++ b/packages/edition-node-gulp/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.10.2...v5.11.1) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + # [5.11.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.10.2...v5.11.0) (2020-06-28) **Note:** Version bump only for package @pattern-lab/edition-node-gulp diff --git a/packages/edition-node-gulp/package.json b/packages/edition-node-gulp/package.json index 1cfc7eb08..f51b004a1 100644 --- a/packages/edition-node-gulp/package.json +++ b/packages/edition-node-gulp/package.json @@ -1,13 +1,13 @@ { "name": "@pattern-lab/edition-node-gulp", "description": "The gulp wrapper around patternlab-node core, providing tasks to interact with the core library and move supporting frontend assets.", - "version": "5.11.0", + "version": "5.11.1", "main": "gulpfile.js", "dependencies": { - "@pattern-lab/cli": "^5.11.0", - "@pattern-lab/core": "^5.11.0", + "@pattern-lab/cli": "^5.11.1", + "@pattern-lab/core": "^5.11.1", "@pattern-lab/engine-mustache": "^5.10.1", - "@pattern-lab/uikit-workshop": "^5.11.0", + "@pattern-lab/uikit-workshop": "^5.11.1", "gulp": "3.9.1", "minimist": "1.2.0" }, diff --git a/packages/edition-node/CHANGELOG.md b/packages/edition-node/CHANGELOG.md index 316bbaace..b51b7b969 100644 --- a/packages/edition-node/CHANGELOG.md +++ b/packages/edition-node/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.10.2...v5.11.1) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + # [5.11.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.10.2...v5.11.0) (2020-06-28) **Note:** Version bump only for package @pattern-lab/edition-node diff --git a/packages/edition-node/package.json b/packages/edition-node/package.json index 0a5c4ef00..299687b62 100644 --- a/packages/edition-node/package.json +++ b/packages/edition-node/package.json @@ -1,13 +1,13 @@ { "name": "@pattern-lab/edition-node", "description": "A pure wrapper around patternlab-node core, the default pattern engine, and supporting frontend assets.", - "version": "5.11.0", + "version": "5.11.1", "main": "patternlab-config.json", "dependencies": { - "@pattern-lab/cli": "^5.11.0", - "@pattern-lab/core": "^5.11.0", + "@pattern-lab/cli": "^5.11.1", + "@pattern-lab/core": "^5.11.1", "@pattern-lab/engine-handlebars": "^5.10.1", - "@pattern-lab/uikit-workshop": "^5.11.0" + "@pattern-lab/uikit-workshop": "^5.11.1" }, "keywords": [ "Pattern Lab", diff --git a/packages/edition-twig/CHANGELOG.md b/packages/edition-twig/CHANGELOG.md index 837aeae88..351a5bfd8 100644 --- a/packages/edition-twig/CHANGELOG.md +++ b/packages/edition-twig/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.1) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + # [5.11.0](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.0) (2020-06-28) **Note:** Version bump only for package @pattern-lab/edition-twig diff --git a/packages/edition-twig/package.json b/packages/edition-twig/package.json index 5c6ec254c..ca2910b06 100644 --- a/packages/edition-twig/package.json +++ b/packages/edition-twig/package.json @@ -1,6 +1,6 @@ { "name": "@pattern-lab/edition-twig", - "version": "5.11.0", + "version": "5.11.1", "description": "Pattern Lab node with Twig PHP Engine", "author": { "name": "Evan Lovely", @@ -23,10 +23,10 @@ "dev": "node ./node_modules/@pattern-lab/uikit-workshop/build-tools.js" }, "dependencies": { - "@pattern-lab/cli": "^5.11.0", - "@pattern-lab/core": "^5.11.0", - "@pattern-lab/engine-twig-php": "^5.11.0", - "@pattern-lab/uikit-workshop": "^5.11.0" + "@pattern-lab/cli": "^5.11.1", + "@pattern-lab/core": "^5.11.1", + "@pattern-lab/engine-twig-php": "^5.11.1", + "@pattern-lab/uikit-workshop": "^5.11.1" }, "engines": { "node": ">=12.12.0" diff --git a/packages/engine-twig-php/CHANGELOG.md b/packages/engine-twig-php/CHANGELOG.md index eeccb31da..0df20269e 100644 --- a/packages/engine-twig-php/CHANGELOG.md +++ b/packages/engine-twig-php/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/engine-twig-php/compare/v5.10.2...v5.11.1) (2020-06-28) + +**Note:** Version bump only for package @pattern-lab/engine-twig-php + + + + + # [5.11.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/engine-twig-php/compare/v5.10.2...v5.11.0) (2020-06-28) **Note:** Version bump only for package @pattern-lab/engine-twig-php diff --git a/packages/engine-twig-php/package.json b/packages/engine-twig-php/package.json index 13ffdaff8..1383d28e8 100644 --- a/packages/engine-twig-php/package.json +++ b/packages/engine-twig-php/package.json @@ -1,11 +1,11 @@ { "name": "@pattern-lab/engine-twig-php", "description": "The Twig PHP engine for Pattern Lab Node", - "version": "5.11.0", + "version": "5.11.1", "main": "lib/engine_twig_php.js", "dependencies": { "@basalt/twig-renderer": "0.13.1", - "@pattern-lab/core": "^5.11.0", + "@pattern-lab/core": "^5.11.1", "chalk": "^4.0.0", "fs-extra": "0.30.0" }, diff --git a/packages/starterkit-handlebars-demo/CHANGELOG.md b/packages/starterkit-handlebars-demo/CHANGELOG.md index 4032d2067..a33ae9237 100644 --- a/packages/starterkit-handlebars-demo/CHANGELOG.md +++ b/packages/starterkit-handlebars-demo/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.1) (2020-06-28) + + +### Bug Fixes + +* **docs:** corrected a URL ([26ede14](https://github.com/pattern-lab/patternlab-node/commit/26ede14a6eafe8649cbc6b0076d84f1d323c3e20)) + + + + + # [5.11.0](https://github.com/pattern-lab/patternlab-node/compare/v5.10.2...v5.11.0) (2020-06-28) diff --git a/packages/starterkit-handlebars-demo/package.json b/packages/starterkit-handlebars-demo/package.json index e3b5a2ac8..4cca92f74 100644 --- a/packages/starterkit-handlebars-demo/package.json +++ b/packages/starterkit-handlebars-demo/package.json @@ -1,6 +1,6 @@ { "name": "@pattern-lab/starterkit-handlebars-demo", - "version": "5.11.0", + "version": "5.11.1", "description": "Pattern Lab's Demo StarterKit for Handlebars.", "main": "README.md", "repository": { diff --git a/packages/uikit-workshop/CHANGELOG.md b/packages/uikit-workshop/CHANGELOG.md index c0dea9c09..e0e1edec4 100644 --- a/packages/uikit-workshop/CHANGELOG.md +++ b/packages/uikit-workshop/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.11.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.10.2...v5.11.1) (2020-06-28) + + +### Bug Fixes + +* update Viewport Size toggle to better handle async-loaded ishControl data + prevent rendering errors ([b937706](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/b93770669c6f723128ba68e522c9398cc1d2d70c)) +* update Webpack config to point to the patched version of preact-dom ([d3660b7](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/d3660b78bc0a74c52ed85b69b023c612b789c318)) +* visually hide NavToggle icon text; fix for visual regression after merging down https://github.com/pattern-lab/patternlab-node/pull/1227 ([3a2ad9f](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/3a2ad9f12d83b6d21dcca62e89d944a6a46342f6)) +* **patternflyouts:** preventing horizontal scrollbar in pattern flyouts in Edge 18 [#1124](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/issues/1124) ([63300bc](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/63300bc00ee797e38bfdb73fdc7694c188a423dc)) +* **patternstate:** added css color for pattern state "inprogress" [#1216](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/issues/1216) ([856bcda](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/856bcda150239928bb5e8719246b97e9fa366468)) +* **resetcss:** selector in uikit-workshop [#1109](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/issues/1109) ([6893b7c](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/6893b7cb5478309d4fdab0121edba3921718bd69)) + + + + + # [5.11.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.10.2...v5.11.0) (2020-06-28) diff --git a/packages/uikit-workshop/package.json b/packages/uikit-workshop/package.json index 759ef9875..5fff4430a 100644 --- a/packages/uikit-workshop/package.json +++ b/packages/uikit-workshop/package.json @@ -1,6 +1,6 @@ { "name": "@pattern-lab/uikit-workshop", - "version": "5.11.0", + "version": "5.11.1", "description": "Front-end assets and templates for the default Pattern Lab workshop view", "main": "gulpfile.js", "scripts": { @@ -32,7 +32,7 @@ "repository": "https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop", "bugs": "https://github.com/pattern-lab/patternlab-node/issues", "devDependencies": { - "@pattern-lab/core": "^5.11.0", + "@pattern-lab/core": "^5.11.1", "@pattern-lab/engine-handlebars": "^5.10.1", "@pattern-lab/engine-mustache": "^5.10.1", "better-opn": "^1.0.0",