@eeacms/volto-clms-theme 1.1.86 → 1.1.87

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,15 @@ 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.87](https://github.com/eea/volto-clms-theme/compare/1.1.86...1.1.87) - 29 November 2023
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: CLMS-2827 - download cart format options texts [Ion Lizarazu - [`962abac`](https://github.com/eea/volto-clms-theme/commit/962abacd4b9deeef18eaa2568843d42005a1c5f8)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - fix CLMS-2888 [Unai - [`439c2d9`](https://github.com/eea/volto-clms-theme/commit/439c2d918b23a7d04051d1038f4f6981d7bb0ff8)]
7
16
  ### [1.1.86](https://github.com/eea/volto-clms-theme/compare/1.1.85...1.1.86) - 28 November 2023
8
17
 
9
18
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.1.86",
3
+ "version": "1.1.87",
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",
@@ -21,7 +21,7 @@ td li {
21
21
  .ui.selection.dropdown {
22
22
  width: 95%;
23
23
  min-height: 1.3rem !important;
24
- padding: 0 0.3rem !important;
24
+ padding: 0.4rem 0.3rem !important;
25
25
  margin-left: 0 !important;
26
26
  background-color: #e5e5e5 !important;
27
27
  font-size: 0.8rem !important;
@@ -1,3 +1,14 @@
1
+ const DATASET_FORMATS_NAMES = {
2
+ Shapefile: 'Shapefile (SHP)',
3
+ GDB: 'File Geodatabase (FGDB)',
4
+ GPKG: 'GeoPackage (GPKG)',
5
+ Geojson: 'GeoJSON',
6
+ Geotiff: 'GeoTIFF',
7
+ Netcdf: 'Network Common Data Form (NetCDF)',
8
+ GML: 'Geography Markup Language (GML)',
9
+ WFS: 'WFS',
10
+ };
11
+
1
12
  export const getAvailableConversion = (conversionTable, defaultValue) => {
2
13
  if (conversionTable && Object.keys(conversionTable).length > 0) {
3
14
  if (
@@ -12,10 +23,13 @@ export const getAvailableConversion = (conversionTable, defaultValue) => {
12
23
  return conversionTable[defaultValue][key];
13
24
  })
14
25
  .map((item) => {
26
+ const text = DATASET_FORMATS_NAMES[item]
27
+ ? DATASET_FORMATS_NAMES[item]
28
+ : item;
15
29
  return {
16
30
  key: item,
17
31
  value: item,
18
- text: item,
32
+ text: text,
19
33
  };
20
34
  });
21
35
  } else {
@@ -30,7 +30,7 @@ const CLMSTechnicalLibraryAdminInfo = (props) => {
30
30
  <br />
31
31
  <strong>Categorization</strong>
32
32
  <ul>
33
- {item?.taxonomy_technical_library_categorization.map((item) => (
33
+ {item?.taxonomy_technical_library_categorization?.map((item) => (
34
34
  <li>{item.title}</li>
35
35
  ))}
36
36
  </ul>
@@ -53,9 +53,20 @@
53
53
 
54
54
  .custom-table .ui.dropdown.selected,
55
55
  .custom-table .ui.dropdown .menu .selected.item {
56
+ background-color: #efefef;
56
57
  color: @clmsGreen;
57
58
  }
58
59
 
60
+ .custom-table .ui.dropdown .menu .item {
61
+ color: #000000;
62
+ font-weight: 500;
63
+ }
64
+
65
+ .custom-table .ui.dropdown .menu {
66
+ border: solid 1px #efefef !important;
67
+ background-color: white;
68
+ }
69
+
59
70
  .image-modal img {
60
71
  width: 100%;
61
72
  }