desy-html 7.3.0 → 7.4.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 (71) hide show
  1. package/docs/_macro.example-render.njk +1 -1
  2. package/docs/index.html +8 -0
  3. package/docs/pagina-accesibilidad.html +6 -0
  4. package/docs/pagina-mapa-web.html +6 -0
  5. package/docs/plantilla-con-header-advanced.html +7 -0
  6. package/docs/plantilla-editar-con-cabecera-fija-y-sidebar-sticky.html +8 -1
  7. package/docs/plantilla-editar-con-cabecera-fija.html +7 -0
  8. package/docs/plantilla-logueado-con-cabecera-fija-headroom.html +7 -0
  9. package/docs/plantilla-logueado-con-cabecera-fija.html +7 -0
  10. package/docs/plantilla-logueado-con-selector-de-app-y-sidebar.html +8 -1
  11. package/docs/plantilla-logueado-con-selector-de-app-y-subheader.html +7 -0
  12. package/docs/plantilla-logueado-con-selector-de-app.html +7 -0
  13. package/docs/plantilla-logueado-con-titulo-de-app.html +7 -0
  14. package/docs/plantilla-sin-loguear.html +7 -0
  15. package/package.json +1 -1
  16. package/src/templates/components/accordion/_examples.accordion.njk +108 -104
  17. package/src/templates/components/accordion-history/_examples.accordion-history.njk +116 -112
  18. package/src/templates/components/alert/_examples.alert.njk +10 -6
  19. package/src/templates/components/breadcrumbs/_examples.breadcrumbs.njk +52 -52
  20. package/src/templates/components/button/_examples.button.njk +71 -71
  21. package/src/templates/components/button-loader/_examples.button-loader.njk +72 -72
  22. package/src/templates/components/card/_examples.card.njk +43 -43
  23. package/src/templates/components/character-count/_examples.character-count.njk +35 -33
  24. package/src/templates/components/checkboxes/_examples.checkboxes.njk +200 -201
  25. package/src/templates/components/collapsible/_examples.collapsible.njk +24 -9
  26. package/src/templates/components/date-input/_examples.date-input.njk +14 -14
  27. package/src/templates/components/description-list/_examples.description-list.njk +45 -44
  28. package/src/templates/components/details/_examples.details.njk +17 -16
  29. package/src/templates/components/dialog/_examples.dialog.njk +5 -6
  30. package/src/templates/components/dropdown/_examples.dropdown.njk +34 -35
  31. package/src/templates/components/error-message/_examples.error-message.njk +8 -2
  32. package/src/templates/components/error-summary/_examples.error-summary.njk +19 -19
  33. package/src/templates/components/fieldset/_examples.fieldset.njk +27 -25
  34. package/src/templates/components/file-upload/_examples.file-upload.njk +7 -7
  35. package/src/templates/components/footer/_examples.footer.njk +24 -24
  36. package/src/templates/components/header/_examples.header.njk +12 -12
  37. package/src/templates/components/header-mini/_examples.header-mini.njk +5 -5
  38. package/src/templates/components/hint/_examples.hint.njk +4 -4
  39. package/src/templates/components/input/_examples.input.njk +66 -64
  40. package/src/templates/components/input-group/_examples.input-group.njk +15 -17
  41. package/src/templates/components/item/_examples.item.njk +21 -20
  42. package/src/templates/components/label/_examples.label.njk +11 -9
  43. package/src/templates/components/links-list/_examples.links-list.njk +34 -34
  44. package/src/templates/components/listbox/_examples.listbox.njk +146 -146
  45. package/src/templates/components/media-object/_examples.media-object.njk +7 -7
  46. package/src/templates/components/menu-horizontal/_examples.menu-horizontal.njk +54 -54
  47. package/src/templates/components/menu-navigation/_examples.menu-navigation.njk +65 -66
  48. package/src/templates/components/menu-vertical/_examples.menu-vertical.njk +71 -71
  49. package/src/templates/components/menubar/_examples.menubar.njk +42 -42
  50. package/src/templates/components/modal/_examples.modal.njk +21 -15
  51. package/src/templates/components/modal/_template.modal.njk +5 -5
  52. package/src/templates/components/nav/_examples.nav.njk +66 -66
  53. package/src/templates/components/notification/_examples.notification.njk +14 -13
  54. package/src/templates/components/pagination/_examples.pagination.njk +7 -6
  55. package/src/templates/components/pill/_examples.pill.njk +29 -29
  56. package/src/templates/components/radios/_examples.radios.njk +153 -142
  57. package/src/templates/components/searchbar/_examples.searchbar.njk +11 -11
  58. package/src/templates/components/select/_examples.select.njk +63 -63
  59. package/src/templates/components/skip-link/_examples.skip-link.njk +4 -4
  60. package/src/templates/components/spinner/_examples.spinner.njk +11 -11
  61. package/src/templates/components/status/_examples.status.njk +4 -4
  62. package/src/templates/components/status-item/_examples.status-item.njk +21 -21
  63. package/src/templates/components/table/_examples.table.njk +58 -56
  64. package/src/templates/components/table-advanced/_examples.table-advanced.njk +83 -83
  65. package/src/templates/components/tabs/_examples.tabs.njk +30 -29
  66. package/src/templates/components/textarea/_examples.textarea.njk +28 -27
  67. package/src/templates/components/toggle/_examples.toggle.njk +10 -11
  68. package/src/templates/components/tooltip/_examples.tooltip.njk +9 -9
  69. package/src/templates/components/tree/_examples.tree.njk +58 -57
  70. package/src/templates/includes/_abrir-notificaciones-extra.njk +3 -0
  71. package/src/templates/includes/_abrir-notificaciones.njk +1 -1
@@ -1,7 +1,7 @@
1
1
  {% set exampleComponent = "menu-navigation" %}
2
2
  {% set examples = [
3
3
  {
4
- "name": "default",
4
+ "name": "por defecto",
5
5
  "data": {
6
6
  "idPrefix": "default-example",
7
7
  "items": [
@@ -81,7 +81,7 @@
81
81
  }
82
82
  },
83
83
  {
84
- "name": "with disabled item",
84
+ "name": "con item deshabilitado",
85
85
  "data": {
86
86
  "idPrefix": "with-disabled-item-example",
87
87
  "items": [
@@ -105,7 +105,7 @@
105
105
  }
106
106
  },
107
107
  {
108
- "name": "with active item",
108
+ "name": "con item activo",
109
109
  "data": {
110
110
  "idPrefix": "with-active-item-example",
111
111
  "items": [
@@ -129,7 +129,7 @@
129
129
  }
130
130
  },
131
131
  {
132
- "name": "with target in links",
132
+ "name": "con target en enlaces",
133
133
  "data": {
134
134
  "idPrefix": "with-targets-in-links-example",
135
135
  "items": [
@@ -164,7 +164,7 @@
164
164
  }
165
165
  },
166
166
  {
167
- "name": "with dividers",
167
+ "name": "con divisores",
168
168
  "data": {
169
169
  "idPrefix": "with-dividers-example",
170
170
  "items": [
@@ -214,8 +214,8 @@
214
214
  }
215
215
  },
216
216
  {
217
- "name": "small",
218
- "description": "Using classes to display small items",
217
+ "name": "peque",
218
+ "description": "Usando clases para mostrar los items pequeños.",
219
219
  "data": {
220
220
  "idPrefix": "small-example",
221
221
  "items": [
@@ -298,8 +298,8 @@
298
298
  }
299
299
  },
300
300
  {
301
- "name": "primary",
302
- "description": "Using classes to display primary items",
301
+ "name": "primario",
302
+ "description": "Usando clases para mostrar los items primarios.",
303
303
  "data": {
304
304
  "idPrefix": "primary-example",
305
305
  "items": [
@@ -328,7 +328,7 @@
328
328
  }
329
329
  },
330
330
  {
331
- "text": "Active Item 2",
331
+ "text": "Item activo 2",
332
332
  "id": "primary-example-item-2",
333
333
  "classes": "c-menu-navigation__button--primary",
334
334
  "active": true,
@@ -354,7 +354,7 @@
354
354
  }
355
355
  },
356
356
  {
357
- "text": "Disabled Item 3",
357
+ "text": "Item deshabilitado 3",
358
358
  "id": "primary-example-item-3",
359
359
  "classes": "c-menu-navigation__button--primary",
360
360
  "disabled": true,
@@ -385,8 +385,8 @@
385
385
  }
386
386
  },
387
387
  {
388
- "name": "transparent",
389
- "description": "Using classes to display transparent items",
388
+ "name": "transparente",
389
+ "description": "Usando clases para mostrar los items transparentes.",
390
390
  "data": {
391
391
  "idPrefix": "transparent-example",
392
392
  "items": [
@@ -415,7 +415,7 @@
415
415
  }
416
416
  },
417
417
  {
418
- "text": "Active Item 2",
418
+ "text": "Item activo 2",
419
419
  "id": "transparent-example-item-2",
420
420
  "classes": "c-menu-navigation__button--transparent",
421
421
  "active": true,
@@ -441,7 +441,7 @@
441
441
  }
442
442
  },
443
443
  {
444
- "text": "Disabled Item 3",
444
+ "text": "Item deshabilitado 3",
445
445
  "id": "transparent-example-item-3",
446
446
  "classes": "c-menu-navigation__button--transparent",
447
447
  "disabled": true,
@@ -472,7 +472,7 @@
472
472
  }
473
473
  },
474
474
  {
475
- "name": "with last item in right side",
475
+ "name": "con el último item a la derecha",
476
476
  "data": {
477
477
  "idPrefix": "right-example",
478
478
  "classes": "c-menu-navigation--last-right",
@@ -576,7 +576,7 @@
576
576
  }
577
577
  },
578
578
  {
579
- "name": "with very long option text",
579
+ "name": "con un texto de item muy largo",
580
580
  "data": {
581
581
  "idPrefix": "with-very-ling-text-example",
582
582
  "items": [
@@ -599,7 +599,7 @@
599
599
  }
600
600
  },
601
601
  {
602
- "name": "with a children item active",
602
+ "name": "con un item hijo activo",
603
603
  "data": {
604
604
  "idPrefix": "nav-item-with-children-active",
605
605
  "items": [
@@ -658,13 +658,12 @@
658
658
  }
659
659
  },
660
660
  {
661
- "name": "with disabled or without href in a parent and child",
662
- "description": "Use hasUnderline true when you will have mixed, disabled or without href items and normal items.",
661
+ "name": "con deshabilitado o sin href en un padre e hijo",
663
662
  "data": {
664
663
  "idPrefix": "nav-item-without-href",
665
664
  "items": [
666
665
  {
667
- "text": "Item 1 disabled",
666
+ "text": "Item 1 deshabilitado",
668
667
  "id": "nav-item-item-1-b",
669
668
  "disabled": true,
670
669
  "sub": {
@@ -675,7 +674,7 @@
675
674
  },
676
675
  {
677
676
  "href": "#",
678
- "text": "Subitem 2 disabled",
677
+ "text": "Subitem 2 deshabilitado",
679
678
  "disabled": true
680
679
  },
681
680
  {
@@ -698,7 +697,7 @@
698
697
  "text": "Subitem 1"
699
698
  },
700
699
  {
701
- "text": "Subitem 2 without href with href asdfasf adf asdf asdf asdf asdf"
700
+ "text": "Subitem 2 sin href"
702
701
  },
703
702
  {
704
703
  "href": "#",
@@ -717,8 +716,8 @@
717
716
  }
718
717
  },
719
718
  {
720
- "name": "header",
721
- "description": "A menu navigation can be nested in customNavigationHtml in Header component.",
719
+ "name": "con estilos de cabecera",
720
+ "description": 'Un Menu navigation puede estar anidado en <code>customNavigationHtml</code> en el componente Header.',
722
721
  "data": {
723
722
  "idPrefix": "header-custom-nav",
724
723
  "classes": "bg-neutral-lighter c-menu-navigation--last-right w-full",
@@ -748,7 +747,7 @@
748
747
  }
749
748
  },
750
749
  {
751
- "text": "Active Item 2",
750
+ "text": "Item activo 2",
752
751
  "id": "header-custom-nav-item-2",
753
752
  "classes": "c-menu-navigation__button--header -mr-base",
754
753
  "active": true,
@@ -774,7 +773,7 @@
774
773
  }
775
774
  },
776
775
  {
777
- "text": "Disabled Item 3",
776
+ "text": "Item deshabilitado 3",
778
777
  "id": "header-custom-nav-item-3",
779
778
  "classes": "c-menu-navigation__button--header -mr-base",
780
779
  "disabled": true,
@@ -829,30 +828,30 @@
829
828
  }
830
829
  },
831
830
  {
832
- "name": "with idPrefix",
833
- "description": "See code to display the idPrefix applied",
831
+ "name": "con idPrefix",
832
+ "description": 'Mostrar código para ver el <code>idPrefix</code> aplicado',
834
833
  "data": {
835
834
  "idPrefix": "with-id-prefix-example",
836
835
  "items": [
837
836
  {
838
837
  "href": "#",
839
- "text": "Option 1"
838
+ "text": "Opción 1"
840
839
  },
841
840
  {
842
841
  "href": "#",
843
- "text": "Option 2"
842
+ "text": "Opción 2"
844
843
  },
845
844
  {
846
845
  "href": "#",
847
- "text": "Option 3"
846
+ "text": "Opción 3"
848
847
  },
849
848
  {
850
849
  "href": "#",
851
- "text": "Option 4"
850
+ "text": "Opción 4"
852
851
  },
853
852
  {
854
853
  "href": "#",
855
- "text": "Option 5"
854
+ "text": "Opción 5"
856
855
  }
857
856
  ],
858
857
  "attributes": {
@@ -861,34 +860,34 @@
861
860
  }
862
861
  },
863
862
  {
864
- "name": "with individual ids",
865
- "description": "See code to display the ids applied",
863
+ "name": "con ids individuales",
864
+ "description": 'Mostrar código para ver los <code>id</code> aplicados',
866
865
  "data": {
867
866
  "idPrefix": "with-individual-ids-example",
868
867
  "items": [
869
868
  {
870
869
  "href": "#",
871
- "text": "Option 1",
870
+ "text": "Opción 1",
872
871
  "id": "option-A"
873
872
  },
874
873
  {
875
874
  "href": "#",
876
- "text": "Option 2",
875
+ "text": "Opción 2",
877
876
  "id": "option-B"
878
877
  },
879
878
  {
880
879
  "href": "#",
881
- "text": "Option 3",
880
+ "text": "Opción 3",
882
881
  "id": "option-C"
883
882
  },
884
883
  {
885
884
  "href": "#",
886
- "text": "Option 4",
885
+ "text": "Opción 4",
887
886
  "id": "option-D"
888
887
  },
889
888
  {
890
889
  "href": "#",
891
- "text": "Option 5",
890
+ "text": "Opción 5",
892
891
  "id": "option-E"
893
892
  }
894
893
  ],
@@ -898,8 +897,8 @@
898
897
  }
899
898
  },
900
899
  {
901
- "name": "with attributes",
902
- "description": "See code to display the attributes applied",
900
+ "name": "con atributos",
901
+ "description": "Muestra el código para ver cómo se aplican los atributos",
903
902
  "data": {
904
903
  "idPrefix": "with-attributes-example",
905
904
  "attributes": {
@@ -908,7 +907,7 @@
908
907
  "items": [
909
908
  {
910
909
  "href": "#",
911
- "text": "Option 1",
910
+ "text": "Opción 1",
912
911
  "attributes": {
913
912
  "data-attribute-1": "value-A",
914
913
  "data-attribute-2": "value-B",
@@ -917,7 +916,7 @@
917
916
  },
918
917
  {
919
918
  "href": "#",
920
- "text": "Option 2",
919
+ "text": "Opción 2",
921
920
  "attributes": {
922
921
  "data-attribute-1": "value-A",
923
922
  "data-attribute-2": "value-B",
@@ -925,7 +924,7 @@
925
924
  }
926
925
  },
927
926
  {
928
- "text": "Option 3",
927
+ "text": "Opción 3",
929
928
  "attributes": {
930
929
  "data-attribute-1": "value-A",
931
930
  "data-attribute-2": "value-B",
@@ -940,7 +939,7 @@
940
939
  "items": [
941
940
  {
942
941
  "href": "#",
943
- "text": "Simple link",
942
+ "text": "Enlace simple",
944
943
  "attributes": {
945
944
  "data-attribute-1": "value-A",
946
945
  "data-attribute-2": "value-B",
@@ -949,18 +948,18 @@
949
948
  },
950
949
  {
951
950
  "href": "#",
952
- "text": "Simple link"
951
+ "text": "Enlace simple"
953
952
  },
954
953
  {
955
954
  "href": "#",
956
- "text": "Simple link"
955
+ "text": "Enlace simple"
957
956
  }
958
957
  ]
959
958
  }
960
959
  },
961
960
  {
962
961
  "href": "#",
963
- "text": "Option 4",
962
+ "text": "Opción 4",
964
963
  "attributes": {
965
964
  "data-attribute-1": "value-A",
966
965
  "data-attribute-2": "value-B",
@@ -969,7 +968,7 @@
969
968
  },
970
969
  {
971
970
  "href": "#",
972
- "text": "Option 5",
971
+ "text": "Opción 5",
973
972
  "attributes": {
974
973
  "data-attribute-1": "value-A",
975
974
  "data-attribute-2": "value-B",
@@ -983,25 +982,25 @@
983
982
  }
984
983
  },
985
984
  {
986
- "name": "with mixed items",
985
+ "name": "con items mixtos",
987
986
  "data": {
988
987
  "name": "with-sub-items",
989
988
  "idPrefix": "with-mixed-items-example",
990
989
  "items": [
991
990
  {
992
991
  "href": "#",
993
- "text": "Simple link"
992
+ "text": "Enlace simple"
994
993
  },
995
994
  {
996
- "text": "Item without href and disabled",
995
+ "text": "Item sin href o deshabilitado",
997
996
  "disabled": true
998
997
  },
999
998
  {
1000
999
  "href": "#",
1001
- "text": "Simple link"
1000
+ "text": "Enlace simple"
1002
1001
  },
1003
1002
  {
1004
- "text": "Parent with divider",
1003
+ "text": "Padre con divisor",
1005
1004
  "divider": {
1006
1005
  "html": '<div class="absolute h-11 border-l border-neutral-base"></div>'
1007
1006
  },
@@ -1010,11 +1009,11 @@
1010
1009
  "items": [
1011
1010
  {
1012
1011
  "href": "#",
1013
- "text": "Simple link"
1012
+ "text": "Enlace simple"
1014
1013
  },
1015
1014
  {
1016
1015
  "href": "#",
1017
- "text": "Simple link",
1016
+ "text": "Enlace simple",
1018
1017
  "target": "_blank",
1019
1018
  "attributes": {
1020
1019
  "title": "Se abre en ventana nueva"
@@ -1022,16 +1021,16 @@
1022
1021
  },
1023
1022
  {
1024
1023
  "href": "#",
1025
- "text": "Simple link"
1024
+ "text": "Enlace simple"
1026
1025
  },
1027
1026
  {
1028
1027
  "href": "#",
1029
- "text": "Simple link",
1028
+ "text": "Enlace simple",
1030
1029
  "divider": true
1031
1030
  },
1032
1031
  {
1033
1032
  "href": "#",
1034
- "text": "Simple link"
1033
+ "text": "Enlace simple"
1035
1034
  }
1036
1035
  ],
1037
1036
  "attributes": {
@@ -1041,14 +1040,14 @@
1041
1040
  },
1042
1041
  {
1043
1042
  "href": "#",
1044
- "text": "Simple link"
1043
+ "text": "Enlace simple"
1045
1044
  },
1046
1045
  {
1047
1046
  "href": "#",
1048
- "text": "Simple link"
1047
+ "text": "Enlace simple"
1049
1048
  },
1050
1049
  {
1051
- "text": "Parent",
1050
+ "text": "Padre",
1052
1051
  "id": "with-sub-items-2",
1053
1052
  "sub": {
1054
1053
  "items": [
@@ -1058,11 +1057,11 @@
1058
1057
  },
1059
1058
  {
1060
1059
  "href": "#",
1061
- "text": "Active subitem",
1060
+ "text": "Subitem activo",
1062
1061
  "active" : true
1063
1062
  },
1064
1063
  {
1065
- "text": "Subitem without href and disabled",
1064
+ "text": "Subitem sin href o deshabilitado",
1066
1065
  "disabled": true
1067
1066
  }
1068
1067
  ],