@plone/volto 18.0.0-alpha.47 → 18.0.0-alpha.49

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 (39) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/locales/ca/LC_MESSAGES/volto.po +1 -2
  3. package/locales/de/LC_MESSAGES/volto.po +1 -2
  4. package/locales/en/LC_MESSAGES/volto.po +1 -2
  5. package/locales/es/LC_MESSAGES/volto.po +1 -2
  6. package/locales/eu/LC_MESSAGES/volto.po +1 -2
  7. package/locales/fi/LC_MESSAGES/volto.po +1 -2
  8. package/locales/fr/LC_MESSAGES/volto.po +1 -2
  9. package/locales/hi/LC_MESSAGES/volto.po +1 -2
  10. package/locales/it/LC_MESSAGES/volto.po +1 -2
  11. package/locales/ja/LC_MESSAGES/volto.po +1 -2
  12. package/locales/nl/LC_MESSAGES/volto.po +1 -2
  13. package/locales/pt/LC_MESSAGES/volto.po +1 -2
  14. package/locales/pt_BR/LC_MESSAGES/volto.po +20 -21
  15. package/locales/pt_BR.json +1 -1
  16. package/locales/ro/LC_MESSAGES/volto.po +339 -334
  17. package/locales/ro.json +1 -1
  18. package/locales/volto.pot +1 -2
  19. package/locales/zh_CN/LC_MESSAGES/volto.po +1 -2
  20. package/package.json +4 -4
  21. package/src/components/manage/Blocks/Block/Edit.jsx +1 -2
  22. package/src/components/manage/Blocks/Block/EditBlockWrapper.jsx +5 -2
  23. package/src/components/manage/Blocks/Block/StyleWrapper.jsx +1 -1
  24. package/src/components/manage/Blocks/Listing/getAsyncData.js +8 -0
  25. package/src/components/manage/Blocks/ToC/View.jsx +18 -7
  26. package/src/components/manage/Blocks/ToC/variations/DefaultTocRenderer.jsx +2 -20
  27. package/src/components/manage/Blocks/ToC/variations/HorizontalMenu.jsx +2 -19
  28. package/src/components/manage/Widgets/IdWidget.jsx +6 -7
  29. package/src/components/theme/App/App.jsx +2 -0
  30. package/src/components/theme/App/App.test.jsx +4 -3
  31. package/src/components/theme/RouteAnnouncer/RouteAnnouncer.jsx +64 -0
  32. package/src/helpers/Blocks/Blocks.js +73 -33
  33. package/src/helpers/Blocks/Blocks.test.js +204 -27
  34. package/types/components/manage/Blocks/ToC/View.d.ts +1 -4
  35. package/types/components/manage/Blocks/ToC/variations/DefaultTocRenderer.d.ts +10 -5
  36. package/types/components/manage/Blocks/ToC/variations/HorizontalMenu.d.ts +10 -5
  37. package/types/components/manage/Blocks/ToC/variations/index.d.ts +16 -4
  38. package/types/components/theme/RouteAnnouncer/RouteAnnouncer.d.ts +2 -0
  39. package/types/helpers/Blocks/Blocks.d.ts +10 -1
package/CHANGELOG.md CHANGED
@@ -17,6 +17,38 @@ myst:
17
17
 
18
18
  <!-- towncrier release notes start -->
19
19
 
20
+ ## 18.0.0-alpha.49 (2024-10-31)
21
+
22
+ ### Feature
23
+
24
+ - Update Romanian translation. @avoinea [#6454](https://github.com/plone/volto/issues/6454)
25
+ - Update Brazilian Portuguese translation [@ericof]
26
+
27
+ ### Internal
28
+
29
+ - Update Browserlist @sneridagh [#6455](https://github.com/plone/volto/issues/6455)
30
+
31
+ ## 18.0.0-alpha.48 (2024-10-30)
32
+
33
+ ### Breaking
34
+
35
+ - Wrap Table of Contents block in a `nav` tag, instead of a `div` tag, for better representation improving the block accessibility. @Tishasoumya-02 @ichim-david [#6082](https://github.com/plone/volto/issues/6082)
36
+
37
+ ### Feature
38
+
39
+ - Enhance the `buildStyleObjectFromData` helper. @sneridagh [#6445](https://github.com/plone/volto/issues/6445)
40
+
41
+ ### Bugfix
42
+
43
+ - Fix error "Exception: No query supplied" in the listing block, when there is no criteria selected. @tedw87 [#3839](https://github.com/plone/volto/issues/3839)
44
+ - Fixed page changes not being announced to screen reader users. @JeffersonBledsoe [#5288](https://github.com/plone/volto/issues/5288)
45
+ - Fix useSelector is returned a different result when called with the same parameters in IdWidget. @iFlameing [#6449](https://github.com/plone/volto/issues/6449)
46
+ - Moved `applyBlockDefaults` one component up so the style is computed correctly. @sneridagh [#6451](https://github.com/plone/volto/issues/6451)
47
+
48
+ ### Documentation
49
+
50
+ - Added upgrade guide fix for HMR. @sneridagh [#6446](https://github.com/plone/volto/issues/6446)
51
+
20
52
  ## 18.0.0-alpha.47 (2024-10-27)
21
53
 
22
54
  ### Breaking
@@ -3622,8 +3622,7 @@ msgid "Table"
3622
3622
  msgstr "Taula"
3623
3623
 
3624
3624
  #. Default: "Table of Contents"
3625
- #: components/manage/Blocks/ToC/variations/DefaultTocRenderer
3626
- #: components/manage/Blocks/ToC/variations/HorizontalMenu
3625
+ #: components/manage/Blocks/ToC/View
3627
3626
  msgid "Table of Contents"
3628
3627
  msgstr "Taula de continguts"
3629
3628
 
@@ -3621,8 +3621,7 @@ msgid "Table"
3621
3621
  msgstr "Tabelle"
3622
3622
 
3623
3623
  #. Default: "Table of Contents"
3624
- #: components/manage/Blocks/ToC/variations/DefaultTocRenderer
3625
- #: components/manage/Blocks/ToC/variations/HorizontalMenu
3624
+ #: components/manage/Blocks/ToC/View
3626
3625
  msgid "Table of Contents"
3627
3626
  msgstr "Inhaltsverzeichnis"
3628
3627
 
@@ -3616,8 +3616,7 @@ msgid "Table"
3616
3616
  msgstr ""
3617
3617
 
3618
3618
  #. Default: "Table of Contents"
3619
- #: components/manage/Blocks/ToC/variations/DefaultTocRenderer
3620
- #: components/manage/Blocks/ToC/variations/HorizontalMenu
3619
+ #: components/manage/Blocks/ToC/View
3621
3620
  msgid "Table of Contents"
3622
3621
  msgstr ""
3623
3622
 
@@ -3623,8 +3623,7 @@ msgid "Table"
3623
3623
  msgstr "Tabla"
3624
3624
 
3625
3625
  #. Default: "Table of Contents"
3626
- #: components/manage/Blocks/ToC/variations/DefaultTocRenderer
3627
- #: components/manage/Blocks/ToC/variations/HorizontalMenu
3626
+ #: components/manage/Blocks/ToC/View
3628
3627
  msgid "Table of Contents"
3629
3628
  msgstr "Tabla de contenidos"
3630
3629
 
@@ -3623,8 +3623,7 @@ msgid "Table"
3623
3623
  msgstr "Taula"
3624
3624
 
3625
3625
  #. Default: "Table of Contents"
3626
- #: components/manage/Blocks/ToC/variations/DefaultTocRenderer
3627
- #: components/manage/Blocks/ToC/variations/HorizontalMenu
3626
+ #: components/manage/Blocks/ToC/View
3628
3627
  msgid "Table of Contents"
3629
3628
  msgstr "Edukien taula"
3630
3629
 
@@ -3621,8 +3621,7 @@ msgid "Table"
3621
3621
  msgstr "Taulukkoa"
3622
3622
 
3623
3623
  #. Default: "Table of Contents"
3624
- #: components/manage/Blocks/ToC/variations/DefaultTocRenderer
3625
- #: components/manage/Blocks/ToC/variations/HorizontalMenu
3624
+ #: components/manage/Blocks/ToC/View
3626
3625
  msgid "Table of Contents"
3627
3626
  msgstr "Sisällys"
3628
3627
 
@@ -3623,8 +3623,7 @@ msgid "Table"
3623
3623
  msgstr "Table"
3624
3624
 
3625
3625
  #. Default: "Table of Contents"
3626
- #: components/manage/Blocks/ToC/variations/DefaultTocRenderer
3627
- #: components/manage/Blocks/ToC/variations/HorizontalMenu
3626
+ #: components/manage/Blocks/ToC/View
3628
3627
  msgid "Table of Contents"
3629
3628
  msgstr "Table des matières"
3630
3629
 
@@ -3616,8 +3616,7 @@ msgid "Table"
3616
3616
  msgstr "तालिका"
3617
3617
 
3618
3618
  #. Default: "Table of Contents"
3619
- #: components/manage/Blocks/ToC/variations/DefaultTocRenderer
3620
- #: components/manage/Blocks/ToC/variations/HorizontalMenu
3619
+ #: components/manage/Blocks/ToC/View
3621
3620
  msgid "Table of Contents"
3622
3621
  msgstr "सारांश की तालिका"
3623
3622
 
@@ -3616,8 +3616,7 @@ msgid "Table"
3616
3616
  msgstr "Tabella"
3617
3617
 
3618
3618
  #. Default: "Table of Contents"
3619
- #: components/manage/Blocks/ToC/variations/DefaultTocRenderer
3620
- #: components/manage/Blocks/ToC/variations/HorizontalMenu
3619
+ #: components/manage/Blocks/ToC/View
3621
3620
  msgid "Table of Contents"
3622
3621
  msgstr "Indice dei contenuti"
3623
3622
 
@@ -3621,8 +3621,7 @@ msgid "Table"
3621
3621
  msgstr "テーブル"
3622
3622
 
3623
3623
  #. Default: "Table of Contents"
3624
- #: components/manage/Blocks/ToC/variations/DefaultTocRenderer
3625
- #: components/manage/Blocks/ToC/variations/HorizontalMenu
3624
+ #: components/manage/Blocks/ToC/View
3626
3625
  msgid "Table of Contents"
3627
3626
  msgstr "目次"
3628
3627
 
@@ -3620,8 +3620,7 @@ msgid "Table"
3620
3620
  msgstr ""
3621
3621
 
3622
3622
  #. Default: "Table of Contents"
3623
- #: components/manage/Blocks/ToC/variations/DefaultTocRenderer
3624
- #: components/manage/Blocks/ToC/variations/HorizontalMenu
3623
+ #: components/manage/Blocks/ToC/View
3625
3624
  msgid "Table of Contents"
3626
3625
  msgstr ""
3627
3626
 
@@ -3621,8 +3621,7 @@ msgid "Table"
3621
3621
  msgstr "Tabela"
3622
3622
 
3623
3623
  #. Default: "Table of Contents"
3624
- #: components/manage/Blocks/ToC/variations/DefaultTocRenderer
3625
- #: components/manage/Blocks/ToC/variations/HorizontalMenu
3624
+ #: components/manage/Blocks/ToC/View
3626
3625
  msgid "Table of Contents"
3627
3626
  msgstr ""
3628
3627
 
@@ -3,7 +3,7 @@ msgstr ""
3
3
  "Project-Id-Version: Plone\n"
4
4
  "Report-Msgid-Bugs-To: \n"
5
5
  "POT-Creation-Date: 2017-04-27T19:30:59.079Z\n"
6
- "PO-Revision-Date: 2024-09-15 14:20-0300\n"
6
+ "PO-Revision-Date: 2024-10-31 09:02-0300\n"
7
7
  "Last-Translator: Érico Andrei <ericof@plone.org>\n"
8
8
  "Language: pt_BR\n"
9
9
  "Language-Team: Portuguese (https://www.transifex.com/plone/teams/14552/pt/)\n"
@@ -96,7 +96,7 @@ msgstr "Adicionar complementos"
96
96
  #. Default: "Add Alternative URL"
97
97
  #: components/manage/Controlpanels/Aliases
98
98
  msgid "Add Alternative URL"
99
- msgstr ""
99
+ msgstr "Adicionar URL alternativa"
100
100
 
101
101
  #. Default: "Add Content…"
102
102
  #: components/manage/Toolbar/Types
@@ -176,7 +176,7 @@ msgstr "Adicionar data"
176
176
  #. Default: "Add element to container"
177
177
  #: components/manage/Blocks/Container/SimpleContainerToolbar
178
178
  msgid "Add element to container"
179
- msgstr ""
179
+ msgstr "Adicionar elemento ao contêiner"
180
180
 
181
181
  #. Default: "Add field"
182
182
  #: components/manage/Widgets/SchemaWidget
@@ -317,12 +317,12 @@ msgstr "Alternativa foi adicionada"
317
317
  #. Default: "Aliases have been removed."
318
318
  #: components/manage/Controlpanels/Aliases
319
319
  msgid "Aliases have been removed."
320
- msgstr ""
320
+ msgstr "Alternativas foram removidas."
321
321
 
322
322
  #. Default: "Aliases have been uploaded."
323
323
  #: components/manage/Controlpanels/Aliases
324
324
  msgid "Aliases have been uploaded."
325
- msgstr ""
325
+ msgstr "Alternativas foram carregadas."
326
326
 
327
327
  #. Default: "Alignment"
328
328
  #: components/manage/Blocks/Image/schema
@@ -435,7 +435,7 @@ msgstr "Atribuições"
435
435
  #. Default: "Automatically"
436
436
  #: components/manage/Controlpanels/Aliases
437
437
  msgid "Automatically"
438
- msgstr ""
438
+ msgstr "Automaticamente"
439
439
 
440
440
  #. Default: "Available"
441
441
  #: components/manage/Controlpanels/AddonsControlpanel
@@ -499,7 +499,7 @@ msgstr "Bloco"
499
499
  #. Default: "Both"
500
500
  #: components/manage/Controlpanels/Aliases
501
501
  msgid "Both"
502
- msgstr ""
502
+ msgstr "Ambos"
503
503
 
504
504
  #. Default: "Both email address and password are case sensitive, check that caps lock is not enabled."
505
505
  #: components/theme/Login/Login
@@ -530,7 +530,7 @@ msgstr "Navegue no site, arraste uma imagem ou digite uma URL"
530
530
  #. Default: "Bulk upload CSV"
531
531
  #: components/manage/Controlpanels/Aliases
532
532
  msgid "BulkUploadAltUrls"
533
- msgstr ""
533
+ msgstr "Carregamento em massa de CSV"
534
534
 
535
535
  #. Default: "By default, permissions from the container of this item are inherited. If you disable this, only the explicitly defined sharing permissions will be valid. In the overview, the symbol {inherited} indicates an inherited value. Similarly, the symbol {global} indicates a global role, which is managed by the site administrator."
536
536
  #: components/manage/Sharing/Sharing
@@ -540,7 +540,7 @@ msgstr "Por padrão, as permissões do container deste item são herdadas. Se vo
540
540
  #. Default: "CSV file"
541
541
  #: components/manage/Controlpanels/Aliases
542
542
  msgid "CSVFile"
543
- msgstr ""
543
+ msgstr "Arquivo CSV"
544
544
 
545
545
  #. Default: "Cache Name"
546
546
  #: components/manage/Controlpanels/DatabaseInformation
@@ -873,12 +873,12 @@ msgstr "Criar cópia de trabalho"
873
873
  #. Default: "Created after"
874
874
  #: components/manage/Controlpanels/Aliases
875
875
  msgid "Created after"
876
- msgstr ""
876
+ msgstr "Criado após"
877
877
 
878
878
  #. Default: "Created before"
879
879
  #: components/manage/Controlpanels/Aliases
880
880
  msgid "Created before"
881
- msgstr ""
881
+ msgstr "Criado antes"
882
882
 
883
883
  #. Default: "Created by {creator} on {date}"
884
884
  #: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory
@@ -1229,7 +1229,7 @@ msgstr "Editar"
1229
1229
  #. Default: "Edit Alternative URL"
1230
1230
  #: components/manage/Controlpanels/Aliases
1231
1231
  msgid "Edit Alternative URL"
1232
- msgstr ""
1232
+ msgstr "Editar URL alternativa"
1233
1233
 
1234
1234
  #. Default: "Edit Rule"
1235
1235
  #: components/manage/Controlpanels/Rules/EditRule
@@ -1350,7 +1350,7 @@ msgstr "Informe o caminho absoluto do destino. O destino deve existir ou ser um
1350
1350
  #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring."
1351
1351
  #: components/manage/Controlpanels/Aliases
1352
1352
  msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring."
1353
- msgstr ""
1353
+ msgstr "Informe o caminho absoluto onde a URL alternativa deve existir. O caminho deve começar com ‘/‘. Somente urls que resultam em uma página não encontrada (404) utilizarão esse redirecionamento."
1354
1354
 
1355
1355
  #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring."
1356
1356
  #: components/manage/Aliases/Aliases
@@ -1427,7 +1427,7 @@ msgstr "Visão de Evento"
1427
1427
  #. Default: "Example"
1428
1428
  #: components/manage/Controlpanels/Aliases
1429
1429
  msgid "Example"
1430
- msgstr ""
1430
+ msgstr "Exemplo"
1431
1431
 
1432
1432
  #. Default: "Exclude from navigation"
1433
1433
  #: components/manage/Contents/ContentsPropertiesModal
@@ -1995,7 +1995,7 @@ msgstr "Campo independente da linguagem."
1995
1995
  #. Default: "This is a language independent field. Any value you enter here will overwrite the corresponding field of all members of the translation group when you save this form."
1996
1996
  #: components/manage/Widgets/FormFieldWrapper
1997
1997
  msgid "Language independent icon title"
1998
- msgstr ""
1998
+ msgstr "Esse é um campo independente do idioma. Qualquer valor que você inserir aqui substituirá o campo correspondente de todos os membros do grupo de tradução quando você salvar este formulário."
1999
1999
 
2000
2000
  #. Default: "Large"
2001
2001
  #: components/manage/Widgets/ImageSizeWidget
@@ -2204,7 +2204,7 @@ msgstr "Manual"
2204
2204
  #. Default: "Manually"
2205
2205
  #: components/manage/Controlpanels/Aliases
2206
2206
  msgid "Manually"
2207
- msgstr ""
2207
+ msgstr "Manualmente"
2208
2208
 
2209
2209
  #. Default: "Manually or automatically added?"
2210
2210
  #: components/manage/Controlpanels/Aliases
@@ -3622,8 +3622,7 @@ msgid "Table"
3622
3622
  msgstr "Tabela"
3623
3623
 
3624
3624
  #. Default: "Table of Contents"
3625
- #: components/manage/Blocks/ToC/variations/DefaultTocRenderer
3626
- #: components/manage/Blocks/ToC/variations/HorizontalMenu
3625
+ #: components/manage/Blocks/ToC/View
3627
3626
  msgid "Table of Contents"
3628
3627
  msgstr "Tabela de conteúdos"
3629
3628
 
@@ -4493,7 +4492,7 @@ msgstr "Esqueceu sua senha?"
4493
4492
  #. Default: "Add many alternative URLs at once by uploading a CSV file. The first column should be the path to redirect from; the second, the path to redirect to. Both paths must be Plone-site-relative, starting with a slash (/). An optional third column can contain a date and time. An optional fourth column can contain a boolean to mark as a manual redirect (default true)."
4494
4493
  #: components/manage/Controlpanels/Aliases
4495
4494
  msgid "bulkUploadUrlsHelp"
4496
- msgstr ""
4495
+ msgstr "Adicione vários URLs alternativos de uma só vez fazendo upload de um arquivo CSV. A primeira coluna deve ser o caminho do qual redirecionar; a segunda, o caminho para o qual redirecionar. Ambos os caminhos devem ser relativos ao site do Plone, começando com uma barra (/). Uma terceira coluna (opcional) pode conter uma data e uma hora. Uma quarta coluna (opcional) pode conter um valor booleano para marcar como um redirecionamento manual (padrão true)."
4497
4496
 
4498
4497
  #. Default: "Checkbox"
4499
4498
  #: config/Blocks
@@ -4523,7 +4522,7 @@ msgstr "Comparar com"
4523
4522
  #. Default: "{countofrelation} broken {countofrelation, plural, one {relation} other {relations}} of type {typeofrelation}"
4524
4523
  #: components/manage/Controlpanels/Relations/BrokenRelations
4525
4524
  msgid "countBrokenRelations"
4526
- msgstr ""
4525
+ msgstr "{countofrelation} quebra {countofrelation, plural, one {relation} outras"
4527
4526
 
4528
4527
  #. Default: "Date Range"
4529
4528
  #: config/Blocks
@@ -4608,7 +4607,7 @@ msgstr "Onde"
4608
4607
  #. Default: "/example"
4609
4608
  #: components/manage/Controlpanels/Aliases
4610
4609
  msgid "examplePath"
4611
- msgstr ""
4610
+ msgstr "/exemplo"
4612
4611
 
4613
4612
  #. Default: "This website does not accept files larger than {limit}"
4614
4613
  #: helpers/MessageLabels/MessageLabels