@sis-cc/dotstatsuite-visions 8.2.0 → 8.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.
@@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
5
5
  import * as R from 'ramda';
6
6
  import Container from '@material-ui/core/Container';
7
7
  import PlaylistAddCheckIcon from '@material-ui/icons/PlaylistAddCheck';
8
- import { ExpansionPanel, Tag as InternalTag, VerticalButton, Spotlight, VirtualizedTree } from '../';
8
+ import { ExpansionPanel, Tag as InternalTag, VerticalButton, Spotlight, VirtualizedTree, Tooltip } from '../';
9
9
  import { withExpansionTree } from '../VirtualizedTree/withExpansionTree';
10
10
  import { withSpotlight } from '../VirtualizedTree/withSpotlight';
11
11
  import { useStyles } from '../ScopeList/styles';
@@ -83,13 +83,22 @@ var HierarchicalFilter = function HierarchicalFilter(props) {
83
83
  action: setSpotlight
84
84
  }),
85
85
  R.is(Function, toggleBulk) && hasSpotlight && React.createElement(
86
- VerticalButton,
86
+ Tooltip,
87
87
  {
88
- 'aria-label': R.prop('advancedSelection')(labels),
89
- classes: { root: classes.bulkSelectionIcon },
90
- onClick: onAdvancedToggle
88
+ title: R.prop('iconLabel')(labels),
89
+ key: id,
90
+ placement: 'bottom',
91
+ variant: 'light'
91
92
  },
92
- React.createElement(PlaylistAddCheckIcon, { color: 'primary' })
93
+ React.createElement(
94
+ VerticalButton,
95
+ {
96
+ 'aria-label': R.prop('advancedSelection')(labels),
97
+ classes: { root: classes.bulkSelectionIcon },
98
+ onClick: onAdvancedToggle
99
+ },
100
+ React.createElement(PlaylistAddCheckIcon, { color: 'primary' })
101
+ )
93
102
  )
94
103
  )
95
104
  ),
@@ -111,13 +111,22 @@ var HierarchicalFilter = function HierarchicalFilter(props) {
111
111
  action: setSpotlight
112
112
  }),
113
113
  R.is(Function, toggleBulk) && hasSpotlight && _react2.default.createElement(
114
- _.VerticalButton,
114
+ _.Tooltip,
115
115
  {
116
- 'aria-label': R.prop('advancedSelection')(labels),
117
- classes: { root: classes.bulkSelectionIcon },
118
- onClick: onAdvancedToggle
116
+ title: R.prop('iconLabel')(labels),
117
+ key: id,
118
+ placement: 'bottom',
119
+ variant: 'light'
119
120
  },
120
- _react2.default.createElement(_PlaylistAddCheck2.default, { color: 'primary' })
121
+ _react2.default.createElement(
122
+ _.VerticalButton,
123
+ {
124
+ 'aria-label': R.prop('advancedSelection')(labels),
125
+ classes: { root: classes.bulkSelectionIcon },
126
+ onClick: onAdvancedToggle
127
+ },
128
+ _react2.default.createElement(_PlaylistAddCheck2.default, { color: 'primary' })
129
+ )
121
130
  )
122
131
  )
123
132
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sis-cc/dotstatsuite-visions",
3
- "version": "8.2.0",
3
+ "version": "8.3.0",
4
4
  "description": "Library of visual components",
5
5
  "author": "OECD",
6
6
  "homepage": "https://visions-qa.siscc.org/#o",