@plone/volto 18.1.0 → 18.1.2
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/.release-it.json +3 -1
- package/CHANGELOG.md +35 -0
- package/README.md +172 -0
- package/package.json +1 -2
- package/razzle.config.js +0 -9
- package/src/components/manage/Display/Display.jsx +7 -5
- package/src/components/theme/App/App.jsx +2 -2
package/.release-it.json
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
"hooks": {
|
|
6
6
|
"before:bump": ["pnpm i18n", "pnpm build:types", "git add types"],
|
|
7
7
|
"after:bump": [
|
|
8
|
-
"pipx run towncrier build --draft --yes --version ${version} > .changelog.draft
|
|
8
|
+
"pipx run towncrier build --draft --yes --version ${version} > .changelog.draft",
|
|
9
|
+
"pipx run towncrier build --yes --version ${version}",
|
|
10
|
+
"cp ../../README.md ./",
|
|
9
11
|
"make release-notes-copy-to-docs"
|
|
10
12
|
],
|
|
11
13
|
"after:release": "rm .changelog.draft"
|
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,41 @@ myst:
|
|
|
17
17
|
|
|
18
18
|
<!-- towncrier release notes start -->
|
|
19
19
|
|
|
20
|
+
## 18.1.2 (2024-12-05)
|
|
21
|
+
|
|
22
|
+
### Bugfix
|
|
23
|
+
|
|
24
|
+
- Remove `not ie 11` from browserslist configuration, because it is now included in `not dead`. @stevepiercy [#6501](https://github.com/plone/volto/issues/6501)
|
|
25
|
+
- Fix warnings related to `snapshot.managedPaths` on startup. @davisagli [#6511](https://github.com/plone/volto/issues/6511)
|
|
26
|
+
|
|
27
|
+
### Internal
|
|
28
|
+
|
|
29
|
+
- Add Accessibility acceptance tests for content types. @ana-oprea @ichim-david [#6339](https://github.com/plone/volto/issues/6339)
|
|
30
|
+
- Fixed the `README.md` for Volto core when releasing to npm registry: copy it from the root of the monorepo on release. @sneridagh [#6510](https://github.com/plone/volto/issues/6510)
|
|
31
|
+
|
|
32
|
+
### Documentation
|
|
33
|
+
|
|
34
|
+
- Add new Volto trainings to tutorials. @stevepiercy [#6499](https://github.com/plone/volto/issues/6499)
|
|
35
|
+
- `html_use_opensearch` value must not have a trailing slash. Clean up comments. @stevepiercy [#6502](https://github.com/plone/volto/issues/6502)
|
|
36
|
+
|
|
37
|
+
## 18.1.1 (2024-11-21)
|
|
38
|
+
|
|
39
|
+
### Bugfix
|
|
40
|
+
|
|
41
|
+
- Do not break toolbar if layout id is not registered in layoutViewsNamesMapping. @cekk [#6485](https://github.com/plone/volto/issues/6485)
|
|
42
|
+
- Replace _all_ spaces with `-` in `BodyClass` classes, instead of with `-` or `` depending on the content type or section. @giuliaghisini [#6487](https://github.com/plone/volto/issues/6487)
|
|
43
|
+
|
|
44
|
+
### Internal
|
|
45
|
+
|
|
46
|
+
- Update instructions to install `pipx` in `RELEASING.md`. @stevepiercy [#6496](https://github.com/plone/volto/issues/6496)
|
|
47
|
+
|
|
48
|
+
### Documentation
|
|
49
|
+
|
|
50
|
+
- More privacy concerning youtube links and fixing link check warnings for youtube playlist links. @stevepiercy @ksuess [#4203](https://github.com/plone/volto/issues/4203)
|
|
51
|
+
- Remove conflicting `searchtools.js` file from documentation to allow default Sphinx search in main Plone documentation. @stevepiercy [#6482](https://github.com/plone/volto/issues/6482)
|
|
52
|
+
- Add support for sphinxcontrib-youtube. @stevepiercy [#6486](https://github.com/plone/volto/issues/6486)
|
|
53
|
+
- Refactor documentation includes to align with main documentation pattern. @stevepiercy [#6495](https://github.com/plone/volto/issues/6495)
|
|
54
|
+
|
|
20
55
|
## 18.1.0 (2024-11-11)
|
|
21
56
|
|
|
22
57
|
### Feature
|
package/README.md
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
# Volto - the default Plone 6 frontend
|
|
2
|
+
|
|
3
|
+
<img align="right" width="300" alt="Volto logo png" src="./logos/VoltoLogoEra2.png#gh-light-mode-only" />
|
|
4
|
+
<img align="right" width="300" alt="Volto logo png" src="./logos/VoltoLogoEra2-dark-mode.png#gh-dark-mode-only" />
|
|
5
|
+
|
|
6
|
+
[](https://www.npmjs.com/package/@plone/volto)
|
|
7
|
+
[](https://github.com/plone/volto/actions/workflows/unit.yml)
|
|
8
|
+
[](https://github.com/plone/volto/actions/workflows/acceptance.yml)
|
|
9
|
+
[](https://github.com/plone/volto/actions)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Introduction
|
|
13
|
+
|
|
14
|
+
[Volto](https://github.com/plone/volto) is a ReactJS-based frontend for the [Plone](https://plone.org) Content Management System.
|
|
15
|
+
It is the default frontend starting with the Plone 6 release.
|
|
16
|
+
|
|
17
|
+
[Plone](https://plone.org) is a CMS built on Python with more than 20 years of history and experience.
|
|
18
|
+
|
|
19
|
+
Plone has features that appeal to developers and users alike, such as an intuitive editing interface, customizable content types, hierarchical organization, and a sophisticated permissions model.
|
|
20
|
+
This allows you to build anything from simple websites to enterprise-grade intranets.
|
|
21
|
+
|
|
22
|
+
Volto exposes all these features and communicates with Plone via its [REST API](https://github.com/plone/plone.restapi).
|
|
23
|
+
|
|
24
|
+
Volto features the Pastanaga editor, a modern block-based content layout editor.
|
|
25
|
+
It is extensible and customizable, so you can adapt the provided default blocks to meet your requirements, or build new ones.
|
|
26
|
+
|
|
27
|
+
Volto is extensible using add-ons.
|
|
28
|
+
You can build your own or choose from the community released ones:
|
|
29
|
+
|
|
30
|
+
- [Volto Add-ons in NPM](https://www.npmjs.com/search?q=keywords%3Avolto-addon%2Cvolto)
|
|
31
|
+
- [Volto Awesome](https://github.com/collective/awesome-volto)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## Demo
|
|
35
|
+
|
|
36
|
+
You can try a Volto online demo at [https://demo.plone.org/](https://demo.plone.org/).
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## Create a Volto project
|
|
40
|
+
|
|
41
|
+
To start a new project using Volto, follow the [Plone installation documentation](https://6.docs.plone.org/install/create-project.html).
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## Documentation
|
|
45
|
+
|
|
46
|
+
You can find the latest documentation at [https://6.docs.plone.org/](https://6.docs.plone.org/volto/index.html).
|
|
47
|
+
|
|
48
|
+
For links to trainings and videos, see [Other learning resources](https://6.docs.plone.org/volto/tutorials/index.html).
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
## Supported Plone, Python, and Plone REST API versions
|
|
52
|
+
|
|
53
|
+
See [Plone, Python, and Plone REST API compatibility](https://6.docs.plone.org/volto/contributing/version-policy.html#version-policy-plone-python-and-plone-rest-api-compatibility)
|
|
54
|
+
|
|
55
|
+
See the [Plone Release Schedule](https://plone.org/download/release-schedule) for details of maintenance and support.
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
## Supported Node.js versions
|
|
59
|
+
|
|
60
|
+
See [Node.js version policy](https://6.docs.plone.org/volto/contributing/version-policy.html#version-policy-plone-python-and-plone-rest-api-compatibility).
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
## Supported browsers
|
|
64
|
+
|
|
65
|
+
See [Supported browsers](https://6.docs.plone.org/volto/contributing/version-policy.html#version-policy-supported-browsers).
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
## Contributing
|
|
69
|
+
|
|
70
|
+
To contribute to the Volto project by writing code, documentation, translations, and so on, please read [Contributing to Plone](https://6.docs.plone.org/contributing/index.html) and [Contributing to Volto](https://6.docs.plone.org/volto/contributing/index.html).
|
|
71
|
+
|
|
72
|
+
For newcomers to Volto, Plone, or open source software, you must read and follow [First-time contributors](https://6.docs.plone.org/contributing/first-time.html).
|
|
73
|
+
|
|
74
|
+
Since December 2023, this repository has a monorepo structure.
|
|
75
|
+
Volto itself is treated as a library and you can find it in the `packages/volto` folder.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## Contributors
|
|
79
|
+
|
|
80
|
+
<a href="https://github.com/plone/volto/graphs/contributors">
|
|
81
|
+
<img src="https://contrib.rocks/image?repo=plone/volto" />
|
|
82
|
+
</a>
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
## License
|
|
86
|
+
|
|
87
|
+
MIT License. Copyrights held by the [Plone Foundation](https://plone.org/foundation).
|
|
88
|
+
|
|
89
|
+
See [LICENSE.md](LICENSE.md) for details.
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## Volto in production
|
|
93
|
+
|
|
94
|
+
Volto has been actively developed since 2017.
|
|
95
|
+
It has been used in production since 2018 on numerous websites.
|
|
96
|
+
|
|
97
|
+
The authoritative source of the list of Volto websites in production is maintained at [Awesome Volto](https://github.com/collective/awesome-volto#websites-built-with-volto).
|
|
98
|
+
|
|
99
|
+
The Plone Marketing Team copy-pastes its content on a quarterly basis into [They use Plone 6](https://plone.org/why-plone/they-use-plone/they-use-plone-6).
|
|
100
|
+
|
|
101
|
+
To ensure your website gets the greatest exposure, add it both to [Awesome Volto](https://github.com/collective/awesome-volto#websites-built-with-volto) and this README.
|
|
102
|
+
|
|
103
|
+
- [ASP Area Nord](https://www.aspareanord.it/) (Website of the Public company of personal services of the Modena municipalities in the north area. Developed by [RedTurtle](https://www.redturtle.it), 2021)
|
|
104
|
+
- [Baccanale Imola](https://www.baccanaleimola.it) (Baccanale is a food fair that happens every year in Imola, Italy. Developed by [RedTurtle](https://www.redturtle.it), 2020)
|
|
105
|
+
- [Biblioteche Pianura Est](https://bibest.it/it) (Website of the Associated libraries of eastern plain. Developed by [RedTurtle](https://www.redturtle.it/), 2021)
|
|
106
|
+
- [BISE](https://biodiversity.europa.eu) (Biodiversity Information System for Europe, developed by [Eau de Web](https://eaudeweb.ro/), 2019)
|
|
107
|
+
- [Camera di Commercio dell'Umbria](https://www.umbria.camcom.it) (Website Chamber of Commerce of Umbria. Developed by [RedTurtle](https://www.redturtle.it), 2021)
|
|
108
|
+
- [Camera di Commercio di Reggio Emilia](https://www.emilia.camcom.it) (Website Chamber of Commerce of Reggio Emilia. Developed by [RedTurtle](https://www.redturtle.it), 2021)
|
|
109
|
+
- [Comune di Camposanto](https://www.comune.camposanto.mo.it/) (Website of the Municipality of Camposanto. Developed by [RedTurtle](https://www.redturtle.it), 2021)
|
|
110
|
+
- [Comune di Cantagallo](https://www.comune.cantagallo.po.it/) (Website of the Municipality of Cantagallo. Developed by [RedTurtle](https://www.redturtle.it), 2021)
|
|
111
|
+
- [Comune di Medolla](https://www.comune.medolla.mo.it/) (Website of the Municipality of Medolla. Developed by [RedTurtle](https://www.redturtle.it), 2021)
|
|
112
|
+
- [Comune di Mirandola](https://www.comune.mirandola.mo.it/) (Website of the Municipality of Mirandola. Developed by [RedTurtle](https://www.redturtle.it), 2021)
|
|
113
|
+
- [Comune di Modena](https://www.comune.modena.it/) (Website of the Municipality of Modena. Developed by [RedTurtle](https://www.redturtle.it), 2020)
|
|
114
|
+
- [Comune di San Possidonio](https://www.comune.sanpossidonio.mo.it/) (Website of the Municipality of San Possidonio. Developed by [RedTurtle](https://www.redturtle.it), 2021)
|
|
115
|
+
- [Comune di Vaiano](https://www.comune.vaiano.po.it/) (Website of the Municipality of Vaiano. Developed by [RedTurtle](https://www.redturtle.it), 2021)
|
|
116
|
+
- [Comune di Vernio](https://www.comune.vernio.po.it/) (Website of the Municipality of Vernio. Developed by [RedTurtle](https://www.redturtle.it), 2021)
|
|
117
|
+
- [Debabarreneko mankomunitatea](https://debabarrena.eus/eu) (Website of the Commonwealth of Debabarrena, community of municipalities to centralize waste handling services, developed by [CodeSyntax](https://www.codesyntax.com/en), 2022)
|
|
118
|
+
- [Debako Udala / Ayuntamiento de Deba](https://www.deba.eus/eu) (Website of the municipality of Deba, developed by [CodeSyntax](https://www.codesyntax.com/en), 2022)
|
|
119
|
+
- [European Environment Agency](https://www.eea.europa.eu/en) (Website of the European Environment Agency. Developed by [Eau de Web](https://eaudeweb.ro), 2023)
|
|
120
|
+
- [Energy Climate Union portal for Europe](https://climate-energy.eea.europa.eu/) (Thematic website focusing on European strides towards mitigating climate change, developed by [Eau de Web](https://eaudeweb.ro/), 2020)
|
|
121
|
+
- [Excellence at Humboldt-Universität zu Berlin](https://www.alles-beginnt-mit-einer-frage.de) (Website for the excellence initiative of the [Humboldt University Berlin](https://www.hu-berlin.de/de), developed by [kitconcept GmbH](https://kitconcept.com), 2019)
|
|
122
|
+
- [Forest Information System for Europe](https://forest.eea.europa.eu) (Thematic website focusing on European forests, developed by [Eau de Web](https://eaudeweb.ro/), 2019)
|
|
123
|
+
- [Forschungszentrum Jülich](https://www.fz-juelich.de/de) (Website for Forschungzentrum Jülich, which is one of the largest research institutions in Europe, developed by [kitconcept GmbH](https://kitconcept.com), 2022)
|
|
124
|
+
- [German Aerospace Center (DLR)](https://www.dlr.de/de) (The German Aerospace Center (DLR) is the Federal Republic of Germany's research center for aeronautics. With more than 10.000 employees and a yearly budget of more than 1 billion euros, it is one of the largest research institutions in Germany, developed by [kitconcept GmbH](https://kitconcept.com), 2023)
|
|
125
|
+
- [Helmholtz-Institut Erlangen-Nürnberg für Erneuerbare Energien (HI-ERN)](https://www.hi-ern.de/de) (Website for HI ERN, a research institution for renewable energies, developed by [kitconcept GmbH](https://kitconcept.com), 2022)
|
|
126
|
+
- [Humboldt Labor](https://www.humboldtforum.org/de/programm/dauerangebot/ausstellung/nach-der-natur-14144/) (The Humboldt Lab is a website where the Humboldt University Berlin presents its latest research projects and findings. Developed by [WLDX](https://wldx.de/) and [kitconcept GmbH](https://kitconcept.com), 2020)
|
|
127
|
+
- [ILPO](https://ilpo.jyu.fi/) (the registration portal of continuous learning at the University of Jyväskylä. Developed by University of Jyväskylä, 2022)
|
|
128
|
+
- [Industrial Emissions portal for Europe](https://industry.eea.europa.eu) (Thematic website focusing on European industrial emissions, developed by [Eau de Web](https://eaudeweb.ro/), 2020)
|
|
129
|
+
- [Jobfamilie MEDICE](https://jobfamilie.medice.de/de) (Carrer website for MEDICE Arzneimittel Pütter GmbH & Co. KG), developed by [Werkbank GmbH](https://werkbank.de/), 2020)
|
|
130
|
+
- [Lanku](https://www.lanku.eus) (Website for Lanku Kultur Zerbitzuak, a company offering cultural services and improvised Basque verse singing sessions across the Basque Country, developed by [CodeSyntax](https://www.codesyntax.com/en), 2023)
|
|
131
|
+
- [Leibniz Institute for Science and Mathematics Education (IPN)](https://www.leibniz-ipn.de/de) (Website of the IPN, a research institute dedicated to issues related to learning and teaching of science, mathematics and computer science in and outside of schools, developed by [Starzel](https://www.starzel.de), 2023)
|
|
132
|
+
- [MEDICE Webseite](https://medice.com/de-de) (Website for MEDICE Arzneimittel Pütter GmbH & Co. KG), developed by [Werkbank GmbH](https://werkbank.de/), 2020)
|
|
133
|
+
- [Nuova Voce Ecologista](https://nuovavoceecologista.it) (Website of Nuova Voce Ecologista, an Italian green Party, 2020)
|
|
134
|
+
- [Osaka University](https://www.osaka-u.ac.jp/en) (Osaka University is considered one of the most prestigious universities in Japan. Developed by [CMScom](https://www.cmscom.jp), 2021)
|
|
135
|
+
- [ResOU](https://resou.osaka-u.ac.jp/ja) (ResOU is introducing official researched releases by the University of Osaka, Japan. Developed by [CMScom](https://www.cmscom.jp), 2020)
|
|
136
|
+
- [Stradanove](https://www.stradanove.it/) (Website of the Department of Youth Policies of the Municipality of Modena, developed by [RedTurtle](https://www.redturtle.it), 2020)
|
|
137
|
+
- [Study guide at University of Jyväskylä](https://studyguide.jyu.fi/2020/en/) (Static website where [Volto is used as a headless CMS for authoring additional content](https://tech.blog.jyu.fi/2020/06/plone-volto-hasura-gatsbyjs-mashup/), 2020)
|
|
138
|
+
- [Talke Carrer Website](https://karriere.talke.com/) (Carrer website for [Talke](https://www.talke.com), one of the leading a chemical and petrochemical logistics companies in Germany, developed by [kitconcept GmbH](https://kitconcept.com), 2020)
|
|
139
|
+
- [UEU](https://www.ueu.eus) (Website for Udako Euskal Unibertsitatea, a non-profit University offering all its service only in Basque: courses, publications, ... developed by [CodeSyntax](https://www.codesyntax.com/en), 2023)
|
|
140
|
+
- [Unione dei Comuni della Val Bisenzio](https://www.bisenzio.it/) (Website of the Municipality union of Val Bisenzio. Developed by [RedTurtle](https://www.redturtle.it), 2021)
|
|
141
|
+
- [VHS Ehrenamtsportal](https://vhs-ehrenamtsportal.de) (Website to help volunteers that help refugees for the [German Adult Education Association](https://www.volkshochschule.de/), developed by [kitconcept GmbH](https://kitconcept.com), 2018)
|
|
142
|
+
- [VisitModena](https://www.visitmodena.it/it) (Tourist website of the Municipality of Modena, developed by [RedTurtle](https://www.redturtle.it), 2020)
|
|
143
|
+
- [WISE-Freshwater](https://water.europa.eu/freshwater) (WISE-Freshwater, the Freshwater Information System for Europe. Developed by [Eau de web](https://eaudeweb.ro) for the European Environmental Agency, 2021)
|
|
144
|
+
- [Zeelandia](https://www.zeelandia.de/) (Corporate website for one of the leading bakery ingredients manufacturers in Germany, developed by [kitconcept GmbH](https://kitconcept.com), 2019)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
### Open-source websites built with Volto
|
|
148
|
+
|
|
149
|
+
The following websites have been built with Volto.
|
|
150
|
+
You can find their complete source code by following their links.
|
|
151
|
+
Please note that complex websites are built on top of Volto add-ons, and most of the time they're just an empty shell for the add-ons.
|
|
152
|
+
You should check the dependencies in their `package.json` for more details.
|
|
153
|
+
|
|
154
|
+
- [Forest Information System for Europe](https://github.com/eea/fise-frontend) - Volto project for [Forest Information System for Europe website](https://forest.eea.europa.eu)
|
|
155
|
+
- [Freshwater Information System for Europe](https://github.com/eea/freshwater-frontend) - Volto project for [Freshwater Information System for Europe website](https://water.europa.eu/freshwater)
|
|
156
|
+
- [European Industrial Emissions Portal](https://github.com/eea/industry-frontend ) - Volto project for [European Industrial Emissions Portal website](https://industry.eea.europa.eu)
|
|
157
|
+
- [Biodiversity Information System for Europe](https://github.com/eea/bise-frontend) - Volto project for [Biodiversity Information System for Europe website](https://biodiversity.europa.eu)
|
|
158
|
+
- [EEA Main Website frontend](https://github.com/eea/eea-website-frontend) - Volto project for [European Environment Agency](https://www.eea.europa.eu/en)
|
|
159
|
+
- [Climate and energy in the EU](https://github.com/eea/climate-energy-frontend) - Volto project for [Climate and energy in the EU website](https://climate-energy.eea.europa.eu)
|
|
160
|
+
- [volto-bise](https://github.com/eea/volto-bise) - A Volto project packaged as an addon. It provides Theming using a razzle.extend.js provided alias.
|
|
161
|
+
- [design-volto-theme](https://github.com/RedTurtle/design-volto-theme) Volto theme for Italian Public Administration
|
|
162
|
+
- [2021.ploneconf.org](https://github.com/plone/ploneconf.org/tree/2021) - Volto project for [Plone Conference 2021 site](https://2021.ploneconf.org)
|
|
163
|
+
- [2022.ploneconf.org](https://github.com/plone/ploneconf.org/tree/2022) - Volto project for [Plone Conference 2022 site](https://2022.ploneconf.org)
|
|
164
|
+
- [2023.ploneconf.org](https://github.com/plone/ploneconf.org/tree/2023) - Volto project for [Plone Conference 2023 site](https://2023.ploneconf.org)
|
|
165
|
+
- [plone.org.br](https://github.com/plonegovbr/plone.org.br) - Volto project for the [Brazilian Plone Community](https://plone.org.br)
|
|
166
|
+
- [nsw-design-system-plone6-kit](https://github.com/pretagov/nsw-design-system-plone6-kit) - NSW Design System Plone 6 Kit Volto project for [NSW.gov.au sites](https://digitalnsw.pretagov.com.au/)
|
|
167
|
+
- [volto-centraalmuseum-theme](https://github.com/intk/volto-centraalmuseum-theme) - Volto project for the [Centraal Museum & Rietveld](https://www.centraalmuseum.nl/nl) made for [INTK](https://www.intk.com/en).
|
|
168
|
+
- [volto-eea-design-system](https://github.com/eea/volto-eea-design-system) - EEA Design System Plone 6 Kit Volto project for [European Environment Agency web sites](https://eea.github.io/volto-eea-design-system/)
|
|
169
|
+
- [volto-eea-website-theme](https://github.com/eea/volto-eea-website-theme) - EEA Plone 6 Volto Theme for [European Environment Agency web sites](https://www.eea.europa.eu/en)
|
|
170
|
+
- [volto-eea-kitkat](https://github.com/eea/volto-eea-kitkat) - A known good set of Volto add-ons to be used within all EEA projects and beyond, made for [European Environment Agency](https://www.eea.europa.eu/en)
|
|
171
|
+
- [volto-rietveldschroderhuis-theme](https://github.com/intk/volto-rietveldschroderhuis-theme) - Volto project for the [Rietveld Schröder House](https://www.rietveldschroderhuis.nl/en) made for [INTK](https://www.intk.com/en).
|
|
172
|
+
- [volto-zeeuwsmuseum-theme](https://github.com/intk/volto-zeeuwsmuseum-theme) - Volto project for the [Zeeuws Museum](https://www.zeeuwsmuseum.nl/en) made for [INTK](https://www.intk.com/en).
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
11
|
"license": "MIT",
|
|
12
|
-
"version": "18.1.
|
|
12
|
+
"version": "18.1.2",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "git@github.com:plone/volto.git"
|
|
@@ -141,7 +141,6 @@
|
|
|
141
141
|
">1%",
|
|
142
142
|
"last 4 versions",
|
|
143
143
|
"Firefox ESR",
|
|
144
|
-
"not ie 11",
|
|
145
144
|
"not dead"
|
|
146
145
|
],
|
|
147
146
|
"engines": {
|
package/razzle.config.js
CHANGED
|
@@ -414,15 +414,6 @@ const defaultModify = ({
|
|
|
414
414
|
]
|
|
415
415
|
: [];
|
|
416
416
|
|
|
417
|
-
if (config.devServer) {
|
|
418
|
-
config.devServer.static.watch.ignored = /node_modules\/(?!@plone\/volto)/;
|
|
419
|
-
config.snapshot = {
|
|
420
|
-
managedPaths: [
|
|
421
|
-
/^(.+?[\\/]node_modules[\\/](?!(@plone[\\/]volto))(@.+?[\\/])?.+?)[\\/]/,
|
|
422
|
-
],
|
|
423
|
-
};
|
|
424
|
-
}
|
|
425
|
-
|
|
426
417
|
return config;
|
|
427
418
|
};
|
|
428
419
|
|
|
@@ -123,13 +123,15 @@ const DisplaySelect = (props) => {
|
|
|
123
123
|
? state.content.data[getLayoutFieldname(state.content.data)]
|
|
124
124
|
: '',
|
|
125
125
|
);
|
|
126
|
+
const layoutMappingId = config.views.layoutViewsNamesMapping?.[layout];
|
|
126
127
|
const [selectedOption, setselectedOption] = useState({
|
|
127
128
|
value: layout,
|
|
128
|
-
label:
|
|
129
|
-
intl.formatMessage({
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
label: layoutMappingId
|
|
130
|
+
? intl.formatMessage({
|
|
131
|
+
id: layoutMappingId,
|
|
132
|
+
defaultMessage: layoutMappingId,
|
|
133
|
+
})
|
|
134
|
+
: layout,
|
|
133
135
|
});
|
|
134
136
|
|
|
135
137
|
const type = useSelector((state) =>
|
|
@@ -141,7 +141,7 @@ export class App extends Component {
|
|
|
141
141
|
{this.props.content && this.props.content['@type'] && (
|
|
142
142
|
<BodyClass
|
|
143
143
|
className={`contenttype-${this.props.content['@type']
|
|
144
|
-
.
|
|
144
|
+
.replaceAll(' ', '-')
|
|
145
145
|
.toLowerCase()}`}
|
|
146
146
|
/>
|
|
147
147
|
)}
|
|
@@ -155,7 +155,7 @@ export class App extends Component {
|
|
|
155
155
|
[`is-adding-contenttype-${decodeURIComponent(
|
|
156
156
|
this.props.location?.search?.replace('?type=', ''),
|
|
157
157
|
)
|
|
158
|
-
.
|
|
158
|
+
.replaceAll(' ', '-')
|
|
159
159
|
.toLowerCase()}`]: this.props.location?.search,
|
|
160
160
|
'is-authenticated': !!this.props.token,
|
|
161
161
|
'is-anonymous': !this.props.token,
|