@plone/volto 17.0.0-alpha.1 → 17.0.0-alpha.10

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 (179) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/CHANGELOG.md +396 -16
  3. package/CONTRIBUTING.md +1 -1
  4. package/README.md +12 -15
  5. package/addon-registry.js +34 -0
  6. package/create-theme-addons-loader.js +79 -0
  7. package/cypress/support/commands.js +25 -0
  8. package/locales/ca/LC_MESSAGES/volto.po +187 -6
  9. package/locales/ca.json +1 -1
  10. package/locales/de/LC_MESSAGES/volto.po +206 -25
  11. package/locales/de.json +1 -1
  12. package/locales/en/LC_MESSAGES/volto.po +186 -5
  13. package/locales/en.json +1 -1
  14. package/locales/es/LC_MESSAGES/volto.po +187 -6
  15. package/locales/es.json +1 -1
  16. package/locales/eu/LC_MESSAGES/volto.po +187 -6
  17. package/locales/eu.json +1 -1
  18. package/locales/fi/LC_MESSAGES/volto.po +4792 -0
  19. package/locales/fi.json +1 -1
  20. package/locales/fr/LC_MESSAGES/volto.po +187 -6
  21. package/locales/fr.json +1 -1
  22. package/locales/it/LC_MESSAGES/volto.po +187 -6
  23. package/locales/it.json +1 -1
  24. package/locales/ja/LC_MESSAGES/volto.po +187 -6
  25. package/locales/ja.json +1 -1
  26. package/locales/nl/LC_MESSAGES/volto.po +842 -649
  27. package/locales/nl.json +1 -1
  28. package/locales/pt/LC_MESSAGES/volto.po +187 -6
  29. package/locales/pt.json +1 -1
  30. package/locales/pt_BR/LC_MESSAGES/volto.po +195 -14
  31. package/locales/pt_BR.json +1 -1
  32. package/locales/ro/LC_MESSAGES/volto.po +187 -6
  33. package/locales/ro.json +1 -1
  34. package/locales/volto.pot +187 -6
  35. package/locales/zh_CN/LC_MESSAGES/volto.po +187 -6
  36. package/locales/zh_CN.json +1 -1
  37. package/package-why.json +0 -1
  38. package/package.json +9 -8
  39. package/packages/volto-slate/build/messages/src/blocks/Table/TableBlockEdit.json +1 -1
  40. package/packages/volto-slate/build/messages/src/blocks/Text/DefaultTextBlockEditor.json +1 -1
  41. package/packages/volto-slate/build/messages/src/blocks/Text/DetachedTextBlockEditor.json +1 -1
  42. package/packages/volto-slate/build/messages/src/blocks/Text/SlashMenu.json +1 -1
  43. package/packages/volto-slate/build/messages/src/editor/plugins/AdvancedLink/index.json +1 -1
  44. package/packages/volto-slate/build/messages/src/editor/plugins/Link/index.json +1 -1
  45. package/packages/volto-slate/build/messages/src/editor/plugins/Table/index.json +1 -1
  46. package/packages/volto-slate/build/messages/src/elementEditor/messages.json +1 -1
  47. package/packages/volto-slate/build/messages/src/widgets/HtmlSlateWidget.json +1 -1
  48. package/packages/volto-slate/build/messages/src/widgets/RichTextWidgetView.json +1 -1
  49. package/packages/volto-slate/package.json +1 -1
  50. package/packages/volto-slate/src/blocks/Table/index.js +2 -0
  51. package/packages/volto-slate/src/blocks/Text/SlashMenu.jsx +4 -3
  52. package/packages/volto-slate/src/editor/deserialize.js +0 -1
  53. package/packages/volto-slate/src/editor/plugins/StyleMenu/StyleMenu.jsx +14 -4
  54. package/razzle.config.js +28 -0
  55. package/src/actions/index.js +6 -0
  56. package/src/actions/language/language.js +9 -8
  57. package/src/actions/querystringsearch/querystringsearch.js +20 -14
  58. package/src/actions/relations/rebuild.js +25 -0
  59. package/src/actions/relations/relations.js +86 -0
  60. package/src/actions/relations/relations.test.js +15 -0
  61. package/src/components/index.js +1 -0
  62. package/src/components/manage/Add/Add.jsx +2 -2
  63. package/src/components/manage/BlockChooser/BlockChooser.jsx +14 -5
  64. package/src/components/manage/BlockChooser/BlockChooser.test.jsx +5 -0
  65. package/src/components/manage/Blocks/Listing/Edit.jsx +0 -19
  66. package/src/components/manage/Blocks/Listing/ListingBody.jsx +77 -61
  67. package/src/components/manage/Blocks/Listing/View.jsx +0 -4
  68. package/src/components/manage/Blocks/Listing/getAsyncData.js +10 -2
  69. package/src/components/manage/Blocks/Listing/withQuerystringResults.jsx +18 -13
  70. package/src/components/manage/Blocks/Search/SearchBlockEdit.jsx +5 -4
  71. package/src/components/manage/Blocks/Search/SearchBlockView.jsx +2 -1
  72. package/src/components/manage/Blocks/Search/components/DateRangeFacet.jsx +4 -1
  73. package/src/components/manage/Blocks/Search/components/Facets.jsx +58 -2
  74. package/src/components/manage/Blocks/Search/hocs/withSearch.jsx +24 -11
  75. package/src/components/manage/Blocks/Search/layout/LeftColumnFacets.jsx +17 -5
  76. package/src/components/manage/Blocks/Search/layout/RightColumnFacets.jsx +17 -5
  77. package/src/components/manage/Blocks/Search/layout/TopSideFacets.jsx +21 -5
  78. package/src/components/manage/Blocks/Search/schema.js +16 -1
  79. package/src/components/manage/Blocks/ToC/Edit.jsx +1 -0
  80. package/src/components/manage/Contents/Contents.jsx +69 -33
  81. package/src/components/manage/Contents/ContentsItem.jsx +6 -0
  82. package/src/components/manage/Controlpanels/AddonsControlpanel.jsx +3 -3
  83. package/src/components/manage/Controlpanels/Controlpanels.jsx +199 -224
  84. package/src/components/manage/Controlpanels/Controlpanels.test.jsx +46 -7
  85. package/src/components/manage/Controlpanels/Relations/BrokenRelations.jsx +66 -0
  86. package/src/components/manage/Controlpanels/Relations/Relations.jsx +114 -0
  87. package/src/components/manage/Controlpanels/Relations/RelationsListing.jsx +479 -0
  88. package/src/components/manage/Controlpanels/Relations/RelationsMatrix.jsx +531 -0
  89. package/src/components/manage/Controlpanels/Users/UserGroupMembershipControlPanel.jsx +3 -3
  90. package/src/components/manage/Controlpanels/Users/UserGroupMembershipListing.jsx +51 -82
  91. package/src/components/manage/Controlpanels/Users/UserGroupMembershipMatrix.jsx +79 -75
  92. package/src/components/manage/DragDropList/DragDropList.jsx +63 -42
  93. package/src/components/manage/Form/BlocksToolbar.jsx +5 -1
  94. package/src/components/manage/Form/Form.jsx +11 -5
  95. package/src/components/manage/Form/InlineForm.jsx +39 -9
  96. package/src/components/manage/Form/InlineFormState.js +8 -0
  97. package/src/components/manage/Multilingual/CreateTranslation.jsx +2 -2
  98. package/src/components/manage/Multilingual/TranslationObject.jsx +4 -3
  99. package/src/components/manage/Preferences/ChangePassword.jsx +2 -2
  100. package/src/components/manage/Preferences/PersonalPreferences.jsx +2 -2
  101. package/src/components/manage/Toast/Toast.jsx +1 -1
  102. package/src/components/manage/Toolbar/Types.jsx +2 -2
  103. package/src/components/manage/Widgets/DatetimeWidget.jsx +9 -5
  104. package/src/components/manage/Widgets/ObjectListWidget.jsx +3 -8
  105. package/src/components/manage/Widgets/RecurrenceWidget/ByDayField.jsx +2 -1
  106. package/src/components/manage/Widgets/RecurrenceWidget/MonthOfTheYearField.jsx +2 -1
  107. package/src/components/manage/Widgets/RecurrenceWidget/Occurences.jsx +2 -1
  108. package/src/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +7 -2
  109. package/src/components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthField.jsx +2 -1
  110. package/src/components/manage/Widgets/SelectUtils.js +1 -1
  111. package/src/components/manage/Widgets/SelectWidget.jsx +1 -1
  112. package/src/components/theme/Footer/Footer.jsx +2 -13
  113. package/src/components/theme/Header/Header.jsx +37 -63
  114. package/src/components/theme/Header/Header.test.jsx +18 -0
  115. package/src/components/theme/Icon/Icon.jsx +2 -2
  116. package/src/components/theme/LanguageSelector/LanguageSelector.js +8 -3
  117. package/src/components/theme/Login/Login.jsx +1 -0
  118. package/src/components/theme/Logo/Logo.jsx +2 -1
  119. package/src/components/theme/MultilingualRedirector/MultilingualRedirector.jsx +2 -2
  120. package/src/components/theme/Navigation/NavItem.jsx +4 -2
  121. package/src/components/theme/NotFound/NotFound.jsx +55 -41
  122. package/src/components/theme/PasswordReset/PasswordReset.jsx +7 -4
  123. package/src/components/theme/PasswordReset/RequestPasswordReset.jsx +1 -1
  124. package/src/components/theme/Sitemap/Sitemap.jsx +5 -3
  125. package/src/components/theme/View/DefaultView.jsx +1 -1
  126. package/src/components/theme/View/EventDatesInfo.jsx +2 -1
  127. package/src/components/theme/View/RenderBlocks.jsx +7 -1
  128. package/src/components/theme/Widgets/DateWidget.jsx +2 -1
  129. package/src/components/theme/Widgets/DatetimeWidget.jsx +2 -1
  130. package/src/components/theme/Widgets/RelationsWidget.jsx +13 -11
  131. package/src/config/ControlPanels.js +2 -0
  132. package/src/config/Widgets.jsx +1 -0
  133. package/src/config/index.js +2 -0
  134. package/src/constants/ActionTypes.js +4 -0
  135. package/src/constants/Languages.js +8 -4
  136. package/src/express-middleware/sitemap.js +36 -4
  137. package/src/helpers/Api/Api.js +1 -1
  138. package/src/helpers/FormValidation/FormValidation.js +11 -2
  139. package/src/helpers/FormValidation/FormValidation.test.js +73 -0
  140. package/src/helpers/Html/Html.jsx +3 -1
  141. package/src/helpers/Html/Html.test.jsx +5 -0
  142. package/src/helpers/MessageLabels/MessageLabels.js +72 -0
  143. package/src/helpers/Robots/Robots.js +24 -6
  144. package/src/helpers/Sitemap/Sitemap.js +44 -2
  145. package/src/helpers/Url/Url.js +27 -6
  146. package/src/helpers/Url/Url.test.js +26 -0
  147. package/src/helpers/Utils/Utils.js +38 -13
  148. package/src/helpers/Utils/Utils.test.js +4 -4
  149. package/src/helpers/index.js +7 -2
  150. package/src/hooks/userSession/useToken.js +5 -0
  151. package/src/middleware/Api.test.js +54 -0
  152. package/src/middleware/api.js +8 -4
  153. package/src/reducers/actions/actions.js +1 -1
  154. package/src/reducers/breadcrumbs/breadcrumbs.js +1 -1
  155. package/src/reducers/index.js +2 -0
  156. package/src/reducers/navigation/navigation.js +1 -1
  157. package/src/reducers/relations/relations.js +173 -0
  158. package/src/reducers/types/types.js +1 -1
  159. package/src/routes.js +5 -0
  160. package/src/server.jsx +28 -23
  161. package/test-setup-config.js +1 -0
  162. package/theme/themes/pastanaga/extras/contents.less +1 -0
  163. package/theme/themes/pastanaga/extras/main.less +80 -1
  164. package/theme/themes/pastanaga/extras/search.less +6 -0
  165. package/theme/themes/pastanaga/extras/sidebar.less +4 -0
  166. package/theme/themes/pastanaga/extras/userscontrolpanel.less +99 -76
  167. package/.changelog.draft +0 -28
  168. package/.editorconfig +0 -36
  169. package/.storybook/main.js +0 -127
  170. package/.storybook/manager.js +0 -15
  171. package/.storybook/preview.js +0 -21
  172. package/.storybook/static/previewImage.svg +0 -48
  173. package/.yarnrc.yml +0 -5
  174. package/jsdoc.json +0 -16
  175. package/netlify.toml +0 -5
  176. package/pyvenv.cfg +0 -3
  177. package/share/man/man1/ttx.1 +0 -225
  178. package/src/components/theme/Header/Header.md +0 -27
  179. package/towncrier.toml +0 -33
Binary file
package/CHANGELOG.md CHANGED
@@ -3,11 +3,206 @@
3
3
  <!-- You should *NOT* be adding new change log entries to this file.
4
4
  You should create a file in the news directory instead.
5
5
  For helpful instructions, please see:
6
- https://6.dev-docs.plone.org/volto/developer-guidelines/contributing.html#create-a-pull-request
6
+ https://6.docs.plone.org/volto/developer-guidelines/contributing.html#create-a-pull-request
7
7
  -->
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 17.0.0-alpha.10 (2023-06-09)
12
+
13
+ ### Feature
14
+
15
+ - Search Block: Add support for advanced facets that are only displayed on demand.
16
+ [pbauer, razvanMiu, claudiaifrim] [#4783](https://github.com/plone/volto/issues/4783)
17
+ - Display PAS validation errors. [tschorr] [#4801](https://github.com/plone/volto/issues/4801)
18
+ - Added a CSS identifier to the Slate style menu options. @razvanMiu [#4846](https://github.com/plone/volto/issues/4846)
19
+ - Use a Container from the registry in the Form component and fallback to the Semantic UI one. @sneridagh [#4849](https://github.com/plone/volto/issues/4849)
20
+ - Update Brazilian Portuguese translations @ericof [#4853](https://github.com/plone/volto/issues/4853)
21
+
22
+ ### Bugfix
23
+
24
+ - Convert header class to function. @gomez [#4767](https://github.com/plone/volto/issues/4767)
25
+ - Do not break validation on required number field with value 0 @cekk [#4841](https://github.com/plone/volto/issues/4841)
26
+
27
+
28
+ ## 17.0.0-alpha.9 (2023-06-01)
29
+
30
+ ### Bugfix
31
+
32
+ - Fix special characters in request urls @pnicolli @mamico @luca-bellenghi @cekk [#4825](https://github.com/plone/volto/issues/4825)
33
+ - Fix block is undefined in StyleWrapper helper when building classnames @sneridagh [#4827](https://github.com/plone/volto/issues/4827)
34
+ - Fix navigation sections in 404 pages @sneridagh [#4836](https://github.com/plone/volto/issues/4836)
35
+
36
+ ### Documentation
37
+
38
+ - Fix glossary warning due to lack of empty line before a term. @stevepiercy [#4820](https://github.com/plone/volto/issues/4820)
39
+
40
+
41
+ ## 17.0.0-alpha.8 (2023-05-24)
42
+
43
+ ### Feature
44
+
45
+ - Add Finnish translation (contributed by @rioksane) @erral [#4084](https://github.com/plone/volto/issues/4084)
46
+
47
+ ### Bugfix
48
+
49
+ - Fixed the issue "shouldn't use a hook like function name for a variable" @Kaku-g [#4693](https://github.com/plone/volto/issues/4693)
50
+ - Fix to not update breadrumbs, navigation, actions, and types when content is fetched as a subrequest and apiExpanders includes these components. @davisagli [#4760](https://github.com/plone/volto/issues/4760)
51
+ - Fix bug where editors could not see their own content in the Contents view if it was expired or has a future effective date. @davisagli [#4764](https://github.com/plone/volto/issues/4764)
52
+ - Fix bug showing logs at the browsers when richtext widget is use @claytonc [#4780](https://github.com/plone/volto/issues/4780)
53
+ - Update relations control panel layout @danalvrz [#4794](https://github.com/plone/volto/issues/4794)
54
+ - Fix hot module reloading of changes to `@plone/volto`. @davisagli [#4799](https://github.com/plone/volto/issues/4799)
55
+ - Add guard in case of malformed blocks are present (at least id and title should be present) @sneridagh [#4802](https://github.com/plone/volto/issues/4802)
56
+ - Fix html tag lang attribute in SSR @sneridagh [#4803](https://github.com/plone/volto/issues/4803)
57
+ - Add newest supported languages to `Language` constants list @sneridagh [#4811](https://github.com/plone/volto/issues/4811)
58
+
59
+ ### Internal
60
+
61
+ - Remove max_line_length from .editorconfig @pnicolli [#4776](https://github.com/plone/volto/issues/4776)
62
+ - Fix unannounced breaking change in cypress-io/github-action @sneridagh [#4795](https://github.com/plone/volto/issues/4795)
63
+
64
+
65
+ ## 17.0.0-alpha.7 (2023-05-11)
66
+
67
+ ### Bugfix
68
+
69
+ - Fix language negotiation for language codes that include a region (e.g. `pt-br`). @davisagli [#4644](https://github.com/plone/volto/issues/4644)
70
+
71
+
72
+ ## 17.0.0-alpha.6 (2023-05-11)
73
+
74
+ ### Feature
75
+
76
+ - Changed control panel list to be fetched server-side not client-side
77
+ @JeffersonBledsoe [#3749](https://github.com/plone/volto/issues/3749)
78
+
79
+ ### Bugfix
80
+
81
+ - Apply suggestion from browser for password field @lord2anil [#3990](https://github.com/plone/volto/issues/3990)
82
+ - Open all accordion'd content in InlineForm by default, allow arbitrarily close any number of them. @sneridagh [#4178](https://github.com/plone/volto/issues/4178)
83
+ - Fix duplicating listing block by removing block uid from blocks data. @ksuess [#4234](https://github.com/plone/volto/issues/4234)
84
+ - The tabs for the add page was unresponsive on mobile devices. Fixed this by changing flex-wrap property. @sudhanshu1309 [#4506](https://github.com/plone/volto/issues/4506)
85
+ - (fix):Object.normaliseMail: Cannot read properties of null @dobri1408 [#4558](https://github.com/plone/volto/issues/4558)
86
+ - Update add-on control panel tranlsations: install -> activate. @ksuess [#4582](https://github.com/plone/volto/issues/4582)
87
+ - Fix robot.txt - the sitemap link should respect x-forwarded headers @reebalazs [#4638](https://github.com/plone/volto/issues/4638)
88
+ - Fix Move to top of folder ordering in folder content view by searching also @iFlameing [#4690](https://github.com/plone/volto/issues/4690)
89
+ - Fix faulty D&D elements in ObjectBrowserList widget @sneridagh [#4703](https://github.com/plone/volto/issues/4703)
90
+ - Fix fetching API paths with urlencoded characters in the querystring. @davisagli [#4718](https://github.com/plone/volto/issues/4718)
91
+
92
+ ### Internal
93
+
94
+ - Change conditional checking to optional chaining for a theme icon @nilootpal [#4567](https://github.com/plone/volto/issues/4567)
95
+ - Security upgrade for momentjs [#4715](https://github.com/plone/volto/issues/4715)
96
+ - Upgrade to Plone 6.0.4 @sneridagh [#4743](https://github.com/plone/volto/issues/4743)
97
+
98
+ ### Documentation
99
+
100
+ - Added documentation regarding the static middleware. @BhardwajAditya-github [#4518](https://github.com/plone/volto/issues/4518)
101
+ - Use new URL `6.docs.plone.org`. @stevepiercy [#4726](https://github.com/plone/volto/issues/4726)
102
+ - Synch stuff from `16.x.x` branch that should have been in `master` as well. @stevepiercy [#4728](https://github.com/plone/volto/issues/4728)
103
+ - Fix link in Volto, remove from linkcheck ignore in Documentation. @stevepiercy [#4742](https://github.com/plone/volto/issues/4742)
104
+
105
+
106
+ ## 17.0.0-alpha.5 (2023-04-14)
107
+
108
+ ### Bugfix
109
+
110
+ - Generate a split sitemap @reebalazs [#4638](https://github.com/plone/volto/issues/4638)
111
+ - Fix Move to top of folder ordering in folder content view @iFlameing [#4690](https://github.com/plone/volto/issues/4690)
112
+ - Revert "Add current page parameter to the route in the listing and search block pagination (#4159)" @sneridagh [#4695](https://github.com/plone/volto/issues/4695)
113
+ - Fix search block in edit mode re-queries multiple blocks with an empty search text @reebalazs [#4697](https://github.com/plone/volto/issues/4697)
114
+
115
+ ### Documentation
116
+
117
+ - Update links for 2022 Training archive. @stevepiercy [#4635](https://github.com/plone/volto/issues/4635)
118
+
119
+
120
+ ## 17.0.0-alpha.4 (2023-04-12)
121
+
122
+ ### Feature
123
+
124
+ - DefaultView (view of fields for content types with blocks disabled): Show field name as tip on hover of label. @ksuess [#4598](https://github.com/plone/volto/issues/4598)
125
+ - Support RelationList field with named StaticCatalogVocabulary and SelectWidget. @ksuess [#4614](https://github.com/plone/volto/issues/4614)
126
+ - Support for declaring a theme in `volto.config.js` or in `package.json`
127
+ Add two entry points to allow extension of a theme from other add-ons. @sneridagh [#4625](https://github.com/plone/volto/issues/4625)
128
+ - Set sameSite in I18N_LANGUAGE cookie @sneridagh [#4627](https://github.com/plone/volto/issues/4627)
129
+ - Added querystring search get option. @robgietema [#4658](https://github.com/plone/volto/issues/4658)
130
+
131
+ ### Bugfix
132
+
133
+ - Added current page parameter to route in listing and search block pagination - Fix: #3868 @bipoza [#4159](https://github.com/plone/volto/issues/4159)
134
+ - Fix regexp that checks valid URLs and improve tests [cekk] [#4601](https://github.com/plone/volto/issues/4601)
135
+ - Fixed wrong localization on password reset page @iRohitSingh [#4656](https://github.com/plone/volto/issues/4656)
136
+ - fix sitemap.xml.gz not is not compressed @dobri1408 [#4663](https://github.com/plone/volto/issues/4663)
137
+
138
+ ### Internal
139
+
140
+ - Trigger CI workflows to run from external pull requests. @davisagli [#4629](https://github.com/plone/volto/issues/4629)
141
+ - Update to p.restapi 8.36.0 and Plone 6.0.3 @sneridagh [#4682](https://github.com/plone/volto/issues/4682)
142
+
143
+ ### Documentation
144
+
145
+ - Added `JavaScript` and `NodeJS` as accepted spellings, and deviations of them as rejected spellings. @utkkkarshhh [#3092](https://github.com/plone/volto/issues/3092)
146
+ - Fix documentation build, add pins @sneridagh [#4626](https://github.com/plone/volto/issues/4626)
147
+ - Update Volto contributing to align with and refer to the new Plone core code contributing requirements. @stevepiercy [#4634](https://github.com/plone/volto/issues/4634)
148
+ - Improve creating views documentation page. @rboixaderg [#4636](https://github.com/plone/volto/issues/4636)
149
+ - Razzle upgrade notice in upgrade guide @sneridagh [#4641](https://github.com/plone/volto/issues/4641)
150
+ - Rename "Developer Guidelines" to "Contributing". @stevepiercy [#4666](https://github.com/plone/volto/issues/4666)
151
+ - Fix broken link to `ReactJS.org`. @stevepiercy [#4667](https://github.com/plone/volto/issues/4667)
152
+
153
+
154
+ ## 17.0.0-alpha.3 (2023-03-22)
155
+
156
+ ### Feature
157
+
158
+ - Add Vale to CI for spell and style checks. @MAX-786 [#4423](https://github.com/plone/volto/issues/4423)
159
+
160
+ ### Bugfix
161
+
162
+ - Fix Search is case sensitive in Block chooser @iRohitSingh [#4526](https://github.com/plone/volto/issues/4526)
163
+ - InternalURl helper method should incorporate externalRoutes settings into consideration. @iFlameing [#4559](https://github.com/plone/volto/issues/4559)
164
+ - Update message add-on control panel: remove 'buildout', update reference. @ksuess [#4574](https://github.com/plone/volto/issues/4574)
165
+
166
+ ### Documentation
167
+
168
+ - Deleted duplicate import and fixed training URLs. @yahya-cloud [#4523](https://github.com/plone/volto/issues/4523)
169
+ - Fix grammar in PR #4542. @stevepiercy [#4555](https://github.com/plone/volto/issues/4555)
170
+ - Fix broken links at `ReactJS.org`. @stevepiercy [#4569](https://github.com/plone/volto/issues/4569)
171
+ - Fix video warnings and link errors. @stevepiercy [#4578](https://github.com/plone/volto/issues/4578)
172
+
173
+
174
+ ## 17.0.0-alpha.2 (2023-03-15)
175
+
176
+ ### Breaking
177
+
178
+ - Add custom CSS animation to hamburger menu. Removed `hamburgers` dependency. @danalvrz [#4433](https://github.com/plone/volto/issues/4433)
179
+ - Improve i18n script ordering of addons, so that addons can override translations from their dependencies. @davisagli [#4495](https://github.com/plone/volto/issues/4495)
180
+
181
+ ### Feature
182
+
183
+ - Add option to hide empty listing blocks @ksuess [#4393](https://github.com/plone/volto/issues/4393)
184
+
185
+ ### Bugfix
186
+
187
+ - Update build dependencies (razzle and react-dev-utils) @davisagli [#3997](https://github.com/plone/volto/issues/3997)
188
+ - Added block prop to BlockDataForm in the Edit component of ToC. If block is not passed, OnChangeBlock will be called with undefined block id. @tedw87 [#4110](https://github.com/plone/volto/issues/4110)
189
+ - Fix focus steal in Form @tedw87 [#4230](https://github.com/plone/volto/issues/4230)
190
+ - Fixed paste issue in Table Block and added cypress test for pasting text in Table Block. [#4301](https://github.com/plone/volto/issues/4301)
191
+ - Fixed i18n script to avoid overwriting translations with an empty msgstr @danalvrz [#4316](https://github.com/plone/volto/issues/4316)
192
+ - bugfix: conditionally render all delete items in confirm widget [#4336](https://github.com/plone/volto/issues/4336)
193
+ - Make the Site Setup control panel responsive for small screen devices. @lord2anil [#4484](https://github.com/plone/volto/issues/4484)
194
+ - The menu for the contents page was unresponsive on mobile devices. Fixed this by changing the menu overflow to scroll. @sudhanshu1309 [#4492](https://github.com/plone/volto/issues/4492)
195
+ - Make Drag and Drop list work with container-type inline-size. @robgietema [#4497](https://github.com/plone/volto/issues/4497)
196
+ - (fix): Paste button disappearing while coping from nested blocks @dobri1408 [#4505](https://github.com/plone/volto/issues/4505)
197
+ - Patch updates for some dependencies. @davisagli [#4520](https://github.com/plone/volto/issues/4520)
198
+ - Fix flaky Cypress test introduced in #4521 @sneridagh [#4522](https://github.com/plone/volto/issues/4522)
199
+
200
+ ### Documentation
201
+
202
+ - Fix training urls @ksuess [#4502](https://github.com/plone/volto/issues/4502)
203
+ - Add upgrade guide for 4504 @sneridagh [#4542](https://github.com/plone/volto/issues/4542)
204
+
205
+
11
206
  ## 17.0.0-alpha.1 (2023-03-09)
12
207
 
13
208
  ### Feature
@@ -60,6 +255,190 @@
60
255
  - Use a universal static path for both documentation and volto repos. @stevepiercy [#4376](https://github.com/plone/volto/issues/4376)
61
256
 
62
257
 
258
+ ## 16.20.7 (2023-05-24)
259
+
260
+ ### Bugfix
261
+
262
+ - Fixed the issue "shouldn't use a hook like function name for a variable" @Kaku-g [#4693](https://github.com/plone/volto/issues/4693)
263
+ - Fix to not update breadrumbs, navigation, actions, and types when content is fetched as a subrequest and apiExpanders includes these components. @davisagli [#4760](https://github.com/plone/volto/issues/4760)
264
+ - Fix bug where editors could not see their own content in the Contents view if it was expired or has a future effective date. @davisagli [#4764](https://github.com/plone/volto/issues/4764)
265
+ - Fix bug showing logs at the browsers when richtext widget is use @claytonc [#4780](https://github.com/plone/volto/issues/4780)
266
+ - Add guard in case of malformed blocks are present (at least id and title should be present) @sneridagh [#4802](https://github.com/plone/volto/issues/4802)
267
+ - Fix html tag lang attribute in SSR @sneridagh [#4803](https://github.com/plone/volto/issues/4803)
268
+ - Add newest supported languages to `Language` constants list @sneridagh [#4811](https://github.com/plone/volto/issues/4811)
269
+
270
+ ### Internal
271
+
272
+ - Remove max_line_length from .editorconfig @pnicolli [#4776](https://github.com/plone/volto/issues/4776)
273
+ - Fix unannounced breaking change in cypress-io/github-action @sneridagh [#4795](https://github.com/plone/volto/issues/4795)
274
+
275
+
276
+ ## 16.20.6 (2023-05-12)
277
+
278
+ ### Bugfix
279
+
280
+ - Fix language negotiation for language codes that include a region (e.g. `pt-br`). @davisagli [#4644](https://github.com/plone/volto/issues/4644)
281
+
282
+
283
+ ## 16.20.5 (2023-05-12)
284
+
285
+ ### Bugfix
286
+
287
+ - Apply suggestion from browser for password field @lord2anil [#3990](https://github.com/plone/volto/issues/3990)
288
+ - The tabs for the add page was unresponsive on mobile devices. Fixed this by changing flex-wrap property. @sudhanshu1309 [#4506](https://github.com/plone/volto/issues/4506)
289
+ - (fix):Object.normaliseMail: Cannot read properties of null @dobri1408 [#4558](https://github.com/plone/volto/issues/4558)
290
+
291
+ ### Internal
292
+
293
+ - Upgrade to Plone 6.0.4 @sneridagh [#4743](https://github.com/plone/volto/issues/4743)
294
+
295
+ ### Documentation
296
+
297
+ - Added documentation regarding the static middleware. @BhardwajAditya-github [#4518](https://github.com/plone/volto/issues/4518)
298
+ - Backport most documentation differences from `master` to `16.x.x`. @stevepiercy [#4727](https://github.com/plone/volto/issues/4727)
299
+ - Fix link in Volto, remove from linkcheck ignore in Documentation. @stevepiercy [#4742](https://github.com/plone/volto/issues/4742)
300
+
301
+
302
+ ## 16.20.4 (2023-04-20)
303
+
304
+ ### Bugfix
305
+
306
+ - Fix fetching API paths with urlencoded characters in the querystring. @davisagli [#4718](https://github.com/plone/volto/issues/4718)
307
+
308
+ ### Internal
309
+
310
+ - Security upgrade for momentjs [#4716](https://github.com/plone/volto/issues/4716)
311
+
312
+
313
+ ## 16.20.3 (2023-04-18)
314
+
315
+ ### Bugfix
316
+
317
+ - Revert inadvertently included files from another PR in #4710 @sneridagh [#4713](https://github.com/plone/volto/issues/4713)
318
+
319
+
320
+ ## 16.20.2 (2023-04-18)
321
+
322
+ ### Bugfix
323
+
324
+ - Fix robot.txt - the sitemap link should respect x-forwarded headers @reebalazs [#4638](https://github.com/plone/volto/issues/4638)
325
+ - Fix Move to top of folder ordering in folder content view by searching also @iFlameing [#4690](https://github.com/plone/volto/issues/4690)
326
+ - Fix faulty D&D elements in ObjectBrowserList widget @sneridagh [#4703](https://github.com/plone/volto/issues/4703)
327
+
328
+
329
+ ## 16.20.1 (2023-04-14)
330
+
331
+ ### Bugfix
332
+
333
+ - Generate a split sitemap @reebalazs [#4638](https://github.com/plone/volto/issues/4638)
334
+ - Fix Move to top of folder ordering in folder content view @iFlameing [#4690](https://github.com/plone/volto/issues/4690)
335
+ - Revert "Add current page parameter to the route in the listing and search block pagination (#4159)" @sneridagh [#4695](https://github.com/plone/volto/issues/4695)
336
+ - Fix search block in edit mode re-queries multiple blocks with an empty search text @reebalazs [#4697](https://github.com/plone/volto/issues/4697)
337
+
338
+
339
+ ## 16.20.0 (2023-04-12)
340
+
341
+ ### Feature
342
+
343
+ - Support RelationList field with named StaticCatalogVocabulary and SelectWidget. @ksuess [#4614](https://github.com/plone/volto/issues/4614)
344
+ - Support for declaring a theme in `volto.config.js` or in `package.json`
345
+ Add two entry points to allow extension of a theme from other add-ons. @sneridagh [#4625](https://github.com/plone/volto/issues/4625)
346
+ - Added querystring search get option. @robgietema [#4658](https://github.com/plone/volto/issues/4658)
347
+
348
+ ### Bugfix
349
+
350
+ - Added current page parameter to route in listing and search block pagination - Fix: #3868 @bipoza [#4159](https://github.com/plone/volto/issues/4159)
351
+ - Fixed wrong localization on password reset page @iRohitSingh [#4656](https://github.com/plone/volto/issues/4656)
352
+ - fix sitemap.xml.gz not is not compressed @dobri1408 [#4663](https://github.com/plone/volto/issues/4663)
353
+
354
+ ### Internal
355
+
356
+ - Update to p.restapi 8.36.0 and Plone 6.0.3 @sneridagh [#4682](https://github.com/plone/volto/issues/4682)
357
+
358
+ ### Documentation
359
+
360
+ - Update Volto contributing to align with and refer to the new Plone core code contributing requirements. @stevepiercy [#4634](https://github.com/plone/volto/issues/4634)
361
+ - Improve creating views documentation page. @rboixaderg [#4636](https://github.com/plone/volto/issues/4636)
362
+ - Rename "Developer Guidelines" to "Contributing". @stevepiercy [#4666](https://github.com/plone/volto/issues/4666)
363
+ - Fix broken link to `ReactJS.org`. @stevepiercy [#4667](https://github.com/plone/volto/issues/4667)
364
+
365
+
366
+ ## 16.19.0 (2023-04-04)
367
+
368
+ ### Feature
369
+
370
+ - DefaultView (view of fields for content types with blocks disabled): Show field name as tip on hover of label. @ksuess [#4598](https://github.com/plone/volto/issues/4598)
371
+ - Set sameSite in I18N_LANGUAGE cookie @sneridagh [#4627](https://github.com/plone/volto/issues/4627)
372
+
373
+ ### Bugfix
374
+
375
+ - Fix regexp that checks valid URLs and improve tests [cekk] [#4601](https://github.com/plone/volto/issues/4601)
376
+
377
+ ### Documentation
378
+
379
+ - Added `JavaScript` and `NodeJS` as accepted spellings, and deviations of them as rejected spellings. @utkkkarshhh [#3092](https://github.com/plone/volto/issues/3092)
380
+ - Fix documentation build, add pins @sneridagh [#4626](https://github.com/plone/volto/issues/4626)
381
+
382
+
383
+ ## 16.18.0 (2023-03-22)
384
+
385
+ ### Feature
386
+
387
+ - Add Vale to CI for spell and style checks. @MAX-786 [#4423](https://github.com/plone/volto/issues/4423)
388
+
389
+ ### Bugfix
390
+
391
+ - Patch updates for some dependencies. @davisagli [#4520](https://github.com/plone/volto/issues/4520)
392
+ - InternalURl helper method should incorporate externalRoutes settings into consideration. @iFlameing [#4559](https://github.com/plone/volto/issues/4559)
393
+ - Update message add-on control panel: remove 'buildout', update reference. @ksuess [#4574](https://github.com/plone/volto/issues/4574)
394
+
395
+ ### Documentation
396
+
397
+ - Fix broken links at `ReactJS.org`. @stevepiercy [#4569](https://github.com/plone/volto/issues/4569)
398
+ - Fix video warnings and link errors. @stevepiercy [#4578](https://github.com/plone/volto/issues/4578)
399
+
400
+
401
+ ## 16.17.1 (2023-03-16)
402
+
403
+ ### Bugfix
404
+
405
+ - Fix Search is case sensitive in Block chooser @iRohitSingh [#4526](https://github.com/plone/volto/issues/4526)
406
+
407
+ ### Documentation
408
+
409
+ - Deleted duplicate import and fixed training URLs. @yahya-cloud [#4523](https://github.com/plone/volto/issues/4523)
410
+
411
+
412
+ ## 16.17.0 (2023-03-15)
413
+
414
+ ### Feature
415
+
416
+ - Add option to hide empty listing blocks @ksuess [#4393](https://github.com/plone/volto/issues/4393)
417
+
418
+ ### Bugfix
419
+
420
+ - Added block prop to BlockDataForm in the Edit component of ToC. If block is not passed, OnChangeBlock will be called with undefined block id. @tedw87 [#4110](https://github.com/plone/volto/issues/4110)
421
+ - Fix focus steal in Form @tedw87 [#4230](https://github.com/plone/volto/issues/4230)
422
+ - Fixed paste issue in Table Block and added cypress test for pasting text in Table Block. [#4301](https://github.com/plone/volto/issues/4301)
423
+ - Fixed i18n script to avoid overwriting translations with an empty msgstr @danalvrz [#4316](https://github.com/plone/volto/issues/4316)
424
+ - bugfix: conditionally render all delete items in confirm widget [#4336](https://github.com/plone/volto/issues/4336)
425
+ - Make the Site Setup control panel responsive for small screen devices. @lord2anil [#4484](https://github.com/plone/volto/issues/4484)
426
+ - The menu for the contents page was unresponsive on mobile devices. Fixed this by changing the menu overflow to scroll. @sudhanshu1309 [#4492](https://github.com/plone/volto/issues/4492)
427
+ - (fix): Paste button disappearing while coping from nested blocks @dobri1408 [#4505](https://github.com/plone/volto/issues/4505)
428
+ - Fix flaky Cypress test introduced in #4521 @sneridagh [#4522](https://github.com/plone/volto/issues/4522)
429
+
430
+ ### Documentation
431
+
432
+ - Fix training urls @ksuess [#4502](https://github.com/plone/volto/issues/4502)
433
+
434
+
435
+ ## 16.16.0 (2023-03-09)
436
+
437
+ ### Feature
438
+
439
+ - Add directive to cache stable resources in browser or intermediate server for 365 days by default directly in the SSR Express server, static resource that could change after a new deployment for 1 minute. @mamico [#2216](https://github.com/plone/volto/issues/2216)
440
+
441
+
63
442
  ## 16.15.0 (2023-03-08)
64
443
 
65
444
  ### Feature
@@ -82,7 +461,7 @@
82
461
 
83
462
  ### Documentation
84
463
 
85
- - Complete teaser docs, add new section in `Blocks`: `Core Blocks developers notes` @sneridagh [#4461](https://github.com/plone/volto/issues/4461)
464
+ - Complete teaser docs, add new section in `Blocks`: `Core Blocks developers notes` @sneridagh [#4461](https://github.com/plone/volto/pull/4461)
86
465
 
87
466
 
88
467
  ## 16.14.0 (2023-03-03)
@@ -412,7 +791,7 @@
412
791
  - Enable the use of yarn 3 in the build by default @sneridagh
413
792
  - The `ContentsBreadcrumbs` component now renders the whole language name of the language root folder (if any) instead of just the `id` (before: `de`, now: `Deutsch`) @sneridagh
414
793
 
415
- See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
794
+ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
416
795
 
417
796
  ### Feature
418
797
 
@@ -909,7 +1288,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
909
1288
  - Moved all sentry-related code from Volto to the `@plone-collective/volto-sentry` package. @tiberiuichim
910
1289
  - The listing block icon has been improved to avoid confusion with the normal text list. @sneridagh
911
1290
 
912
- See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
1291
+ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
913
1292
 
914
1293
  ### Feature
915
1294
 
@@ -970,6 +1349,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
970
1349
  - Object browser: image search should only show images @reebalazs
971
1350
  - Updated spanish translation @macagua
972
1351
  - Add Dutch translation @spereverde
1352
+ - Add control panel for relations. @ksuess
973
1353
 
974
1354
  ### Bugfix
975
1355
 
@@ -1020,7 +1400,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
1020
1400
 
1021
1401
  - Sentry integration is now lazy-loaded. The `sentryOptions` key from the `settings` registry becomes a callable that passes resolved sentry libraries. @tiberiuichim
1022
1402
 
1023
- See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
1403
+ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
1024
1404
 
1025
1405
  ### Feature
1026
1406
 
@@ -1084,7 +1464,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
1084
1464
  - Upgrade to Razzle 4 @davisagli
1085
1465
  - Jest downgraded from 27 to 26 @davisagli
1086
1466
 
1087
- See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
1467
+ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
1088
1468
 
1089
1469
  ### Internal
1090
1470
 
@@ -1124,7 +1504,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
1124
1504
  ### Breaking
1125
1505
 
1126
1506
  - `react-window` no longer a Volto dependency @sneridagh
1127
- See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
1507
+ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
1128
1508
 
1129
1509
  ### Bugfix
1130
1510
 
@@ -1163,7 +1543,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
1163
1543
  ### Breaking
1164
1544
 
1165
1545
  - Move Layout constants to `config.views.layoutViewsNamesMapping`. Complete the list. i18n the list. Improve Display component. @sneridagh
1166
- See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
1546
+ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
1167
1547
 
1168
1548
  ### Feature
1169
1549
 
@@ -1209,7 +1589,7 @@ Undo html_static_path configuration in `plone/documentation`, and restore image
1209
1589
  ### Breaking
1210
1590
 
1211
1591
  - Main workflow change menu changed from Pastanaga UI simplification to classic Plone implementation. @sneridagh
1212
- See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
1592
+ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
1213
1593
 
1214
1594
  ### Feature
1215
1595
 
@@ -1305,7 +1685,7 @@ Undo html_static_path configuration in `plone/documentation`, and restore image
1305
1685
  - change password-reset url to be consistent with Plone configuration @erral
1306
1686
  - Simplify over the existing Component Registry API. The `component` key has been flattened for simplification and now it's mapped directly to the `component` argument of `registerComponent`. @sneridagh
1307
1687
 
1308
- See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
1688
+ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
1309
1689
 
1310
1690
  ### Feature
1311
1691
 
@@ -1883,14 +2263,14 @@ Use next release instead: https://github.com/plone/volto/releases/tag/16.0.0-alp
1883
2263
  ### Breaking
1884
2264
 
1885
2265
  - Upgrade `react-cookie` to the latest version. @sneridagh @robgietema
1886
- See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
2266
+ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
1887
2267
  - Language Switcher no longer takes care of the change of the language on the Redux Store. This responsibility has been unified in the API Redux middleware @sneridagh
1888
2268
  - Markup change in `LinkView` component.
1889
2269
  - Rename `core-sandbox` to `coresandbox` for sake of consistency @sneridagh
1890
2270
  - Extend the original intent and rename `RAZZLE_TESTING_ADDONS` to `ADDONS`. @sneridagh
1891
- See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
2271
+ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
1892
2272
  - Lazyload Draft.js library. See the upgrade guide on how that impacts you, in case you have extended the rich text editor configuration @tiberiuichim @kreafox
1893
- See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
2273
+ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
1894
2274
  - Deprecating `lang` cookie in favor of Plone official one `I18N_LANGUAGE` @sneridagh
1895
2275
 
1896
2276
  ### Feature
@@ -2374,7 +2754,7 @@ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information
2374
2754
  - Use Plone logo @ericof
2375
2755
  - Update favicon and related tags with best practices @sneridagh
2376
2756
  - Enable to be able to use the internal proxy in production as well @sneridagh
2377
- - Add runtime configuration for `@babel/plugin-transform-react-jsx` set to `automatic`. This enables the new JSX runtime: https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html So no longer `import React from 'react'` is needed anymore. @sneridagh
2757
+ - Add runtime configuration for `@babel/plugin-transform-react-jsx` set to `automatic`. This enables the new JSX runtime: https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html So no longer `import React from 'react'` is needed anymore. @sneridagh
2378
2758
  - Add `autocomplete` Widget component - It holds off the vocabulary endpoint pull until you search (more than 2 chars). Useful when dealing with huge vocabularies @sneridagh @reebalazs
2379
2759
  - Add new listing block option "fullobjects" per variation @ksuess
2380
2760
  - `FormFieldWrapper` accepts now strings and elements for description @nzambello
@@ -2504,7 +2884,7 @@ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information
2504
2884
 
2505
2885
  ### Feature
2506
2886
 
2507
- - Add runtime configuration for `@babel/plugin-transform-react-jsx` set to `automatic`. This enables the new JSX runtime: https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html So no longer `import React from 'react'` is needed anymore.
2887
+ - Add runtime configuration for `@babel/plugin-transform-react-jsx` set to `automatic`. This enables the new JSX runtime: https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html So no longer `import React from 'react'` is needed anymore.
2508
2888
  - Update favicon and related tags with best practices @sneridagh
2509
2889
 
2510
2890
  ### Bugfix
@@ -4836,7 +5216,7 @@ https://6.docs.plone.org/volto/upgrade-guide/index.html
4836
5216
  - Added item type as a tooltip in contents @nzambello
4837
5217
  - Added Italian translations and translated array, token and select widget. @giuliaghisini
4838
5218
  - Added uploading image preview in FileWidget @iFlameing
4839
- - Allow custom express middleware declared with `settings.expressMiddleware`. See [Custom Express middleware](https://6.dev-docs.plone.org/volto/recipes/express.html) @tiberiuichim
5219
+ - Allow custom express middleware declared with `settings.expressMiddleware`. See [Custom Express middleware](https://6.docs.plone.org/volto/recipes/express.html) @tiberiuichim
4840
5220
 
4841
5221
  ### Bugfix
4842
5222
 
package/CONTRIBUTING.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # Contributing to Volto
2
2
 
3
- See [Contributing to Volto](https://6.dev-docs.plone.org/volto/developer-guidelines/contributing.html).
3
+ See [Contributing to Volto](https://6.docs.plone.org/volto/developer-guidelines/contributing.html).
package/README.md CHANGED
@@ -182,23 +182,20 @@ Please create a new [issue](https://github.com/plone/volto/issues/new) or [pull
182
182
 
183
183
  ## Documentation
184
184
 
185
- You can find the latest (in-progress) documentation in [https://6.dev-docs.plone.org/](https://6.dev-docs.plone.org/volto/index.html)
185
+ You can find the latest (in-progress) documentation in [https://6.docs.plone.org/](https://6.docs.plone.org/volto/index.html)
186
186
 
187
187
  ## Training
188
188
 
189
- On the [Plone Trainings Website](https://training.plone.org) you'll find
190
- Volto-dedicated open training materials, plus React and other
191
- JavaScript-centered trainings.
189
+ On the [Plone Training website](https://training.plone.org), you'll find Volto-dedicated training materials, plus other JavaScript-centered trainings.
192
190
 
193
- - [Mastering Plone 6 Development](https://training.plone.org/5/mastering-plone/)
191
+ - [Mastering Plone 6 Development](https://training.plone.org/mastering-plone/)
194
192
  The comprehensive training on Plone 6 with best practice tips for developers and integrators.
195
- - [Volto](https://training.plone.org/5/volto/index.html)
196
- A detailed training on how to create your own website using Volto frontend.
197
- - [Volto Hands-On](https://training.plone.org/5/voltohandson/index.html)
198
- - [Volto Add-ons Development](https://training.plone.org/5/voltoaddons/index.html)
199
- - [Plone Deployment](https://training.plone.org/5/plone-deployment/index.html)
200
- - [React](https://training.plone.org/5/react/index.html)
201
- - [JavaScript For Plone Developers](https://training.plone.org/5/javascript/index.html)
193
+ - [Volto Hands-On](https://training.plone.org/voltohandson/index.html)
194
+ - [Volto Add-ons Development](https://training.plone.org/voltoaddons/index.html)
195
+ - [Effective Volto](https://training.plone.org/effective-volto/index.html)
196
+ - [Plone Deployment](https://training.plone.org/plone-deployment/index.html)
197
+ - [Volto](https://2022.training.plone.org/volto/index.html) (archived)
198
+ - [JavaScript For Plone Developers](https://2022.training.plone.org/javascript/index.html) (archived)
202
199
 
203
200
  ## Talks
204
201
 
@@ -245,7 +242,7 @@ We do not guarantee that deprecated browsers (e.g., Internet Explorer 11) are su
245
242
 
246
243
  ## Upgrades
247
244
 
248
- You can find the upgrade guide here: https://6.dev-docs.plone.org/volto/upgrade-guide/index.html
245
+ You can find the upgrade guide here: https://6.docs.plone.org/volto/upgrade-guide/index.html
249
246
 
250
247
  ## Volto Development
251
248
 
@@ -320,11 +317,11 @@ yarn test
320
317
 
321
318
  Here you can find a guide on how acceptance testing is done in Volto:
322
319
 
323
- https://6.dev-docs.plone.org/volto/developer-guidelines/acceptance-tests.html
320
+ https://6.docs.plone.org/volto/developer-guidelines/acceptance-tests.html
324
321
 
325
322
  ## Translations
326
323
 
327
- If you would like contribute to translate Volto into several languages, please, read the [Internationalization (i18n) guide](https://6.dev-docs.plone.org/volto/recipes/i18n.html).
324
+ If you would like contribute to translate Volto into several languages, please, read the [Internationalization (i18n) guide](https://6.docs.plone.org/volto/recipes/i18n.html).
328
325
 
329
326
  ## Contributors
330
327
 
package/addon-registry.js CHANGED
@@ -130,6 +130,11 @@ class AddonConfigurationRegistry {
130
130
  this.packages = {};
131
131
  this.customizations = new Map();
132
132
 
133
+ // Theme from a package.json key, from volto.config.js or from an ENV VAR
134
+ // Programatically via volto.config.js wins or the ENV VAR if present
135
+ this.theme =
136
+ packageJson.theme || this.voltoConfigJS.theme || process.env.THEME;
137
+
133
138
  this.initDevelopmentPackages();
134
139
  this.initPublishedPackages();
135
140
  this.initAddonsFromEnvVar();
@@ -354,6 +359,35 @@ class AddonConfigurationRegistry {
354
359
  .filter((e) => e);
355
360
  }
356
361
 
362
+ getCustomThemeAddons() {
363
+ const customThemeAddonsInfo = {
364
+ variables: [],
365
+ main: [],
366
+ };
367
+
368
+ this.getAddonDependencies().forEach((addon) => {
369
+ const normalizedAddonName = addon.split(':')[0];
370
+ // We have two possible insertion points, variables and main
371
+
372
+ const customThemeVariables = `${this.packages[normalizedAddonName].modulePath}/theme/_variables.scss`;
373
+ const customThemeMain = `${this.packages[normalizedAddonName].modulePath}/theme/_main.scss`;
374
+ if (
375
+ fs.existsSync(customThemeVariables) &&
376
+ normalizedAddonName !== this.theme
377
+ ) {
378
+ customThemeAddonsInfo.variables.push(normalizedAddonName);
379
+ }
380
+ if (
381
+ fs.existsSync(customThemeMain) &&
382
+ normalizedAddonName !== this.theme
383
+ ) {
384
+ customThemeAddonsInfo.main.push(normalizedAddonName);
385
+ }
386
+ });
387
+
388
+ return customThemeAddonsInfo;
389
+ }
390
+
357
391
  /**
358
392
  * Returns a mapping name:diskpath to be uses in webpack's resolve aliases
359
393
  */