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