@plone/volto 18.27.0 → 18.27.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/.eslintrc
CHANGED
|
@@ -37,13 +37,6 @@
|
|
|
37
37
|
"react-hooks/exhaustive-deps": "warn",
|
|
38
38
|
"react/react-in-jsx-scope": "off",
|
|
39
39
|
"jsx-a11y/label-has-associated-control": "off",
|
|
40
|
-
"no-restricted-syntax": [
|
|
41
|
-
"error",
|
|
42
|
-
{
|
|
43
|
-
"selector": "JSXElement[openingElement.name.name='img']",
|
|
44
|
-
"message": "Use the Image component from '@plone/volto/components/theme/Image/Image' instead of <img> tag."
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
40
|
},
|
|
48
41
|
"settings": {
|
|
49
42
|
"import/resolver": {
|
|
@@ -82,19 +75,6 @@
|
|
|
82
75
|
"import/no-anonymous-default-export": "off",
|
|
83
76
|
},
|
|
84
77
|
},
|
|
85
|
-
{
|
|
86
|
-
"files": [
|
|
87
|
-
"**/Image/Image.jsx",
|
|
88
|
-
"**/Image/Image.js",
|
|
89
|
-
"**/*.stories.js",
|
|
90
|
-
"**/*.stories.jsx",
|
|
91
|
-
"**/*.test.js",
|
|
92
|
-
"**/*.test.jsx"
|
|
93
|
-
],
|
|
94
|
-
"rules": {
|
|
95
|
-
"no-restricted-syntax": "off"
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
78
|
],
|
|
99
79
|
"globals": {
|
|
100
80
|
"root": true,
|
|
@@ -111,7 +91,7 @@
|
|
|
111
91
|
"jest": true,
|
|
112
92
|
"socket": true,
|
|
113
93
|
"webpackIsomorphicTools": true,
|
|
114
|
-
"vitest":true,
|
|
115
|
-
"vi":true
|
|
94
|
+
"vitest": true,
|
|
95
|
+
"vi": true,
|
|
116
96
|
},
|
|
117
97
|
}
|
package/.eslintrc.core.js
CHANGED
|
@@ -35,6 +35,14 @@ if (process.env.VOLTOCONFIG) {
|
|
|
35
35
|
"Importing directly from `lodash` is not allowed. Please use `import <helper> from 'lodash/<helper>'` instead.",
|
|
36
36
|
},
|
|
37
37
|
],
|
|
38
|
+
'no-restricted-syntax': [
|
|
39
|
+
'warn',
|
|
40
|
+
{
|
|
41
|
+
selector: "JSXElement[openingElement.name.name='img']",
|
|
42
|
+
message:
|
|
43
|
+
"Use the Image component from '@plone/volto/components/theme/Image/Image' instead of <img> tag.",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
38
46
|
};
|
|
39
47
|
}
|
|
40
48
|
|
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,20 @@ myst:
|
|
|
17
17
|
|
|
18
18
|
<!-- towncrier release notes start -->
|
|
19
19
|
|
|
20
|
+
## 18.27.2 (2025-09-29)
|
|
21
|
+
|
|
22
|
+
### Bugfix
|
|
23
|
+
|
|
24
|
+
- 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)
|
|
25
|
+
- 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)
|
|
26
|
+
- Added guard in API REDUX middleware. @sneridagh [#7412](https://github.com/plone/volto/issues/7412)
|
|
27
|
+
|
|
28
|
+
## 18.27.1 (2025-09-26)
|
|
29
|
+
|
|
30
|
+
### Bugfix
|
|
31
|
+
|
|
32
|
+
- Revert #7389 ESlint rule definition. @sneridagh [#7401](https://github.com/plone/volto/issues/7401)
|
|
33
|
+
|
|
20
34
|
## 18.27.0 (2025-09-26)
|
|
21
35
|
|
|
22
36
|
### Feature
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
11
|
"license": "MIT",
|
|
12
|
-
"version": "18.27.
|
|
12
|
+
"version": "18.27.2",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "git@github.com:plone/volto.git"
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
"use-deep-compare-effect": "1.8.1",
|
|
238
238
|
"uuid": "^8.3.2",
|
|
239
239
|
"@plone/registry": "2.5.4",
|
|
240
|
-
"@plone/scripts": "3.10.
|
|
240
|
+
"@plone/scripts": "3.10.2",
|
|
241
241
|
"@plone/volto-slate": "18.6.0"
|
|
242
242
|
},
|
|
243
243
|
"devDependencies": {
|
|
@@ -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' };
|
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
|