@plone/volto 19.0.0-alpha.24 → 19.0.0-alpha.25
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 +14 -0
- package/package.json +7 -7
- package/src/components/manage/Blocks/Search/components/SelectFacet.jsx +1 -0
- package/src/components/manage/Blocks/Search/components/SortOn.jsx +2 -1
- package/src/components/manage/Blocks/Search/components/ToggleFacet.jsx +2 -0
- package/src/components/manage/Contents/Contents.jsx +8 -2
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,20 @@ myst:
|
|
|
17
17
|
|
|
18
18
|
<!-- towncrier release notes start -->
|
|
19
19
|
|
|
20
|
+
## 19.0.0-alpha.25 (2026-02-13)
|
|
21
|
+
|
|
22
|
+
### Feature
|
|
23
|
+
|
|
24
|
+
- If a delete operation fails, display the error message returned by the API (if any). @cekk [#7888](https://github.com/plone/volto/issues/7888)
|
|
25
|
+
|
|
26
|
+
### Bugfix
|
|
27
|
+
|
|
28
|
+
- Fix a11y error `missing aria-label` in search block facets widget. @iFlameing
|
|
29
|
+
|
|
30
|
+
### Internal
|
|
31
|
+
|
|
32
|
+
- Reinstalled all dependencies to latest compatible versions. @wesleybl [#7871](https://github.com/plone/volto/issues/7871)
|
|
33
|
+
|
|
20
34
|
## 19.0.0-alpha.24 (2026-02-12)
|
|
21
35
|
|
|
22
36
|
### Bugfix
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
11
|
"license": "MIT",
|
|
12
|
-
"version": "19.0.0-alpha.
|
|
12
|
+
"version": "19.0.0-alpha.25",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "git@github.com:plone/volto.git"
|
|
@@ -190,10 +190,10 @@
|
|
|
190
190
|
"url": "^0.11.3",
|
|
191
191
|
"use-deep-compare-effect": "1.8.1",
|
|
192
192
|
"uuid": "^8.3.2",
|
|
193
|
-
"@plone/components": "4.0.0-alpha.4",
|
|
194
|
-
"@plone/scripts": "4.0.0-alpha.5",
|
|
195
193
|
"@plone/volto-slate": "19.0.0-alpha.10",
|
|
196
|
-
"@plone/registry": "3.0.0-alpha.9"
|
|
194
|
+
"@plone/registry": "3.0.0-alpha.9",
|
|
195
|
+
"@plone/scripts": "4.0.0-alpha.5",
|
|
196
|
+
"@plone/components": "4.0.0-alpha.4"
|
|
197
197
|
},
|
|
198
198
|
"devDependencies": {
|
|
199
199
|
"@babel/core": "^7.28.5",
|
|
@@ -307,10 +307,10 @@
|
|
|
307
307
|
"webpack-bundle-analyzer": "4.10.1",
|
|
308
308
|
"webpack-dev-server": "4.11.1",
|
|
309
309
|
"webpack-node-externals": "3.0.0",
|
|
310
|
-
"@plone/razzle": "1.0.0-alpha.0",
|
|
311
|
-
"@plone/types": "2.0.0-alpha.14",
|
|
312
310
|
"@plone/babel-preset-razzle": "^1.0.0-alpha.0",
|
|
313
|
-
"@plone/
|
|
311
|
+
"@plone/razzle": "1.0.0-alpha.0",
|
|
312
|
+
"@plone/volto-coresandbox": "1.0.0",
|
|
313
|
+
"@plone/types": "2.0.0-alpha.14"
|
|
314
314
|
},
|
|
315
315
|
"volta": {
|
|
316
316
|
"node": "20.9.0"
|
|
@@ -21,6 +21,7 @@ const SelectFacet = (props) => {
|
|
|
21
21
|
return (
|
|
22
22
|
<Select
|
|
23
23
|
placeholder={facet?.title ?? (facet?.field?.label || 'select...')}
|
|
24
|
+
aria-label={facet?.title ?? facet?.field?.label ?? 'Select option'}
|
|
24
25
|
className="react-select-container"
|
|
25
26
|
classNamePrefix="react-select"
|
|
26
27
|
options={choices}
|
|
@@ -75,10 +75,11 @@ const SortOn = (props) => {
|
|
|
75
75
|
<div className="search-sort-on">
|
|
76
76
|
{showSelectField ? (
|
|
77
77
|
<>
|
|
78
|
-
<span className="sort-label">
|
|
78
|
+
<span id="sort-on-label" className="sort-label">
|
|
79
79
|
{intl.formatMessage(messages.sortOn)}
|
|
80
80
|
</span>
|
|
81
81
|
<Select
|
|
82
|
+
aria-labelledby="sort-on-label"
|
|
82
83
|
id="select-search-sort-on"
|
|
83
84
|
name="select-searchblock-sort-on"
|
|
84
85
|
className="search-react-select-container"
|
|
@@ -3,6 +3,7 @@ import { Radio, Header } from 'semantic-ui-react';
|
|
|
3
3
|
|
|
4
4
|
const ToggleFacet = (props) => {
|
|
5
5
|
const { facet, isEditMode, onChange, value } = props; // value, choices, isMulti, onChange,
|
|
6
|
+
const labelText = facet?.title ?? facet?.field?.label ?? 'Toggle option';
|
|
6
7
|
|
|
7
8
|
return (
|
|
8
9
|
<div className="checkbox-facet">
|
|
@@ -10,6 +11,7 @@ const ToggleFacet = (props) => {
|
|
|
10
11
|
<div className="radio">
|
|
11
12
|
<Radio
|
|
12
13
|
toggle
|
|
14
|
+
aria-label={labelText}
|
|
13
15
|
checked={value || typeof value === 'string'}
|
|
14
16
|
disabled={isEditMode}
|
|
15
17
|
onChange={(e, { checked }) => {
|
|
@@ -499,11 +499,17 @@ class Contents extends Component {
|
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
if (this.props.deleteRequest.loading && nextProps.deleteRequest.error) {
|
|
502
|
+
const deleteErrorMessageTitle = this.props.intl.formatMessage(
|
|
503
|
+
messages.deleteError,
|
|
504
|
+
);
|
|
505
|
+
const deleteErrorMessageContent =
|
|
506
|
+
nextProps.deleteRequest.error?.response?.body?.message ||
|
|
507
|
+
deleteErrorMessageTitle;
|
|
502
508
|
this.props.toastify.toast.error(
|
|
503
509
|
<Toast
|
|
504
510
|
error
|
|
505
|
-
title={
|
|
506
|
-
content={
|
|
511
|
+
title={deleteErrorMessageTitle}
|
|
512
|
+
content={deleteErrorMessageContent}
|
|
507
513
|
/>,
|
|
508
514
|
);
|
|
509
515
|
}
|