@plone/volto 18.0.0-alpha.39 → 18.0.0-alpha.40

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,20 @@ myst:
17
17
 
18
18
  <!-- towncrier release notes start -->
19
19
 
20
+ ## 18.0.0-alpha.40 (2024-07-03)
21
+
22
+ ### Bugfix
23
+
24
+ - Fix aria-label of items that are `folderish` in ObjectBrowserNav component when performing item search. Previously it said `Select item.title` now `Browse item.title`. This brings it in line with the aria-label when not performing an item search. @sneridagh [#6150](https://github.com/plone/volto/issues/6150)
25
+
26
+ ### Internal
27
+
28
+ - Automatically add a PLIP issue to the PLIP project board. @stevepiercy [#6134](https://github.com/plone/volto/issues/6134)
29
+
30
+ ### Documentation
31
+
32
+ - Fix link to renamed `src/constants/Languages.cjs`. @stevepiercy [#6135](https://github.com/plone/volto/issues/6135)
33
+
20
34
  ## 18.0.0-alpha.39 (2024-06-28)
21
35
 
22
36
  ### Bugfix
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  }
10
10
  ],
11
11
  "license": "MIT",
12
- "version": "18.0.0-alpha.39",
12
+ "version": "18.0.0-alpha.40",
13
13
  "repository": {
14
14
  "type": "git",
15
15
  "url": "git@github.com:plone/volto.git"
@@ -236,8 +236,8 @@
236
236
  "url": "^0.11.3",
237
237
  "use-deep-compare-effect": "1.8.1",
238
238
  "uuid": "^8.3.2",
239
+ "@plone/volto-slate": "18.0.0-alpha.16",
239
240
  "@plone/registry": "1.7.0",
240
- "@plone/volto-slate": "18.0.0-alpha.15",
241
241
  "@plone/scripts": "3.6.2"
242
242
  },
243
243
  "devDependencies": {
@@ -60,9 +60,11 @@ const ObjectBrowserNav = ({
60
60
  onClick={(e) => handleClickOnItem(item)}
61
61
  onDoubleClick={() => handleDoubleClickOnItem(item)}
62
62
  className="image-preview"
63
- aria-label={`${intl.formatMessage(messages.select)} ${
64
- item.title
65
- }`}
63
+ aria-label={
64
+ item.is_folderish && mode === 'image'
65
+ ? `${intl.formatMessage(messages.browse)} ${item.title}`
66
+ : `${intl.formatMessage(messages.select)} ${item.title}`
67
+ }
66
68
  >
67
69
  {item['@type'] === 'Image' ? (
68
70
  <img