volto-searchblocks 0.3.0-alpha.2 → 0.3.0-alpha.6
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 +1 -1
- package/.release-it.json +2 -1
- package/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/components/SearchBlocks/SearchBlocks.css +15 -2
- package/src/components/SearchBlocks/SearchBlocks.jsx +3 -3
- package/src/constants/ActionTypes.js +1 -0
- package/src/reducers/searchBlocks.js +2 -2
package/.changelog.draft
CHANGED
package/.release-it.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,14 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- towncrier release notes start -->
|
|
10
10
|
|
|
11
|
+
## 0.3.0-alpha.6 (2026-04-17)
|
|
12
|
+
|
|
13
|
+
## 0.3.0-alpha.3 (2026-04-14)
|
|
14
|
+
|
|
15
|
+
### Bugfix
|
|
16
|
+
|
|
17
|
+
- Fixed table layout/css. @giulio-red-turtle
|
|
18
|
+
|
|
11
19
|
## 0.3.0-alpha.2 (2026-04-03)
|
|
12
20
|
|
|
13
21
|
## 0.3.0-alpha.1 (2026-04-03)
|
package/package.json
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
.ReactVirtualized__Grid.ReactVirtualized__List {
|
|
2
|
-
width: 100
|
|
2
|
+
width: 100% !important;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.ReactVirtualized__Grid__innerScrollContainer {
|
|
6
|
-
|
|
6
|
+
width: 100% !important;
|
|
7
|
+
max-width: 100% !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.react-select__menu {
|
|
11
|
+
z-index: 99;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.blocks-search-results .ui.table th {
|
|
15
|
+
white-space: nowrap;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.blocks-search-results .ui.table td:nth-child(n + 2) {
|
|
19
|
+
white-space: nowrap;
|
|
7
20
|
}
|
|
@@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react';
|
|
|
2
2
|
import { useDispatch, useSelector } from 'react-redux';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import { Link } from 'react-router-dom';
|
|
5
|
-
import { Container, Segment, Header, Table } from 'semantic-ui-react';
|
|
5
|
+
import { Container, Segment, Header, Table, Loader } from 'semantic-ui-react';
|
|
6
6
|
import { Helmet } from '@plone/volto/helpers';
|
|
7
7
|
import { SelectWidget } from '@plone/volto/components';
|
|
8
8
|
import Toolbar from '@plone/volto/components/manage/Toolbar/Toolbar';
|
|
@@ -174,9 +174,9 @@ const SearchBlocks = (props) => {
|
|
|
174
174
|
<Segment>
|
|
175
175
|
<div className="blocks-search-results">
|
|
176
176
|
{loading && (
|
|
177
|
-
<
|
|
177
|
+
<Loader active inline="centered" size="medium">
|
|
178
178
|
<FormattedMessage {...messages.loading} />
|
|
179
|
-
</
|
|
179
|
+
</Loader>
|
|
180
180
|
)}
|
|
181
181
|
|
|
182
182
|
{!loading && items && items.length > 0 && (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
SEARCH_BLOCKS_PENDING,
|
|
3
3
|
SEARCH_BLOCKS_SUCCESS,
|
|
4
4
|
SEARCH_BLOCKS_FAIL,
|
|
5
5
|
} from '../constants/ActionTypes';
|
|
@@ -17,7 +17,7 @@ const initialState = {
|
|
|
17
17
|
|
|
18
18
|
export default function searchBlocks(state = initialState, action = {}) {
|
|
19
19
|
switch (action.type) {
|
|
20
|
-
case
|
|
20
|
+
case SEARCH_BLOCKS_PENDING:
|
|
21
21
|
return {
|
|
22
22
|
...state,
|
|
23
23
|
error: null,
|