@sis-cc/dotstatsuite-visions 6.4.1 → 6.4.2

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.
@@ -46,6 +46,9 @@ var useStyles = makeStyles(function (theme) {
46
46
  topCell: {
47
47
  paddingTop: 0
48
48
  },
49
+ hierarchySpace: {
50
+ marginBottom: 'auto'
51
+ },
49
52
  highlight: theme.mixins.table.cellHighlight
50
53
  };
51
54
  });
@@ -113,10 +116,14 @@ var Section = function Section(_ref) {
113
116
  React.createElement(
114
117
  'div',
115
118
  { className: classes.cellContent },
119
+ !R.isEmpty(hierarchySpace) && React.createElement(
120
+ 'div',
121
+ { className: classes.hierarchySpace },
122
+ hierarchySpace
123
+ ),
116
124
  React.createElement(
117
125
  Typography,
118
126
  { variant: 'body1', tabIndex: 0 },
119
- hierarchySpace,
120
127
  R.path(['value', 'label'], cell),
121
128
  React.createElement(Flags, { flags: flags })
122
129
  )
@@ -88,6 +88,9 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
88
88
  topCell: {
89
89
  paddingTop: 0
90
90
  },
91
+ hierarchySpace: {
92
+ marginBottom: 'auto'
93
+ },
91
94
  highlight: theme.mixins.table.cellHighlight
92
95
  };
93
96
  });
@@ -155,10 +158,14 @@ var Section = function Section(_ref) {
155
158
  _react2.default.createElement(
156
159
  'div',
157
160
  { className: classes.cellContent },
161
+ !R.isEmpty(hierarchySpace) && _react2.default.createElement(
162
+ 'div',
163
+ { className: classes.hierarchySpace },
164
+ hierarchySpace
165
+ ),
158
166
  _react2.default.createElement(
159
167
  _Typography2.default,
160
168
  { variant: 'body1', tabIndex: 0 },
161
- hierarchySpace,
162
169
  R.path(['value', 'label'], cell),
163
170
  _react2.default.createElement(_flags2.default, { flags: flags })
164
171
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sis-cc/dotstatsuite-visions",
3
- "version": "6.4.1",
3
+ "version": "6.4.2",
4
4
  "description": "Library of visual components",
5
5
  "author": "OECD",
6
6
  "homepage": "https://visions-qa.siscc.org/#o",