@plone/volto 16.17.0 → 16.17.1

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.draft CHANGED
@@ -1,22 +1,10 @@
1
- ## 16.17.0 (2023-03-15)
2
-
3
- ### Feature
4
-
5
- - Add option to hide empty listing blocks @ksuess [#4393](https://github.com/plone/volto/issues/4393)
1
+ ## 16.17.1 (2023-03-16)
6
2
 
7
3
  ### Bugfix
8
4
 
9
- - Added block prop to BlockDataForm in the Edit component of ToC. If block is not passed, OnChangeBlock will be called with undefined block id. @tedw87 [#4110](https://github.com/plone/volto/issues/4110)
10
- - Fix focus steal in Form @tedw87 [#4230](https://github.com/plone/volto/issues/4230)
11
- - Fixed paste issue in Table Block and added cypress test for pasting text in Table Block. [#4301](https://github.com/plone/volto/issues/4301)
12
- - Fixed i18n script to avoid overwriting translations with an empty msgstr @danalvrz [#4316](https://github.com/plone/volto/issues/4316)
13
- - bugfix: conditionally render all delete items in confirm widget [#4336](https://github.com/plone/volto/issues/4336)
14
- - Make the Site Setup control panel responsive for small screen devices. @lord2anil [#4484](https://github.com/plone/volto/issues/4484)
15
- - The menu for the contents page was unresponsive on mobile devices. Fixed this by changing the menu overflow to scroll. @sudhanshu1309 [#4492](https://github.com/plone/volto/issues/4492)
16
- - (fix): Paste button disappearing while coping from nested blocks @dobri1408 [#4505](https://github.com/plone/volto/issues/4505)
17
- - Fix flaky Cypress test introduced in #4521 @sneridagh [#4522](https://github.com/plone/volto/issues/4522)
5
+ - Fix Search is case sensitive in Block chooser @iRohitSingh [#4526](https://github.com/plone/volto/issues/4526)
18
6
 
19
7
  ### Documentation
20
8
 
21
- - Fix training urls @ksuess [#4502](https://github.com/plone/volto/issues/4502)
9
+ - Deleted duplicate import and fixed training URLs. @yahya-cloud [#4523](https://github.com/plone/volto/issues/4523)
22
10
 
Binary file
package/CHANGELOG.md CHANGED
@@ -8,6 +8,17 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 16.17.1 (2023-03-16)
12
+
13
+ ### Bugfix
14
+
15
+ - Fix Search is case sensitive in Block chooser @iRohitSingh [#4526](https://github.com/plone/volto/issues/4526)
16
+
17
+ ### Documentation
18
+
19
+ - Deleted duplicate import and fixed training URLs. @yahya-cloud [#4523](https://github.com/plone/volto/issues/4523)
20
+
21
+
11
22
  ## 16.17.0 (2023-03-15)
12
23
 
13
24
  ### Feature
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  }
10
10
  ],
11
11
  "license": "MIT",
12
- "version": "16.17.0",
12
+ "version": "16.17.1",
13
13
  "repository": {
14
14
  "type": "git",
15
15
  "url": "git@github.com:plone/volto.git"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plone/volto-slate",
3
- "version": "16.17.0",
3
+ "version": "16.17.1",
4
4
  "description": "Slate.js integration with Volto",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -89,14 +89,18 @@ const BlockChooser = ({
89
89
  function blocksAvailableFilter(blocks) {
90
90
  return blocks.filter(
91
91
  (block) =>
92
- getFormatMessage(block.title).toLowerCase().includes(filterValue) ||
92
+ getFormatMessage(block.title)
93
+ .toLowerCase()
94
+ .includes(filterValue.toLowerCase()) ||
93
95
  filterVariations(block)?.length,
94
96
  );
95
97
  }
96
98
  function filterVariations(block) {
97
99
  return block.variations?.filter(
98
100
  (variation) =>
99
- getFormatMessage(variation.title).toLowerCase().includes(filterValue) &&
101
+ getFormatMessage(variation.title)
102
+ .toLowerCase()
103
+ .includes(filterValue.toLowerCase()) &&
100
104
  !variation.title.toLowerCase().includes('default'),
101
105
  );
102
106
  }