@eeacms/volto-clms-theme 1.1.290 → 1.1.291
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
|
@@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [1.1.291](https://github.com/eea/volto-clms-theme/compare/1.1.290...1.1.291) - 22 May 2026
|
|
8
|
+
|
|
7
9
|
### [1.1.290](https://github.com/eea/volto-clms-theme/compare/1.1.289...1.1.290) - 21 May 2026
|
|
8
10
|
|
|
9
11
|
#### :rocket: New Features
|
package/package.json
CHANGED
|
@@ -10,6 +10,7 @@ import FilterList from './FilterList';
|
|
|
10
10
|
import CclFiltersModal from '@eeacms/volto-clms-theme/components/CclFiltersModal/CclFiltersModal';
|
|
11
11
|
import { Icon } from '@plone/volto/components';
|
|
12
12
|
import React from 'react';
|
|
13
|
+
import categoryFilterSVG from './icons/filter-symbol.svg';
|
|
13
14
|
import filterSVG from '@plone/volto/icons/filter.svg';
|
|
14
15
|
import { flushSync } from 'react-dom';
|
|
15
16
|
import { usesGlobalSearchDesign } from './searchDesign';
|
|
@@ -30,7 +31,9 @@ const FacetWrapper = ({ children }) => (
|
|
|
30
31
|
const getSortLabel = (value, querystring) => {
|
|
31
32
|
const title = querystring?.sortable_indexes?.[value]?.title || value;
|
|
32
33
|
if (
|
|
33
|
-
['effective', 'publication_date', 'modified'].includes(
|
|
34
|
+
['effective', 'publication_date', 'modified', 'resourceEffective'].includes(
|
|
35
|
+
value,
|
|
36
|
+
) ||
|
|
34
37
|
/publication date/i.test(title)
|
|
35
38
|
) {
|
|
36
39
|
return 'Time';
|
|
@@ -165,16 +168,15 @@ const RightModalFacets = (props) => {
|
|
|
165
168
|
>
|
|
166
169
|
<Icon
|
|
167
170
|
className="global-search-categories-filter-icon"
|
|
168
|
-
name={
|
|
169
|
-
size="
|
|
170
|
-
color="#fff"
|
|
171
|
+
name={categoryFilterSVG}
|
|
172
|
+
size="7px"
|
|
171
173
|
/>
|
|
172
174
|
</span>
|
|
173
175
|
) : (
|
|
174
176
|
<Icon className="ui" name={filterSVG} size={'20'} />
|
|
175
177
|
)}
|
|
176
178
|
<span className="filters-title-bold">
|
|
177
|
-
{hasGlobalSearchDesign ? 'Show
|
|
179
|
+
{hasGlobalSearchDesign ? 'Show Filters' : data.facetsTitle}
|
|
178
180
|
</span>
|
|
179
181
|
</div>
|
|
180
182
|
</div>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="10" height="7" viewBox="0 0 10 7" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 1H9V2H1V1Z" fill="white" style="fill:white;fill-opacity:1;" />
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 5H7V6H3V5Z" fill="white" style="fill:white;fill-opacity:1;" />
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M2 3V4H8V3H2Z" fill="white" style="fill:white;fill-opacity:1;" />
|
|
5
|
+
</svg>
|
|
@@ -491,13 +491,6 @@ body.global-search-page
|
|
|
491
491
|
color: @clmsGreen;
|
|
492
492
|
}
|
|
493
493
|
|
|
494
|
-
body.global-search-page
|
|
495
|
-
.block.search.global-search-block
|
|
496
|
-
.global-search-sorting
|
|
497
|
-
button:first-of-type {
|
|
498
|
-
color: #808080;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
494
|
body.global-search-page
|
|
502
495
|
.block.search.global-search-block
|
|
503
496
|
.global-search-sort-direction {
|