desy-html 6.1.0 → 6.2.0
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/_include.template-header.njk +0 -4
- package/docs/examples-header-2.html +5 -0
- package/docs/examples-header-advanced-2.html +5 -0
- package/docs/index.html +8 -0
- package/package.json +1 -1
- package/src/templates/components/accordion-history/_template.accordion-history.njk +11 -0
- package/src/templates/components/button/_styles.button.css +7 -0
- package/src/templates/components/button-loader/_styles.button-loader.css +6 -0
- package/src/templates/components/checkboxes/_styles.checkboxes.css +7 -0
- package/src/templates/components/dropdown/_styles.dropdown.css +7 -0
- package/src/templates/components/footer/_examples.footer.njk +2 -2
- package/src/templates/components/footer/_template.footer.njk +1 -1
- package/src/templates/components/header/_examples.header-2.njk +536 -0
- package/src/templates/components/header/_examples.header.njk +0 -33
- package/src/templates/components/header-advanced/_examples.header-advanced-2.njk +851 -0
- package/src/templates/components/header-advanced/_examples.header-advanced.njk +0 -90
- package/src/templates/components/input/_styles.input.css +7 -0
- package/src/templates/components/item/_examples.item.njk +25 -0
- package/src/templates/components/item/_template.item.njk +1 -1
- package/src/templates/components/item/params.item.yaml +4 -0
- package/src/templates/components/listbox/_styles.listbox.css +7 -0
- package/src/templates/components/menu-navigation/_styles.menu-navigation.css +7 -0
- package/src/templates/components/menu-navigation/_template.menu-navigation.njk +2 -2
- package/src/templates/components/menubar/_styles.menubar.css +7 -0
- package/src/templates/components/pagination/_examples.pagination.njk +60 -0
- package/src/templates/components/pagination/_template.pagination.njk +16 -2
- package/src/templates/components/pagination/params.pagination.yaml +49 -0
- package/src/templates/components/radios/_styles.radios.css +7 -0
- package/src/templates/components/select/_styles.select.css +8 -0
- package/src/templates/components/table-advanced/_template.table-advanced.njk +2 -1
- package/src/templates/components/toggle/_examples.toggle.njk +2 -2
- package/src/templates/components/tree/_styles.tree.css +8 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{% set title = "Header advanced. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
|
|
2
|
+
{% extends "_template.examples.njk" %}
|
|
3
|
+
{% block contentBlock %}
|
|
4
|
+
{% import "components/header-advanced/_examples.header-advanced-2.njk" as exampleData %}
|
|
5
|
+
{% endblock %}
|
package/docs/index.html
CHANGED
|
@@ -38,6 +38,14 @@
|
|
|
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.6.2.0</h3>
|
|
42
|
+
<ul class="text-sm">
|
|
43
|
+
<li>Added classes for base modifiers in form components to improve responsive styles.</li>
|
|
44
|
+
<li>Added a listbox in Pagination to choose the items per page.</li>
|
|
45
|
+
<li>Item can position the icon with a new parameter.</li>
|
|
46
|
+
<li>Accesibility fixes and improvements in Accordion history, Menu navigation, Toggle examples, Footer.</li>
|
|
47
|
+
<li>Minor improvements in Table advanced.</li>
|
|
48
|
+
</ul>
|
|
41
49
|
<h3>v.6.1.0</h3>
|
|
42
50
|
<ul class="text-sm">
|
|
43
51
|
<li>The header is now colored.</li>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "desy-html",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
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)",
|
|
@@ -107,6 +107,17 @@ x-data="{
|
|
|
107
107
|
{% if item.disabled %} disabled{% endif %}
|
|
108
108
|
>
|
|
109
109
|
{{ item.headerHtml | safe if item.headerHtml else item.headerText }}
|
|
110
|
+
{% if item.status == 'current' %}
|
|
111
|
+
<span class="sr-only">(Estado: actual) </span>
|
|
112
|
+
{% elseif item.status == 'pending' %}
|
|
113
|
+
<span class="sr-only">(Estado: pendiente) </span>
|
|
114
|
+
{% elseif item.status == 'muted' %}
|
|
115
|
+
<span class="sr-only">(Estado: pasado) </span>
|
|
116
|
+
{% elseif item.status == 'currentmuted' %}
|
|
117
|
+
<span class="sr-only">(Estado: actual) </span>
|
|
118
|
+
{% else %}
|
|
119
|
+
<span class="sr-only">(Estado: pasado) </span>
|
|
120
|
+
{% endif %}
|
|
110
121
|
<span
|
|
111
122
|
class="absolute inset-y-0 right-0 py-sm font-normal text-sm text-neutral-dark underline group-focus:text-black pointer-events-none {%- if item.disabled %} hidden{% endif %}" aria-hidden="true">
|
|
112
123
|
<span class="Accordion-show {%- if item.open %} hidden{%else%}{%endif%} {%- if item.show.classes %} {{ item.show.classes }}{%endif%}">
|
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
5
|
@layer components {
|
|
6
|
+
.c-checkboxes--base {
|
|
7
|
+
input[type="checkbox"] {
|
|
8
|
+
@apply w-6;
|
|
9
|
+
@apply h-6;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
6
13
|
.c-checkboxes--sm {
|
|
7
14
|
input[type="checkbox"] {
|
|
8
15
|
@apply w-base !important;
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"description": "Substitute default text for custom one",
|
|
63
63
|
"data": {
|
|
64
64
|
"description": {
|
|
65
|
-
"html": '<div><p>Copyright © AST. Aragonesa de Servicios Telemáticos.</p></div><div><p>Avda. Ranillas 3A. Planta 3
|
|
65
|
+
"html": '<div><p>Copyright © AST. Aragonesa de Servicios Telemáticos.</p></div><div><p>Avda. Ranillas 3A. Planta 3ª. Oficina J. 50018 Zaragoza. Teléfono: 976 714 495. <a href="mailto:ast@aragon.es" class="c-link c-link--neutral">ast@aragon.es</a></p></div>'
|
|
66
66
|
},
|
|
67
67
|
"classes": "lg:mt-48"
|
|
68
68
|
}
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"data": {
|
|
116
116
|
"noLogo": true,
|
|
117
117
|
"description": {
|
|
118
|
-
"html": '<p>Copyright © AST. Aragonesa de Servicios Telemáticos.</p><p>Avda. Ranillas 3A. Planta 3ª
|
|
118
|
+
"html": '<p>Copyright © AST. Aragonesa de Servicios Telemáticos.</p><p>Avda. Ranillas 3A. Planta 3ª Oficina J. 50018 Zaragoza. Teléfono: 976 714 495. <a href="mailto:ast@aragon.es" class="c-link c-link--neutral">ast@aragon.es</a></p>'
|
|
119
119
|
},
|
|
120
120
|
"classes": "lg:mt-48"
|
|
121
121
|
}
|
|
@@ -73,7 +73,7 @@ text-neutral-dark {{ params.classes if params.classes }}"
|
|
|
73
73
|
<a
|
|
74
74
|
class="c-link c-link--neutral"
|
|
75
75
|
href="https://www.aragon.es/"
|
|
76
|
-
>Gobierno de Aragón</a>. Edificio Pignatelli. <abbr title
|
|
76
|
+
>Gobierno de Aragón</a>. Edificio Pignatelli. <abbr title="Paseo">Pº</abbr> María Agustín, 36. 50004 - Zaragoza - <abbr title="Teléfono">Tel.</abbr> <a href="tel:+976714000" class="c-link c-link--neutral">976 714 000</a>
|
|
77
77
|
</p>
|
|
78
78
|
</div>
|
|
79
79
|
{% endif %}
|