@sis-cc/dotstatsuite-visions 11.2.0 → 11.3.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.
@@ -12,6 +12,7 @@ import Reorder from '@material-ui/icons/Reorder';
12
12
  import ViewQuilt from '@material-ui/icons/ViewQuiltOutlined';
13
13
  import Undo from '@material-ui/icons/Undo';
14
14
  import Done from '@material-ui/icons/Done';
15
+ import CheckBoxIcon from '@material-ui/icons/CheckBoxOutlineBlankOutlined';
15
16
  import { makeStyles } from '@material-ui/core/styles';
16
17
  import { DragDropContext } from '@hello-pangea/dnd';
17
18
  import { withBlank } from '../utils';
@@ -327,7 +328,7 @@ var TableLayout = function TableLayout(_ref) {
327
328
  'aria-label': R.prop('activationLabel', optionalItem),
328
329
  color: 'primary',
329
330
  onClick: isOptionalActivated ? deactivateOptionalItem : activateOptionalItem,
330
- startIcon: React.createElement(Done, null)
331
+ startIcon: isOptionalActivated ? React.createElement(Done, null) : React.createElement(CheckBoxIcon, null)
331
332
  },
332
333
  React.createElement(
333
334
  Typography,
@@ -53,6 +53,10 @@ var _Done = require('@material-ui/icons/Done');
53
53
 
54
54
  var _Done2 = _interopRequireDefault(_Done);
55
55
 
56
+ var _CheckBoxOutlineBlankOutlined = require('@material-ui/icons/CheckBoxOutlineBlankOutlined');
57
+
58
+ var _CheckBoxOutlineBlankOutlined2 = _interopRequireDefault(_CheckBoxOutlineBlankOutlined);
59
+
56
60
  var _styles = require('@material-ui/core/styles');
57
61
 
58
62
  var _dnd = require('@hello-pangea/dnd');
@@ -383,7 +387,7 @@ var TableLayout = function TableLayout(_ref) {
383
387
  'aria-label': R.prop('activationLabel', optionalItem),
384
388
  color: 'primary',
385
389
  onClick: isOptionalActivated ? deactivateOptionalItem : activateOptionalItem,
386
- startIcon: _react2.default.createElement(_Done2.default, null)
390
+ startIcon: isOptionalActivated ? _react2.default.createElement(_Done2.default, null) : _react2.default.createElement(_CheckBoxOutlineBlankOutlined2.default, null)
387
391
  },
388
392
  _react2.default.createElement(
389
393
  _Typography2.default,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sis-cc/dotstatsuite-visions",
3
- "version": "11.2.0",
3
+ "version": "11.3.0",
4
4
  "description": "Library of visual components",
5
5
  "author": "OECD",
6
6
  "homepage": "https://visions-qa.siscc.org/#o",