@eeacms/volto-globalsearch 1.0.16 → 1.0.18

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,17 @@ 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.0.18](https://github.com/eea/volto-globalsearch/compare/1.0.17...1.0.18) - 10 July 2023
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - added new sites [Zoltan Szabo - [`a111d65`](https://github.com/eea/volto-globalsearch/commit/a111d65b686ebb515750a9e495dbcc4278bedd17)]
12
+ ### [1.0.17](https://github.com/eea/volto-globalsearch/compare/1.0.16...1.0.17) - 12 June 2023
13
+
14
+ #### :hammer_and_wrench: Others
15
+
16
+ - test: jest should look for addons in node_modules Refs #253277 [valentinab25 - [`a1d8ad6`](https://github.com/eea/volto-globalsearch/commit/a1d8ad6010aac2c98255428af1d47207b6095098)]
17
+ - test: Fix test config, coverage Refs #253277 [valentinab25 - [`eee7940`](https://github.com/eea/volto-globalsearch/commit/eee794033ee39366e3f992e5a50bfb0259fbf650)]
7
18
  ### [1.0.16](https://github.com/eea/volto-globalsearch/compare/1.0.15...1.0.16) - 8 June 2023
8
19
 
9
20
  #### :house: Internal changes
@@ -5,19 +5,19 @@ module.exports = {
5
5
  '!src/**/*.d.ts',
6
6
  ],
7
7
  moduleNameMapper: {
8
+ '\\.(css|less|scss|sass)$': 'identity-obj-proxy',
8
9
  '@plone/volto/cypress': '<rootDir>/node_modules/@plone/volto/cypress',
9
10
  '@plone/volto/babel': '<rootDir>/node_modules/@plone/volto/babel',
10
11
  '@plone/volto/(.*)$': '<rootDir>/node_modules/@plone/volto/src/$1',
11
12
  '@package/(.*)$': '<rootDir>/src/$1',
12
13
  '@root/(.*)$': '<rootDir>/src/$1',
13
14
  '@plone/volto-quanta/(.*)$': '<rootDir>/src/addons/volto-quanta/src/$1',
14
- '@eeacms/(.*?)/(.*)$': '<rootDir>/src/addons/$1/src/$2',
15
+ '@eeacms/(.*?)/(.*)$': '<rootDir>/node_modules/@eeacms/$1/src/$2',
15
16
  '@plone/volto-slate':
16
17
  '<rootDir>/node_modules/@plone/volto/packages/volto-slate/src',
17
18
  '~/(.*)$': '<rootDir>/src/$1',
18
19
  'load-volto-addons':
19
20
  '<rootDir>/node_modules/@plone/volto/jest-addons-loader.js',
20
- '\\.(css|less|scss|sass)$': 'identity-obj-proxy',
21
21
  },
22
22
  transform: {
23
23
  '^.+\\.js(x)?$': 'babel-jest',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-globalsearch",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "@eeacms/volto-globalsearch: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -140,6 +140,12 @@ export default {
140
140
  cab: {
141
141
  url: require('../static/cab-logo.png'),
142
142
  },
143
+ discomap: {
144
+ url: require('../static/eea-logo.svg'),
145
+ },
146
+ noise: {
147
+ url: require('../static/eea-logo.svg'),
148
+ },
143
149
  },
144
150
  Countries: {
145
151
  fallback: {
@@ -234,6 +234,7 @@ const facets = [
234
234
  dateRangeFacet({
235
235
  field: 'issued.date',
236
236
  label: ' ',
237
+ allow_missing: false,
237
238
  activeFilterLabel: 'Published',
238
239
  isFilter: true, // filters don't need facet options to show up
239
240
  showInFacetsList: false,
@@ -255,6 +256,10 @@ const facets = [
255
256
  values: ['Last 5 years'],
256
257
  type: 'any',
257
258
  },
259
+ missing: {
260
+ values: ['All time'],
261
+ type: 'any',
262
+ },
258
263
  }),
259
264
  multiTermFacet({
260
265
  field: 'language',
@@ -55,6 +55,8 @@ const vocab = {
55
55
  'etc-wmge': 'ETC on Waste and Materials in Green Economy',
56
56
  sdi: 'Datahub',
57
57
  cab: 'Climate Advisory Board',
58
+ discomap: 'DiscoMap',
59
+ noise: 'NOISE Observation & Information Service for Europe',
58
60
  },
59
61
  };
60
62