@eeacms/volto-clms-theme 1.1.280 → 1.1.282

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,13 @@ 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.282](https://github.com/eea/volto-clms-theme/compare/1.1.281...1.1.282) - 14 April 2026
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Refs #302352 - Hide size (0B) in case of external items. [GhitaB - [`30ee5c5`](https://github.com/eea/volto-clms-theme/commit/30ee5c5b441bb476a18f487cf921dd17ef86b79d)]
12
+ ### [1.1.281](https://github.com/eea/volto-clms-theme/compare/1.1.280...1.1.281) - 8 April 2026
13
+
7
14
  ### [1.1.280](https://github.com/eea/volto-clms-theme/compare/1.1.279...1.1.280) - 1 April 2026
8
15
 
9
16
  #### :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.280",
3
+ "version": "1.1.282",
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",
@@ -24,6 +24,7 @@ const TechnicalLibraryItem = (props) => {
24
24
  const [showCategories, setShowCategories] = useState(false);
25
25
  const user = useSelector((state) => state.users.user);
26
26
  const isAdmin = user?.roles?.includes('Manager');
27
+ const fileSize = Number(result.file_size?.raw) || 0;
27
28
  let item_url = `${result.href}/@@download/file`;
28
29
 
29
30
  const external_source = result?._result?.external_source_url?.raw;
@@ -72,8 +73,11 @@ const TechnicalLibraryItem = (props) => {
72
73
  <strong>Publication date: </strong>
73
74
  <span>{cclDateFormat(result.issued)}</span> &nbsp;
74
75
  <strong>Version: </strong> <span>{result.version.raw}</span>
75
- <div className="card-doc-size">
76
- {formatFileSize(result.file_size.raw)}
76
+ <div
77
+ className="card-doc-size"
78
+ style={{ visibility: fileSize === 0 ? 'hidden' : 'visible' }}
79
+ >
80
+ {formatFileSize(fileSize)}
77
81
  </div>
78
82
  {isAdmin && Array.isArray(result.library_categories_values.raw) && (
79
83
  <div className="admin-info">
@@ -271,13 +271,14 @@ class Footer extends Component {
271
271
  {this.props.intl.formatMessage(messages.followUs)}
272
272
  </div>
273
273
  <div className="ccl-footer-social">
274
- <UniversalLink
275
- href="/en/linkedin-redirect"
274
+ <a
275
+ href="https://www.linkedin.com/showcase/copernicus-eea"
276
276
  target="_blank"
277
277
  rel="noreferrer"
278
+ aria-label="Linkedin"
278
279
  >
279
280
  <FontAwesomeIcon icon={['fab', 'linkedin']} />
280
- </UniversalLink>
281
+ </a>
281
282
  <a
282
283
  href="https://www.youtube.com/playlist?list=PL1_QSyumTz7CZQEZ-1foOTeTOelKDQmxu"
283
284
  target="_blank"