@sis-cc/dotstatsuite-components 12.1.2 → 12.1.3
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.
package/lib/viewer/src/footer.js
CHANGED
|
@@ -35,12 +35,12 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
35
35
|
var Footer = function Footer(_ref) {
|
|
36
36
|
var type = _ref.type,
|
|
37
37
|
chartData = _ref.chartData,
|
|
38
|
-
options = _ref.options,
|
|
39
38
|
source = _ref.source,
|
|
40
39
|
logo = _ref.logo,
|
|
41
40
|
copyright = _ref.copyright,
|
|
42
41
|
onSize = _ref.onSize,
|
|
43
|
-
chartOptions = _ref.chartOptions
|
|
42
|
+
chartOptions = _ref.chartOptions,
|
|
43
|
+
isSticky = _ref.isSticky;
|
|
44
44
|
|
|
45
45
|
var target = _react2.default.useRef(null);
|
|
46
46
|
|
|
@@ -63,7 +63,8 @@ var Footer = function Footer(_ref) {
|
|
|
63
63
|
source: source,
|
|
64
64
|
logo: logo,
|
|
65
65
|
copyright: copyright,
|
|
66
|
-
legend: legend
|
|
66
|
+
legend: legend,
|
|
67
|
+
isSticky: isSticky
|
|
67
68
|
})
|
|
68
69
|
);
|
|
69
70
|
};
|
package/lib/viewer/src/index.js
CHANGED
|
@@ -58,7 +58,7 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
|
|
58
58
|
|
|
59
59
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
60
60
|
|
|
61
|
-
var useStyles = (0, _styles.makeStyles)(function (
|
|
61
|
+
var useStyles = (0, _styles.makeStyles)(function () {
|
|
62
62
|
return {
|
|
63
63
|
container: {
|
|
64
64
|
borderColor: '#007bc7',
|
package/package.json
CHANGED
package/src/viewer/src/footer.js
CHANGED
|
@@ -5,7 +5,7 @@ import { DataFooter } from '@sis-cc/dotstatsuite-visions';
|
|
|
5
5
|
import ChartLegends from './legends/ChartLegends';
|
|
6
6
|
import { isChartNoData } from './utils';
|
|
7
7
|
|
|
8
|
-
const Footer = ({ type, chartData,
|
|
8
|
+
const Footer = ({ type, chartData, source, logo, copyright, onSize, chartOptions, isSticky }) => {
|
|
9
9
|
const target = React.useRef(null);
|
|
10
10
|
const [width, height] = useSize(target);
|
|
11
11
|
|
|
@@ -23,6 +23,7 @@ const Footer = ({ type, chartData, options, source, logo, copyright, onSize, cha
|
|
|
23
23
|
logo={logo}
|
|
24
24
|
copyright={copyright}
|
|
25
25
|
legend={legend}
|
|
26
|
+
isSticky={isSticky}
|
|
26
27
|
/>
|
|
27
28
|
</div>
|
|
28
29
|
);
|
package/src/viewer/src/index.js
CHANGED