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

@vx/shape

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vx/shape - npm Package Versions

1
10

0.0.175

Diff

Changelog

Source

v0.0.175

:boom: Breaking Changes
  • [responsive] Rewrite withParentSize using ResizeObserver. withParentSize() changed windowResizeDebounceTime prop to debounceTime to match <ParentSize />. #348
:bug: Bug Fix
  • [axis] fix labelTransform function in @vx/axis to correctly align the axis label when different values for the scale's range are specified, in particular when it does not start (or end) with a 0. #349
  • [text] change measurement svg display: none => position: absolute and position the svg offscreen. #358
:rocket: Enhancements
  • [shape] add <Polygon /> component. #355
:memo: Documentation
  • [demo] update /boxplot example code. #354
  • [demo] add /polygons example. #355
:house: Internal
  • [dev] add linting. #346
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.171 => 0.0.175
 - @vx/axis: 0.0.173 => 0.0.175
 - @vx/demo: 0.0.174 => 0.0.175
 - @vx/grid: 0.0.171 => 0.0.175
 - @vx/marker: 0.0.171 => 0.0.175
 - @vx/responsive: 0.0.172 => 0.0.175
 - @vx/shape: 0.0.171 => 0.0.175
 - @vx/text: 0.0.173 => 0.0.175
 - @vx/threshold: 0.0.174 => 0.0.175
 - @vx/vx: 0.0.173 => 0.0.175
vx
published 0.0.171 •

Changelog

Source

v0.0.171

:bug: Bug Fix
  • [shape] <Pie /> allow null sort callbacks. <Pie pieSort={null} pieSortValues={null} /> isn't ignored. #327
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.170 => 0.0.171
 - @vx/axis: 0.0.170 => 0.0.171
 - @vx/demo: 0.0.170 => 0.0.171
 - @vx/grid: 0.0.170 => 0.0.171
 - @vx/marker: 0.0.170 => 0.0.171
 - @vx/shape: 0.0.170 => 0.0.171
 - @vx/threshold: 0.0.170 => 0.0.171
 - @vx/vx: 0.0.170 => 0.0.171
vx
published 0.0.170 •

Changelog

Source

v0.0.170

:rocket: Enhancements
  • [shape] add <BarGroupHorizontal /> component. #320
  • [shape] add optional y0 prop to <AreaClosed /> for custom area fills. #319
:bug: Bug Fix
  • [group] <possibly breaking change> fix <Group /> classname. should be vx-group, not cx-group. #316
:memo: Documentation
  • [docs] run readme docs sync. #325
  • [stats] update @vx/stats readme name to stats. #324
  • [shape] add docs for <BarGroup /> and <BarGroupHorizontal />. #320
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.168 => 0.0.170
 - @vx/axis: 0.0.168 => 0.0.170
 - @vx/boxplot: 0.0.165 => 0.0.170
 - @vx/demo: 0.0.169 => 0.0.170
 - @vx/geo: 0.0.166 => 0.0.170
 - @vx/glyph: 0.0.165 => 0.0.170
 - @vx/grid: 0.0.169 => 0.0.170
 - @vx/group: 0.0.165 => 0.0.170
 - @vx/heatmap: 0.0.166 => 0.0.170
 - @vx/hierarchy: 0.0.165 => 0.0.170
 - @vx/legend: 0.0.167 => 0.0.170
 - @vx/marker: 0.0.168 => 0.0.170
 - @vx/network: 0.0.165 => 0.0.170
 - @vx/shape: 0.0.168 => 0.0.170
 - @vx/stats: 0.0.165 => 0.0.170
 - @vx/threshold: 0.0.168 => 0.0.170
 - @vx/voronoi: 0.0.165 => 0.0.170
 - @vx/vx: 0.0.169 => 0.0.170
vx
published 0.0.168 •

Changelog

Source

v0.0.168

:rocket: Enhancements
  • [shape] add optional render function as child of <Pie /> to allow more fine grained control of rendering. #311
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.166 => 0.0.168
 - @vx/axis: 0.0.166 => 0.0.168
 - @vx/demo: 0.0.167 => 0.0.168
 - @vx/grid: 0.0.166 => 0.0.168
 - @vx/marker: 0.0.166 => 0.0.168
 - @vx/shape: 0.0.166 => 0.0.168
 - @vx/threshold: 0.0.166 => 0.0.168
 - @vx/vx: 0.0.167 => 0.0.168
vx
published 0.0.166 •

Changelog

Source

v0.0.166

:rocket: Enhancements
  • [chord] add @vx/chord - <Chord />, <Ribbon />. #308
  • [demo][shape] add chord demo, fix prop types. #308
  • [shape] updated accessors to pass all the arguments from D3 for LinePath, AreaClosed, and Area. #309
  • [heatmap] add index + yBin to heatmap circle/rect. #307
  • [geo] add Natural Earth (1) projection. #304
:memo: Documentation
  • [shape] Updated documentation for LinePath and AreaClosed. #309
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.165 => 0.0.166
 - @vx/axis: 0.0.165 => 0.0.166
 - @vx/chord: 0.0.1 => 0.0.166
 - @vx/demo: 0.0.165 => 0.0.166
 - @vx/geo: 0.0.165 => 0.0.166
 - @vx/grid: 0.0.165 => 0.0.166
 - @vx/heatmap: 0.0.165 => 0.0.166
 - @vx/marker: 0.0.165 => 0.0.166
 - @vx/shape: 0.0.165 => 0.0.166
 - @vx/threshold: 0.0.165 => 0.0.166
 - @vx/vx: 0.0.165 => 0.0.166
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.164 •

Changelog

Source

v0.0.164

:rocket: Enhancements
  • [shape] Add support for startAngle and endAngle props in the Pie component. #292
  • [shape] Add support for pieSortValues prop. This maps to d3’s pie.sortValues() which lets you sort by extracted values instead of data. #292
:bug: Bug Fix
  • [shape] Add actual support for startAngle and endAngle props in the Pie component. #292
  • [shape] Check for != null for numeric props in Pie component. #292
:memo: Documentation
  • [shape] Fix LineRadial link. #297
  • [shape] Make <code> inside headings bigger than <code> inside paragraphs so components headings are actually clearer as such… #297
  • [shape] Add Pie documentation. #297
:white_check_mark: Tests
  • [shape] Add tests for sort callbacks in the Pie component. #292
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.162 => 0.0.164
 - @vx/axis: 0.0.162 => 0.0.164
 - @vx/demo: 0.0.163 => 0.0.164
 - @vx/grid: 0.0.162 => 0.0.164
 - @vx/marker: 0.0.162 => 0.0.164
 - @vx/shape: 0.0.162 => 0.0.164
 - @vx/threshold: 0.0.162 => 0.0.164
 - @vx/vx: 0.0.163 => 0.0.164
vx
published 0.0.162 •

Changelog

Source

v0.0.162

:rocket: Enhancements
  • [threshold] add <Threshold /> #285
  • [grid] add support for band scales #282
  • [shape] <Area /> now supports function as children #285
:memo: Documentation
  • [demo] add /threshold demo #285
  • [demo] demo band scale grid on /barstack #282
:trophy: Contributors
Changes:
 - @vx/annotation: 0.0.161 => 0.0.162
 - @vx/axis: 0.0.161 => 0.0.162
 - @vx/demo: 0.0.161 => 0.0.162
 - @vx/grid: 0.0.161 => 0.0.162
 - @vx/marker: 0.0.161 => 0.0.162
 - @vx/shape: 0.0.161 => 0.0.162
 - @vx/threshold: 0.0.1 => 0.0.162
 - @vx/vx: 0.0.161 => 0.0.162
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