@kitconcept/volto-light-theme 6.0.0-alpha.8 → 6.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 (101) hide show
  1. package/.changelog.draft +1 -5
  2. package/CHANGELOG.md +226 -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/Blocks/Teaser/schema.js +1 -7
  17. package/src/components/Footer/ColumnLinks.tsx +35 -0
  18. package/src/components/Footer/Footer.tsx +32 -0
  19. package/src/components/Footer/slots/Colophon.tsx +24 -0
  20. package/src/components/Footer/slots/Copyright.tsx +65 -0
  21. package/src/components/Footer/slots/CoreFooter.tsx +82 -0
  22. package/src/components/Footer/slots/FollowUsLogoAndLinks.tsx +80 -0
  23. package/src/components/Footer/slots/FooterLogos.tsx +44 -0
  24. package/src/components/Header/Header.tsx +257 -0
  25. package/src/components/Logo/Logo.tsx +85 -0
  26. package/src/components/{Footer/FooterLogos.tsx → LogosContainer/LogosContainer.tsx} +24 -25
  27. package/src/components/MobileNavigation/MobileNavigation.jsx +53 -18
  28. package/src/components/Navigation/Navigation.jsx +14 -3
  29. package/src/components/SearchWidget/IntranetSearchWidget.jsx +32 -5
  30. package/src/components/SearchWidget/SearchWidget.jsx +1 -1
  31. package/src/components/StickyMenu/StickyMenu.tsx +36 -0
  32. package/src/components/Summary/DefaultSummary.jsx +16 -0
  33. package/src/components/Summary/EventSummary.jsx +38 -0
  34. package/src/components/Summary/FileSummary.jsx +24 -0
  35. package/src/components/Summary/NewsItemSummary.jsx +40 -0
  36. package/src/components/Tags/Tags.jsx +46 -0
  37. package/src/components/Theme/EventView.jsx +19 -25
  38. package/src/components/Theme/NewsItemView.jsx +13 -9
  39. package/src/components/Theming/Theming.tsx +20 -17
  40. package/src/components/Widgets/{BlockAlignmentWidget.tsx → BlockAlignment.tsx} +9 -2
  41. package/src/components/Widgets/{BlockWidthWidget.tsx → BlockWidth.tsx} +10 -3
  42. package/src/components/Widgets/BlocksObject.tsx +353 -0
  43. package/src/components/Widgets/Buttons.tsx +117 -0
  44. package/src/components/Widgets/ColorContrastChecker.tsx +117 -0
  45. package/src/components/Widgets/ColorPicker.tsx +59 -0
  46. package/src/components/Widgets/{ColorPickerWidget.tsx → ColorSwatch.tsx} +5 -5
  47. package/src/components/Widgets/ObjectList.tsx +342 -0
  48. package/src/components/Widgets/{ThemingColorPicker.tsx → RACThemingColorPicker.tsx} +4 -0
  49. package/src/components/Widgets/Size.tsx +75 -0
  50. package/src/components/Widgets/ThemeColorSwatch.tsx +17 -0
  51. package/src/components/Widgets/schema/footerLinksSchema.ts +64 -0
  52. package/src/components/Widgets/schema/footerLogosSchema.ts +98 -0
  53. package/src/components/Widgets/schema/headerActionsSchema.ts +64 -0
  54. package/src/components/Widgets/schema/iconLinkListSchema.ts +98 -0
  55. package/src/config/blocks.tsx +39 -20
  56. package/src/config/settings.ts +54 -12
  57. package/src/config/slots.ts +36 -1
  58. package/src/config/summary.ts +24 -0
  59. package/src/config/widgets.ts +57 -20
  60. package/src/customizations/volto/components/manage/Blocks/Teaser/DefaultBody.jsx +8 -0
  61. package/src/customizations/volto/components/theme/Tags/Tags.jsx +11 -0
  62. package/src/customizations/volto/components/theme/View/RenderBlocks.jsx +2 -1
  63. package/src/helpers/DndSortableList.tsx +138 -0
  64. package/src/helpers/dates.js +22 -0
  65. package/src/helpers/doesNodeContainClick.js +64 -0
  66. package/src/helpers/useLiveData.ts +29 -0
  67. package/src/index.ts +33 -2
  68. package/src/primitives/IconLinkList.tsx +69 -0
  69. package/src/primitives/LinkList.tsx +35 -0
  70. package/src/theme/_bgcolor-blocks-layout.scss +50 -12
  71. package/src/theme/_container.scss +4 -0
  72. package/src/theme/_content.scss +6 -0
  73. package/src/theme/_footer.scss +295 -43
  74. package/src/theme/_header.scss +132 -19
  75. package/src/theme/_layout.scss +11 -1
  76. package/src/theme/_sitemap.scss +4 -0
  77. package/src/theme/_utils.scss +14 -1
  78. package/src/theme/_variables.scss +12 -3
  79. package/src/theme/_widgets.scss +102 -10
  80. package/src/theme/blocks/_eventMetadata.scss +5 -2
  81. package/src/theme/blocks/_grid.scss +3 -3
  82. package/src/theme/blocks/_highlight.scss +17 -44
  83. package/src/theme/blocks/_listing.scss +25 -16
  84. package/src/theme/blocks/_maps.scss +3 -3
  85. package/src/theme/blocks/_slider.scss +5 -1
  86. package/src/theme/main.scss +1 -0
  87. package/src/theme/sticky-menu.scss +50 -0
  88. package/src/types.d.ts +102 -0
  89. package/tsconfig.json +1 -1
  90. package/src/components/Footer/Footer.jsx +0 -115
  91. package/src/components/Footer/FooterLinks.tsx +0 -57
  92. package/src/components/Header/Header.jsx +0 -161
  93. package/src/components/Logo/Logo.jsx +0 -51
  94. package/src/components/Widgets/AlignWidget.jsx +0 -80
  95. package/src/components/Widgets/BackgroundColorWidget.tsx +0 -17
  96. package/src/components/Widgets/BlocksObjectWidget.tsx +0 -333
  97. package/src/components/Widgets/ButtonsWidget.tsx +0 -68
  98. package/src/components/Widgets/FooterLinksWidget.tsx +0 -106
  99. package/src/components/Widgets/FooterLogosWidget.tsx +0 -120
  100. package/src/static/container-query-polyfill.modern.js +0 -1
  101. package/src/types/index.d.ts +0 -1
@@ -11,16 +11,48 @@ msgstr ""
11
11
  "Content-Transfer-Encoding: \n"
12
12
  "Plural-Forms: \n"
13
13
 
14
+ #. Default: "Action"
15
+ #: components/Widgets/schema/headerActionsSchema
16
+ msgid "Action"
17
+ msgstr ""
18
+
19
+ #. Default: "Add"
20
+ #: components/Widgets/BlocksObject
21
+ #: components/Widgets/ObjectList
22
+ msgid "Add (object list)"
23
+ msgstr ""
24
+
25
+ #. Default: "Add action"
26
+ #: components/Widgets/schema/headerActionsSchema
27
+ msgid "Add action"
28
+ msgstr ""
29
+
30
+ #. Default: "Add link"
31
+ #: components/Widgets/schema/footerLinksSchema
32
+ msgid "Add link"
33
+ msgstr ""
34
+
35
+ #. Default: "Add logo"
36
+ #: components/Widgets/schema/footerLogosSchema
37
+ msgid "Add logo"
38
+ msgstr ""
39
+
40
+ #. Default: "Alignment"
41
+ #: components/Blocks/Button/schema
42
+ #: components/Blocks/Separator/schema
43
+ msgid "Alignment"
44
+ msgstr ""
45
+
46
+ #. Default: "Alt text"
47
+ #: components/Widgets/schema/footerLogosSchema
48
+ msgid "Alt text"
49
+ msgstr ""
50
+
14
51
  #. Default: "Back"
15
52
  #: components/MobileNavigation/MobileNavigation
16
53
  msgid "Back"
17
54
  msgstr "Voltar"
18
55
 
19
- #. Default: "Back to homepage"
20
- #: components/Logo/Logo
21
- msgid "Back to homepage"
22
- msgstr "Voltar à página inicial"
23
-
24
56
  #. Default: "Background color"
25
57
  #: components/Blocks/schema
26
58
  msgid "Background color"
@@ -28,6 +60,8 @@ msgstr "Cor de fundo"
28
60
 
29
61
  #. Default: "Block Width"
30
62
  #: components/Blocks/Button/schema
63
+ #: components/Blocks/Image/schema
64
+ #: components/Blocks/Separator/schema
31
65
  msgid "Block Width"
32
66
  msgstr "Largura do bloco"
33
67
 
@@ -36,18 +70,13 @@ msgstr "Largura do bloco"
36
70
  msgid "Breadcrumbs"
37
71
  msgstr "Breadcrumbs"
38
72
 
39
- #. Default: "Browse the site, drop an image, or type an URL"
40
- #: components/Blocks/Image/Edit
41
- msgid "Browse the site, drop an image, or type an URL"
42
- msgstr "Encontre no site, envie uma imagem ou cole uma URL"
43
-
44
73
  #. Default: "Button text"
45
74
  #: components/Blocks/Slider/schema
46
75
  msgid "Button text"
47
76
  msgstr "Texto do botão"
48
77
 
49
78
  #. Default: "Center"
50
- #: components/Widgets/AlignWidget
79
+ #: components/Widgets/BlockAlignment
51
80
  msgid "Center"
52
81
  msgstr "Centralizado"
53
82
 
@@ -57,6 +86,17 @@ msgstr "Centralizado"
57
86
  msgid "Close menu"
58
87
  msgstr "Fechar menu"
59
88
 
89
+ #. Default: "Collapse item"
90
+ #: components/Widgets/BlocksObject
91
+ #: components/Widgets/ObjectList
92
+ msgid "Collapse item"
93
+ msgstr ""
94
+
95
+ #. Default: "The color contrast ratio {contrastRatio}:1 might not be accessible for all. WCAG Level: {complianceLevel}"
96
+ #: components/Widgets/ColorContrastChecker
97
+ msgid "ColorContrastCheckerMessage"
98
+ msgstr ""
99
+
60
100
  #. Default: "Contact"
61
101
  #: components/Blocks/EventMetadata/View
62
102
  msgid "Contact"
@@ -72,8 +112,14 @@ msgstr "Continue lendo"
72
112
  msgid "Copyright"
73
113
  msgstr "Copyright"
74
114
 
115
+ #. Default: "Default"
116
+ #: components/Widgets/BlockWidth
117
+ msgid "Default"
118
+ msgstr ""
119
+
75
120
  #. Default: "Description"
76
121
  #: components/Blocks/Image/schema
122
+ #: components/Widgets/schema/footerLogosSchema
77
123
  msgid "Description"
78
124
  msgstr "Descrição"
79
125
 
@@ -82,6 +128,12 @@ msgstr "Descrição"
82
128
  msgid "Distributed under the {license}."
83
129
  msgstr "Distribuído sob a licença {license}."
84
130
 
131
+ #. Default: "Empty object list"
132
+ #: components/Widgets/BlocksObject
133
+ #: components/Widgets/ObjectList
134
+ msgid "Empty object list"
135
+ msgstr ""
136
+
85
137
  #. Default: "End"
86
138
  #: components/Blocks/EventMetadata/View
87
139
  msgid "End"
@@ -93,7 +145,7 @@ msgid "Flag align"
93
145
  msgstr "Alinhar"
94
146
 
95
147
  #. Default: "Full"
96
- #: components/Widgets/AlignWidget
148
+ #: components/Widgets/BlockWidth
97
149
  msgid "Full"
98
150
  msgstr "Completo"
99
151
 
@@ -102,13 +154,24 @@ msgstr "Completo"
102
154
  msgid "GNU GPL license"
103
155
  msgstr "Licença GNU GPL"
104
156
 
157
+ #. Default: "Headline"
158
+ #: components/Widgets/schema/footerLogosSchema
159
+ msgid "Headline"
160
+ msgstr ""
161
+
105
162
  #. Default: "Hide Button"
106
163
  #: components/Blocks/Slider/schema
107
164
  msgid "Hide Button"
108
165
  msgstr "Ocultar botão"
109
166
 
167
+ #. Default: "Hide description"
168
+ #: components/Widgets/schema/footerLogosSchema
169
+ msgid "Hide description"
170
+ msgstr ""
171
+
110
172
  #. Default: "Home"
111
173
  #: components/Breadcrumbs/Breadcrumbs
174
+ #: components/Logo/Logo
112
175
  #: components/MobileNavigation/MobileNavigation
113
176
  msgid "Home"
114
177
  msgstr "Início"
@@ -123,11 +186,36 @@ msgstr "Baixar ICS"
123
186
  msgid "Image"
124
187
  msgstr "Imagem"
125
188
 
189
+ #. Default: "Large"
190
+ #: components/Widgets/Size
191
+ msgid "Large"
192
+ msgstr ""
193
+
194
+ #. Default: "Layout"
195
+ #: components/Widgets/BlockWidth
196
+ msgid "Layout"
197
+ msgstr ""
198
+
126
199
  #. Default: "Left"
127
- #: components/Widgets/AlignWidget
200
+ #: components/Widgets/BlockAlignment
128
201
  msgid "Left"
129
202
  msgstr "Esquerda"
130
203
 
204
+ #. Default: "Link"
205
+ #: components/Widgets/schema/footerLinksSchema
206
+ msgid "Link"
207
+ msgstr ""
208
+
209
+ #. Default: "List"
210
+ #: index
211
+ msgid "List"
212
+ msgstr ""
213
+
214
+ #. Default: "List with images"
215
+ #: index
216
+ msgid "List with images"
217
+ msgstr ""
218
+
131
219
  #. Default: "Location"
132
220
  #: components/Blocks/EventMetadata/View
133
221
  msgid "Location"
@@ -138,16 +226,36 @@ msgstr "Local"
138
226
  msgid "Log in"
139
227
  msgstr "Entrar"
140
228
 
229
+ #. Default: "Logo"
230
+ #: components/Widgets/schema/footerLogosSchema
231
+ msgid "Logo"
232
+ msgstr ""
233
+
234
+ #. Default: "Logo image"
235
+ #: components/Widgets/schema/footerLogosSchema
236
+ msgid "Logo image"
237
+ msgstr ""
238
+
239
+ #. Default: "Logo of"
240
+ #: components/Logo/Logo
241
+ msgid "Logo of"
242
+ msgstr ""
243
+
244
+ #. Default: "Medium"
245
+ #: components/Widgets/Size
246
+ msgid "Medium"
247
+ msgstr ""
248
+
249
+ #. Default: "Narrow"
250
+ #: components/Widgets/BlockWidth
251
+ msgid "Narrow"
252
+ msgstr ""
253
+
141
254
  #. Default: "Next Page"
142
255
  #: components/Blocks/Listing/ListingBody
143
256
  msgid "Next Page"
144
257
  msgstr "Próxima página"
145
258
 
146
- #. Default: "No date"
147
- #: components/Theme/EventView
148
- msgid "No date"
149
- msgstr "Sem data"
150
-
151
259
  #. Default: "No image selected"
152
260
  #: components/Blocks/Image/ImageSidebar
153
261
  msgid "No image selected"
@@ -158,6 +266,13 @@ msgstr "Nenhuma imagem selecionada"
158
266
  msgid "No items found in this container."
159
267
  msgstr "Nenhum item encontrado nesta pasta"
160
268
 
269
+ #. Default: "Open in a new tab"
270
+ #: components/Widgets/schema/footerLinksSchema
271
+ #: components/Widgets/schema/footerLogosSchema
272
+ #: components/Widgets/schema/headerActionsSchema
273
+ msgid "Open in a new tab"
274
+ msgstr ""
275
+
161
276
  #. Default: "Open menu"
162
277
  #: components/MobileNavigation/MobileNavigation
163
278
  #: components/Navigation/Navigation
@@ -176,6 +291,7 @@ msgstr "Telefone"
176
291
 
177
292
  #. Default: "Please choose an existing content as source for this element"
178
293
  #: components/Blocks/Slider/DefaultBody
294
+ #: components/Blocks/Teaser/DefaultBody
179
295
  msgid "Please choose an existing content as source for this element"
180
296
  msgstr "Por favor, escolha um conteúdo existente como fonte para esse elemento"
181
297
 
@@ -209,13 +325,19 @@ msgstr "Página anterior"
209
325
  msgid "Register"
210
326
  msgstr "Criar conta"
211
327
 
328
+ #. Default: "Remove item"
329
+ #: components/Widgets/BlocksObject
330
+ #: components/Widgets/ObjectList
331
+ msgid "Remove item"
332
+ msgstr ""
333
+
212
334
  #. Default: "Result"
213
335
  #: components/Blocks/Listing/ListingBody
214
336
  msgid "Result"
215
337
  msgstr "Resultado"
216
338
 
217
339
  #. Default: "Right"
218
- #: components/Widgets/AlignWidget
340
+ #: components/Widgets/BlockAlignment
219
341
  msgid "Right"
220
342
  msgstr "Direita"
221
343
 
@@ -249,16 +371,32 @@ msgstr "Resultados de busca"
249
371
  msgid "Searched for"
250
372
  msgstr "Busca por"
251
373
 
252
- #. Default: "Site"
253
- #: components/Logo/Logo
254
- msgid "Site"
255
- msgstr "Site"
374
+ #. Default: "Settings"
375
+ #: components/Widgets/schema/footerLogosSchema
376
+ msgid "Settings"
377
+ msgstr ""
378
+
379
+ #. Default: "Short line"
380
+ #: components/Blocks/Separator/schema
381
+ msgid "Short line"
382
+ msgstr ""
383
+
384
+ #. Default: "Show item"
385
+ #: components/Widgets/BlocksObject
386
+ #: components/Widgets/ObjectList
387
+ msgid "Show item"
388
+ msgstr ""
256
389
 
257
390
  #. Default: "Sitemap"
258
391
  #: index
259
392
  msgid "Sitemap"
260
393
  msgstr "Mapa do Site"
261
394
 
395
+ #. Default: "Small"
396
+ #: components/Widgets/Size
397
+ msgid "Small"
398
+ msgstr ""
399
+
262
400
  #. Default: "Sorting"
263
401
  #: components/Blocks/Search/TopSideFacets
264
402
  msgid "Sorting"
@@ -279,6 +417,13 @@ msgstr "Início"
279
417
  msgid "Switch to"
280
418
  msgstr ""
281
419
 
420
+ #. Default: "Target"
421
+ #: components/Widgets/schema/footerLinksSchema
422
+ #: components/Widgets/schema/footerLogosSchema
423
+ #: components/Widgets/schema/headerActionsSchema
424
+ msgid "Target"
425
+ msgstr ""
426
+
282
427
  #. Default: "The {plonecms} is {copyright} 2000-{current_year} by the {plonefoundation} and friends."
283
428
  #: components/Footer/Footer
284
429
  msgid "The {plonecms} is {copyright} 2000-{current_year} by the {plonefoundation} and friends."
@@ -286,24 +431,17 @@ msgstr "O {plonecms} tem {copyright} 2000-{current_year} pela {plonefoundation}
286
431
 
287
432
  #. Default: "Title"
288
433
  #: components/Blocks/Image/schema
434
+ #: components/Widgets/schema/footerLinksSchema
435
+ #: components/Widgets/schema/footerLogosSchema
436
+ #: components/Widgets/schema/headerActionsSchema
289
437
  msgid "Title"
290
438
  msgstr "Título"
291
439
 
292
- #. Default: "Uploading image"
293
- #: components/Blocks/Image/Edit
294
- msgid "Uploading image"
295
- msgstr "Enviando imagem"
296
-
297
440
  #. Default: "Website"
298
441
  #: components/Blocks/EventMetadata/View
299
442
  msgid "Website"
300
443
  msgstr "Site"
301
444
 
302
- #. Default: "Wide"
303
- #: components/Widgets/AlignWidget
304
- msgid "Wide"
305
- msgstr "Largo"
306
-
307
445
  #. Default: "Clear image"
308
446
  #: components/Blocks/Image/ImageSidebar
309
447
  msgid "image_block_clear"
@@ -328,8 +466,3 @@ msgstr "Mais informações"
328
466
  #: components/Blocks/Listing/ListingBody
329
467
  msgid "of"
330
468
  msgstr "de"
331
-
332
- #. Default: ""
333
- #: components/Header/Header
334
- msgid "siteLabel"
335
- msgstr ""