From 1cb0e5e73c79aa59d0b60699bcf2ef4e192fe3eb Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Wed, 25 May 2016 17:01:19 -0700 Subject: [PATCH] Update d3-zoom, d3-axis. --- README.md | 6 ++++-- index.js | 1 + package.json | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2a3ff723..e3bee8e7 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ For examples, [see the gallery](https://github.com/d3/d3/wiki/Gallery) and [mbos The master branch currently contains the prerelease of D3 4.0. The 4.0 API is not yet frozen and may change prior to the release. (For the latest stable release, 3.5.17, follow the [installation instructions](https://github.com/d3/d3/wiki#installing) on the wiki.) If you use NPM, `npm install d3@next`. Otherwise, download the [latest release](https://npmcdn.com/d3@next/build/). The released bundle supports AMD, CommonJS, and vanilla environments. Create a [custom bundle using Rollup](http://bl.ocks.org/mbostock/bb09af4c39c79cffcde4) or your preferred bundler. You can also load directly from [d3js.org](https://d3js.org): ```html - + ``` For the non-minified version, remove `.min` from the file name. @@ -1052,8 +1052,9 @@ Pan and zoom SVG, HTML or Canvas using mouse or touch input. * [*zoom*.scaleBy](https://github.com/d3/d3-zoom#zoom_scaleBy) - * [*zoom*.scaleTo](https://github.com/d3/d3-zoom#zoom_scaleTo) - * [*zoom*.filter](https://github.com/d3/d3-zoom#zoom_filter) - -* [*zoom*.size](https://github.com/d3/d3-zoom#zoom_size) - +* [*zoom*.extent](https://github.com/d3/d3-zoom#zoom_extent) - * [*zoom*.scaleExtent](https://github.com/d3/d3-zoom#zoom_scaleExtent) - +* [*zoom*.translateExtent](https://github.com/d3/d3-zoom#zoom_translateExtent) - * [*zoom*.duration](https://github.com/d3/d3-zoom#zoom_duration) - * [*zoom*.on](https://github.com/d3/d3-zoom#zoom_on) - * [d3.zoomTransform](https://github.com/d3/d3-zoom#zoomTransform) - @@ -1068,3 +1069,4 @@ Pan and zoom SVG, HTML or Canvas using mouse or touch input. * [*transform*.rescaleX](https://github.com/d3/d3-zoom#transform_rescaleX) - * [*transform*.rescaleY](https://github.com/d3/d3-zoom#transform_rescaleY) - * [*transform*.toString](https://github.com/d3/d3-zoom#transform_toString) - +* [d3.zoomIdentity](https://github.com/d3/d3-zoom#zoomIdentity) - diff --git a/index.js b/index.js index 6beea0f2..2de74283 100644 --- a/index.js +++ b/index.js @@ -445,5 +445,6 @@ export { export { zoom, + zoomIdentity, zoomTransform } from "d3-zoom"; diff --git a/package.json b/package.json index 7a5a0c83..b161fa13 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "d3", - "version": "4.0.0-alpha.41", + "version": "4.0.0-alpha.42", "publishConfig": { "tag": "next" }, @@ -40,7 +40,7 @@ }, "dependencies": { "d3-array": "0.7.1", - "d3-axis": "0.3.1", + "d3-axis": "0.3.2", "d3-collection": "0.2.0", "d3-color": "0.4.2", "d3-dispatch": "0.4.3", @@ -65,6 +65,6 @@ "d3-timer": "0.4.4", "d3-transition": "0.2.10", "d3-voronoi": "0.3.3", - "d3-zoom": "~0.1.0" + "d3-zoom": "~0.2.0" } }