diff --git a/app/d3plus.js b/app/d3plus.js index 0c2d0db89..58ca0f268 100644 --- a/app/d3plus.js +++ b/app/d3plus.js @@ -197,7 +197,6 @@ export default { } }, fill: findColor, - hoverOpacity: 0.5, labelConfig: { fontFamily: () => "Pathway Gothic One", fontSize: () => 13, diff --git a/app/pages/Map.jsx b/app/pages/Map.jsx index 8e8fba641..e16eedf6a 100644 --- a/app/pages/Map.jsx +++ b/app/pages/Map.jsx @@ -110,9 +110,6 @@ class Map extends Component { colorScalePosition: "bottom", fitObject: "/topojson/State.json", fitFilter: d => !["02", "15", "43", "60", "66", "69", "72", "78"].includes(d.id.slice(7)), - shapeConfig: { - hoverOpacity: 1 - }, title: false, zoomScroll: true }} diff --git a/app/pages/Visualize.jsx b/app/pages/Visualize.jsx index 91362ad21..cf9c5279c 100644 --- a/app/pages/Visualize.jsx +++ b/app/pages/Visualize.jsx @@ -413,9 +413,6 @@ class Visualize extends Component { }, colorScalePosition: "bottom", detectResizeDelay: 100, - shapeConfig: { - hoverOpacity: 1 - }, zoomScroll: true }} topojson={{ diff --git a/package-lock.json b/package-lock.json index a796f9a21..bfd51989c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3599,16 +3599,16 @@ } }, "d3plus-axis": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/d3plus-axis/-/d3plus-axis-0.4.4.tgz", - "integrity": "sha512-Cy8k59MBwyQOIGkpYrSdziNuYIhL5Rwew1S+Con2RBowYDFbcLhmT6s+L0WNCKeybas24eT6G68HBOduNoh6dg==", + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/d3plus-axis/-/d3plus-axis-0.4.5.tgz", + "integrity": "sha512-k01TFIOgAV7nRDYWawsT4+SIAVJetnlWo+rqdf1Hf+GlAQGUFwffZyARt0e8vz52SG4WvU2OxuG3XbaZAl4/6Q==", "requires": { "d3-array": "^1.2.4", "d3-scale": "^2.1.2", "d3-selection": "^1.3.2", "d3-transition": "^1.1.3", "d3plus-common": "^0.6.45", - "d3plus-format": "^0.1.4", + "d3plus-format": "^0.1.7", "d3plus-shape": "^0.16.3", "d3plus-text": "^0.9.43" } @@ -3656,9 +3656,9 @@ } }, "d3plus-format": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/d3plus-format/-/d3plus-format-0.1.4.tgz", - "integrity": "sha512-GdMuvsbL1XCX3itxXdxJgnc5czFj1qNwR4t4HUIi0Fcczp5FEs+090sWlOOOxB50+CGZI8lb+B54Ez8niX5Zdw==", + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/d3plus-format/-/d3plus-format-0.1.7.tgz", + "integrity": "sha512-Lg2PUdkt0nkX/4WQyyRmLcupg0o5DPvLsfu/V++Yv00SIMRe+1ejiArRHAvcEMr3b6JfEJvsRRqtYlTzmwvLTg==", "requires": { "d3-format": "^1.3.0" } @@ -3812,19 +3812,26 @@ } }, "d3plus-tooltip": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/d3plus-tooltip/-/d3plus-tooltip-0.3.6.tgz", - "integrity": "sha512-uz2KnJpIfvfOpcHxv/OHVRa8arce6htzmOiuFdaeNqwLgjTGUFMWDTCvgSVlSVFyXfU21y5D3IPjFEzl0YftIw==", + "version": "0.3.7", + "resolved": "https://registry.npmjs.org/d3plus-tooltip/-/d3plus-tooltip-0.3.7.tgz", + "integrity": "sha512-vP9zkcaRbFf46/CB0zSClCfgkRqBBwSwKK3dsApE1NmIy3oYxDlXUOP5+19S8SCEyGFb+Ksxu9IdOqS8lphGnQ==", "requires": { - "d3-selection": "^1.3.2", - "d3plus-common": "^0.6.44", - "popper.js": "^1.14.6" + "d3-selection": "^1.4.0", + "d3plus-common": "^0.6.45", + "popper.js": "^1.15.0" + }, + "dependencies": { + "popper.js": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.15.0.tgz", + "integrity": "sha512-w010cY1oCUmI+9KwwlWki+r5jxKfTFDVoadl7MSrIujHU5MJ5OR6HTDj6Xo8aoR/QsA56x8jKjA59qGH4ELtrA==" + } } }, "d3plus-viz": { - "version": "0.12.15", - "resolved": "https://registry.npmjs.org/d3plus-viz/-/d3plus-viz-0.12.15.tgz", - "integrity": "sha512-8KJe7d+mvVIKUhPq/YjYWaKA9kXdzHYnqxjq36gTXJ4O01D46FjrEzWXSBtYAgDWGzqA7IUqiavz0M7LAFyIdQ==", + "version": "0.12.20", + "resolved": "https://registry.npmjs.org/d3plus-viz/-/d3plus-viz-0.12.20.tgz", + "integrity": "sha512-U9TBM9f4Ooje1T8zChq/rUD/NkWWD5mNLNsM9M0ICx5tgQr+2vq/h0qFnl6WUrC5gZZuHVEbput+2vuLojbDww==", "requires": { "d3-array": "^1.2.4", "d3-brush": "^1.0.6", @@ -3835,16 +3842,16 @@ "d3-selection": "^1.4.0", "d3-transition": "^1.2.0", "d3-zoom": "^1.7.3", - "d3plus-axis": "^0.4.4", + "d3plus-axis": "^0.4.5", "d3plus-color": "^0.6.4", "d3plus-common": "^0.6.45", "d3plus-export": "^0.3.13", "d3plus-form": "^0.2.6", - "d3plus-format": "^0.1.4", - "d3plus-legend": "^0.8.20", + "d3plus-format": "^0.1.7", + "d3plus-legend": "^0.8.22", "d3plus-text": "^0.9.43", "d3plus-timeline": "^0.4.11", - "d3plus-tooltip": "^0.3.6", + "d3plus-tooltip": "^0.3.7", "lrucache": "^1.0.3" } },