@kitconcept/volto-light-theme 7.0.0 → 7.1.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.
package/.changelog.draft CHANGED
@@ -1,8 +1,18 @@
1
- ## 7.0.0 (2025-09-25)
1
+ ## 7.1.0 (2025-09-29)
2
+
3
+ ### Feature
4
+
5
+ - Add Basque translation @erral [#675](https://github.com/kitconcept/volto-light-theme/pull/675)
2
6
 
3
7
  ### Bugfix
4
8
 
5
- - Ensure the Refresh Content button correctly loads the preview image when using preview_image_link for Slider block. @iFlameing
6
- - Last german literal fix: ALT-Text. @sneridagh
9
+ - Fix use Sass interpolation for CSS variable fallbacks @iRohitSingh [#673](https://github.com/kitconcept/volto-light-theme/pull/673)
10
+ - Fix vertical spacing for first block in case that there is a change of color from default. @sneridagh [#676](https://github.com/kitconcept/volto-light-theme/pull/676)
11
+ - Don't show parent tags when adding the child. @iFlameing
12
+
13
+ ### Internal
14
+
15
+ - Fix cypress test for calendar block. @iFlameing [#calendar-cypress](https://github.com/kitconcept/volto-light-theme/pull/calendar-cypress)
16
+ - Misc bugfixes. Upgrade to Volto 18.27.2. @sneridagh
7
17
 
8
18
 
package/CHANGELOG.md CHANGED
@@ -8,6 +8,23 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 7.1.0 (2025-09-29)
12
+
13
+ ### Feature
14
+
15
+ - Add Basque translation @erral [#675](https://github.com/kitconcept/volto-light-theme/pull/675)
16
+
17
+ ### Bugfix
18
+
19
+ - Fix use Sass interpolation for CSS variable fallbacks @iRohitSingh [#673](https://github.com/kitconcept/volto-light-theme/pull/673)
20
+ - Fix vertical spacing for first block in case that there is a change of color from default. @sneridagh [#676](https://github.com/kitconcept/volto-light-theme/pull/676)
21
+ - Don't show parent tags when adding the child. @iFlameing
22
+
23
+ ### Internal
24
+
25
+ - Fix cypress test for calendar block. @iFlameing [#calendar-cypress](https://github.com/kitconcept/volto-light-theme/pull/calendar-cypress)
26
+ - Misc bugfixes. Upgrade to Volto 18.27.2. @sneridagh
27
+
11
28
  ## 7.0.0 (2025-09-25)
12
29
 
13
30
  ### Bugfix
@@ -5,75 +5,73 @@ msgstr ""
5
5
  "POT-Creation-Date: 2024-02-08T13:36:14.317Z\n"
6
6
  "PO-Revision-Date: \n"
7
7
  "Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
8
- "Language: eu\n"
9
8
  "Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
9
+ "Language: eu\n"
10
+ "MIME-Version: 1.0\n"
10
11
  "Content-Type: text/plain; charset=utf-8\n"
11
12
  "Content-Transfer-Encoding: 8bit\n"
12
13
  "Plural-Forms: nplurals=1; plural=0;\n"
13
- "MIME-Version: 1.0\n"
14
14
  "Language-Code: en\n"
15
15
  "Language-Name: English\n"
16
16
  "Preferred-Encodings: utf-8\n"
17
17
  "Domain: volto\n"
18
- "X-Generator: Poedit 3.0.1\n"
18
+ "X-Generator: Poedit 3.4.2\n"
19
19
 
20
20
  #. Default: "Action"
21
21
  #: components/Widgets/schema/headerActionsSchema
22
22
  msgid "Action"
23
- msgstr ""
23
+ msgstr "Akzioa"
24
24
 
25
25
  #. Default: "Add"
26
- #: components/Widgets/BlocksObject
27
- #: components/Widgets/ObjectList
26
+ #: components/Widgets/BlocksObject components/Widgets/ObjectList
28
27
  msgid "Add (object list)"
29
- msgstr ""
28
+ msgstr "Gehitu (objektu zerrenda)"
30
29
 
31
30
  #. Default: "Add action"
32
31
  #: components/Widgets/schema/headerActionsSchema
33
32
  msgid "Add action"
34
- msgstr ""
33
+ msgstr "Gehitu akzioa"
35
34
 
36
35
  #. Default: "Add item"
37
36
  #: components/Widgets/schema/iconLinkListSchema
38
37
  msgid "Add item"
39
- msgstr ""
38
+ msgstr "Gehitu elementua"
40
39
 
41
40
  #. Default: "Add link"
42
41
  #: components/Widgets/schema/footerLinksSchema
43
42
  msgid "Add link"
44
- msgstr ""
43
+ msgstr "Gehitu esteka"
45
44
 
46
45
  #. Default: "Add logo"
47
46
  #: components/Widgets/schema/footerLogosSchema
48
47
  msgid "Add logo"
49
- msgstr ""
48
+ msgstr "Gehitu logoa"
50
49
 
51
50
  #. Default: "Advanced facet?"
52
51
  #: components/Blocks/EventCalendar/Search/schema
53
52
  msgid "Advanced facet?"
54
- msgstr ""
53
+ msgstr "Fazeta aurreratua?"
55
54
 
56
55
  #. Default: "Advanced facets are initially hidden and displayed on demand"
57
56
  #: components/Blocks/EventCalendar/Search/schema
58
57
  msgid "Advanced facets are initially hidden and displayed on demand"
59
- msgstr ""
58
+ msgstr "Fazeta aurreratuak ezkutatuta daude hasieran eta eskatu ahala erakusten dira"
60
59
 
61
60
  #. Default: "Alignment"
62
- #: components/Blocks/Button/schema
63
- #: components/Blocks/Separator/schema
61
+ #: components/Blocks/Button/schema components/Blocks/Separator/schema
64
62
  msgid "Alignment"
65
- msgstr ""
63
+ msgstr "Alineazioa"
66
64
 
67
65
  #. Default: "Alt text"
68
66
  #: components/Widgets/schema/footerLogosSchema
69
67
  #: components/Widgets/schema/iconLinkListSchema
70
68
  msgid "Alt text"
71
- msgstr ""
69
+ msgstr "Testu alternatiboa"
72
70
 
73
71
  #. Default: "Ascending"
74
72
  #: components/Blocks/EventCalendar/Search/components/SortOn
75
73
  msgid "Ascending"
76
- msgstr ""
74
+ msgstr "Goraka"
77
75
 
78
76
  #. Default: "Back"
79
77
  #: components/MobileNavigation/MobileNavigation
@@ -88,11 +86,10 @@ msgstr "Atzeko planoaren kolorea"
88
86
  #. Default: "Base search query"
89
87
  #: components/Blocks/EventCalendar/Search/schema
90
88
  msgid "Base search query"
91
- msgstr ""
89
+ msgstr "Oinarrizko bilaketa"
92
90
 
93
91
  #. Default: "Block Width"
94
- #: components/Blocks/Button/schema
95
- #: components/Blocks/Image/schema
92
+ #: components/Blocks/Button/schema components/Blocks/Image/schema
96
93
  #: components/Blocks/Separator/schema
97
94
  msgid "Block Width"
98
95
  msgstr "Blokearen zabalera"
@@ -110,7 +107,7 @@ msgstr "Botoiaren testua"
110
107
  #. Default: "Cancel search"
111
108
  #: components/Blocks/EventCalendar/Search/components/SearchInput
112
109
  msgid "Cancel search"
113
- msgstr ""
110
+ msgstr "Utzi bilaketa"
114
111
 
115
112
  #. Default: "Center"
116
113
  #: components/Widgets/BlockAlignment
@@ -124,15 +121,14 @@ msgid "Close menu"
124
121
  msgstr "Itxi menua"
125
122
 
126
123
  #. Default: "Collapse item"
127
- #: components/Widgets/BlocksObject
128
- #: components/Widgets/ObjectList
124
+ #: components/Widgets/BlocksObject components/Widgets/ObjectList
129
125
  msgid "Collapse item"
130
- msgstr ""
126
+ msgstr "Ezkutatu elementua"
131
127
 
132
128
  #. Default: "The color contrast ratio {contrastRatio}:1 might not be accessible for all. WCAG Level: {complianceLevel}"
133
129
  #: components/Widgets/ColorContrastChecker
134
130
  msgid "ColorContrastCheckerMessage"
135
- msgstr ""
131
+ msgstr "Baliteke {contrastRatio}:1 kolore kontrastearen ratioa guztientzat irisgarri ez izatea. WCAG maila: {complianceLevel}"
136
132
 
137
133
  #. Default: "Contact"
138
134
  #: components/Blocks/EventMetadata/View
@@ -140,15 +136,14 @@ msgid "Contact"
140
136
  msgstr "Kontaktua"
141
137
 
142
138
  #. Default: "Continue reading"
143
- #: components/Blocks/Slider/DefaultBody
144
- #: components/Blocks/Slider/SliderVariants
139
+ #: components/Blocks/Slider/DefaultBody components/Blocks/Slider/SliderVariants
145
140
  msgid "Continue reading"
146
141
  msgstr "Jarraitu irakurtzen"
147
142
 
148
143
  #. Default: "Controls"
149
144
  #: components/Blocks/EventCalendar/Search/schema
150
145
  msgid "Controls"
151
- msgstr ""
146
+ msgstr "Kontrolak"
152
147
 
153
148
  #. Default: "Copyright"
154
149
  #: components/Footer/slots/Copyright
@@ -158,16 +153,15 @@ msgstr "Copyright"
158
153
  #. Default: "Default"
159
154
  #: components/Widgets/BlockWidth
160
155
  msgid "Default"
161
- msgstr ""
156
+ msgstr "Defektuzkoa"
162
157
 
163
158
  #. Default: "Descending"
164
159
  #: components/Blocks/EventCalendar/Search/components/SortOn
165
160
  msgid "Descending"
166
- msgstr ""
161
+ msgstr "Beheraka"
167
162
 
168
163
  #. Default: "Description"
169
- #: components/Blocks/Image/schema
170
- #: components/Widgets/schema/footerLogosSchema
164
+ #: components/Blocks/Image/schema components/Widgets/schema/footerLogosSchema
171
165
  #: components/Widgets/schema/iconLinkListSchema
172
166
  msgid "Description"
173
167
  msgstr "Deskribapena"
@@ -175,23 +169,22 @@ msgstr "Deskribapena"
175
169
  #. Default: "Distributed under the {license}."
176
170
  #: components/Footer/slots/Copyright
177
171
  msgid "Distributed under the {license}."
178
- msgstr "{lizentzia} lizentziapean banatua."
172
+ msgstr "{license} lizentziapean banatua."
179
173
 
180
174
  #. Default: "Download file"
181
175
  #: components/Theme/FileView
182
176
  msgid "Download file"
183
- msgstr ""
177
+ msgstr "Deskargatu fitxategia"
184
178
 
185
179
  #. Default: "E-mail"
186
180
  #: components/Summary/PersonSummary
187
181
  msgid "E-mail"
188
- msgstr ""
182
+ msgstr "Eposta"
189
183
 
190
184
  #. Default: "Empty object list"
191
- #: components/Widgets/BlocksObject
192
- #: components/Widgets/ObjectList
185
+ #: components/Widgets/BlocksObject components/Widgets/ObjectList
193
186
  msgid "Empty object list"
194
- msgstr ""
187
+ msgstr "Hustu objektuen zerrenda"
195
188
 
196
189
  #. Default: "End"
197
190
  #: components/Blocks/EventMetadata/View
@@ -201,22 +194,22 @@ msgstr "Amaiera"
201
194
  #. Default: "Facet"
202
195
  #: components/Blocks/EventCalendar/Search/schema
203
196
  msgid "Facet"
204
- msgstr ""
197
+ msgstr "Fazeta"
205
198
 
206
199
  #. Default: "Facet widget"
207
200
  #: components/Blocks/EventCalendar/Search/schema
208
201
  msgid "Facet widget"
209
- msgstr ""
202
+ msgstr "Fazetaren widgeta"
210
203
 
211
204
  #. Default: "Facets"
212
205
  #: components/Blocks/EventCalendar/Search/schema
213
206
  msgid "Facets"
214
- msgstr ""
207
+ msgstr "Fazetak"
215
208
 
216
209
  #. Default: "Field"
217
210
  #: components/Blocks/EventCalendar/Search/schema
218
211
  msgid "Field"
219
- msgstr ""
212
+ msgstr "Eremua"
220
213
 
221
214
  #. Default: "Align"
222
215
  #: components/Blocks/Slider/schema
@@ -226,7 +219,7 @@ msgstr "Alineazioa"
226
219
  #. Default: "Follow us:"
227
220
  #: components/Footer/slots/FollowUsLogoAndLinks
228
221
  msgid "Follow us:"
229
- msgstr ""
222
+ msgstr "Jarrai gaitzazu"
230
223
 
231
224
  #. Default: "Full"
232
225
  #: components/Widgets/BlockWidth
@@ -241,12 +234,12 @@ msgstr "GNU GPL"
241
234
  #. Default: "Headline"
242
235
  #: components/Blocks/EventCalendar/Search/schema
243
236
  msgid "Headline"
244
- msgstr ""
237
+ msgstr "Goiburukoa"
245
238
 
246
239
  #. Default: "Hidden facets will still filter the results if proper parameters are passed in URLs"
247
240
  #: components/Blocks/EventCalendar/Search/schema
248
241
  msgid "Hidden facets will still filter the results if proper parameters are passed in URLs"
249
- msgstr ""
242
+ msgstr "Ezkutatutako fazetek ere emaitzak filtratzen dituzte URLan dagozkien parametroak pasatuz gero"
250
243
 
251
244
  #. Default: "Hide Button"
252
245
  #: components/Blocks/Slider/schema
@@ -256,11 +249,10 @@ msgstr "Ezkutatu botoia"
256
249
  #. Default: "Hide facet?"
257
250
  #: components/Blocks/EventCalendar/Search/schema
258
251
  msgid "Hide facet?"
259
- msgstr ""
252
+ msgstr "Ezkutatu fazeta?"
260
253
 
261
254
  #. Default: "Home"
262
- #: components/Breadcrumbs/Breadcrumbs
263
- #: components/Logo/Logo
255
+ #: components/Breadcrumbs/Breadcrumbs components/Logo/Logo
264
256
  #: components/MobileNavigation/MobileNavigation
265
257
  msgid "Home"
266
258
  msgstr "Hasiera"
@@ -273,7 +265,7 @@ msgstr "Deskargatu ICS fitxategia "
273
265
  #. Default: "Icon"
274
266
  #: components/Widgets/schema/iconLinkListSchema
275
267
  msgid "Icon"
276
- msgstr ""
268
+ msgstr "Ikonoa"
277
269
 
278
270
  #. Default: "Image"
279
271
  #: components/Blocks/Image/ImageSidebar
@@ -281,35 +273,34 @@ msgid "Image"
281
273
  msgstr "Irudia"
282
274
 
283
275
  #. Default: "Invalid block - Will be removed on saving"
284
- #: components/Theme/RenderBlocks
285
- #: components/Theme/RenderBlocksV2
276
+ #: components/Theme/RenderBlocks components/Theme/RenderBlocksV2
286
277
  msgid "Invalid Block"
287
- msgstr ""
278
+ msgstr "Blokea ez da zuzena"
288
279
 
289
280
  #. Default: "Invalid Slider source"
290
281
  #: components/Blocks/Slider/Data
291
282
  msgid "Invalid Slider source"
292
- msgstr ""
283
+ msgstr "Sliderraren jatorria ez da zuzena"
293
284
 
294
285
  #. Default: "Item"
295
286
  #: components/Widgets/schema/iconLinkListSchema
296
287
  msgid "Item"
297
- msgstr ""
288
+ msgstr "Elementua"
298
289
 
299
290
  #. Default: "Label"
300
291
  #: components/Blocks/EventCalendar/Search/schema
301
292
  msgid "Label"
302
- msgstr ""
293
+ msgstr "Etiketa"
303
294
 
304
295
  #. Default: "Large"
305
296
  #: components/Widgets/Size
306
297
  msgid "Large"
307
- msgstr ""
298
+ msgstr "Handia"
308
299
 
309
300
  #. Default: "Layout"
310
301
  #: components/Widgets/BlockWidth
311
302
  msgid "Layout"
312
- msgstr ""
303
+ msgstr "Itxura"
313
304
 
314
305
  #. Default: "Left"
315
306
  #: components/Widgets/BlockAlignment
@@ -319,17 +310,17 @@ msgstr "Ezkerrean"
319
310
  #. Default: "Link"
320
311
  #: components/Widgets/schema/footerLinksSchema
321
312
  msgid "Link"
322
- msgstr ""
313
+ msgstr "Esteka"
323
314
 
324
315
  #. Default: "List"
325
316
  #: index
326
317
  msgid "List"
327
- msgstr ""
318
+ msgstr "Zerrenda"
328
319
 
329
320
  #. Default: "List with images"
330
321
  #: index
331
322
  msgid "List with images"
332
- msgstr ""
323
+ msgstr "Irudidun zerrenda"
333
324
 
334
325
  #. Default: "Location"
335
326
  #: components/Blocks/EventMetadata/View
@@ -344,47 +335,47 @@ msgstr "Sartu"
344
335
  #. Default: "Log out"
345
336
  #: components/Anontools/Anontools
346
337
  msgid "Log out"
347
- msgstr ""
338
+ msgstr "Irten"
348
339
 
349
340
  #. Default: "Logo"
350
341
  #: components/Widgets/schema/footerLogosSchema
351
342
  msgid "Logo"
352
- msgstr ""
343
+ msgstr "Logoa"
353
344
 
354
345
  #. Default: "Logo image"
355
346
  #: components/Widgets/schema/footerLogosSchema
356
347
  msgid "Logo image"
357
- msgstr ""
348
+ msgstr "Logoaren irudia"
358
349
 
359
350
  #. Default: "Logo of"
360
351
  #: components/Logo/Logo
361
352
  msgid "Logo of"
362
- msgstr ""
353
+ msgstr "Logoa"
363
354
 
364
355
  #. Default: "Medium"
365
356
  #: components/Widgets/Size
366
357
  msgid "Medium"
367
- msgstr ""
358
+ msgstr "Ertaina"
368
359
 
369
360
  #. Default: "Move down"
370
361
  #: components/Blocks/Block/Edit
371
362
  msgid "Move down"
372
- msgstr ""
363
+ msgstr "Mugitu behera"
373
364
 
374
365
  #. Default: "Move up"
375
366
  #: components/Blocks/Block/Edit
376
367
  msgid "Move up"
377
- msgstr ""
368
+ msgstr "Mugitu gora"
378
369
 
379
370
  #. Default: "Multiple choices?"
380
371
  #: components/Blocks/EventCalendar/Search/schema
381
372
  msgid "Multiple choices?"
382
- msgstr ""
373
+ msgstr "Aukera anitzak?"
383
374
 
384
375
  #. Default: "Narrow"
385
376
  #: components/Widgets/BlockWidth
386
377
  msgid "Narrow"
387
- msgstr ""
378
+ msgstr "Estua"
388
379
 
389
380
  #. Default: "Next Page"
390
381
  #: components/Blocks/Listing/ListingBody
@@ -404,12 +395,12 @@ msgstr "Ez dago elementurik"
404
395
  #. Default: "No selection"
405
396
  #: components/Blocks/EventCalendar/Search/components/SortOn
406
397
  msgid "No selection"
407
- msgstr ""
398
+ msgstr "Aukeraketarik ez"
408
399
 
409
400
  #. Default: "Open configuration"
410
401
  #: components/Widgets/ModalJSONEditor
411
402
  msgid "Open configuration"
412
- msgstr ""
403
+ msgstr "Ireki konfigurazioa"
413
404
 
414
405
  #. Default: "Open in a new tab"
415
406
  #: components/Widgets/schema/footerLinksSchema
@@ -417,7 +408,7 @@ msgstr ""
417
408
  #: components/Widgets/schema/headerActionsSchema
418
409
  #: components/Widgets/schema/iconLinkListSchema
419
410
  msgid "Open in a new tab"
420
- msgstr ""
411
+ msgstr "Ireki fitxa berrian"
421
412
 
422
413
  #. Default: "Open menu"
423
414
  #: components/MobileNavigation/MobileNavigation
@@ -433,24 +424,21 @@ msgstr "Gainbegirada"
433
424
  #. Default: "Pagination Navigation"
434
425
  #: components/Blocks/Listing/ListingBody
435
426
  msgid "Pagination Navigation"
436
- msgstr ""
427
+ msgstr "Orrialdekako nabigazioa"
437
428
 
438
429
  #. Default: "Pagination Navigation for {headline}"
439
430
  #: components/Blocks/Listing/ListingBody
440
431
  msgid "Pagination Navigation for {headline}"
441
- msgstr ""
432
+ msgstr "{headline}en orrialdekako nabigazioa"
442
433
 
443
434
  #. Default: "Phone"
444
- #: components/Blocks/EventMetadata/View
445
- #: components/Summary/PersonSummary
435
+ #: components/Blocks/EventMetadata/View components/Summary/PersonSummary
446
436
  msgid "Phone"
447
437
  msgstr "Telefonoa"
448
438
 
449
439
  #. Default: "Please choose an existing content as source for this element"
450
- #: components/Blocks/Slider/DefaultBody
451
- #: components/Blocks/Slider/SliderVariants
452
- #: components/Blocks/Slider/View
453
- #: components/Blocks/Teaser/Body
440
+ #: components/Blocks/Slider/DefaultBody components/Blocks/Slider/SliderVariants
441
+ #: components/Blocks/Slider/View components/Blocks/Teaser/Body
454
442
  msgid "Please choose an existing content as source for this element"
455
443
  msgstr "Aukeratu eduki bat elementu honen iturburu gisa"
456
444
 
@@ -477,7 +465,7 @@ msgstr "Aurreko orria"
477
465
  #. Default: "Refresh source content"
478
466
  #: components/Blocks/Slider/Data
479
467
  msgid "Refresh source content"
480
- msgstr ""
468
+ msgstr "Freskatu jatorrizko edukia"
481
469
 
482
470
  #. Default: "Register"
483
471
  #: components/Anontools/Anontools
@@ -485,15 +473,14 @@ msgid "Register"
485
473
  msgstr "Eman izena"
486
474
 
487
475
  #. Default: "Remove item"
488
- #: components/Widgets/BlocksObject
489
- #: components/Widgets/ObjectList
476
+ #: components/Widgets/BlocksObject components/Widgets/ObjectList
490
477
  msgid "Remove item"
491
- msgstr ""
478
+ msgstr "Kendu elementua"
492
479
 
493
480
  #. Default: "Reset the block"
494
481
  #: components/Blocks/Slider/Data
495
482
  msgid "Reset the block"
496
- msgstr ""
483
+ msgstr "Berrezarri blokea"
497
484
 
498
485
  #. Default: "Result"
499
486
  #: components/Blocks/Listing/ListingBody
@@ -508,7 +495,7 @@ msgstr "Eskuman"
508
495
  #. Default: "Room"
509
496
  #: components/Summary/PersonSummary
510
497
  msgid "Room"
511
- msgstr ""
498
+ msgstr "Gela"
512
499
 
513
500
  #. Default: "Search"
514
501
  #: components/Blocks/EventCalendar/Search/components/SearchInput
@@ -530,12 +517,12 @@ msgstr "Bilatu atarian"
530
517
  #. Default: "Search block"
531
518
  #: components/Blocks/EventCalendar/Search/schema
532
519
  msgid "Search block"
533
- msgstr ""
520
+ msgstr "Bilaketa blokea"
534
521
 
535
522
  #. Default: "Search button label"
536
523
  #: components/Blocks/EventCalendar/Search/schema
537
524
  msgid "Search button label"
538
- msgstr ""
525
+ msgstr "Bilaketa botoiaren etiketa"
539
526
 
540
527
  #. Default: "Search for People, E-Mail Address, Phone Number, ..."
541
528
  #: components/SearchWidget/IntranetSearchWidget
@@ -545,7 +532,7 @@ msgstr "Bilatu pertsonak, eposta helbideak, telefono zenbakiak, ..."
545
532
  #. Default: "Search input label"
546
533
  #: components/Blocks/EventCalendar/Search/schema
547
534
  msgid "Search input label"
548
- msgstr ""
535
+ msgstr "Bilaketa botoiaren testua"
549
536
 
550
537
  #. Default: "Search results"
551
538
  #: components/Blocks/Search/components/SearchDetails
@@ -560,43 +547,42 @@ msgstr "Hau bilatu duzu"
560
547
  #. Default: "Section title"
561
548
  #: components/Blocks/EventCalendar/Search/schema
562
549
  msgid "Section title"
563
- msgstr ""
550
+ msgstr "Atalaren izenburua"
564
551
 
565
552
  #. Default: "Short line"
566
553
  #: components/Blocks/Separator/schema
567
554
  msgid "Short line"
568
- msgstr ""
555
+ msgstr "Lerro laburra"
569
556
 
570
557
  #. Default: "Show item"
571
- #: components/Widgets/BlocksObject
572
- #: components/Widgets/ObjectList
558
+ #: components/Widgets/BlocksObject components/Widgets/ObjectList
573
559
  msgid "Show item"
574
- msgstr ""
560
+ msgstr "Erakutsi elementua"
575
561
 
576
562
  #. Default: "Show search button?"
577
563
  #: components/Blocks/EventCalendar/Search/schema
578
564
  msgid "Show search button?"
579
- msgstr ""
565
+ msgstr "Erakutsi bilaketa botoia?"
580
566
 
581
567
  #. Default: "Show search input?"
582
568
  #: components/Blocks/EventCalendar/Search/schema
583
569
  msgid "Show search input?"
584
- msgstr ""
570
+ msgstr "Erakutsi bilaketa laukia?"
585
571
 
586
572
  #. Default: "Show sorting?"
587
573
  #: components/Blocks/EventCalendar/Search/schema
588
574
  msgid "Show sorting?"
589
- msgstr ""
575
+ msgstr "Erakutsi ordenazioa?"
590
576
 
591
577
  #. Default: "Show total results"
592
578
  #: components/Blocks/EventCalendar/Search/schema
593
579
  msgid "Show total results"
594
- msgstr ""
580
+ msgstr "Erakutsi emaitza kopurua"
595
581
 
596
582
  #. Default: "Simple"
597
583
  #: index
598
584
  msgid "Simple"
599
- msgstr ""
585
+ msgstr "Sinplea"
600
586
 
601
587
  #. Default: "Sitemap"
602
588
  #: index
@@ -606,22 +592,22 @@ msgstr "Webgunearen mapa"
606
592
  #. Default: "Small"
607
593
  #: components/Widgets/Size
608
594
  msgid "Small"
609
- msgstr ""
595
+ msgstr "Txikia"
610
596
 
611
597
  #. Default: "Sort on"
612
598
  #: components/Blocks/EventCalendar/Search/components/SortOn
613
599
  msgid "Sort on"
614
- msgstr ""
600
+ msgstr "Ordenazioa"
615
601
 
616
602
  #. Default: "Sort on options"
617
603
  #: components/Blocks/EventCalendar/Search/schema
618
604
  msgid "Sort on options"
619
- msgstr ""
605
+ msgstr "Ordenazioaren aukerak"
620
606
 
621
607
  #. Default: "Sorted on"
622
608
  #: components/Blocks/EventCalendar/Search/components/SortOn
623
609
  msgid "Sorted on"
624
- msgstr ""
610
+ msgstr "Honen arabera ordenatuta"
625
611
 
626
612
  #. Default: "Sorting"
627
613
  #: components/Blocks/Search/TopSideFacets
@@ -629,15 +615,14 @@ msgid "Sorting"
629
615
  msgstr "Ordenazioa"
630
616
 
631
617
  #. Default: "Source"
632
- #: components/Blocks/Slider/DefaultBody
633
- #: components/Blocks/Slider/SliderVariants
618
+ #: components/Blocks/Slider/DefaultBody components/Blocks/Slider/SliderVariants
634
619
  msgid "Source"
635
620
  msgstr "Iturburua"
636
621
 
637
622
  #. Default: "Sponsored by:"
638
623
  #: components/Footer/slots/FollowUsLogoAndLinks
639
624
  msgid "Sponsored by:"
640
- msgstr ""
625
+ msgstr "Honek babestuta:"
641
626
 
642
627
  #. Default: "Start"
643
628
  #: components/Blocks/EventMetadata/View
@@ -655,21 +640,20 @@ msgstr "Hona aldatu"
655
640
  #: components/Widgets/schema/headerActionsSchema
656
641
  #: components/Widgets/schema/iconLinkListSchema
657
642
  msgid "Target"
658
- msgstr ""
643
+ msgstr "Helburua"
659
644
 
660
645
  #. Default: "The button presence disables the live search, the query is issued when you press ENTER"
661
646
  #: components/Blocks/EventCalendar/Search/schema
662
647
  msgid "The button presence disables the live search, the query is issued when you press ENTER"
663
- msgstr ""
648
+ msgstr "Botoia badago, zuzeneko bilaketa desgaituta dago, bilaketa ENTER sakatzean egingo da"
664
649
 
665
650
  #. Default: "The {plonecms} is {copyright} 2000-{current_year} by the {plonefoundation} and friends."
666
651
  #: components/Footer/slots/Copyright
667
652
  msgid "The {plonecms} is {copyright} 2000-{current_year} by the {plonefoundation} and friends."
668
- msgstr "{plonecms} {copyright} 2000-{current_year} {plonefoundation} eta lagunek egindakoa"
653
+ msgstr "{plonecms} {copyright} 2000-{current_year} {plonefoundation} eta lagunek egindakoa."
669
654
 
670
655
  #. Default: "Title"
671
- #: components/Blocks/Image/schema
672
- #: components/Widgets/schema/footerLinksSchema
656
+ #: components/Blocks/Image/schema components/Widgets/schema/footerLinksSchema
673
657
  #: components/Widgets/schema/footerLogosSchema
674
658
  #: components/Widgets/schema/headerActionsSchema
675
659
  #: components/Widgets/schema/iconLinkListSchema
@@ -677,11 +661,10 @@ msgid "Title"
677
661
  msgstr "Izenburua"
678
662
 
679
663
  #. Default: "Unknown Block {block}"
680
- #: components/Blocks/Block/Edit
681
- #: components/Theme/RenderBlocks
664
+ #: components/Blocks/Block/Edit components/Theme/RenderBlocks
682
665
  #: components/Theme/RenderBlocksV2
683
666
  msgid "Unknown Block"
684
- msgstr ""
667
+ msgstr "Bloke ezezaguna"
685
668
 
686
669
  #. Default: "Website"
687
670
  #: components/Blocks/EventMetadata/View
@@ -691,13 +674,12 @@ msgstr "Webgunea"
691
674
  #. Default: "Available views"
692
675
  #: components/Blocks/EventCalendar/Search/schema
693
676
  msgid "availableViews"
694
- msgstr ""
677
+ msgstr "Bistak"
695
678
 
696
679
  #. Default: "Delete"
697
- #: components/Blocks/Block/Edit
698
- #: components/Blocks/Block/EditBlockWrapper
680
+ #: components/Blocks/Block/Edit components/Blocks/Block/EditBlockWrapper
699
681
  msgid "delete"
700
- msgstr ""
682
+ msgstr "Ezabatu"
701
683
 
702
684
  #. Default: "Clear image"
703
685
  #: components/Blocks/Image/ImageSidebar
@@ -715,8 +697,7 @@ msgid "loading"
715
697
  msgstr "Kargatzen"
716
698
 
717
699
  #. Default: "More info"
718
- #: components/Blocks/Slider/DefaultBody
719
- #: components/Blocks/Slider/SliderVariants
700
+ #: components/Blocks/Slider/DefaultBody components/Blocks/Slider/SliderVariants
720
701
  msgid "moreInfo"
721
702
  msgstr "Informazio gehiago"
722
703
 
@@ -728,4 +709,4 @@ msgstr "-"
728
709
  #. Default: "Views"
729
710
  #: components/Blocks/EventCalendar/Search/schema
730
711
  msgid "views"
731
- msgstr ""
712
+ msgstr "Vistak"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitconcept/volto-light-theme",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
4
4
  "description": "Volto Light Theme by kitconcept",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -2,9 +2,10 @@ import { Link } from 'react-router-dom';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Container as SemanticContainer } from 'semantic-ui-react';
4
4
  import config from '@plone/registry';
5
+ import { useLiveData } from '@kitconcept/volto-light-theme/helpers/useLiveData';
5
6
 
6
7
  const Tags = ({ content }) => {
7
- const tags = content?.subjects || [];
8
+ const tags = useLiveData(content, undefined, 'subjects') || [];
8
9
  const Container =
9
10
  config.getComponent({ name: 'Container' }).component || SemanticContainer;
10
11
 
@@ -66,7 +66,6 @@ declare module '@plone/types' {
66
66
  themes?: StyleDefinition[];
67
67
  allowedBlocks?: string[];
68
68
  allowed_headline_tags?: string[][];
69
- dataAdapter?: any;
70
69
  unwantedButtons?: string[];
71
70
  imageScale?: string;
72
71
  allowed_headings?: string[][];
@@ -75,6 +74,10 @@ declare module '@plone/types' {
75
74
  headline: string;
76
75
  styles: string;
77
76
  }
77
+
78
+ export interface SettingsConfig {
79
+ blockModel?: number;
80
+ }
78
81
  }
79
82
 
80
83
  export default function install(config: ConfigType) {
@@ -1,5 +1,6 @@
1
1
  import { useSelector } from 'react-redux';
2
2
  import type { Content } from '@plone/types';
3
+ import { useLocation } from 'react-router-dom';
3
4
 
4
5
  type FormState = {
5
6
  content: {
@@ -12,17 +13,21 @@ type FormState = {
12
13
 
13
14
  export function useLiveData<T>(
14
15
  content: Content,
15
- behavior: string,
16
+ behavior: string | undefined,
16
17
  field: string,
17
18
  ) {
18
- const current = content?.['@components']?.inherit?.[behavior]?.data?.[
19
- field
20
- ] as T;
19
+ const location = useLocation();
20
+ const addMode = location?.pathname?.endsWith('/add');
21
+ const current = behavior
22
+ ? (content?.['@components']?.inherit?.[behavior]?.data?.[field] as T)
23
+ : (content[field] as T);
21
24
 
22
25
  const formData = useSelector<FormState, T>(
23
26
  (state) => state.form.global?.[field],
24
27
  );
25
28
 
29
+ if (addMode) return formData;
30
+
26
31
  const data = formData ?? current;
27
32
 
28
33
  return data;
@@ -3,7 +3,18 @@
3
3
  color: var(--theme-foreground-color);
4
4
  @include color-block-change-vertical-spacing();
5
5
 
6
- &:first-child {
6
+ // // TODO: investigate why on SSR the whitespace is removed and in client not
7
+ // // This is a workaround to avoid the two use cases...
8
+ // &[style*='--theme-color:#fff']:first-child,
9
+ // &[style*='--theme-color: #fff']:first-child {
10
+ // padding-top: 0;
11
+ // }
12
+
13
+ // &:first-child:has(> .previous--has--same--backgroundColor) {
14
+ // padding-top: 0;
15
+ // }
16
+
17
+ &:first-child:has(> :first-child.previous--has--same--backgroundColor) {
7
18
  padding-top: 0;
8
19
  }
9
20
 
@@ -5,9 +5,12 @@
5
5
  color: var(--footer-foreground, $black);
6
6
  text-align: center;
7
7
 
8
+ // Use #{$var} for Sass fallbacks in CSS vars.
9
+ // Without interpolation, $var stays literal in output and breaks.
10
+
8
11
  &:has(.main-footer) {
9
- --footer-background: var(--primary-color, $white);
10
- --footer-foreground: var(--primary-foreground-color, $black);
12
+ --footer-background: var(--primary-color, #{$white});
13
+ --footer-foreground: var(--primary-foreground-color, #{$black});
11
14
  }
12
15
 
13
16
  .container {
@@ -20,8 +23,8 @@
20
23
 
21
24
  .pre-footer {
22
25
  &:has(.logos-container) {
23
- --footer-background: var(--primary-color, $white);
24
- --footer-foreground: var(--primary-foreground-color, $black);
26
+ --footer-background: var(--primary-color, #{$white});
27
+ --footer-foreground: var(--primary-foreground-color, #{$black});
25
28
  }
26
29
 
27
30
  background: var(--footer-background, $white);
@@ -29,8 +32,8 @@
29
32
  }
30
33
 
31
34
  .main-footer {
32
- --footer-background: var(--secondary-color, $white);
33
- --footer-foreground: var(--secondary-foreground-color, $black);
35
+ --footer-background: var(--secondary-color, #{$white});
36
+ --footer-foreground: var(--secondary-foreground-color, #{$black});
34
37
 
35
38
  padding: $spacing-xlarge 2rem;
36
39
  background: var(--footer-background);