@sis-cc/dotstatsuite-visions 7.17.12 → 7.17.13
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.
|
@@ -29,7 +29,8 @@ var CustomExpansionPanel = function CustomExpansionPanel(_ref) {
|
|
|
29
29
|
_ref$testId = _ref.testId,
|
|
30
30
|
testId = _ref$testId === undefined ? 'expansion_panel' : _ref$testId,
|
|
31
31
|
isPinned = _ref.isPinned,
|
|
32
|
-
pinnedLabel = _ref.pinnedLabel
|
|
32
|
+
pinnedLabel = _ref.pinnedLabel,
|
|
33
|
+
moreFilters = _ref.moreFilters;
|
|
33
34
|
|
|
34
35
|
var classes = useStyles();
|
|
35
36
|
|
|
@@ -69,7 +70,12 @@ var CustomExpansionPanel = function CustomExpansionPanel(_ref) {
|
|
|
69
70
|
),
|
|
70
71
|
React.createElement(
|
|
71
72
|
Typography,
|
|
72
|
-
{
|
|
73
|
+
{
|
|
74
|
+
noWrap: true,
|
|
75
|
+
variant: 'body2',
|
|
76
|
+
title: label,
|
|
77
|
+
className: moreFilters ? classes.title : classes.label
|
|
78
|
+
},
|
|
73
79
|
label
|
|
74
80
|
),
|
|
75
81
|
isPinned && React.createElement(
|
|
@@ -105,7 +111,8 @@ CustomExpansionPanel.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
105
111
|
maxHeight: PropTypes.bool,
|
|
106
112
|
children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),
|
|
107
113
|
fullWidth: PropTypes.bool,
|
|
108
|
-
isPinned: PropTypes.bool
|
|
114
|
+
isPinned: PropTypes.bool,
|
|
115
|
+
moreFilters: PropTypes.bool
|
|
109
116
|
} : {};
|
|
110
117
|
|
|
111
118
|
export default withBlank(function (_ref2) {
|
|
@@ -65,6 +65,11 @@ export var useStyles = makeStyles(function (theme) {
|
|
|
65
65
|
},
|
|
66
66
|
label: _extends({
|
|
67
67
|
color: theme.palette.grey[700]
|
|
68
|
-
}, R.pathOr({}, ['mixins', 'expansionPanel', 'title'], theme))
|
|
68
|
+
}, R.pathOr({}, ['mixins', 'expansionPanel', 'title'], theme)),
|
|
69
|
+
title: _extends({
|
|
70
|
+
padding: 0
|
|
71
|
+
}, R.pathOr({}, ['mixins', 'apiQueries', 'title'], theme), {
|
|
72
|
+
fontWeight: 'bold'
|
|
73
|
+
})
|
|
69
74
|
};
|
|
70
75
|
});
|
|
@@ -68,7 +68,8 @@ var CustomExpansionPanel = function CustomExpansionPanel(_ref) {
|
|
|
68
68
|
_ref$testId = _ref.testId,
|
|
69
69
|
testId = _ref$testId === undefined ? 'expansion_panel' : _ref$testId,
|
|
70
70
|
isPinned = _ref.isPinned,
|
|
71
|
-
pinnedLabel = _ref.pinnedLabel
|
|
71
|
+
pinnedLabel = _ref.pinnedLabel,
|
|
72
|
+
moreFilters = _ref.moreFilters;
|
|
72
73
|
|
|
73
74
|
var classes = (0, _styles.useStyles)();
|
|
74
75
|
|
|
@@ -108,7 +109,12 @@ var CustomExpansionPanel = function CustomExpansionPanel(_ref) {
|
|
|
108
109
|
),
|
|
109
110
|
_react2.default.createElement(
|
|
110
111
|
_Typography2.default,
|
|
111
|
-
{
|
|
112
|
+
{
|
|
113
|
+
noWrap: true,
|
|
114
|
+
variant: 'body2',
|
|
115
|
+
title: label,
|
|
116
|
+
className: moreFilters ? classes.title : classes.label
|
|
117
|
+
},
|
|
112
118
|
label
|
|
113
119
|
),
|
|
114
120
|
isPinned && _react2.default.createElement(
|
|
@@ -144,7 +150,8 @@ CustomExpansionPanel.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
144
150
|
maxHeight: _propTypes2.default.bool,
|
|
145
151
|
children: _propTypes2.default.oneOfType([_propTypes2.default.arrayOf(_propTypes2.default.node), _propTypes2.default.node]),
|
|
146
152
|
fullWidth: _propTypes2.default.bool,
|
|
147
|
-
isPinned: _propTypes2.default.bool
|
|
153
|
+
isPinned: _propTypes2.default.bool,
|
|
154
|
+
moreFilters: _propTypes2.default.bool
|
|
148
155
|
} : {};
|
|
149
156
|
|
|
150
157
|
exports.default = (0, _utils.withBlank)(function (_ref2) {
|
|
@@ -75,6 +75,11 @@ var useStyles = exports.useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
75
75
|
},
|
|
76
76
|
label: _extends({
|
|
77
77
|
color: theme.palette.grey[700]
|
|
78
|
-
}, R.pathOr({}, ['mixins', 'expansionPanel', 'title'], theme))
|
|
78
|
+
}, R.pathOr({}, ['mixins', 'expansionPanel', 'title'], theme)),
|
|
79
|
+
title: _extends({
|
|
80
|
+
padding: 0
|
|
81
|
+
}, R.pathOr({}, ['mixins', 'apiQueries', 'title'], theme), {
|
|
82
|
+
fontWeight: 'bold'
|
|
83
|
+
})
|
|
79
84
|
};
|
|
80
85
|
});
|