Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vx/scale

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vx/scale - npm Package Versions

1345

0.0.192

Diff

Changelog

Source

v0.0.192

See #484 for details.

:boom: Breaking Changes
  • [breaking] Deprecate build/ and dist/, use lib/ and esm/ instead
  • [breaking] Deprecate umd builds
:house: Internal
  • use babel not rollup
  • use yarn not npm
    • this will enable workspaces so that we can push all config to the root instead of duplicating across every package as is the case now
  • Stricter linting rules (e.g., .jsx required for React files)
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.190 => 0.0.192
 - @vx/axis: 0.0.191 => 0.0.192
 - @vx/bounds: 0.0.189 => 0.0.192
 - @vx/boxplot: 0.0.190 => 0.0.192
 - @vx/brush: 0.0.189 => 0.0.192
 - @vx/chord: 0.0.189 => 0.0.192
 - @vx/clip-path: 0.0.189 => 0.0.192
 - @vx/curve: 0.0.189 => 0.0.192
 - @vx/demo: 0.0.191 => 0.0.192
 - @vx/drag: 0.0.189 => 0.0.192
 - @vx/event: 0.0.189 => 0.0.192
 - @vx/geo: 0.0.190 => 0.0.192
 - @vx/glyph: 0.0.190 => 0.0.192
 - @vx/gradient: 0.0.189 => 0.0.192
 - @vx/grid: 0.0.190 => 0.0.192
 - @vx/group: 0.0.190 => 0.0.192
 - @vx/heatmap: 0.0.190 => 0.0.192
 - @vx/hierarchy: 0.0.190 => 0.0.192
 - @vx/legend: 0.0.190 => 0.0.192
 - @vx/marker: 0.0.190 => 0.0.192
 - @vx/mock-data: 0.0.189 => 0.0.192
 - @vx/network: 0.0.190 => 0.0.192
 - @vx/pattern: 0.0.189 => 0.0.192
 - @vx/point: 0.0.189 => 0.0.192
 - @vx/responsive: 0.0.189 => 0.0.192
 - @vx/scale: 0.0.190 => 0.0.192
 - @vx/shape: 0.0.190 => 0.0.192
 - @vx/stats: 0.0.190 => 0.0.192
 - @vx/text: 0.0.191 => 0.0.192
 - @vx/threshold: 0.0.190 => 0.0.192
 - @vx/tooltip: 0.0.189 => 0.0.192
 - @vx/voronoi: 0.0.190 => 0.0.192
 - @vx/vx: 0.0.191 => 0.0.192
 - @vx/zoom: 0.0.189 => 0.0.192
vx
published 0.0.190 •

Changelog

Source

v0.0.190

💥 Breaking Changes
  • [scale] d3-scale 2.2.2 changed the behavior of a collapsed domain. See this comment for how to handle the updated behavior. #477
  • [text] Don't split strings rendered by <Text /> when encountering a set of non-breaking space characters. #460
:rocket: Enhancements
  • [group] add innerRef prop. #480
  • [scale] bump d3-scale dep to ^2.2.2 for scaleSymlog. #477
  • [scale] add scaleSymlog. #470
:bug: Bug Fix
  • [stats] fix horizontal boxplot in @vx/stats. #476
  • [boxplot] fix horizontal boxplot in @vx/boxplot. #472
  • [heatmap] remove bin.x0. The x0 offset is accounted for in bin.x. #475
:memo: Documentation
  • [docs][group] add innerRef prop. #480
  • [axis] fix tickLabelProps() prop default args for docs. #478
  • [glyph] remove outdated readme description. #478
  • [docs] run doc:gen script. #478
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.189 => 0.0.190
 - @vx/axis: 0.0.189 => 0.0.190
 - @vx/boxplot: 0.0.189 => 0.0.190
 - @vx/demo: 0.0.189 => 0.0.190
 - @vx/geo: 0.0.189 => 0.0.190
 - @vx/glyph: 0.0.189 => 0.0.190
 - @vx/grid: 0.0.189 => 0.0.190
 - @vx/group: 0.0.189 => 0.0.190
 - @vx/heatmap: 0.0.189 => 0.0.190
 - @vx/hierarchy: 0.0.189 => 0.0.190
 - @vx/legend: 0.0.189 => 0.0.190
 - @vx/marker: 0.0.189 => 0.0.190
 - @vx/network: 0.0.189 => 0.0.190
 - @vx/scale: 0.0.189 => 0.0.190
 - @vx/shape: 0.0.189 => 0.0.190
 - @vx/stats: 0.0.189 => 0.0.190
 - @vx/text: 0.0.189 => 0.0.190
 - @vx/threshold: 0.0.189 => 0.0.190
 - @vx/voronoi: 0.0.189 => 0.0.190
 - @vx/vx: 0.0.189 => 0.0.190
vx
published 0.0.189 •

Changelog

Source

v0.0.189

:boom: Breaking Changes
  • [shape] <Arc /> and <Pie pieValue={} /> props now check for !== undefined. Before 0 wouldn't set the prop to 0 because if (0) is false. This is only a breaking change if you were passing 0 before and happy with <Arc /> treating that as undefined and using d3.arc() defaults. #464
  • [zoom] make wheel event active by default. fixes Chrome 73 scroll intervention warning. #456
    • To keep the default behavior before Chrome 73 and remove console warnings in Chrome 73, remove:
      <MyComponent
      - onWheel={zoom.handleWheel}
      />
      
    • To make the onWheel events passive, add:
      <Zoom
      + passive={true}
      >
        {zoom => {
          return (
            <MyComponent
      +      onWheel={zoom.handleWheel}
            /> 
          );
        }}
      </Zoom>
      
:rocket: Enhancements
  • [responsive][shape][text][geo] update innerRef propType to include PropType.object. #446
:bug: Bug Fix
  • [text] move Babel dependencies to dev only. #461
  • [shape] <Arc /> now respects 0 as an allowed prop value. #464
  • [shape] <Pie /> pieValue now respects 0 as an allowed prop value. #464
:memo: Documentation
  • [docs] update docs. #446
  • [glyph] fixes outdated @vx/glyph examples in the readme docs. #454
:house: Internal
  • [internal] fix jest code coverage, update jest, move to babel.config.js + jest.config.js. #439
  • [internal] babel preset env target explorer => ie. #446
  • [internal] babel preset env target remove ucandroid. #446
  • [shape] add more <Arc /> tests. #464
  • [shape] convert Arc.test from CRLF => LF. #464
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.184 => 0.0.189
 - @vx/axis: 0.0.184 => 0.0.189
 - @vx/bounds: 0.0.182 => 0.0.189
 - @vx/boxplot: 0.0.183 => 0.0.189
 - @vx/brush: 0.0.182 => 0.0.189
 - @vx/chord: 0.0.183 => 0.0.189
 - @vx/clip-path: 0.0.183 => 0.0.189
 - @vx/curve: 0.0.182 => 0.0.189
 - @vx/demo: 0.0.188 => 0.0.189
 - @vx/drag: 0.0.183 => 0.0.189
 - @vx/event: 0.0.182 => 0.0.189
 - @vx/geo: 0.0.187 => 0.0.189
 - @vx/glyph: 0.0.183 => 0.0.189
 - @vx/gradient: 0.0.183 => 0.0.189
 - @vx/grid: 0.0.184 => 0.0.189
 - @vx/group: 0.0.183 => 0.0.189
 - @vx/heatmap: 0.0.183 => 0.0.189
 - @vx/hierarchy: 0.0.183 => 0.0.189
 - @vx/legend: 0.0.183 => 0.0.189
 - @vx/marker: 0.0.184 => 0.0.189
 - @vx/mock-data: 0.0.185 => 0.0.189
 - @vx/network: 0.0.183 => 0.0.189
 - @vx/pattern: 0.0.183 => 0.0.189
 - @vx/point: 0.0.182 => 0.0.189
 - @vx/responsive: 0.0.188 => 0.0.189
 - @vx/scale: 0.0.182 => 0.0.189
 - @vx/shape: 0.0.184 => 0.0.189
 - @vx/stats: 0.0.183 => 0.0.189
 - @vx/text: 0.0.183 => 0.0.189
 - @vx/threshold: 0.0.184 => 0.0.189
 - @vx/tooltip: 0.0.184 => 0.0.189
 - @vx/voronoi: 0.0.183 => 0.0.189
 - @vx/vx: 0.0.188 => 0.0.189
 - @vx/zoom: 0.0.185 => 0.0.189
vx
published 0.0.182 •

Changelog

Source

v0.0.182

:bug: Bug Fix
  • [tooltip] fractional pixel values can sometimes lead to shaky rendering when using Firefox. #389
:memo: Documentation
  • [gallery] add <BarStackHorizontal /> example code back. #387
  • [readme] add a new demo of a project using vx components. #391
:house: Internal
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.181 => 0.0.182
 - @vx/axis: 0.0.181 => 0.0.182
 - @vx/bounds: 0.0.165 => 0.0.182
 - @vx/boxplot: 0.0.181 => 0.0.182
 - @vx/brush: 0.0.179 => 0.0.182
 - @vx/chord: 0.0.166 => 0.0.182
 - @vx/clip-path: 0.0.165 => 0.0.182
 - @vx/curve: 0.0.165 => 0.0.182
 - @vx/demo: 0.0.181 => 0.0.182
 - @vx/drag: 0.0.179 => 0.0.182
 - @vx/event: 0.0.179 => 0.0.182
 - @vx/geo: 0.0.181 => 0.0.182
 - @vx/glyph: 0.0.181 => 0.0.182
 - @vx/gradient: 0.0.165 => 0.0.182
 - @vx/grid: 0.0.181 => 0.0.182
 - @vx/group: 0.0.170 => 0.0.182
 - @vx/heatmap: 0.0.181 => 0.0.182
 - @vx/hierarchy: 0.0.181 => 0.0.182
 - @vx/legend: 0.0.181 => 0.0.182
 - @vx/marker: 0.0.181 => 0.0.182
 - @vx/mock-data: 0.0.179 => 0.0.182
 - @vx/network: 0.0.179 => 0.0.182
 - @vx/pattern: 0.0.179 => 0.0.182
 - @vx/point: 0.0.165 => 0.0.182
 - @vx/responsive: 0.0.179 => 0.0.182
 - @vx/scale: 0.0.179 => 0.0.182
 - @vx/shape: 0.0.181 => 0.0.182
 - @vx/stats: 0.0.181 => 0.0.182
 - @vx/text: 0.0.179 => 0.0.182
 - @vx/threshold: 0.0.181 => 0.0.182
 - @vx/tooltip: 0.0.179 => 0.0.182
 - @vx/voronoi: 0.0.181 => 0.0.182
 - @vx/vx: 0.0.181 => 0.0.182
 - @vx/zoom: 0.0.165 => 0.0.182
vx
published 0.0.179 •

Changelog

Source

v0.0.179

:boom: Breaking Changes
  • [vx] there's a possibility that new prop type checks might not be as care free as before. #371
:rocket: Enhancements
  • [vx] add missing propTypes to all components. #371
:house: Internal
  • [vx] add .eslintrc. #371
  • [vx] fix all eslint errors + warnings. #371
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.178 => 0.0.179
 - @vx/axis: 0.0.178 => 0.0.179
 - @vx/brush: 0.0.165 => 0.0.179
 - @vx/demo: 0.0.178 => 0.0.179
 - @vx/drag: 0.0.165 => 0.0.179
 - @vx/event: 0.0.165 => 0.0.179
 - @vx/geo: 0.0.170 => 0.0.179
 - @vx/glyph: 0.0.170 => 0.0.179
 - @vx/grid: 0.0.178 => 0.0.179
 - @vx/heatmap: 0.0.173 => 0.0.179
 - @vx/hierarchy: 0.0.170 => 0.0.179
 - @vx/legend: 0.0.178 => 0.0.179
 - @vx/marker: 0.0.178 => 0.0.179
 - @vx/mock-data: 0.0.165 => 0.0.179
 - @vx/network: 0.0.172 => 0.0.179
 - @vx/pattern: 0.0.165 => 0.0.179
 - @vx/responsive: 0.0.177 => 0.0.179
 - @vx/scale: 0.0.178 => 0.0.179
 - @vx/shape: 0.0.178 => 0.0.179
 - @vx/stats: 0.0.178 => 0.0.179
 - @vx/text: 0.0.175 => 0.0.179
 - @vx/threshold: 0.0.178 => 0.0.179
 - @vx/tooltip: 0.0.165 => 0.0.179
 - @vx/vx: 0.0.178 => 0.0.179
vx
published 0.0.178 •

Changelog

Source

v0.0.178

:rocket: Enhancements
  • [scale] add type property. #367
  • [legend] add optional flex prop for overriding flex css property to <LegendLabel />. #370
  • [shape] add support for non-scaleBand scales to <BarStack /> and <BarStackHorizontal />. #368
:bug: Bug Fix
  • [legend] allow overriding flex property to fix IE flexbox bug. IE 11 does not seem to expand to minimum content width when flex-basis is 0px (this is the case when using the shorthand flex: 1). #370
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.176 => 0.0.178
 - @vx/axis: 0.0.176 => 0.0.178
 - @vx/demo: 0.0.177 => 0.0.178
 - @vx/grid: 0.0.176 => 0.0.178
 - @vx/legend: 0.0.170 => 0.0.178
 - @vx/marker: 0.0.176 => 0.0.178
 - @vx/scale: 0.0.165 => 0.0.178
 - @vx/shape: 0.0.176 => 0.0.178
 - @vx/stats: 0.0.170 => 0.0.178
 - @vx/threshold: 0.0.176 => 0.0.178
 - @vx/vx: 0.0.177 => 0.0.178
vx
published 0.0.165 •

Changelog

Source

v0.0.165

:rocket: Enhancements
  • [text] export getStringWidth() util. #301
:house: Internal
  • [build] use rollup for build #298
    • adds dist/vx-{name}.{umd,es}.js files
    • adds module field to package.json that points to dist/vx-{name}.es.js for bundlers that support it (webpack, rollup, etc)
    • main field points to dist/vx-{name}.umd.js
    • removes react-fatigue-dev + Makefile build (means you can build on windows now)
    • build targets "android": 30, "chrome": 35, "edge": 14, "explorer": 9, "firefox": 52, "safari": 8, "ucandroid": 1 (matching airbnb-babel-preset)
    • keeps build/ with cjs babel build files for deep paths (no breaking changes 🤞)
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.165-beta.1 => 0.0.165
 - @vx/axis: 0.0.165-beta.1 => 0.0.165
 - @vx/bounds: 0.0.165-beta.1 => 0.0.165
 - @vx/boxplot: 0.0.165-beta.1 => 0.0.165
 - @vx/brush: 0.0.165-beta.1 => 0.0.165
 - @vx/clip-path: 0.0.165-beta.1 => 0.0.165
 - @vx/curve: 0.0.165-beta.1 => 0.0.165
 - @vx/demo: 0.0.165-beta.1 => 0.0.165
 - @vx/drag: 0.0.165-beta.1 => 0.0.165
 - @vx/event: 0.0.165-beta.1 => 0.0.165
 - @vx/geo: 0.0.165-beta.1 => 0.0.165
 - @vx/glyph: 0.0.165-beta.1 => 0.0.165
 - @vx/gradient: 0.0.165-beta.1 => 0.0.165
 - @vx/grid: 0.0.165-beta.1 => 0.0.165
 - @vx/group: 0.0.165-beta.1 => 0.0.165
 - @vx/heatmap: 0.0.165-beta.1 => 0.0.165
 - @vx/hierarchy: 0.0.165-beta.1 => 0.0.165
 - @vx/legend: 0.0.165-beta.1 => 0.0.165
 - @vx/marker: 0.0.165-beta.1 => 0.0.165
 - @vx/mock-data: 0.0.165-beta.1 => 0.0.165
 - @vx/network: 0.0.165-beta.1 => 0.0.165
 - @vx/pattern: 0.0.165-beta.1 => 0.0.165
 - @vx/point: 0.0.165-beta.1 => 0.0.165
 - @vx/responsive: 0.0.165-beta.1 => 0.0.165
 - @vx/scale: 0.0.165-beta.1 => 0.0.165
 - @vx/shape: 0.0.165-beta.1 => 0.0.165
 - @vx/stats: 0.0.165-beta.1 => 0.0.165
 - @vx/text: 0.0.165-beta.1 => 0.0.165
 - @vx/threshold: 0.0.165-beta.1 => 0.0.165
 - @vx/tooltip: 0.0.165-beta.1 => 0.0.165
 - @vx/voronoi: 0.0.165-beta.1 => 0.0.165
 - @vx/vx: 0.0.165-beta.1 => 0.0.165
 - @vx/zoom: 0.0.165-beta.1 => 0.0.165
vx
published 0.0.165-beta.1 •

vx
published 0.0.165-beta.0 •

vx
published 0.0.161 •

Changelog

Source

v0.0.161

:boom: Breaking Changes
  • [scale] Removed color scales, recommend users to use d3-scale-chromatic, following d3's lead in release 5.0.0. #270
  • [scale] The following files/tests/documentation are no longer part of @vx/scale: schemeCategory10, schemeCategory20, schemeCategory20b, schemeCategory20c. #270
:rocket: Enhancements
  • [tooltip] adds an optional containerProps as a second HOC "config" argument of withTooltip(BaseComponent [, containerProps]). This exposes a hook to enable users to customize any props on the container element. #272
  • [tooltip] sets width and height to inherit by default on the container. I'm kind of on the edge with this and am open to removing it because it may be an edge case, but my reasoning is as follows: if a user is combining withTooltip and a responsive component like ParentSize like this example, they'll have to update the withTooltip container div to also have full width/height so this would be a "smart default". #272
:memo: Documentation
  • [scale] Added a section on color scales, which goes over how one would use d3-scale-chromatic with vx/scale. #270
  • [tooltip] Adds a readme for @vx/tooltip components + enhancer. #272
  • [demo] add <AxisRight /> to /axis demo tile. #280
  • [demo] update vx-demo.now.sh doc pages. #281
:house: Internal
  • Add configuration for Prettier and format the existing codebase. #275
  • Add pre-commit hook to format changed files before commits. #275
  • [docs] fix npm run docs script. #281
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.160 => 0.0.161
 - @vx/axis: 0.0.160 => 0.0.161
 - @vx/bounds: 0.0.153 => 0.0.161
 - @vx/boxplot: 0.0.153 => 0.0.161
 - @vx/brush: 0.0.153 => 0.0.161
 - @vx/clip-path: 0.0.153 => 0.0.161
 - @vx/curve: 0.0.153 => 0.0.161
 - @vx/demo: 0.0.160 => 0.0.161
 - @vx/drag: 0.0.157 => 0.0.161
 - @vx/event: 0.0.153 => 0.0.161
 - @vx/geo: 0.0.153 => 0.0.161
 - @vx/glyph: 0.0.153 => 0.0.161
 - @vx/gradient: 0.0.153 => 0.0.161
 - @vx/grid: 0.0.160 => 0.0.161
 - @vx/group: 0.0.153 => 0.0.161
 - @vx/heatmap: 0.0.153 => 0.0.161
 - @vx/hierarchy: 0.0.153 => 0.0.161
 - @vx/legend: 0.0.154 => 0.0.161
 - @vx/marker: 0.0.160 => 0.0.161
 - @vx/mock-data: 0.0.153 => 0.0.161
 - @vx/network: 0.0.153 => 0.0.161
 - @vx/pattern: 0.0.153 => 0.0.161
 - @vx/point: 0.0.153 => 0.0.161
 - @vx/responsive: 0.0.158 => 0.0.161
 - @vx/scale: 0.0.153 => 0.0.161
 - @vx/shape: 0.0.160 => 0.0.161
 - @vx/stats: 0.0.153 => 0.0.161
 - @vx/text: 0.0.159 => 0.0.161
 - @vx/tooltip: 0.0.160 => 0.0.161
 - @vx/voronoi: 0.0.153 => 0.0.161
 - @vx/vx: 0.0.160 => 0.0.161
 - @vx/zoom: 0.0.153 => 0.0.161
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc