@eeacms/volto-clms-theme 1.1.241 → 1.1.243

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,26 @@ 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.243](https://github.com/eea/volto-clms-theme/compare/1.1.242...1.1.243) - 20 June 2025
8
+
9
+ #### :house: Internal changes
10
+
11
+ - style: Automated code fix [eea-jenkins - [`9d7856c`](https://github.com/eea/volto-clms-theme/commit/9d7856cab262779932d0f97786f1fbd65627a7fc)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - Refs #286059 - Technical Library search: fix styles for facet filters accordions. [GhitaB - [`bd528af`](https://github.com/eea/volto-clms-theme/commit/bd528af42e61605bfed771f2cfe2e44f4a6b79a8)]
16
+ - Refs #286059 - Technical Library search: fix empty description too much empty space. [GhitaB - [`57399bf`](https://github.com/eea/volto-clms-theme/commit/57399bf203b79c7bd579f45b7aba73d2924e2567)]
17
+ - Refs #286059 - Technical Library search: show description. Fix Publication year facet label. [GhitaB - [`b208141`](https://github.com/eea/volto-clms-theme/commit/b208141adceee80e6e79d48d8f926f8a8890dd5f)]
18
+ ### [1.1.242](https://github.com/eea/volto-clms-theme/compare/1.1.241...1.1.242) - 18 June 2025
19
+
20
+ #### :house: Internal changes
21
+
22
+ - style: Automated code fix [eea-jenkins - [`b15ac8a`](https://github.com/eea/volto-clms-theme/commit/b15ac8a9d8d96c92b752dafa56dc3f3e62d12f4b)]
23
+
24
+ #### :hammer_and_wrench: Others
25
+
26
+ - Refs #286059 - Technical Library search: solve pagination style. [GhitaB - [`c46d065`](https://github.com/eea/volto-clms-theme/commit/c46d06563fb08f0677835c64d5ddd5d4592b6360)]
7
27
  ### [1.1.241](https://github.com/eea/volto-clms-theme/compare/1.1.240...1.1.241) - 11 June 2025
8
28
 
9
29
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.1.241",
3
+ "version": "1.1.243",
4
4
  "description": "volto-clms-theme: Volto theme for CLMS site",
5
5
  "main": "src/index.js",
6
6
  "author": "CodeSyntax for the European Environment Agency",
@@ -53,7 +53,7 @@ const CLMSNewsItemView = (props) => {
53
53
  }
54
54
 
55
55
  return (
56
- <div className="ccl-container">
56
+ <div className="ccl-container news-item-margins">
57
57
  {hasBlocksData(content) && content.blocks_layout?.items?.length > 4 ? (
58
58
  <RenderBlocks {...props} />
59
59
  ) : (
@@ -21,6 +21,7 @@ function formatFileSize(bytes) {
21
21
 
22
22
  const TechnicalLibraryItem = (props) => {
23
23
  const { result } = props;
24
+ // console.log('result', result);
24
25
  const [showCategories, setShowCategories] = useState(false);
25
26
  const user = useSelector((state) => state.users.user);
26
27
  const isAdmin = user?.roles?.includes('Manager');
@@ -100,7 +101,7 @@ const TechnicalLibraryItem = (props) => {
100
101
 
101
102
  const itemModel = {
102
103
  hasImage: result.hasImage,
103
- hasDescription: false,
104
+ hasDescription: true,
104
105
  '@type': 'searchItem',
105
106
  };
106
107
 
@@ -1,4 +1,6 @@
1
1
  @clms-primary: #a0b128;
2
+ @clms-dark: #273b4b;
3
+ @clms-light-gray: #808080;
2
4
 
3
5
  body.clmsSearchTechnicalLibrary-view {
4
6
  div#page-document.container {
@@ -6,11 +8,23 @@ body.clmsSearchTechnicalLibrary-view {
6
8
  }
7
9
  }
8
10
 
11
+ .searchlib-block .dropdown-facets-list .sidebar-wrapper .sidebar-content h3 {
12
+ color: @clms-dark !important;
13
+ }
14
+
15
+ .searchlib-block .dropdown-facets-list .sidebar-wrapper .clear-btn {
16
+ color: @clms-primary !important;
17
+ }
18
+
9
19
  .searchapp.searchapp-clmsSearchTechnicalLibrary {
10
20
  a.back-link {
11
21
  display: none;
12
22
  }
13
23
 
24
+ .listing-body p.listing-description {
25
+ min-height: 0px;
26
+ }
27
+
14
28
  .ui.secondary.pointing.content-section-tabs.menu {
15
29
  .active.item {
16
30
  border-color: @clms-primary;
@@ -24,7 +38,7 @@ body.clmsSearchTechnicalLibrary-view {
24
38
  }
25
39
 
26
40
  i.icon.chevron.down:before {
27
- color: #808080;
41
+ color: @clms-light-gray;
28
42
  content: '▼';
29
43
  }
30
44
 
@@ -36,6 +50,27 @@ body.clmsSearchTechnicalLibrary-view {
36
50
  content: '❯';
37
51
  }
38
52
 
53
+ .sidebar-wrapper .accordion.ui {
54
+ border-bottom: 1px solid @clms-primary;
55
+ margin-bottom: 20px;
56
+
57
+ .title {
58
+ font-weight: 600;
59
+
60
+ i.icon.ri-arrow-down-s-line {
61
+ float: right;
62
+ }
63
+
64
+ i.icon.ri-arrow-down-s-line:before {
65
+ position: relative;
66
+ top: -3px;
67
+ color: @clms-light-gray;
68
+ content: '▼';
69
+ font-size: 12px !important;
70
+ }
71
+ }
72
+ }
73
+
39
74
  div.active-filters button.clear-filters {
40
75
  top: 0px !important;
41
76
  }
@@ -76,6 +111,41 @@ body.clmsSearchTechnicalLibrary-view {
76
111
  margin-top: 0px;
77
112
  }
78
113
 
114
+ .search-body-footer {
115
+ .paging-wrapper {
116
+ border-bottom: none;
117
+ }
118
+
119
+ .button.double-angle:after,
120
+ .button.double-angle:before {
121
+ top: 11px !important;
122
+ width: 7px !important;
123
+ height: 7px !important;
124
+ color: @clms-primary;
125
+ }
126
+
127
+ .button.single-angle:after {
128
+ top: 12px !important;
129
+ width: 7px !important;
130
+ height: 7px !important;
131
+ color: @clms-primary;
132
+ }
133
+
134
+ .ui.button.pagination-item {
135
+ min-width: 48px;
136
+ color: @clms-primary;
137
+ font-size: 16px !important;
138
+
139
+ &.active {
140
+ color: rgba(0, 0, 0, 0.87) !important;
141
+ }
142
+
143
+ &:after {
144
+ display: none;
145
+ }
146
+ }
147
+ }
148
+
79
149
  div.admin-info {
80
150
  strong.categorization-expand {
81
151
  display: flex;
@@ -24,4 +24,12 @@ const facet_is_archived = facets.find((f) => f.field === 'IncludeArchived');
24
24
  if (facet_is_archived && facet_is_archived.showInSecondaryFacetsList) {
25
25
  facet_is_archived.showInSecondaryFacetsList = false;
26
26
  }
27
+
28
+ // Change label for Publishing year
29
+ const facet_year = facets.find((f) => f.field === 'year');
30
+ if (facet_year && facet_year.label) {
31
+ facet_year.label = 'Publication year';
32
+ }
33
+
34
+ // console.log('facets', facets);
27
35
  export default facets;
@@ -27,4 +27,5 @@
27
27
  @import 'column-product-card';
28
28
  @import 'product-tab-toggle';
29
29
  @import 'clms-table';
30
- @import 'dataset-info-section';
30
+ @import 'dataset-info-section';
31
+ @import 'news-item';
@@ -0,0 +1,4 @@
1
+ .ccl-container.news-item-margins > :not([class*='has--margin']) {
2
+ margin-left: 10% !important;
3
+ margin-right: 10% !important;
4
+ }