@plone/volto 18.27.1 → 18.27.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,24 @@ myst:
|
|
|
17
17
|
|
|
18
18
|
<!-- towncrier release notes start -->
|
|
19
19
|
|
|
20
|
+
## 18.27.3 (2025-10-01)
|
|
21
|
+
|
|
22
|
+
### Bugfix
|
|
23
|
+
|
|
24
|
+
- Fix image rerender on page edit. @calinvladth [#7391](https://github.com/plone/volto/issues/7391)
|
|
25
|
+
|
|
26
|
+
### Internal
|
|
27
|
+
|
|
28
|
+
- Acceptance test for Teaser Block Refresh Source Content @Tishasoumya-02
|
|
29
|
+
|
|
30
|
+
## 18.27.2 (2025-09-29)
|
|
31
|
+
|
|
32
|
+
### Bugfix
|
|
33
|
+
|
|
34
|
+
- Update folder content search input to announce result count for screen readers on search or input change. @Wagner3UB [#7305](https://github.com/plone/volto/issues/7305)
|
|
35
|
+
- Check if we are editing a content type before rendering the Content Type control panel form. @ericof [#7396](https://github.com/plone/volto/issues/7396)
|
|
36
|
+
- Added guard in API REDUX middleware. @sneridagh [#7412](https://github.com/plone/volto/issues/7412)
|
|
37
|
+
|
|
20
38
|
## 18.27.1 (2025-09-26)
|
|
21
39
|
|
|
22
40
|
### Bugfix
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
11
|
"license": "MIT",
|
|
12
|
-
"version": "18.27.
|
|
12
|
+
"version": "18.27.3",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "git@github.com:plone/volto.git"
|
|
@@ -237,8 +237,8 @@
|
|
|
237
237
|
"use-deep-compare-effect": "1.8.1",
|
|
238
238
|
"uuid": "^8.3.2",
|
|
239
239
|
"@plone/registry": "2.5.4",
|
|
240
|
-
"@plone/
|
|
241
|
-
"@plone/
|
|
240
|
+
"@plone/scripts": "3.10.2",
|
|
241
|
+
"@plone/volto-slate": "18.6.0"
|
|
242
242
|
},
|
|
243
243
|
"devDependencies": {
|
|
244
244
|
"@babel/core": "^7.0.0",
|
|
@@ -364,8 +364,8 @@
|
|
|
364
364
|
"webpack-dev-server": "4.11.1",
|
|
365
365
|
"webpack-node-externals": "3.0.0",
|
|
366
366
|
"why": "0.6.2",
|
|
367
|
-
"@plone/
|
|
368
|
-
"@plone/
|
|
367
|
+
"@plone/types": "1.4.5",
|
|
368
|
+
"@plone/volto-coresandbox": "1.0.0"
|
|
369
369
|
},
|
|
370
370
|
"volta": {
|
|
371
371
|
"node": "20.9.0"
|
|
@@ -182,7 +182,7 @@ class ContentType extends Component {
|
|
|
182
182
|
return <Error error={this.state.error} />;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
if (this.props.controlpanel) {
|
|
185
|
+
if (this.props.controlpanel?.data) {
|
|
186
186
|
let controlpanel = this.props.controlpanel;
|
|
187
187
|
if (controlpanel?.data?.filter_content_types === false) {
|
|
188
188
|
controlpanel.data.filter_content_types = { title: 'all', token: 'all' };
|
|
@@ -15,7 +15,6 @@ import UniversalLink from '@plone/volto/components/manage/UniversalLink/Universa
|
|
|
15
15
|
import FormFieldWrapper from '@plone/volto/components/manage/Widgets/FormFieldWrapper';
|
|
16
16
|
import Image from '@plone/volto/components/theme/Image/Image';
|
|
17
17
|
import loadable from '@loadable/component';
|
|
18
|
-
import { flattenToAppURL } from '@plone/volto/helpers/Url/Url';
|
|
19
18
|
import { validateFileUploadSize } from '@plone/volto/helpers/FormValidation/FormValidation';
|
|
20
19
|
import { defineMessages, useIntl } from 'react-intl';
|
|
21
20
|
import { toast } from 'react-toastify';
|
|
@@ -96,11 +95,18 @@ const FileWidget = (props) => {
|
|
|
96
95
|
}
|
|
97
96
|
}, [value]);
|
|
98
97
|
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
98
|
+
const imgAttrs = React.useMemo(() => {
|
|
99
|
+
const data = {};
|
|
100
|
+
if (value?.download) {
|
|
101
|
+
data.item = {
|
|
102
|
+
'@id': value.download.substring(0, value.download.indexOf('/@@images')),
|
|
103
|
+
image: value,
|
|
104
|
+
};
|
|
105
|
+
} else if (value?.data) {
|
|
106
|
+
data.src = `data:${value['content-type']};${value.encoding},${value.data}`;
|
|
107
|
+
}
|
|
108
|
+
return data;
|
|
109
|
+
}, [value]);
|
|
104
110
|
|
|
105
111
|
/**
|
|
106
112
|
* Drop handler
|
|
@@ -175,7 +181,7 @@ const FileWidget = (props) => {
|
|
|
175
181
|
<Image
|
|
176
182
|
className="image-preview small ui image"
|
|
177
183
|
id={`field-${id}-image`}
|
|
178
|
-
|
|
184
|
+
{...imgAttrs}
|
|
179
185
|
/>
|
|
180
186
|
) : (
|
|
181
187
|
<div className="dropzone-placeholder">
|
package/src/middleware/api.js
CHANGED
package/news/7305.fix
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Update folder content search input to announce result count for screen readers on search or input change. @Wagner3UB
|