desy-html 6.0.0 → 6.2.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/config/tailwind.config.js +1 -11
- package/docs/_include.template-header.njk +8 -4
- package/docs/_macro.example-render.njk +8 -0
- package/docs/componentes.html +6 -0
- package/docs/ds/_ds.example.header.njk +0 -6
- package/docs/ds/_ds.example.menu-navigation.njk +1 -1
- package/docs/ds/_ds.example.menubar-variaciones.njk +1 -2
- package/docs/examples-header-2.html +5 -0
- package/docs/examples-header-advanced-2.html +5 -0
- package/docs/examples-header-advanced.html +5 -0
- package/docs/examples-header-mini.html +5 -0
- package/docs/index.html +20 -0
- package/package.json +1 -1
- package/src/css/component.form-group.css +1 -0
- 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 +12 -4
- 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 +8 -41
- package/src/templates/components/header/_template.header.header__navigation.njk +3 -3
- package/src/templates/components/header/_template.header.header__offcanvasButton.njk +1 -1
- package/src/templates/components/header/_template.header.header__subnav.njk +2 -2
- package/src/templates/components/header/_template.header.njk +4 -9
- package/src/templates/components/header-advanced/_examples.header-advanced-2.njk +851 -0
- package/src/templates/components/header-advanced/_examples.header-advanced.njk +761 -0
- package/src/templates/components/header-advanced/_macro.header-advanced.njk +3 -0
- package/src/templates/components/header-advanced/_template.header-advanced.njk +146 -0
- package/src/templates/components/header-advanced/params.header-advanced.yaml +298 -0
- package/src/templates/components/header-mini/_examples.header-mini.njk +30 -0
- package/src/templates/components/header-mini/_macro.header-mini.njk +3 -0
- package/src/templates/components/header-mini/_template.header-mini.njk +14 -0
- package/src/templates/components/header-mini/params.header-mini.yaml +25 -0
- 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 +12 -4
- package/src/templates/components/menu-navigation/_examples.menu-navigation.njk +1 -1
- package/src/templates/components/menu-navigation/_styles.menu-navigation.css +12 -4
- package/src/templates/components/menu-navigation/_template.menu-navigation.njk +2 -2
- package/src/templates/components/menubar/_examples.menubar.njk +1 -1
- package/src/templates/components/menubar/_styles.menubar.css +12 -4
- 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/searchbar/_examples.searchbar.njk +2 -2
- package/src/templates/components/searchbar/_template.searchbar.njk +1 -1
- 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
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
{% set navigationCustom %}
|
|
6
6
|
{{ componentMenuNavigation({
|
|
7
7
|
"idPrefix": "header-custom-nav",
|
|
8
|
-
"classes": "
|
|
8
|
+
"classes": "c-menu-navigation--last-right hidden lg:block w-full bg-neutral-lighter ",
|
|
9
9
|
"items": [
|
|
10
10
|
{
|
|
11
11
|
"text": "Custom Item 1",
|
|
12
12
|
"id": "header-custom-nav-item-1",
|
|
13
|
-
"classes": "c-menu-navigation__button--header -mr-base
|
|
13
|
+
"classes": "c-menu-navigation__button--header -mr-base",
|
|
14
14
|
"sub": {
|
|
15
15
|
"items": [
|
|
16
16
|
{
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
{
|
|
35
35
|
"text": "Custom Active Item 2",
|
|
36
36
|
"id": "header-custom-nav-item-2",
|
|
37
|
-
"classes": "c-menu-navigation__button--header -mr-base
|
|
37
|
+
"classes": "c-menu-navigation__button--header -mr-base",
|
|
38
38
|
"active": true,
|
|
39
39
|
"sub": {
|
|
40
40
|
"items": [
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
{
|
|
61
61
|
"text": "Custom Item 3",
|
|
62
62
|
"id": "header-custom-nav-item-3",
|
|
63
|
-
"classes": "c-menu-navigation__button--header -mr-base
|
|
63
|
+
"classes": "c-menu-navigation__button--header -mr-base",
|
|
64
64
|
"sub": {
|
|
65
65
|
"items": [
|
|
66
66
|
{
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
{
|
|
85
85
|
"text": "Item 4 right",
|
|
86
86
|
"id": "header-custom-nav-item-4",
|
|
87
|
-
"classes": "c-menu-navigation__button--header
|
|
87
|
+
"classes": "c-menu-navigation__button--header",
|
|
88
88
|
"sub": {
|
|
89
89
|
"items": [
|
|
90
90
|
{
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
231
|
"name": "with custom navigation",
|
|
232
|
-
"description": "Tras nuestro menú de navegación tenemos una zona anidable para poder añadir una navegación personalizada",
|
|
232
|
+
"description": "Tras nuestro menú de navegación tenemos customNavigationHtml: una zona anidable para poder añadir una navegación personalizada",
|
|
233
233
|
"data": {
|
|
234
234
|
"homepageUrl": "/",
|
|
235
235
|
"subnav": {
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"subnav": {
|
|
247
247
|
"text": "Carpeta del gestor"
|
|
248
248
|
},
|
|
249
|
-
"customNavigationHtml": '<div class="relative flex justify-end items-center flex-1 gap-base"><div class="absolute -top-3 right-0 text-
|
|
249
|
+
"customNavigationHtml": '<div class="relative flex justify-end items-center flex-1 gap-base"><div class="absolute -top-3 right-0 text-black"><a href="#"><svg class="w-5 h-5" width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" aria-label="Notificaciones"><path d="M7.25 12.5h-1.5a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5Z" fill="currentColor" transform="scale(3.42857)"/><g transform="scale(3.42857)"><circle cx="10.5" cy="2.5" r="2.5" fill="currentColor"/><path d="M11.5 10a1 1 0 0 1-1-1V6.74a.25.25 0 0 0-.24-.25 4 4 0 0 1-3.76-4 3.43 3.43 0 0 1 .11-.86.12.12 0 0 0 0-.1.15.15 0 0 0-.09 0 4 4 0 0 0-4 4V9a1 1 0 0 1-1 1 .5.5 0 0 0 0 1h10a.5.5 0 0 0 0-1Z" fill="currentColor"/></g></svg></a></div></div>'
|
|
250
250
|
}
|
|
251
251
|
},
|
|
252
252
|
{
|
|
@@ -320,39 +320,6 @@
|
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
},
|
|
323
|
-
{
|
|
324
|
-
"name": "No logo y customLogoHtml",
|
|
325
|
-
"description": "noLogo: true. Oculta el logotipo del Gobierno de Aragón. customLogoHtml para insertar un logotipo o HTML personalizado en su lugar",
|
|
326
|
-
"data": {
|
|
327
|
-
"homepageUrl": "/",
|
|
328
|
-
"noLogo": true,
|
|
329
|
-
"customLogoHtml": '<svg class="fill-current" width="144" height="32" id="Capa_1" data-name="Capa 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 423.76 83.87" aria-label="Gobierno de Aragón" role="img"><title>Ir a la página de inicio</title><defs><style>.cls-1{fill:currentColor}</style></defs><path class="cls-1" d="M0 52.4v8.29s4.78 3.42 8.45 3 44.2-9.18 51.41-9.57S72.06 54 76.13 56s10.36 5.38 10.36 5.38v-9ZM64.32 65.68c-8.26 2-32.39 6.82-40.66 7.21a34.19 34.19 0 0 1-15.87-3.27C6.22 69 0 65 0 65v9h86.49v-7.9s-2.76-2.38-5-2.91-8.92.53-17.18 2.49M21.67 26.07a8.62 8.62 0 0 1-3.24 7.11c-2.16 1.73-5.16 2.6-9 2.6a21.1 21.1 0 0 1-9.41-2v-6.57a38.66 38.66 0 0 0 5.7 2.12 16.75 16.75 0 0 0 4.26.61 6 6 0 0 0 3.56-.89 3 3 0 0 0 1.24-2.64 2.88 2.88 0 0 0-.55-1.74 6.08 6.08 0 0 0-1.6-1.47 38.09 38.09 0 0 0-4.33-2.26 20.45 20.45 0 0 1-4.57-2.76A10.17 10.17 0 0 1 1.3 15.1 8.76 8.76 0 0 1 .39 11a8.59 8.59 0 0 1 3-6.95c2-1.69 4.75-2.53 8.26-2.53a19.52 19.52 0 0 1 4.95.61 34.24 34.24 0 0 1 4.92 1.73l-2.27 5.5a33.2 33.2 0 0 0-4.4-1.53 14.06 14.06 0 0 0-3.42-.43 4.52 4.52 0 0 0-3.07.93 3.07 3.07 0 0 0-1.07 2.44 3 3 0 0 0 .43 1.63 4.94 4.94 0 0 0 1.38 1.35 41.72 41.72 0 0 0 4.47 2.33c3.1 1.49 5.23 3 6.39 4.48a8.79 8.79 0 0 1 1.72 5.51M46.65 18.52q0-10.74-9.46-10.74h-3.76v21.71h3q10.18 0 10.19-11m7.38-.15q0 8.23-4.7 12.66t-13.5 4.32h-9.42V2h10.44Q45 2 49.47 6.3t4.5 12M74.8 21.46Q71.45 10.68 71 9.27c-.28-.95-.48-1.69-.6-2.24q-.75 2.93-4.3 14.43Zm4.09 13.86-2.41-7.93H64.36L62 35.32h-7.6L66.09 1.86h8.62l11.78 33.46ZM126.49 23.49a7.21 7.21 0 0 1-2.81 6.05 12.16 12.16 0 0 1-7.63 2.18 19 19 0 0 1-8-1.35v-3.3a21.62 21.62 0 0 0 3.95 1.21 20.91 20.91 0 0 0 4.21.44 8.45 8.45 0 0 0 5.14-1.3 4.26 4.26 0 0 0 1.65-3.61 4.64 4.64 0 0 0-.62-2.51 5.65 5.65 0 0 0-2-1.8 29.29 29.29 0 0 0-4.38-1.87 13.94 13.94 0 0 1-5.85-3.48 7.7 7.7 0 0 1-1.76-5.26A6.54 6.54 0 0 1 111 3.48a10.6 10.6 0 0 1 6.75-2 19.92 19.92 0 0 1 8 1.61l-1.07 3a18.1 18.1 0 0 0-7.06-1.53 6.83 6.83 0 0 0-4.24 1.17 3.82 3.82 0 0 0-1.52 3.24 4.9 4.9 0 0 0 .56 2.5 5.21 5.21 0 0 0 1.89 1.79A22.71 22.71 0 0 0 118.4 15q4.62 1.65 6.35 3.55a7 7 0 0 1 1.74 4.91M139.15 11.65a5.45 5.45 0 0 0-4.23 1.73 8 8 0 0 0-1.85 4.79h11.5a7.35 7.35 0 0 0-1.41-4.84 4.92 4.92 0 0 0-4-1.68m.9 20.07a10.09 10.09 0 0 1-7.7-3c-1.88-2-2.82-4.74-2.82-8.27a12.87 12.87 0 0 1 2.61-8.45 8.7 8.7 0 0 1 7-3.13 8.25 8.25 0 0 1 6.54 2.72 10.46 10.46 0 0 1 2.41 7.2v2.11H133a8.72 8.72 0 0 0 1.95 5.9 6.77 6.77 0 0 0 5.23 2 17.76 17.76 0 0 0 7-1.49v3a17.56 17.56 0 0 1-3.34 1.1 18.88 18.88 0 0 1-3.81.33M162.23 8.85a13.13 13.13 0 0 1 2.63.25l-.47 3.1a10.82 10.82 0 0 0-2.41-.31 5.84 5.84 0 0 0-4.56 2.18 7.91 7.91 0 0 0-1.9 5.41v11.84h-3.33V9.26h2.75l.38 4.08h.16a9.8 9.8 0 0 1 3-3.32 6.63 6.63 0 0 1 3.8-1.17M174.53 31.32l-8.35-22.06h3.58l4.73 13.08c1.07 3.06 1.7 5 1.89 6h.16a44.09 44.09 0 0 1 1.4-4.42q1.17-3.36 5.27-14.62h3.57l-8.35 22.06ZM192.77 31.32h-3.33V9.26h3.33Zm-3.61-28a2.18 2.18 0 0 1 .56-1.68 1.92 1.92 0 0 1 1.4-.53 2 2 0 0 1 1.39.54 2.17 2.17 0 0 1 .58 1.67 2.21 2.21 0 0 1-.58 1.68 1.94 1.94 0 0 1-1.39.55 1.9 1.9 0 0 1-1.4-.55 2.24 2.24 0 0 1-.56-1.68M206.91 31.72a9.37 9.37 0 0 1-7.4-2.95q-2.62-3-2.62-8.34 0-5.54 2.66-8.56t7.58-3a14.86 14.86 0 0 1 3.17.34 10.41 10.41 0 0 1 2.49.8l-1 2.84a15.86 15.86 0 0 0-2.41-.73 10.46 10.46 0 0 0-2.31-.3q-6.7 0-6.71 8.58a10.24 10.24 0 0 0 1.64 6.23 5.69 5.69 0 0 0 4.85 2.17 14.85 14.85 0 0 0 5.64-1.19v3a11.94 11.94 0 0 1-5.56 1.15M219.4 31.32h-3.34V9.26h3.34Zm-3.62-28a2.22 2.22 0 0 1 .56-1.68 2.1 2.1 0 0 1 2.8 0 2.21 2.21 0 0 1 .58 1.67 2.25 2.25 0 0 1-.58 1.69 2.06 2.06 0 0 1-2.8 0 2.29 2.29 0 0 1-.56-1.68M226.89 20.27q0 4.22 1.68 6.44a6.69 6.69 0 0 0 9.93 0q1.69-2.2 1.7-6.45t-1.7-6.39a6 6 0 0 0-5-2.19 5.86 5.86 0 0 0-4.94 2.16q-1.67 2.14-1.66 6.42m16.76 0q0 5.39-2.71 8.42a9.53 9.53 0 0 1-7.49 3 9.87 9.87 0 0 1-5.24-1.39 9.17 9.17 0 0 1-3.53-4 13.88 13.88 0 0 1-1.25-6.07q0-5.4 2.69-8.41a9.54 9.54 0 0 1 7.47-3 9.3 9.3 0 0 1 7.34 3.07 12.17 12.17 0 0 1 2.72 8.34M262 25.3a5.56 5.56 0 0 1-2.29 4.75 10.79 10.79 0 0 1-6.43 1.67 13.88 13.88 0 0 1-6.82-1.39v-3.1a16.44 16.44 0 0 0 3.4 1.27 14.1 14.1 0 0 0 3.5.46 8 8 0 0 0 4-.83 2.89 2.89 0 0 0 .29-4.75 17.31 17.31 0 0 0-4.35-2.17 23.31 23.31 0 0 1-4.36-2 5.94 5.94 0 0 1-1.93-1.94 5.11 5.11 0 0 1-.63-2.6 4.94 4.94 0 0 1 2.19-4.25 10.15 10.15 0 0 1 6-1.56 17.66 17.66 0 0 1 6.95 1.44l-1.13 2.7a16 16 0 0 0-6-1.37 6.89 6.89 0 0 0-3.58.75 2.3 2.3 0 0 0-1.2 2 2.52 2.52 0 0 0 .45 1.51 4.47 4.47 0 0 0 1.46 1.19 33.24 33.24 0 0 0 3.85 1.63 14.32 14.32 0 0 1 5.29 2.88A5.06 5.06 0 0 1 262 25.3M297.22 16.44c0-3.83-1-6.73-2.88-8.67s-4.77-2.92-8.56-2.92h-5v23.51H285q6.11 0 9.18-3t3.07-8.91m3.61-.12q0 7.29-3.94 11.14t-11.35 3.86h-8.13V1.89h9q6.84 0 10.64 3.8t3.79 10.63M308.65 31.32h-3.33V9.26h3.33ZM305 3.28a2.22 2.22 0 0 1 .56-1.68 1.93 1.93 0 0 1 1.44-.53 2 2 0 0 1 1.38.54 2.17 2.17 0 0 1 .62 1.67 2.21 2.21 0 0 1-.61 1.72 1.93 1.93 0 0 1-1.38.55A1.91 1.91 0 0 1 305.6 5a2.29 2.29 0 0 1-.6-1.72M316.19 16.32a4.49 4.49 0 0 0 1.3 3.5 5.16 5.16 0 0 0 3.63 1.18c3.26 0 4.88-1.58 4.88-4.75s-1.64-5-4.94-5a4.86 4.86 0 0 0-3.61 1.27 5.11 5.11 0 0 0-1.26 3.76M314.38 35a3 3 0 0 0 1.5 2.72 8.41 8.41 0 0 0 4.32.92q4.2 0 6.22-1.26a3.84 3.84 0 0 0 2-3.41 2.7 2.7 0 0 0-1.1-2.48 8.47 8.47 0 0 0-4.16-.7h-4a5.26 5.26 0 0 0-3.54 1.09 3.88 3.88 0 0 0-1.24 3.12m17.55-25.74v2.11l-4.08.48a7.08 7.08 0 0 1 1 1.85 6.87 6.87 0 0 1 .45 2.56 6.52 6.52 0 0 1-2.21 5.17 8.92 8.92 0 0 1-6.09 1.94 9.75 9.75 0 0 1-1.84-.17c-1.42.76-2.13 1.7-2.13 2.84a1.45 1.45 0 0 0 .74 1.34 5.43 5.43 0 0 0 2.55.43h3.9a8.75 8.75 0 0 1 5.49 1.51 5.25 5.25 0 0 1 1.91 4.39 6.27 6.27 0 0 1-2.93 5.59q-2.93 1.92-8.55 1.92a11.67 11.67 0 0 1-6.65-1.61 5.21 5.21 0 0 1-2.34-4.55 5.14 5.14 0 0 1 1.28-3.48 6.55 6.55 0 0 1 3.62-2 3.44 3.44 0 0 1-1.42-1.18 3.16 3.16 0 0 1-.57-1.87 3.57 3.57 0 0 1 .64-2.12 6.85 6.85 0 0 1 2-1.75 5.94 5.94 0 0 1-2.7-2.39 7 7 0 0 1-1.08-3.87 7.17 7.17 0 0 1 2.17-5.58 8.86 8.86 0 0 1 6.15-2 11.1 11.1 0 0 1 3.11.41ZM338.36 31.32H335V9.26h3.34Zm-3.62-28a2.22 2.22 0 0 1 .56-1.68 2.1 2.1 0 0 1 2.8 0 2.21 2.21 0 0 1 .58 1.67A2.25 2.25 0 0 1 338.1 5a2.06 2.06 0 0 1-2.8 0 2.29 2.29 0 0 1-.56-1.68M351.29 29a10.58 10.58 0 0 0 1.71-.13 12.37 12.37 0 0 0 1.3-.27v2.55a6 6 0 0 1-1.59.44 12.47 12.47 0 0 1-1.9.17q-6.39 0-6.38-6.74V11.85h-3.16v-1.61l3.16-1.39 1.4-4.71h1.93v5.12h6.38v2.59h-6.38v13a4.47 4.47 0 0 0 .94 3.06 3.27 3.27 0 0 0 2.59 1.09M364 29a6.74 6.74 0 0 0 4.89-1.71 6.32 6.32 0 0 0 1.78-4.79v-2l-3.33.14a12 12 0 0 0-5.73 1.24 3.71 3.71 0 0 0-1.76 3.41 3.42 3.42 0 0 0 1.09 2.71 4.49 4.49 0 0 0 3.06 1m7.53 2.36-.66-3.14h-.16a9.28 9.28 0 0 1-3.28 2.8 10 10 0 0 1-4.09.74 7.38 7.38 0 0 1-5.13-1.76 6.17 6.17 0 0 1-1.85-4.81q0-6.69 10.66-7l3.73-.12v-1.35a5.61 5.61 0 0 0-1.11-3.83 4.59 4.59 0 0 0-3.57-1.24 14.57 14.57 0 0 0-6.22 1.69l-1-2.55a15.59 15.59 0 0 1 3.57-1.39 15.15 15.15 0 0 1 3.88-.51c2.63 0 4.57.59 5.84 1.76s1.89 3 1.89 5.61v15.06ZM379.15 0h3.33v31.32h-3.33zM396.31 11.65a5.44 5.44 0 0 0-4.22 1.73 8 8 0 0 0-1.86 4.79h11.5a7.41 7.41 0 0 0-1.4-4.84 5 5 0 0 0-4-1.68m.91 20.07a10.07 10.07 0 0 1-7.7-3c-1.88-2-2.82-4.74-2.82-8.27s.87-6.38 2.62-8.48a8.68 8.68 0 0 1 7-3.13 8.29 8.29 0 0 1 6.55 2.72 10.51 10.51 0 0 1 2.41 7.2v2.11h-15.15a8.77 8.77 0 0 0 2 5.9 6.75 6.75 0 0 0 5.23 2 17.72 17.72 0 0 0 7-1.49v3a17.56 17.56 0 0 1-3.34 1.1 18.84 18.84 0 0 1-3.8.33M423.76 25.3a5.53 5.53 0 0 1-2.29 4.75 10.77 10.77 0 0 1-6.42 1.67 13.9 13.9 0 0 1-6.83-1.39v-3.1a16.44 16.44 0 0 0 3.4 1.27 14.11 14.11 0 0 0 3.51.46 8 8 0 0 0 4-.83 2.77 2.77 0 0 0 1.41-2.55 2.74 2.74 0 0 0-1.12-2.2 17.38 17.38 0 0 0-4.34-2.17 23.16 23.16 0 0 1-4.37-2 6 6 0 0 1-1.93-1.94 5.11 5.11 0 0 1-.63-2.6 4.94 4.94 0 0 1 2.19-4.25 10.18 10.18 0 0 1 6-1.56 17.63 17.63 0 0 1 6.95 1.44l-1.18 2.7a16 16 0 0 0-6-1.37 6.83 6.83 0 0 0-3.57.75 2.29 2.29 0 0 0-1.21 2 2.52 2.52 0 0 0 .45 1.51 4.47 4.47 0 0 0 1.46 1.19 33.24 33.24 0 0 0 3.85 1.63 14.23 14.23 0 0 1 5.29 2.88 5.06 5.06 0 0 1 1.38 3.64M117.74 71.58q3.41 0 5-1.86t1.53-6V63q0-4.68-1.55-6.69t-5-2a5.1 5.1 0 0 0-4.49 2.28 11.39 11.39 0 0 0-1.58 6.41q0 4.23 1.55 6.38a5.22 5.22 0 0 0 4.54 2.16m6.66-.54h-.18a7.83 7.83 0 0 1-6.91 3.36 8.16 8.16 0 0 1-6.71-3c-1.6-2-2.4-4.78-2.4-8.42s.8-6.46 2.41-8.47a8.11 8.11 0 0 1 6.7-3 8 8 0 0 1 6.87 3.26h.26l-.14-1.59-.08-1.55v-9h3.33V74h-2.71ZM141.34 54.31a5.45 5.45 0 0 0-4.23 1.69 7.93 7.93 0 0 0-1.85 4.79h11.5a7.33 7.33 0 0 0-1.41-4.79 4.92 4.92 0 0 0-4-1.68m.9 20.06a10.12 10.12 0 0 1-7.7-3q-2.82-3-2.82-8.28a12.84 12.84 0 0 1 2.62-8.47 8.71 8.71 0 0 1 7-3.14 8.26 8.26 0 0 1 6.54 2.73 10.44 10.44 0 0 1 2.41 7.19v2.12h-15.12a8.69 8.69 0 0 0 1.95 5.89 6.74 6.74 0 0 0 5.23 2 17.76 17.76 0 0 0 7-1.49v3a17.49 17.49 0 0 1-3.31 1.07 18.88 18.88 0 0 1-3.81.33M179.69 61.53l-3.41-9.11c-.44-1.16-.89-2.57-1.36-4.25a39.64 39.64 0 0 1-1.27 4.25l-3.45 9.11ZM184.41 74l-3.65-9.36H169L165.38 74h-3.45l11.6-29.54h2.87L188 74ZM200.73 51.51a13 13 0 0 1 2.63.24l-.46 3.1a11.37 11.37 0 0 0-2.41-.3 5.86 5.86 0 0 0-4.57 2.17 8 8 0 0 0-1.92 5.42V74h-3.34V51.91h2.75l.39 4.09h.2a9.6 9.6 0 0 1 2.95-3.32 6.6 6.6 0 0 1 3.79-1.17M211.74 71.62a6.78 6.78 0 0 0 4.89-1.71 6.35 6.35 0 0 0 1.77-4.79v-2l-3.33.14a12.17 12.17 0 0 0-5.73 1.24 3.74 3.74 0 0 0-1.76 3.41 3.45 3.45 0 0 0 1.1 2.76 4.52 4.52 0 0 0 3.06 1m7.53 2.33-.67-3.14h-.16a9.32 9.32 0 0 1-3.28 2.81 10 10 0 0 1-4.09.73 7.29 7.29 0 0 1-5.07-1.72 6.16 6.16 0 0 1-1.86-4.81q0-6.68 10.66-7l3.73-.12v-1.37a5.6 5.6 0 0 0-1.11-3.83 4.55 4.55 0 0 0-3.56-1.24 14.47 14.47 0 0 0-6.28 1.69l-1-2.56a15.88 15.88 0 0 1 7.42-1.89q3.93 0 5.83 1.75t1.89 5.62V74ZM229.13 59a4.5 4.5 0 0 0 1.31 3.5 5.21 5.21 0 0 0 3.63 1.19c3.26 0 4.88-1.59 4.88-4.75 0-3.32-1.64-5-4.94-5a4.9 4.9 0 0 0-3.61 1.26 5.14 5.14 0 0 0-1.27 3.8m-1.8 18.69a3 3 0 0 0 1.5 2.72 8.3 8.3 0 0 0 4.32.93q4.2 0 6.21-1.26a3.85 3.85 0 0 0 2-3.41 2.72 2.72 0 0 0-1.1-2.49 8.65 8.65 0 0 0-4.16-.69h-4a5.24 5.24 0 0 0-3.54 1.09 3.88 3.88 0 0 0-1.26 3.11m17.54-25.76V54l-4.07.48a7 7 0 0 1 1 1.84 6.93 6.93 0 0 1 .44 2.57 6.53 6.53 0 0 1-2.2 5.17A8.92 8.92 0 0 1 234 66a9.77 9.77 0 0 1-1.84-.16c-1.42.75-2.13 1.7-2.13 2.84a1.46 1.46 0 0 0 .74 1.34 5.43 5.43 0 0 0 2.55.43h3.89a8.7 8.7 0 0 1 5.5 1.51 5.28 5.28 0 0 1 1.91 4.39 6.25 6.25 0 0 1-2.96 5.65q-2.92 1.92-8.55 1.92a11.62 11.62 0 0 1-6.66-1.61 5.19 5.19 0 0 1-2.33-4.54 5.1 5.1 0 0 1 1.28-3.49 6.55 6.55 0 0 1 3.61-2 3.42 3.42 0 0 1-1.41-1.19 3.14 3.14 0 0 1-.57-1.87 3.54 3.54 0 0 1 .64-2.11 6.58 6.58 0 0 1 2-1.75 5.9 5.9 0 0 1-2.78-2.4 7 7 0 0 1-1.08-3.86 7.14 7.14 0 0 1 2.19-5.63 8.83 8.83 0 0 1 6.14-2 11.57 11.57 0 0 1 3.12.4ZM253.29 48.49c.64-.83 1.33-1.84 2.08-3a31.94 31.94 0 0 0 1.75-3.08h4.06v.43a31.2 31.2 0 0 1-2.63 3.16 31 31 0 0 1-3 3h-2.23Zm-3.85 14.43q0 4.23 1.68 6.44a6.67 6.67 0 0 0 9.93 0q1.69-2.2 1.7-6.45t-1.7-6.39a6 6 0 0 0-5-2.18 5.88 5.88 0 0 0-4.94 2.15q-1.66 2.16-1.66 6.42m16.76 0q0 5.4-2.71 8.43a9.53 9.53 0 0 1-7.49 3 10 10 0 0 1-5.25-1.34 9.17 9.17 0 0 1-3.53-4 13.92 13.92 0 0 1-1.23-6.08q0-5.39 2.69-8.4a9.51 9.51 0 0 1 7.47-3 9.3 9.3 0 0 1 7.34 3.08 12.14 12.14 0 0 1 2.72 8.33M285.44 74V59.7a5.77 5.77 0 0 0-1.22-4 5 5 0 0 0-3.84-1.33q-3.45 0-5.06 1.87t-1.6 6.18V74h-3.34V51.91h2.71l.55 3h.16a6.79 6.79 0 0 1 2.87-2.52 9.25 9.25 0 0 1 4.11-.9q4 0 6 1.92t2 6.15V74Z"/></svg>',
|
|
330
|
-
"subnav": {
|
|
331
|
-
"text": "Carpeta del gestor"
|
|
332
|
-
},
|
|
333
|
-
"navigation": {
|
|
334
|
-
"items": [
|
|
335
|
-
{
|
|
336
|
-
"href": "#1",
|
|
337
|
-
"text": "Navigation item 1"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"href": "#2",
|
|
341
|
-
"text": "Navigation item 2",
|
|
342
|
-
"active": true
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
"href": "#3",
|
|
346
|
-
"text": "Navigation item 3"
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
"href": "#4",
|
|
350
|
-
"text": "Navigation item 4"
|
|
351
|
-
}
|
|
352
|
-
]
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
323
|
{
|
|
357
324
|
"name": "con offcanvas",
|
|
358
325
|
"description": "Menu mobile que sólo se muestra en anchuras pequeñas y que permite insertar dentro cualquier contenido con Nunjuks caller",
|
|
@@ -434,7 +401,7 @@
|
|
|
434
401
|
"data": {
|
|
435
402
|
"homepageUrl": "/",
|
|
436
403
|
"dropdown": {
|
|
437
|
-
"html": '<
|
|
404
|
+
"html": '<span class="block text-right">Marta Pérez <br>(Administración)</span>',
|
|
438
405
|
"items": [
|
|
439
406
|
{
|
|
440
407
|
"text": "Perfil",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
{% set idPrefix = params.idPrefix if params.idPrefix else "header-nav-item" %}
|
|
4
4
|
|
|
5
5
|
<nav class="{{ params.classes if params.classes else 'hidden lg:block' }}" {%- for attribute, value in params.attributes %} {{ attribute }}="{{ value }}"{% endfor %}>
|
|
6
|
-
<ul class="ml-sm flex flex-wrap items-baseline
|
|
6
|
+
<ul class="ml-sm flex flex-wrap items-baseline">
|
|
7
7
|
{% for item in params.items %}
|
|
8
8
|
{% if item %}
|
|
9
9
|
<li>
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
{% endif %}
|
|
20
20
|
{% endif %}
|
|
21
21
|
{% if item.active %}
|
|
22
|
-
<a {%- if id %} id="{{ id }}"{% endif %} href="{{ item.href }}" class="max-w-40 lg:max-w-xs px-3 py-4 font-bold text-sm text-
|
|
22
|
+
<a {%- if id %} id="{{ id }}"{% endif %} href="{{ item.href }}" class="max-w-40 lg:max-w-xs px-3 py-4 font-bold text-sm text-black hover:underline truncate focus:outline-none focus:ring-4 focus:ring-inset focus:ring-black focus:bg-warning-base" aria-current="page" {%- if item.target %} target="{{ item.target }}"{% endif %}><strong class="font-bold">{{ item.html | safe if item.html else item.text }}</strong></a>
|
|
23
23
|
{% else %}
|
|
24
|
-
<a href="{{ item.href }}" class="max-w-40 lg:max-w-xs px-3 py-4 text-sm text-
|
|
24
|
+
<a href="{{ item.href }}" class="max-w-40 lg:max-w-xs px-3 py-4 text-sm text-black hover:underline truncate focus:outline-none focus:ring-4 focus:ring-inset focus:ring-black focus:bg-warning-base {%- if item.disabled %} opacity-50 pointer-events-none{% endif -%}" {%- if item.disabled %} disabled="disabled" aria-disabled="true" tabindex="-1"{% endif -%} {%- if item.target %} target="{{ item.target }}"{% endif %}>{{ item.html | safe if item.html else item.text }}</a>
|
|
25
25
|
{% endif %}
|
|
26
26
|
</li>
|
|
27
27
|
{% endif %}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<button id="header-offcanvas-button"
|
|
3
3
|
onclick="openDialog('header-offcanvas', this)"
|
|
4
4
|
tabindex="0"
|
|
5
|
-
class="inline-flex items-center px-3 py-4 text-sm text-
|
|
5
|
+
class="inline-flex items-center px-3 py-4 text-sm text-black focus:outline-none focus:shadow-outline-black focus:bg-warning-base" aria-haspopup="true">
|
|
6
6
|
<span id="header-offcanvas-button-text" class="inline-block align-middle text-right">{{ params.html | safe if params.html else params.text }}</span> <svg role="img" aria-label="Cerrado" class="inline-block align-middle" viewBox="0 0 96 96" fill="currentColor" width="1.5em" height="1.5em"><g><path d="M46.71 58.037a1.823 1.823 0 002.581 0L62.048 45.28a1.823 1.823 0 00-1.29-3.113H35.243a1.823 1.823 0 00-1.291 3.113z"/></g></svg>
|
|
7
7
|
</button>
|
|
8
8
|
</div>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
{% if params.items %}
|
|
5
5
|
<div class="hidden lg:flex items-center">
|
|
6
|
-
<div class="
|
|
6
|
+
<div class="py-2 relative border-r border-l border-neutral-base">
|
|
7
7
|
<p class="sr-only">Aplicación actual: </p>
|
|
8
8
|
{% call componentDropdown({
|
|
9
9
|
"text": params.text,
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</div>
|
|
24
24
|
</div>
|
|
25
25
|
{% else %}
|
|
26
|
-
<p class="hidden lg:inline-block align-middle
|
|
26
|
+
<p class="hidden lg:inline-block align-middle px-3 py-4 border-r border-l border-neutral-base text-sm text-black">
|
|
27
27
|
<span class="sr-only">Aplicación actual: </span>
|
|
28
28
|
{{ params.html | safe if params.html else params.text }}
|
|
29
29
|
</p>
|
|
@@ -12,20 +12,15 @@
|
|
|
12
12
|
href: params.skipLink.href if params.skipLink.href else "#content"
|
|
13
13
|
}) }}
|
|
14
14
|
</nav>
|
|
15
|
-
<div class="
|
|
16
|
-
<div class="flex-auto bg-yellow-300 h-full"></div>
|
|
17
|
-
<div class="flex-auto bg-red-500 h-full"></div>
|
|
18
|
-
<div class="flex-auto bg-red-800 h-full"></div>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="bg-black" x-data="{ isOn: false }" >
|
|
15
|
+
<div class="bg-neutral-lighter border-b border-neutral-base" x-data="{ isOn: false }" >
|
|
21
16
|
<div class="container mx-auto px-base">
|
|
22
17
|
<div class="flex items-center justify-between min-h-14">
|
|
23
18
|
<div class="flex flex-wrap items-center">
|
|
24
19
|
<div class="flex items-center flex-shrink-0">
|
|
25
|
-
<a href="{{ params.homepageUrl | default('/') }}" class="flex flex-wrap text-
|
|
20
|
+
<a href="{{ params.homepageUrl | default('/') }}" class="flex flex-wrap mr-4 text-black focus:outline-none focus:shadow-outline-black">
|
|
26
21
|
{% if not params.noLogo %}
|
|
27
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
28
|
-
<svg class="w-8 h-8 fill-current {%- if params.expandedLogo %} sm:hidden{% endif %}"
|
|
22
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144 32" width="144" height="32" class="fill-current {% if params.expandedLogo %} hidden sm:block{% else %} hidden{% endif %}" aria-label="Gobierno de Aragón. Ir a la página de inicio" role="img"><defs><clipPath id="b-logo-expanded"><path fill="gold" d="M0 0h31.509v31.495H0z"/></clipPath><clipPath id="a-logo-expanded"><path d="M0 0h144v32H0z"/></clipPath></defs><g clip-path="url(#a-logo-expanded)"><path fill="gold" d="M0 .205h31.509V31.7H0z"/><g clip-path="url(#b-logo-expanded)" transform="translate(0 .205)"><g fill="#dd171b" fill-rule="evenodd"><path d="m31.509 6.048-7.568 1.515a14.545 14.545 0 0 1-7.905-1.025 15.04 15.04 0 0 0-5-1.817 12.536 12.536 0 0 0-3.535-.011l-5.051.9c-.8.156-1.639.3-2.453.434V.315A7.1 7.1 0 0 1 3.888.226a9.926 9.926 0 0 1 2.085.936 17.6 17.6 0 0 0 4.293 1.962 13.92 13.92 0 0 0 6.6-.034l4.728-.858 4.939-.892 4.97-1.024ZM6.602 24.229a14.592 14.592 0 0 1 9.555 1.014 12.178 12.178 0 0 0 8.307 1.5l7.044-1.271v5.706a8.247 8.247 0 0 1-3.008.256 6.4 6.4 0 0 1-1.594-.457l-3.657-1.917a12.217 12.217 0 0 0-7.092-.825L1.026 31.011 0 31.177v-5.706l1.26-.256 3.312-.613c.669-.123 1.371-.245 2.029-.379ZM-.003 15.077v-4.391l13.027-2.377a15.5 15.5 0 0 1 9.11 1.638 12.535 12.535 0 0 0 8.474.925l.9-.189v4.391l-2.874-1.639a12.286 12.286 0 0 0-6.835-1.014l-8.006 1.46c-.959.179-2.877.524-2.877.524l-7.292 1.349a5.152 5.152 0 0 1-3.627-.677ZM31.509 16.583v4.324L18.6 23.282a15.5 15.5 0 0 1-9.11-1.638 12.532 12.532 0 0 0-8.474-.925l-1.015.19v-4.324l2.988 1.572a12.291 12.291 0 0 0 6.835 1.014l8.006-1.46c.959-.178 2.877-.524 2.877-.524l7.292-1.349a5.142 5.142 0 0 1 3.51.745Z"/></g></g><path d="M38.2 28.807v-8.551h1.393c2.893 0 4.478 1.522 4.478 4.286 0 2.829-1.521 4.265-4.5 4.265Zm10.4-11.4v14.294h9.47v-2.893h-6.277v-3.257h6.214v-2.893h-6.214v-2.379h6.277v-2.871Zm21.751 0-5.206 14.294h3.385l1.542-4.35h4.371l1.521 4.35h3.45L74.1 17.407Zm1.885 2.956-1.328 4.223h2.679Zm42.341 4.03h-3.192v4.5a4.206 4.206 0 0 1-1.371.193 4.251 4.251 0 0 1-4.242-4.5 4.443 4.443 0 0 1 4.735-4.65 7.481 7.481 0 0 1 4.071 1.243v-3.257a11.674 11.674 0 0 0-4.349-.857c-4.628 0-7.841 3.107-7.841 7.564 0 4.393 3.149 7.372 7.841 7.372a12.977 12.977 0 0 0 4.349-.75Zm16.132.129a7.424 7.424 0 1 0-7.391 7.436 7.122 7.122 0 0 0 7.393-7.436Zm-7.456-4.458c-2.4 0-4.006 1.822-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.627-4.501-4.048-4.501Zm8.689-2.657v14.294h3.257v-9.108l5.762 9.108h3.021V17.407h-3.256v8.889l-5.532-8.889ZM46.922 7.33h-3.193v4.5a4.335 4.335 0 0 1-5.613-4.307 4.443 4.443 0 0 1 4.735-4.65 7.487 7.487 0 0 1 4.071 1.243V.859a11.674 11.674 0 0 0-4.35-.858c-4.628 0-7.841 3.107-7.841 7.565 0 4.393 3.15 7.371 7.841 7.371a12.99 12.99 0 0 0 4.35-.75Zm16.116.128a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.396-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM64.107.344v14.293h5.914c3.15 0 4.992-1.565 4.992-4.243a3.717 3.717 0 0 0-2.978-3.728 3.133 3.133 0 0 0 1.95-2.936c.021-2.272-1.521-3.386-4.606-3.386Zm4.757 5.336c1.393 0 1.95-.386 1.95-1.35 0-.921-.536-1.264-2.057-1.264h-1.393V5.68Zm.429 6.043c1.585 0 2.271-.493 2.271-1.651 0-1.2-.707-1.671-2.4-1.671h-1.8v3.322ZM78.879.344h-3.192v14.293h3.192Zm1.39 0v14.293h9.47v-2.893h-6.278V8.487h6.214V5.594h-6.214V3.216h6.278V.345Zm50.463 7.114a7.424 7.424 0 1 0-7.392 7.436 7.122 7.122 0 0 0 7.395-7.436Zm-7.456-4.457c-2.4 0-4.006 1.821-4.006 4.5s1.65 4.5 4.071 4.5c2.4 0 3.985-1.8 3.985-4.5s-1.626-4.5-4.047-4.5ZM97.917 24.585l-1.35-4.223-1.328 4.223ZM83.249 31.7v-5.872h.407c2.057 0 2.271.214 3.642 3.75a7.159 7.159 0 0 0 .3.729l.278.664a6.4 6.4 0 0 0 .343.729h4.641l1.543-4.35h4.371l1.521 4.35h3.45l-5.314-14.294h-3.749L90.46 28.997c-.3-.622-.642-1.371-1.04-2.291a3.042 3.042 0 0 0-1.907-2.014 3.416 3.416 0 0 0 2.614-3.429c0-2.571-1.693-3.857-5.1-3.857H79.97V31.7Zm0-8.572h1.414c1.371 0 2.057-.493 2.057-1.521s-.622-1.478-2.014-1.478h-1.457Zm11.156-8.492V8.764h.407c2.057 0 2.271.214 3.642 3.75a6.982 6.982 0 0 0 .3.729l.278.665a6.37 6.37 0 0 0 .342.729h6.432l.018-9.169 5.745 9.169h3.021V.344h-3.256l.014 8.769-5.542-8.769h-3.257v13.3a29.76 29.76 0 0 1-1.975-4 3.043 3.043 0 0 0-1.907-2.014 3.415 3.415 0 0 0 2.614-3.428c0-2.572-1.693-3.857-5.1-3.857h-5.054v14.293Zm0-8.572h1.412c1.371 0 2.056-.493 2.056-1.521s-.621-1.478-2.013-1.478h-1.457Zm-59.44 11.342V31.7h4.778c4.842 0 7.692-2.657 7.692-7.158 0-4.479-2.914-7.136-7.863-7.136Z" fill="#161615" fill-rule="evenodd"/></g></svg>
|
|
23
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32" class="w-8 h-8 fill-current {%- if params.expandedLogo %} sm:hidden{% endif %}" ><title>Ir a la página de inicio</title><defs><clipPath id="b-logo-mini"><path fill="gold" d="M0 0h32v32.001H0z"/></clipPath><clipPath id="a-logo-mini"><path d="M0 0h32v32H0z"/></clipPath></defs><g clip-path="url(#a-logo-mini)"><path fill="gold" d="M0 .305h32v32.001H0z"/><g clip-path="url(#b-logo-mini)" transform="translate(0 .305)"><g fill="#dd171b" fill-rule="evenodd"><path d="m31.997 6.145-7.686 1.539a14.764 14.764 0 0 1-8.028-1.042 15.267 15.267 0 0 0-5.073-1.846 12.725 12.725 0 0 0-3.59-.011l-5.13.918a94.41 94.41 0 0 1-2.491.442V.324a7.213 7.213 0 0 1 3.952-.09 10.087 10.087 0 0 1 2.118.951 17.859 17.859 0 0 0 4.36 1.993 14.13 14.13 0 0 0 6.7-.034l4.8-.872 5.016-.906 5.048-1.04ZM6.705 24.619a14.812 14.812 0 0 1 9.7 1.03 12.363 12.363 0 0 0 8.437 1.529l7.154-1.291v5.8a8.37 8.37 0 0 1-3.055.26 6.509 6.509 0 0 1-1.619-.464l-3.714-1.948a12.4 12.4 0 0 0-7.2-.838l-15.366 2.82L0 31.686v-5.8l1.28-.26 3.363-.623c.679-.125 1.393-.249 2.061-.385ZM-.003 15.32v-4.462l13.23-2.417a15.734 15.734 0 0 1 9.252 1.665 12.723 12.723 0 0 0 8.606.94l.914-.192v4.462L29.08 13.65a12.472 12.472 0 0 0-6.941-1.031l-8.131 1.483c-.974.182-2.921.532-2.921.532l-7.406 1.371a5.23 5.23 0 0 1-3.684-.685ZM31.997 16.851v4.393l-13.11 2.413a15.735 15.735 0 0 1-9.252-1.665 12.721 12.721 0 0 0-8.606-.94l-1.03.193v-4.394l3.035 1.6a12.476 12.476 0 0 0 6.941 1.03l8.13-1.483c.974-.182 2.922-.532 2.922-.532l7.406-1.371a5.219 5.219 0 0 1 3.564.756Z"/></g></g></g></svg>
|
|
29
24
|
{% endif %}
|
|
30
25
|
{{ params.customLogoHtml | safe if params.customLogoHtml }}
|
|
31
26
|
</a>
|