@sis-cc/dotstatsuite-components 16.6.0 → 16.7.0

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.
@@ -21,7 +21,7 @@ var getHeaderCombinations = exports.getHeaderCombinations = function getHeaderCo
21
21
  return acc;
22
22
  }
23
23
 
24
- var header = (0, _src.dimensionValueDisplay)(display)(comb);
24
+ var header = (0, _src.dimensionValueDisplay)(display)(comb) + ':';
25
25
 
26
26
  var combinedDisplay = function combinedDisplay(_display, values) {
27
27
  if (_display === 'label') {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sis-cc/dotstatsuite-components",
3
3
  "description": "Set components based on React.",
4
- "version": "16.6.0",
4
+ "version": "16.7.0",
5
5
  "main": "lib/index.js",
6
6
  "author": "OECD",
7
7
  "license": "MIT",
@@ -10,7 +10,7 @@ export const getHeaderCombinations = (combinations, dimensions, attributes, disp
10
10
  return acc;
11
11
  }
12
12
 
13
- const header = dimensionValueDisplay(display)(comb);
13
+ const header = `${dimensionValueDisplay(display)(comb)}:`;
14
14
 
15
15
  const combinedDisplay = (_display, values) => {
16
16
  if (_display === 'label') {
@@ -20,7 +20,7 @@ describe('getHeaderCombinations tests', () => {
20
20
  ];
21
21
 
22
22
  expect(getHeaderCombinations(combinations, dimensions, attributes, 'label')).to.deep.equal([
23
- { header: 'comb 1', label: 'dim 1 value' }
23
+ { header: 'comb 1:', label: 'dim 1 value' }
24
24
  ]);
25
25
  });
26
26
  });