Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING-CHANGE: Deprecate underscore prefix (#1237)
* Deprecate underscore prefix * #1237: Update tests to use new "hidden" functionality * #1237: Add Documentation * #1237: Add deprecation warning * Update dev package sources * #1237 Update pattern doc locations * #1237 Update log warnings * Update documentation * add a possibility to disable deprecation warnings * Fix failing test by misssing config * Fix message text
- Loading branch information
1 parent
92db31f
commit 030a992
Showing
15 changed files
with
217 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ Thumbs.db | |
.idea/ | ||
public | ||
dependencyGraph.json | ||
source/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 12 additions & 32 deletions
44
packages/development-edition-engine-handlebars/source/_data/data.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,14 @@ | ||
{ | ||
"version": "2", | ||
"swatches": [ | ||
{ | ||
"color": { | ||
"hex": "#031636", | ||
"cmyk": "94 59 0 79" | ||
}, | ||
"label": "dark blue" | ||
}, | ||
{ | ||
"color": { | ||
"hex": "#0D80F0", | ||
"cmyk": "95 47 0 6" | ||
}, | ||
"label": "light blue" | ||
}, | ||
{ | ||
"color": { | ||
"hex": "#4c4c4c", | ||
"cmyk": "0 0 0 70" | ||
}, | ||
"label": "dark grey" | ||
}, | ||
{ | ||
"color": { | ||
"hex": "#b2b2b2", | ||
"cmyk": "0 0 0 30" | ||
}, | ||
"label": "light grey", | ||
"inverted": true | ||
} | ||
] | ||
"company": { | ||
"name": "Company Name", | ||
"url": "http://company.com" | ||
}, | ||
"page": { | ||
"title": "This is the page title", | ||
"description": "This is the page description" | ||
}, | ||
"title": "Title ipsum dolor sit (39 characters)", | ||
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.", | ||
"url": "#", | ||
"htmlText": "<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam necessitatibus reprehenderit ipsum repellat quasi ratione sit possimus 🙂 eveniet, ea, ut mollitia repudiandae eligendi unde aperiam molestiae voluptatibus error. Dolorem, iure.</p><p>Lorem <strong>ipsum dolor sit amet</strong>, consectetur adipiscing elit. Integer fringilla sem a urna porttitor fringilla. Nulla eget justo felis. eget volutpat justo mattis nec. Sed a orci turpis. Aliquam aliquet placerat dui.</p><h2>This is a second-level heading</h2><p><a href='#'>Aliquam erat volutpat.</a> Mauris vulputate scelerisque feugiat. <em>Cras a erat a diam venenatis aliquam</em>. Sed tempus, purus ac pretium varius, risus orci sagittis purus, quis auctor libero magna nec magna. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas eros dolor.</p><ol> <li>Ordered list item</li><li>Another ordered list item</li><li>Yet another ordered list item</li></ol><h3>This is a third-level heading</h3><p>Aliquam ultrices cursus mauris, eget volutpat justo mattis nec. Sed a orci turpis. Aliquam aliquet placerat dui, consectetur tincidunt leo tristique et. Vivamus enim nisi, blandit a venenatis quis, convallis et arcu. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris libero sapien, placerat in sodales eu, tempor quis dui. Vivamus egestas faucibus pulvinar. Maecenas eget diam nunc. Phasellus at sem eros, ac suscipit neque. Phasellus sollicitudin libero a odio dignissim scelerisque. Aliquam purus nulla, tempor eget ullamcorper quis, rhoncus non dui.</p><h3><a href='#'>This is a linked heading</a></h3><ul> <li>Bulleted list item</li><li>Another bulleted list item</li><li>Yet bulleted list item</li><li>And here's yet another bulleted list item</li></ul><blockquote>This is a blockquote. Eget volutpat justo mattis nec. Sed a orci turpis. Aliquam aliquet placerat dui, consectetur tincidunt leo eget est blandit dignissim a eu ante. Morbi augue nulla <cite>Cite Source</cite></blockquote><h4>This is a fourth-level heading</h4><p>Cras at fringilla ipsum. Donec nec libero eget est blandit dignissim a eu ante. Morbi augue nulla, luctus eu sagittis vel, malesuada ut felis. Aliquam erat volutpat. Morbi malesuada augue ac massa hendrerit fermentum. Integer scelerisque lacus a dolor convallis lobortis. Curabitur mollis ante in massa ultricies dignissim.</p><h5>This is a fifth-level heading</h5><p>Cras at fringilla ipsum. Donec nec libero eget est blandit dignissim a eu ante. Morbi augue nulla, luctus eu sagittis vel.</p><h6>This is a sixth-level heading</h6> <p>Lorem ipsum dolor sit amet.</p>" | ||
} |
5 changes: 1 addition & 4 deletions
5
packages/development-edition-engine-handlebars/source/_data/listitems.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
{ | ||
"1": {}, | ||
"2": {}, | ||
"3": {}, | ||
"4": {} | ||
|
||
} |
25 changes: 13 additions & 12 deletions
25
packages/development-edition-engine-handlebars/source/_meta/_00-head.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html class="{{ htmlClass }}"> | ||
<head> | ||
<title>{{ title }}</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width" /> | ||
<head> | ||
<title>{{ title }}</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width" /> | ||
|
||
<link rel="stylesheet" href="../../css/style.css?{{ cacheBuster }}" media="all" /> | ||
<link rel="stylesheet" href="../../css/pattern-scaffolding.css?{{ cacheBuster }}" media="all" /> | ||
<link rel="stylesheet" href="../../css/style.css?{{ cacheBuster }}" media="all" /> | ||
<link rel="stylesheet" href="../../css/pattern-scaffolding.css?{{ cacheBuster }}" media="all" /> | ||
|
||
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) --> | ||
{{{ patternLabHead }}} | ||
<!-- End Pattern Lab --> | ||
<!--<Deject>--> | ||
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) --> | ||
{{{ patternLabHead }}} | ||
<!-- End Pattern Lab --> | ||
<!--</Deject>--> | ||
|
||
</head> | ||
<body class="{{ bodyClass }}"> | ||
|
||
</head> | ||
<body class="{{ bodyClass }}"> |
9 changes: 6 additions & 3 deletions
9
packages/development-edition-engine-handlebars/source/_meta/_01-foot.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
<script src="../../js/production.min.js"></script> | ||
|
||
<!--DO NOT REMOVE--> | ||
{{{ patternLabFoot }}} | ||
<!--<Deject>--> | ||
<!--DO NOT REMOVE--> | ||
{{{ patternLabFoot }}} | ||
<!--</Deject>--> | ||
|
||
</body> | ||
</body> | ||
</html> |
Oops, something went wrong.