@kitconcept/volto-light-theme 6.0.0-alpha.9 → 6.0.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 (98) hide show
  1. package/.changelog.draft +2 -7
  2. package/CHANGELOG.md +221 -0
  3. package/README.md +6 -5
  4. package/locales/de/LC_MESSAGES/volto.po +171 -38
  5. package/locales/en/LC_MESSAGES/volto.po +170 -37
  6. package/locales/es/LC_MESSAGES/volto.po +171 -38
  7. package/locales/eu/LC_MESSAGES/volto.po +171 -38
  8. package/locales/pt_BR/volto.po +171 -38
  9. package/locales/volto.pot +171 -38
  10. package/package.json +15 -6
  11. package/src/components/Blocks/EventMetadata/View.jsx +32 -26
  12. package/src/components/Blocks/Listing/DefaultTemplate.jsx +19 -14
  13. package/src/components/Blocks/Listing/GridTemplate.jsx +9 -12
  14. package/src/components/Blocks/Listing/SummaryTemplate.jsx +9 -7
  15. package/src/components/Blocks/Teaser/DefaultBody.jsx +93 -0
  16. package/src/components/Footer/ColumnLinks.tsx +35 -0
  17. package/src/components/Footer/Footer.tsx +32 -0
  18. package/src/components/Footer/slots/Colophon.tsx +24 -0
  19. package/src/components/Footer/slots/Copyright.tsx +65 -0
  20. package/src/components/Footer/slots/CoreFooter.tsx +82 -0
  21. package/src/components/Footer/slots/FollowUsLogoAndLinks.tsx +80 -0
  22. package/src/components/Footer/slots/FooterLogos.tsx +44 -0
  23. package/src/components/Header/Header.tsx +257 -0
  24. package/src/components/Logo/Logo.tsx +85 -0
  25. package/src/components/{Footer/FooterLogos.tsx → LogosContainer/LogosContainer.tsx} +16 -36
  26. package/src/components/MobileNavigation/MobileNavigation.jsx +53 -18
  27. package/src/components/Navigation/Navigation.jsx +14 -3
  28. package/src/components/SearchWidget/IntranetSearchWidget.jsx +32 -5
  29. package/src/components/SearchWidget/SearchWidget.jsx +1 -1
  30. package/src/components/StickyMenu/StickyMenu.tsx +36 -0
  31. package/src/components/Summary/DefaultSummary.jsx +16 -0
  32. package/src/components/Summary/EventSummary.jsx +38 -0
  33. package/src/components/Summary/FileSummary.jsx +24 -0
  34. package/src/components/Summary/NewsItemSummary.jsx +40 -0
  35. package/src/components/Tags/Tags.jsx +46 -0
  36. package/src/components/Theme/EventView.jsx +19 -25
  37. package/src/components/Theme/NewsItemView.jsx +13 -9
  38. package/src/components/Theming/Theming.tsx +20 -17
  39. package/src/components/Widgets/{BlockAlignmentWidget.tsx → BlockAlignment.tsx} +9 -2
  40. package/src/components/Widgets/{BlockWidthWidget.tsx → BlockWidth.tsx} +10 -3
  41. package/src/components/Widgets/BlocksObject.tsx +353 -0
  42. package/src/components/Widgets/{ButtonsWidget.tsx → Buttons.tsx} +45 -4
  43. package/src/components/Widgets/ColorContrastChecker.tsx +117 -0
  44. package/src/components/Widgets/ColorPicker.tsx +59 -0
  45. package/src/components/Widgets/{ColorPickerWidget.tsx → ColorSwatch.tsx} +5 -5
  46. package/src/components/Widgets/ObjectList.tsx +342 -0
  47. package/src/components/Widgets/{ThemingColorPicker.tsx → RACThemingColorPicker.tsx} +4 -0
  48. package/src/components/Widgets/{SizeWidget.tsx → Size.tsx} +9 -2
  49. package/src/components/Widgets/ThemeColorSwatch.tsx +17 -0
  50. package/src/components/Widgets/schema/footerLinksSchema.ts +64 -0
  51. package/src/components/Widgets/schema/footerLogosSchema.ts +98 -0
  52. package/src/components/Widgets/schema/headerActionsSchema.ts +64 -0
  53. package/src/components/Widgets/schema/iconLinkListSchema.ts +98 -0
  54. package/src/config/blocks.tsx +37 -17
  55. package/src/config/settings.ts +54 -12
  56. package/src/config/slots.ts +36 -1
  57. package/src/config/summary.ts +24 -0
  58. package/src/config/widgets.ts +57 -23
  59. package/src/customizations/volto/components/manage/Blocks/Teaser/DefaultBody.jsx +8 -0
  60. package/src/customizations/volto/components/theme/Tags/Tags.jsx +11 -0
  61. package/src/customizations/volto/components/theme/View/RenderBlocks.jsx +2 -1
  62. package/src/helpers/DndSortableList.tsx +138 -0
  63. package/src/helpers/dates.js +22 -0
  64. package/src/helpers/doesNodeContainClick.js +64 -0
  65. package/src/helpers/useLiveData.ts +29 -0
  66. package/src/index.ts +31 -2
  67. package/src/primitives/IconLinkList.tsx +69 -0
  68. package/src/primitives/LinkList.tsx +35 -0
  69. package/src/theme/_bgcolor-blocks-layout.scss +50 -12
  70. package/src/theme/_content.scss +6 -0
  71. package/src/theme/_footer.scss +294 -41
  72. package/src/theme/_header.scss +132 -19
  73. package/src/theme/_layout.scss +11 -1
  74. package/src/theme/_sitemap.scss +4 -0
  75. package/src/theme/_utils.scss +14 -1
  76. package/src/theme/_variables.scss +12 -3
  77. package/src/theme/_widgets.scss +100 -9
  78. package/src/theme/blocks/_eventMetadata.scss +5 -2
  79. package/src/theme/blocks/_grid.scss +3 -3
  80. package/src/theme/blocks/_highlight.scss +17 -44
  81. package/src/theme/blocks/_listing.scss +25 -16
  82. package/src/theme/blocks/_maps.scss +3 -3
  83. package/src/theme/blocks/_slider.scss +5 -1
  84. package/src/theme/main.scss +1 -0
  85. package/src/theme/sticky-menu.scss +50 -0
  86. package/src/types.d.ts +102 -0
  87. package/tsconfig.json +1 -1
  88. package/src/components/Footer/Footer.jsx +0 -115
  89. package/src/components/Footer/FooterLinks.tsx +0 -57
  90. package/src/components/Header/Header.jsx +0 -161
  91. package/src/components/Logo/Logo.jsx +0 -51
  92. package/src/components/Widgets/AlignWidget.jsx +0 -80
  93. package/src/components/Widgets/BackgroundColorWidget.tsx +0 -17
  94. package/src/components/Widgets/BlocksObjectWidget.tsx +0 -333
  95. package/src/components/Widgets/FooterLinksWidget.tsx +0 -106
  96. package/src/components/Widgets/FooterLogosWidget.tsx +0 -120
  97. package/src/static/container-query-polyfill.modern.js +0 -1
  98. package/src/types/index.d.ts +0 -1
@@ -17,16 +17,48 @@ msgstr ""
17
17
  "Domain: volto\n"
18
18
  "X-Generator: Poedit 3.0.1\n"
19
19
 
20
+ #. Default: "Action"
21
+ #: components/Widgets/schema/headerActionsSchema
22
+ msgid "Action"
23
+ msgstr ""
24
+
25
+ #. Default: "Add"
26
+ #: components/Widgets/BlocksObject
27
+ #: components/Widgets/ObjectList
28
+ msgid "Add (object list)"
29
+ msgstr ""
30
+
31
+ #. Default: "Add action"
32
+ #: components/Widgets/schema/headerActionsSchema
33
+ msgid "Add action"
34
+ msgstr ""
35
+
36
+ #. Default: "Add link"
37
+ #: components/Widgets/schema/footerLinksSchema
38
+ msgid "Add link"
39
+ msgstr ""
40
+
41
+ #. Default: "Add logo"
42
+ #: components/Widgets/schema/footerLogosSchema
43
+ msgid "Add logo"
44
+ msgstr ""
45
+
46
+ #. Default: "Alignment"
47
+ #: components/Blocks/Button/schema
48
+ #: components/Blocks/Separator/schema
49
+ msgid "Alignment"
50
+ msgstr ""
51
+
52
+ #. Default: "Alt text"
53
+ #: components/Widgets/schema/footerLogosSchema
54
+ msgid "Alt text"
55
+ msgstr ""
56
+
20
57
  #. Default: "Back"
21
58
  #: components/MobileNavigation/MobileNavigation
22
59
  msgid "Back"
23
60
  msgstr "Atrás"
24
61
 
25
- #. Default: "Back to homepage"
26
- #: components/Logo/Logo
27
- msgid "Back to homepage"
28
- msgstr ""
29
-
30
62
  #. Default: "Background color"
31
63
  #: components/Blocks/schema
32
64
  msgid "Background color"
@@ -34,6 +66,8 @@ msgstr "Color de fondo"
34
66
 
35
67
  #. Default: "Block Width"
36
68
  #: components/Blocks/Button/schema
69
+ #: components/Blocks/Image/schema
70
+ #: components/Blocks/Separator/schema
37
71
  msgid "Block Width"
38
72
  msgstr "Anchura del bloque"
39
73
 
@@ -42,18 +76,13 @@ msgstr "Anchura del bloque"
42
76
  msgid "Breadcrumbs"
43
77
  msgstr "Rastro de migas"
44
78
 
45
- #. Default: "Browse the site, drop an image, or type an URL"
46
- #: components/Blocks/Image/Edit
47
- msgid "Browse the site, drop an image, or type an URL"
48
- msgstr "Busque en el sitio, arrastra una imagen o escriba una URL"
49
-
50
79
  #. Default: "Button text"
51
80
  #: components/Blocks/Slider/schema
52
81
  msgid "Button text"
53
82
  msgstr "Texto del botón"
54
83
 
55
84
  #. Default: "Center"
56
- #: components/Widgets/AlignWidget
85
+ #: components/Widgets/BlockAlignment
57
86
  msgid "Center"
58
87
  msgstr "Centrar"
59
88
 
@@ -63,6 +92,17 @@ msgstr "Centrar"
63
92
  msgid "Close menu"
64
93
  msgstr "Cerrar menú"
65
94
 
95
+ #. Default: "Collapse item"
96
+ #: components/Widgets/BlocksObject
97
+ #: components/Widgets/ObjectList
98
+ msgid "Collapse item"
99
+ msgstr ""
100
+
101
+ #. Default: "The color contrast ratio {contrastRatio}:1 might not be accessible for all. WCAG Level: {complianceLevel}"
102
+ #: components/Widgets/ColorContrastChecker
103
+ msgid "ColorContrastCheckerMessage"
104
+ msgstr ""
105
+
66
106
  #. Default: "Contact"
67
107
  #: components/Blocks/EventMetadata/View
68
108
  msgid "Contact"
@@ -78,8 +118,14 @@ msgstr "Seguir leyendo"
78
118
  msgid "Copyright"
79
119
  msgstr "Copyright"
80
120
 
121
+ #. Default: "Default"
122
+ #: components/Widgets/BlockWidth
123
+ msgid "Default"
124
+ msgstr ""
125
+
81
126
  #. Default: "Description"
82
127
  #: components/Blocks/Image/schema
128
+ #: components/Widgets/schema/footerLogosSchema
83
129
  msgid "Description"
84
130
  msgstr "Descripción"
85
131
 
@@ -88,6 +134,12 @@ msgstr "Descripción"
88
134
  msgid "Distributed under the {license}."
89
135
  msgstr "Distribuido bajo {license}"
90
136
 
137
+ #. Default: "Empty object list"
138
+ #: components/Widgets/BlocksObject
139
+ #: components/Widgets/ObjectList
140
+ msgid "Empty object list"
141
+ msgstr ""
142
+
91
143
  #. Default: "End"
92
144
  #: components/Blocks/EventMetadata/View
93
145
  msgid "End"
@@ -99,7 +151,7 @@ msgid "Flag align"
99
151
  msgstr "Alinear"
100
152
 
101
153
  #. Default: "Full"
102
- #: components/Widgets/AlignWidget
154
+ #: components/Widgets/BlockWidth
103
155
  msgid "Full"
104
156
  msgstr "Completo"
105
157
 
@@ -108,13 +160,24 @@ msgstr "Completo"
108
160
  msgid "GNU GPL license"
109
161
  msgstr "Licencia GNU GPL"
110
162
 
163
+ #. Default: "Headline"
164
+ #: components/Widgets/schema/footerLogosSchema
165
+ msgid "Headline"
166
+ msgstr ""
167
+
111
168
  #. Default: "Hide Button"
112
169
  #: components/Blocks/Slider/schema
113
170
  msgid "Hide Button"
114
171
  msgstr "Esconder botón"
115
172
 
173
+ #. Default: "Hide description"
174
+ #: components/Widgets/schema/footerLogosSchema
175
+ msgid "Hide description"
176
+ msgstr ""
177
+
116
178
  #. Default: "Home"
117
179
  #: components/Breadcrumbs/Breadcrumbs
180
+ #: components/Logo/Logo
118
181
  #: components/MobileNavigation/MobileNavigation
119
182
  msgid "Home"
120
183
  msgstr "Inicio"
@@ -129,11 +192,36 @@ msgstr "Descargar archivo ICS"
129
192
  msgid "Image"
130
193
  msgstr "Imagen"
131
194
 
195
+ #. Default: "Large"
196
+ #: components/Widgets/Size
197
+ msgid "Large"
198
+ msgstr ""
199
+
200
+ #. Default: "Layout"
201
+ #: components/Widgets/BlockWidth
202
+ msgid "Layout"
203
+ msgstr ""
204
+
132
205
  #. Default: "Left"
133
- #: components/Widgets/AlignWidget
206
+ #: components/Widgets/BlockAlignment
134
207
  msgid "Left"
135
208
  msgstr "Izquierda"
136
209
 
210
+ #. Default: "Link"
211
+ #: components/Widgets/schema/footerLinksSchema
212
+ msgid "Link"
213
+ msgstr ""
214
+
215
+ #. Default: "List"
216
+ #: index
217
+ msgid "List"
218
+ msgstr ""
219
+
220
+ #. Default: "List with images"
221
+ #: index
222
+ msgid "List with images"
223
+ msgstr ""
224
+
137
225
  #. Default: "Location"
138
226
  #: components/Blocks/EventMetadata/View
139
227
  msgid "Location"
@@ -144,16 +232,36 @@ msgstr "Ubicación"
144
232
  msgid "Log in"
145
233
  msgstr "Entrar"
146
234
 
235
+ #. Default: "Logo"
236
+ #: components/Widgets/schema/footerLogosSchema
237
+ msgid "Logo"
238
+ msgstr ""
239
+
240
+ #. Default: "Logo image"
241
+ #: components/Widgets/schema/footerLogosSchema
242
+ msgid "Logo image"
243
+ msgstr ""
244
+
245
+ #. Default: "Logo of"
246
+ #: components/Logo/Logo
247
+ msgid "Logo of"
248
+ msgstr ""
249
+
250
+ #. Default: "Medium"
251
+ #: components/Widgets/Size
252
+ msgid "Medium"
253
+ msgstr ""
254
+
255
+ #. Default: "Narrow"
256
+ #: components/Widgets/BlockWidth
257
+ msgid "Narrow"
258
+ msgstr ""
259
+
147
260
  #. Default: "Next Page"
148
261
  #: components/Blocks/Listing/ListingBody
149
262
  msgid "Next Page"
150
263
  msgstr "Página siguiente"
151
264
 
152
- #. Default: "No date"
153
- #: components/Theme/EventView
154
- msgid "No date"
155
- msgstr "No hay fecha"
156
-
157
265
  #. Default: "No image selected"
158
266
  #: components/Blocks/Image/ImageSidebar
159
267
  msgid "No image selected"
@@ -164,6 +272,13 @@ msgstr "No se ha seleccionado imagen"
164
272
  msgid "No items found in this container."
165
273
  msgstr "No se han encontrado elementos"
166
274
 
275
+ #. Default: "Open in a new tab"
276
+ #: components/Widgets/schema/footerLinksSchema
277
+ #: components/Widgets/schema/footerLogosSchema
278
+ #: components/Widgets/schema/headerActionsSchema
279
+ msgid "Open in a new tab"
280
+ msgstr ""
281
+
167
282
  #. Default: "Open menu"
168
283
  #: components/MobileNavigation/MobileNavigation
169
284
  #: components/Navigation/Navigation
@@ -182,6 +297,7 @@ msgstr "Teléfono"
182
297
 
183
298
  #. Default: "Please choose an existing content as source for this element"
184
299
  #: components/Blocks/Slider/DefaultBody
300
+ #: components/Blocks/Teaser/DefaultBody
185
301
  msgid "Please choose an existing content as source for this element"
186
302
  msgstr "Elija un contenido para utilizarlo como fuente de datos para este elemento"
187
303
 
@@ -215,13 +331,19 @@ msgstr "Página anterior"
215
331
  msgid "Register"
216
332
  msgstr "Registrar usuario"
217
333
 
334
+ #. Default: "Remove item"
335
+ #: components/Widgets/BlocksObject
336
+ #: components/Widgets/ObjectList
337
+ msgid "Remove item"
338
+ msgstr ""
339
+
218
340
  #. Default: "Result"
219
341
  #: components/Blocks/Listing/ListingBody
220
342
  msgid "Result"
221
343
  msgstr "Resultado"
222
344
 
223
345
  #. Default: "Right"
224
- #: components/Widgets/AlignWidget
346
+ #: components/Widgets/BlockAlignment
225
347
  msgid "Right"
226
348
  msgstr "Derecha"
227
349
 
@@ -255,16 +377,32 @@ msgstr "Resultados de búsqueda"
255
377
  msgid "Searched for"
256
378
  msgstr "Ha buscado"
257
379
 
258
- #. Default: "Site"
259
- #: components/Logo/Logo
260
- msgid "Site"
261
- msgstr "Sitio"
380
+ #. Default: "Settings"
381
+ #: components/Widgets/schema/footerLogosSchema
382
+ msgid "Settings"
383
+ msgstr ""
384
+
385
+ #. Default: "Short line"
386
+ #: components/Blocks/Separator/schema
387
+ msgid "Short line"
388
+ msgstr ""
389
+
390
+ #. Default: "Show item"
391
+ #: components/Widgets/BlocksObject
392
+ #: components/Widgets/ObjectList
393
+ msgid "Show item"
394
+ msgstr ""
262
395
 
263
396
  #. Default: "Sitemap"
264
397
  #: index
265
398
  msgid "Sitemap"
266
399
  msgstr "Mapa del sitio"
267
400
 
401
+ #. Default: "Small"
402
+ #: components/Widgets/Size
403
+ msgid "Small"
404
+ msgstr ""
405
+
268
406
  #. Default: "Sorting"
269
407
  #: components/Blocks/Search/TopSideFacets
270
408
  msgid "Sorting"
@@ -285,6 +423,13 @@ msgstr "Inicio"
285
423
  msgid "Switch to"
286
424
  msgstr "Cambiar a"
287
425
 
426
+ #. Default: "Target"
427
+ #: components/Widgets/schema/footerLinksSchema
428
+ #: components/Widgets/schema/footerLogosSchema
429
+ #: components/Widgets/schema/headerActionsSchema
430
+ msgid "Target"
431
+ msgstr ""
432
+
288
433
  #. Default: "The {plonecms} is {copyright} 2000-{current_year} by the {plonefoundation} and friends."
289
434
  #: components/Footer/Footer
290
435
  msgid "The {plonecms} is {copyright} 2000-{current_year} by the {plonefoundation} and friends."
@@ -292,24 +437,17 @@ msgstr "{plonecms} es {copyright} 2000-{current_year} de la {plonefoundation} y
292
437
 
293
438
  #. Default: "Title"
294
439
  #: components/Blocks/Image/schema
440
+ #: components/Widgets/schema/footerLinksSchema
441
+ #: components/Widgets/schema/footerLogosSchema
442
+ #: components/Widgets/schema/headerActionsSchema
295
443
  msgid "Title"
296
444
  msgstr "Título"
297
445
 
298
- #. Default: "Uploading image"
299
- #: components/Blocks/Image/Edit
300
- msgid "Uploading image"
301
- msgstr "Cargando imagen"
302
-
303
446
  #. Default: "Website"
304
447
  #: components/Blocks/EventMetadata/View
305
448
  msgid "Website"
306
449
  msgstr "Sitio web"
307
450
 
308
- #. Default: "Wide"
309
- #: components/Widgets/AlignWidget
310
- msgid "Wide"
311
- msgstr "Ancho"
312
-
313
451
  #. Default: "Clear image"
314
452
  #: components/Blocks/Image/ImageSidebar
315
453
  msgid "image_block_clear"
@@ -334,8 +472,3 @@ msgstr "Más información"
334
472
  #: components/Blocks/Listing/ListingBody
335
473
  msgid "of"
336
474
  msgstr "de"
337
-
338
- #. Default: ""
339
- #: components/Header/Header
340
- msgid "siteLabel"
341
- msgstr " "