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 CHANGED
@@ -1,3 +1,3 @@
1
- ## 0.3.0-alpha.2 (2026-04-03)
1
+ ## 0.3.0-alpha.6 (2026-04-17)
2
2
 
3
3
 
package/.release-it.json CHANGED
@@ -13,7 +13,8 @@
13
13
  "after:release": "rm .changelog.draft README.md"
14
14
  },
15
15
  "npm": {
16
- "publish": false
16
+ "publish": false,
17
+ "versionArgs": ["--workspaces-update=false"]
17
18
  },
18
19
  "plonePrePublish": {
19
20
  "publish": true
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,6 +1,6 @@
1
1
  {
2
2
  "name": "volto-searchblocks",
3
- "version": "0.3.0-alpha.2",
3
+ "version": "0.3.0-alpha.6",
4
4
  "description": "Additional control-panel that allow users to search which contents using a specific block",
5
5
  "main": "src/index.ts",
6
6
  "license": "MIT",
@@ -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
- max-width: 100%;
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
- <div className="loader">
177
+ <Loader active inline="centered" size="medium">
178
178
  <FormattedMessage {...messages.loading} />
179
- </div>
179
+ </Loader>
180
180
  )}
181
181
 
182
182
  {!loading && items && items.length > 0 && (
@@ -1,3 +1,4 @@
1
1
  export const SEARCH_BLOCKS = 'SEARCH_BLOCKS';
2
+ export const SEARCH_BLOCKS_PENDING = 'SEARCH_BLOCKS_PENDING';
2
3
  export const SEARCH_BLOCKS_SUCCESS = 'SEARCH_BLOCKS_SUCCESS';
3
4
  export const SEARCH_BLOCKS_FAIL = 'SEARCH_BLOCKS_FAIL';
@@ -1,5 +1,5 @@
1
1
  import {
2
- SEARCH_BLOCKS,
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 SEARCH_BLOCKS:
20
+ case SEARCH_BLOCKS_PENDING:
21
21
  return {
22
22
  ...state,
23
23
  error: null,