desy-html 8.3.1 → 8.4.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.
Files changed (74) hide show
  1. package/docs/_include.template-header.njk +140 -66
  2. package/docs/catalogo.html +1 -1
  3. package/docs/componentes.html +1 -1
  4. package/docs/estilos.html +1 -1
  5. package/docs/examples-accordion-history.html +3 -1
  6. package/docs/examples-accordion.html +3 -1
  7. package/docs/examples-alert.html +3 -1
  8. package/docs/examples-breadcrumbs.html +3 -1
  9. package/docs/examples-button-loader.html +3 -1
  10. package/docs/examples-button.html +3 -1
  11. package/docs/examples-card.html +3 -1
  12. package/docs/examples-character-count.html +3 -1
  13. package/docs/examples-checkboxes.html +3 -1
  14. package/docs/examples-collapsible.html +3 -1
  15. package/docs/examples-date-input.html +3 -1
  16. package/docs/examples-description-list.html +3 -1
  17. package/docs/examples-details.html +3 -1
  18. package/docs/examples-dialog.html +3 -1
  19. package/docs/examples-dropdown.html +3 -1
  20. package/docs/examples-error-message.html +3 -1
  21. package/docs/examples-error-summary.html +3 -1
  22. package/docs/examples-fieldset.html +3 -1
  23. package/docs/examples-file-upload.html +3 -1
  24. package/docs/examples-footer.html +3 -1
  25. package/docs/examples-header-advanced.html +3 -1
  26. package/docs/examples-header-mini.html +3 -1
  27. package/docs/examples-header.html +3 -1
  28. package/docs/examples-hint.html +3 -1
  29. package/docs/examples-input-group.html +3 -1
  30. package/docs/examples-input.html +3 -1
  31. package/docs/examples-item.html +3 -1
  32. package/docs/examples-label.html +3 -1
  33. package/docs/examples-links-list.html +3 -1
  34. package/docs/examples-listbox.html +3 -1
  35. package/docs/examples-media-object.html +3 -1
  36. package/docs/examples-menu-horizontal.html +3 -1
  37. package/docs/examples-menu-navigation.html +3 -1
  38. package/docs/examples-menu-vertical.html +3 -1
  39. package/docs/examples-menubar.html +3 -1
  40. package/docs/examples-modal.html +3 -1
  41. package/docs/examples-nav.html +3 -1
  42. package/docs/examples-notification.html +3 -1
  43. package/docs/examples-pagination.html +3 -1
  44. package/docs/examples-pill.html +3 -1
  45. package/docs/examples-radios.html +3 -1
  46. package/docs/examples-searchbar.html +3 -1
  47. package/docs/examples-select.html +3 -1
  48. package/docs/examples-skip-link.html +3 -1
  49. package/docs/examples-spinner.html +3 -1
  50. package/docs/examples-status-item.html +3 -1
  51. package/docs/examples-status.html +3 -1
  52. package/docs/examples-table-advanced.html +3 -1
  53. package/docs/examples-table.html +3 -1
  54. package/docs/examples-tabs.html +3 -1
  55. package/docs/examples-textarea.html +3 -1
  56. package/docs/examples-toggle.html +3 -1
  57. package/docs/examples-tooltip.html +3 -1
  58. package/docs/examples-tree.html +3 -1
  59. package/docs/index.html +11 -1
  60. package/docs/plantillas.html +1 -1
  61. package/package.json +1 -1
  62. package/src/js/aria/MenuVertical.js +2 -2
  63. package/src/js/aria/Nav.js +55 -0
  64. package/src/js/desy-html.js +37 -51
  65. package/src/js/index.js +3 -1
  66. package/src/templates/components/header/_examples.header.njk +1 -1
  67. package/src/templates/components/header-advanced/_examples.header-advanced.njk +1 -1
  68. package/src/templates/components/links-list/_template.links-list.njk +2 -2
  69. package/src/templates/components/menu-horizontal/_styles.menu-horizontal.css +15 -0
  70. package/src/templates/components/menu-horizontal/_template.menu-horizontal.njk +4 -3
  71. package/src/templates/components/menu-navigation/_template.menu-navigation.njk +3 -3
  72. package/src/templates/components/menu-vertical/_template.menu-vertical.njk +4 -4
  73. package/src/templates/components/nav/_examples.nav.njk +3 -1
  74. package/src/templates/components/nav/_template.nav.njk +7 -9
@@ -12,23 +12,28 @@
12
12
  items: [
13
13
  {
14
14
  text: "Inicio",
15
- href: "index.html"
15
+ href: "index.html",
16
+ id: "page-inicio"
16
17
  },
17
18
  {
18
19
  text: "Estilos",
19
- href: "estilos.html"
20
+ href: "estilos.html",
21
+ id: "page-estilos"
20
22
  },
21
23
  {
22
24
  text: "Catálogo",
23
- href: "catalogo.html"
25
+ href: "catalogo.html",
26
+ id: "page-catalogo"
24
27
  },
25
28
  {
26
29
  text: "Componentes",
27
- href: "componentes.html"
30
+ href: "componentes.html",
31
+ id: "page-componentes"
28
32
  },
29
33
  {
30
34
  text: "Plantillas",
31
- href: "plantillas.html"
35
+ href: "plantillas.html",
36
+ id: "page-plantillas"
32
37
  }],
33
38
  attributes: {
34
39
  "aria-label": "Navegación principal"
@@ -49,25 +54,31 @@
49
54
  items: [
50
55
  {
51
56
  text: "Inicio",
52
- href: "index.html"
57
+ href: "index.html",
58
+ id: "mobile-page-inicio"
53
59
  },
54
60
  {
55
61
  text: "Estilos",
56
- href: "estilos.html"
62
+ href: "estilos.html",
63
+ id: "mobile-page-estilos"
57
64
  },
58
65
  {
59
66
  text: "Catálogo",
60
- href: "catalogo.html"
67
+ href: "catalogo.html",
68
+ id: "mobile-page-catalogo"
61
69
  },
62
70
  {
63
71
  text: "Componentes",
64
- href: "componentes.html"
72
+ href: "componentes.html",
73
+ id: "mobile-page-componentes"
65
74
  },
66
75
  {
67
76
  text: "Plantillas",
68
- href: "plantillas.html"
77
+ href: "plantillas.html",
78
+ id: "mobile-page-plantillas"
69
79
  }],
70
80
  attributes: {
81
+ "id": "navegacion-principal-offcanvas",
71
82
  "aria-label": "Navegación principal"
72
83
  }
73
84
  }) }}
@@ -79,231 +90,294 @@
79
90
  items: [
80
91
  {
81
92
  href: "examples-accordion.html",
82
- text: "Accordion"
93
+ text: "Accordion",
94
+ id: "page-examples-accordion"
83
95
  },
84
96
  {
85
97
  href: "examples-accordion-history.html",
86
- text: "Accordion history"
98
+ text: "Accordion history",
99
+ id: "page-examples-accordion-history"
87
100
  },
88
101
  {
89
102
  href: "examples-alert.html",
90
- text: "Alert"
103
+ text: "Alert",
104
+ id: "page-examples-alert"
91
105
  },
92
106
  {
93
107
  href: "examples-breadcrumbs.html",
94
- text: "Breadcrumbs"
108
+ text: "Breadcrumbs",
109
+ id: "page-examples-breadcrumbs"
95
110
  },
96
111
  {
97
112
  href: "examples-button.html",
98
- text: "Button"
113
+ text: "Button",
114
+ id: "page-examples-button"
99
115
  },
100
116
  {
101
117
  href: "examples-button-loader.html",
102
- text: "Button loader"
118
+ text: "Button loader",
119
+ id: "page-examples-button-loader"
103
120
  },
104
121
  {
105
122
  href: "examples-card.html",
106
- text: "Card"
123
+ text: "Card",
124
+ id: "page-examples-card"
107
125
  },
108
126
  {
109
127
  href: "examples-character-count.html",
110
- text: "Character count"
128
+ text: "Character count",
129
+ id: "page-examples-character-count"
111
130
  },
112
131
  {
113
132
  href: "examples-checkboxes.html",
114
- text: "Checkboxes"
133
+ text: "Checkboxes",
134
+ id: "page-examples-checkboxes"
115
135
  },
116
136
  {
117
137
  href: "examples-collapsible.html",
118
- text: "Collapsible"
138
+ text: "Collapsible",
139
+ id: "page-examples-collapsible"
119
140
  },
120
141
  {
121
142
  href: "examples-dialog.html",
122
- text: "Dialog"
143
+ text: "Dialog",
144
+ id: "page-examples-dialog"
123
145
  },
124
146
  {
125
147
  href: "examples-date-input.html",
126
- text: "Date input"
148
+ text: "Date input",
149
+ id: "page-examples-date-input"
127
150
  },
128
151
  {
129
152
  href: "examples-description-list.html",
130
- text: "Description list"
153
+ text: "Description list",
154
+ id: "page-examples-description-list"
131
155
  },
132
156
  {
133
157
  href: "examples-details.html",
134
- text: "Details"
158
+ text: "Details",
159
+ id: "page-examples-details"
135
160
  },
136
161
  {
137
162
  href: "examples-dropdown.html",
138
- text: "Dropdown"
163
+ text: "Dropdown",
164
+ id: "page-examples-dropdown"
139
165
  },
140
166
  {
141
167
  href: "examples-error-message.html",
142
- text: "Error message"
168
+ text: "Error message",
169
+ id: "page-examples-error-message"
143
170
  },
144
171
  {
145
172
  href: "examples-error-summary.html",
146
- text: "Error summary"
173
+ text: "Error summary",
174
+ id: "page-examples-error-summary"
147
175
  },
148
176
  {
149
177
  href: "examples-fieldset.html",
150
- text: "Fieldset"
178
+ text: "Fieldset",
179
+ id: "page-examples-fieldset"
151
180
  },
152
181
  {
153
182
  href: "examples-file-upload.html",
154
- text: "File upload"
183
+ text: "File upload",
184
+ id: "page-examples-file-upload"
155
185
  },
156
186
  {
157
187
  href: "examples-footer.html",
158
- text: "Footer"
188
+ text: "Footer",
189
+ id: "page-examples-footer"
159
190
  },
160
191
  {
161
192
  href: "examples-header.html",
162
- text: "Header"
193
+ text: "Header",
194
+ id: "page-examples-header"
163
195
  },
164
196
  {
165
197
  href: "examples-header-mini.html",
166
- text: "Header mini"
198
+ text: "Header mini",
199
+ id: "page-examples-header-mini"
167
200
  },
168
201
  {
169
202
  href: "examples-header-advanced.html",
170
- text: "Header advanced"
203
+ text: "Header advanced",
204
+ id: "page-examples-header-advanced"
171
205
  },
172
206
  {
173
207
  href: "examples-hint.html",
174
- text: "Hint"
208
+ text: "Hint",
209
+ id: "page-examples-hint"
175
210
  },
176
211
  {
177
212
  href: "examples-input.html",
178
- text: "Input"
213
+ text: "Input",
214
+ id: "page-examples-input"
179
215
  },
180
216
  {
181
217
  href: "examples-input-group.html",
182
- text: "Input group"
218
+ text: "Input group",
219
+ id: "page-examples-input-group"
183
220
  },
184
221
  {
185
222
  href: "examples-item.html",
186
- text: "Item"
223
+ text: "Item",
224
+ id: "page-examples-item"
187
225
  },
188
226
  {
189
227
  href: "examples-label.html",
190
- text: "Label"
228
+ text: "Label",
229
+ id: "page-examples-label"
191
230
  },
192
231
  {
193
232
  href: "examples-links-list.html",
194
- text: "Links list"
233
+ text: "Links list",
234
+ id: "page-examples-links-list"
195
235
  },
196
236
  {
197
237
  href: "examples-listbox.html",
198
- text: "Listbox"
238
+ text: "Listbox",
239
+ id: "page-examples-listbox"
199
240
  },
200
241
  {
201
242
  href: "examples-media-object.html",
202
- text: "Media object"
243
+ text: "Media object",
244
+ id: "page-examples-media-object"
203
245
  },
204
246
  {
205
247
  href: "examples-menu-horizontal.html",
206
- text: "Menu horizontal"
248
+ text: "Menu horizontal",
249
+ id: "page-examples-menu-horizontal"
207
250
  },
208
251
  {
209
252
  href: "examples-menu-navigation.html",
210
- text: "Menu navigation"
253
+ text: "Menu navigation",
254
+ id: "page-examples-menu-navigation"
211
255
  },
212
256
  {
213
257
  href: "examples-menu-vertical.html",
214
- text: "Menu vertical"
258
+ text: "Menu vertical",
259
+ id: "page-examples-menu-vertical"
215
260
  },
216
261
  {
217
262
  href: "examples-menubar.html",
218
- text: "Menubar"
263
+ text: "Menubar",
264
+ id: "page-examples-menubar"
219
265
  },
220
266
  {
221
267
  href: "examples-modal.html",
222
- text: "Modal"
268
+ text: "Modal",
269
+ id: "page-examples-modal"
223
270
  },
224
271
  {
225
272
  href: "examples-nav.html",
226
- text: "Nav"
273
+ text: "Nav",
274
+ id: "page-examples-nav"
227
275
  },
228
276
  {
229
277
  href: "examples-notification.html",
230
- text: "Notification"
278
+ text: "Notification",
279
+ id: "page-examples-notification"
231
280
  },
232
281
  {
233
282
  href: "examples-pagination.html",
234
- text: "Pagination"
283
+ text: "Pagination",
284
+ id: "page-examples-pagination"
235
285
  },
236
286
  {
237
287
  href: "examples-pill.html",
238
- text: "Pill"
288
+ text: "Pill",
289
+ id: "page-examples-pill"
239
290
  },
240
291
  {
241
292
  href: "examples-radios.html",
242
- text: "Radios"
293
+ text: "Radios",
294
+ id: "page-examples-radios"
243
295
  },
244
296
  {
245
297
  href: "examples-searchbar.html",
246
- text: "Searchbar"
298
+ text: "Searchbar",
299
+ id: "page-examples-searchbar"
247
300
  },
248
301
  {
249
302
  href: "examples-select.html",
250
- text: "Select"
303
+ text: "Select",
304
+ id: "page-examples-select"
251
305
  },
252
306
  {
253
307
  href: "examples-skip-link.html",
254
- text: "Skip link"
308
+ text: "Skip link",
309
+ id: "page-examples-skip-link"
255
310
  },
256
311
  {
257
312
  href: "examples-spinner.html",
258
- text: "Spinner"
313
+ text: "Spinner",
314
+ id: "page-examples-spinner"
259
315
  },
260
316
  {
261
317
  href: "examples-status.html",
262
- text: "Status"
318
+ text: "Status",
319
+ id: "page-examples-status"
263
320
  },
264
321
  {
265
322
  href: "examples-status-item.html",
266
- text: "Status item"
323
+ text: "Status item",
324
+ id: "page-examples-status-item"
267
325
  },
268
326
  {
269
327
  href: "examples-table.html",
270
- text: "Table"
328
+ text: "Table",
329
+ id: "page-examples-table"
271
330
  },
272
331
  {
273
332
  href: "examples-table-advanced.html",
274
- text: "Table advanced"
333
+ text: "Table advanced",
334
+ id: "page-examples-table-advanced"
275
335
  },
276
336
  {
277
337
  href: "examples-tabs.html",
278
- text: "Tabs"
338
+ text: "Tabs",
339
+ id: "page-examples-tabs"
279
340
  },
280
341
  {
281
342
  href: "examples-textarea.html",
282
- text: "Textarea"
343
+ text: "Textarea",
344
+ id: "page-examples-textarea"
283
345
  },
284
346
  {
285
347
  href: "examples-toggle.html",
286
- text: "Toggle"
348
+ text: "Toggle",
349
+ id: "page-examples-toggle"
287
350
  },
288
351
  {
289
352
  href: "examples-tooltip.html",
290
- text: "Tooltip"
353
+ text: "Tooltip",
354
+ id: "page-examples-tooltip"
291
355
  },
292
356
  {
293
357
  href: "examples-tree.html",
294
- text: "Tree"
358
+ text: "Tree",
359
+ id: "page-examples-tree"
295
360
  }],
296
361
  attributes: {
362
+ "id": "navegacion-ejemplos-offcanvas",
297
363
  "aria-label": "Navegación ejemplos"
298
364
  }
299
365
  }) }}
300
366
  </li>
301
367
  </ul>
302
368
  {% endcall %}
303
- {% if activeSection != undefined %}
369
+ {% if activePage != undefined or activeComponent != undefined %}
304
370
  <script>
305
371
  window.addEventListener("load", function(event) {
306
- activateItemHeaderNavigation("header-nav-item", "{{ activeSection }}");
372
+ {% if activePage %}
373
+ activateItemHeaderNavigation("header-nav-item", "{{ activePage }}");
374
+ {% if activeComponent == undefined %}
375
+ activateItemNav("navegacion-principal-offcanvas", "mobile-{{ activePage }}");
376
+ {% endif %}
377
+ {% endif %}
378
+ {% if activeComponent %}
379
+ activateItemNav("navegacion-ejemplos-offcanvas", "page-examples-{{ activeComponent | filterslugify }}");
380
+ {% endif %}
307
381
  });
308
382
  </script>
309
383
  {% endif %}
@@ -1,5 +1,5 @@
1
1
  {% set title = "Catálogo visual de componentes. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-3" %}
2
+ {% set activePage = "page-catalogo" %}
3
3
  {% extends "_template.default.njk" %}
4
4
  {% block contentBlock %}
5
5
  <div class="pb-lg"></div>
@@ -1,5 +1,5 @@
1
1
  {% set title = "Lista de componentes. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+ {% set activePage = "page-componentes" %}
3
3
  {% extends "_template.default.njk" %}
4
4
 
5
5
  {% from "components/menu-vertical/_macro.menu-vertical.njk" import componentMenuVertical %}
package/docs/estilos.html CHANGED
@@ -1,5 +1,5 @@
1
1
  {% set title = "Estilos: colores, espaciado, retícula y tipografía. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-2" %}
2
+ {% set activePage = "page-estilos" %}
3
3
  {% extends "_template.default.njk" %}
4
4
 
5
5
  {% block contentBlock %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Accordion history. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Accordion history" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/accordion-history/_examples.accordion-history.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Accordion. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Accordion" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/accordion/_examples.accordion.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Alert. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Alert" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/alert/_examples.alert.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Breadcrumbs. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Breadcrumbs" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/breadcrumbs/_examples.breadcrumbs.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Button loader. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Button loader" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/button-loader/_examples.button-loader.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Button. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Button" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/button/_examples.button.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Card. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Card" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/card/_examples.card.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Character count. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Character count" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/character-count/_examples.character-count.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Checkboxes. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Checkboxes" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/checkboxes/_examples.checkboxes.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Collapsible. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Collapsible" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/collapsible/_examples.collapsible.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Date input. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Date input" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/date-input/_examples.date-input.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Description list. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Description list" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/description-list/_examples.description-list.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Details. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Details" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/details/_examples.details.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Dialog. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Dialog" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/dialog/_examples.dialog.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Dropdown. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Dropdown" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/dropdown/_examples.dropdown.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Error message. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Error message" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/error-message/_examples.error-message.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Error summary. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Error summary" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/error-summary/_examples.error-summary.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Fieldset. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Fieldset" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/fieldset/_examples.fieldset.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "File upload. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "File upload" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/file-upload/_examples.file-upload.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Footer. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Footer" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/footer/_examples.footer.njk" as exampleData %}
@@ -1,5 +1,7 @@
1
1
  {% set title = "Header advanced. Componente, parámetros y ejemplos. Documentación de desy-html. Gobierno de Aragón" %}
2
- {% set activeSection = "header-nav-item-4" %}
2
+
3
+ {% set activePage = "page-componentes" %}
4
+ {% set activeComponent = "Header advanced" %}
3
5
  {% extends "_template.examples.njk" %}
4
6
  {% block contentBlock %}
5
7
  {% import "components/header-advanced/_examples.header-advanced.njk" as exampleData %}