desy-html 8.0.0 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/index.html
CHANGED
|
@@ -38,6 +38,10 @@
|
|
|
38
38
|
|
|
39
39
|
<h2>Changelog (English)</h2>
|
|
40
40
|
<p>What's new in the latest version of desy-html</p>
|
|
41
|
+
<h3>v.8.0.1</h3>
|
|
42
|
+
<ul class="text-sm">
|
|
43
|
+
<li>Fixed a bug in examples Nunjucks code.</li>
|
|
44
|
+
</ul>
|
|
41
45
|
<h3>v.8.0.0</h3>
|
|
42
46
|
<ul class="text-sm">
|
|
43
47
|
<li>Improved indentation in examples.</li>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "desy-html",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "desy-html contains the code you need to start building a user interface for Gobierno de Aragón government webapps.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Desy (SDA Servicios Digitales de Aragón)",
|
|
@@ -12,7 +12,7 @@ function getNunjucksCodeFromExample (componentName, params, pathName) {
|
|
|
12
12
|
const macroName = kebabCaseToPascalCase(componentName)
|
|
13
13
|
|
|
14
14
|
return outdent`
|
|
15
|
-
{% from "${pathName}s/${componentName}/
|
|
15
|
+
{% from "${pathName}s/${componentName}/_macro.${componentName}.njk" import ${pathName}${macroName} %}
|
|
16
16
|
|
|
17
17
|
{{ ${pathName}${macroName}(${
|
|
18
18
|
JSON.stringify(params, undefined, 2)
|