Changelog
v0.0.161
d3-scale-chromatic
, following d3's lead in release 5.0.0. #270@vx/scale
: schemeCategory10
, schemeCategory20
, schemeCategory20b
, schemeCategory20c
. #270containerProps
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. #272width
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". #272d3-scale-chromatic
with vx/scale
. #270@vx/tooltip
components + enhancer. #272<AxisRight />
to /axis demo tile. #280npm run docs
script. #281Changes:
- @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
Changelog
v0.0.159
<Axis />
components now use @vx/text
to render tick labels. This enables multi line labels and scaling text to fit in a certain amount of space. #260Example:
<Axis
{...axisProps}
tickLabelProps = (tickValue, index) => ({
textAnchor: 'middle',
verticalAnchor: 'middle',
width: 100,
scaleToFit: true
})
/>
<Axis />
components got a new prop tickComponent
to enable rendering of custom ticks. With this prop one can completely customize ticks without having to create a new custom <Axis />
component. #260Example:
<Axis
{...axisProps}
tickComponent={({ x, y, formattedValue }) => (
<g>
<circle cx={x} cy={y} r={2} fill='rebeccapurple' />
<text x={x + 4} y={y}>{formattedValue}</text>
</g>
)}
/>
tickComponent
accepts a function and gets called with the following attribute:
tickComponent({ x, y, formattedValue, ...tickLabelPropsObj })
@vx/axis
documentation. #260@vx/text
package. #257Changes:
- @vx/axis: 0.0.158 => 0.0.159
- @vx/demo: 0.0.158 => 0.0.159
- @vx/text: 0.0.153 => 0.0.159
- @vx/vx: 0.0.158 => 0.0.159
Changelog
v0.0.153
Changes:
- @vx/annotation: 0.0.147 => 0.0.153
- @vx/axis: 0.0.152 => 0.0.153
- @vx/bounds: 0.0.147 => 0.0.153
- @vx/boxplot: 0.0.143 => 0.0.153
- @vx/brush: 0.0.143 => 0.0.153
- @vx/clip-path: 0.0.143 => 0.0.153
- @vx/curve: 0.0.143 => 0.0.153
- @vx/demo: 0.0.152 => 0.0.153
- @vx/drag: 0.0.143 => 0.0.153
- @vx/event: 0.0.143 => 0.0.153
- @vx/geo: 0.0.150 => 0.0.153
- @vx/glyph: 0.0.143 => 0.0.153
- @vx/gradient: 0.0.143 => 0.0.153
- @vx/grid: 0.0.147 => 0.0.153
- @vx/group: 0.0.143 => 0.0.153
- @vx/heatmap: 0.0.143 => 0.0.153
- @vx/hierarchy: 0.0.144 => 0.0.153
- @vx/legend: 0.0.143 => 0.0.153
- @vx/marker: 0.0.147 => 0.0.153
- @vx/mock-data: 0.0.147 => 0.0.153
- @vx/network: 0.0.143 => 0.0.153
- @vx/pattern: 0.0.143 => 0.0.153
- @vx/point: 0.0.143 => 0.0.153
- @vx/responsive: 0.0.152 => 0.0.153
- @vx/scale: 0.0.152 => 0.0.153
- @vx/shape: 0.0.147 => 0.0.153
- @vx/stats: 0.0.152 => 0.0.153
- @vx/text: 0.0.152 => 0.0.153
- @vx/tooltip: 0.0.148 => 0.0.153
- @vx/voronoi: 0.0.143 => 0.0.153
- @vx/vx: 0.0.152 => 0.0.153
- @vx/zoom: 0.0.143 => 0.0.153
Changelog
v0.0.152
fontWeight
option to vx-text demo #215getStringWidth
ignoring styles #215@vx/vx
text test. It was looking for TextOutline
export which was removed with the new @vx/text
#224prop-types
dep and use ^
#224Changes:
- @vx/axis: 0.0.151 => 0.0.152
- @vx/demo: 0.0.151 => 0.0.152
- @vx/responsive: 0.0.151 => 0.0.152
- @vx/scale: 0.0.151 => 0.0.152
- @vx/stats: 0.0.151 => 0.0.152
- @vx/text: 0.0.151 => 0.0.152
- @vx/vx: 0.0.151 => 0.0.152
Changelog
v0.0.150
<TextWrap>
, <TextOutline>
and <TextBackground>
components, which were incomplete #208<Text>
, with the following features
vx-text
author to @techniq #210Changes:
- @vx/demo: 0.0.149 => 0.0.150
- @vx/geo: 0.0.143 => 0.0.150
- @vx/responsive: 0.0.149 => 0.0.150
- @vx/text: 0.0.143 => 0.0.150
- @vx/vx: 0.0.149 => 0.0.150
Changelog
v0.0.143
<Tree />
& <Cluster />
now only pass data
as an argument to the child render function #173<Pack />
, <Partition />
, & <Treemap />
#173Changes:
- @vx/annotation: 0.0.142 => 0.0.143
- @vx/axis: 0.0.142 => 0.0.143
- @vx/bounds: 0.0.141 => 0.0.143
- @vx/boxplot: 0.0.140 => 0.0.143
- @vx/brush: 0.0.140 => 0.0.143
- @vx/clip-path: 0.0.140 => 0.0.143
- @vx/curve: 0.0.140 => 0.0.143
- @vx/demo: 0.0.142 => 0.0.143
- @vx/drag: 0.0.140 => 0.0.143
- @vx/event: 0.0.141 => 0.0.143
- @vx/geo: 0.0.140 => 0.0.143
- @vx/glyph: 0.0.140 => 0.0.143
- @vx/gradient: 0.0.140 => 0.0.143
- @vx/grid: 0.0.142 => 0.0.143
- @vx/group: 0.0.140 => 0.0.143
- @vx/heatmap: 0.0.140 => 0.0.143
- @vx/hierarchy: 0.0.141 => 0.0.143
- @vx/legend: 0.0.141 => 0.0.143
- @vx/marker: 0.0.142 => 0.0.143
- @vx/mock-data: 0.0.136 => 0.0.143
- @vx/network: 0.0.140 => 0.0.143
- @vx/pattern: 0.0.140 => 0.0.143
- @vx/point: 0.0.136 => 0.0.143
- @vx/responsive: 0.0.140 => 0.0.143
- @vx/scale: 0.0.140 => 0.0.143
- @vx/shape: 0.0.142 => 0.0.143
- @vx/text: 0.0.140 => 0.0.143
- @vx/tooltip: 0.0.141 => 0.0.143
- @vx/voronoi: 0.0.140 => 0.0.143
- @vx/vx: 0.0.142 => 0.0.143
- @vx/zoom: 0.0.140 => 0.0.143
Changelog
v0.0.140
Changes:
- @vx/annotation: 0.0.139 => 0.0.140
- @vx/axis: 0.0.139 => 0.0.140
- @vx/bounds: 0.0.137 => 0.0.140
- @vx/boxplot: 0.0.136 => 0.0.140
- @vx/brush: 0.0.136 => 0.0.140
- @vx/clip-path: 0.0.136 => 0.0.140
- @vx/curve: 0.0.136 => 0.0.140
- @vx/demo: 0.0.139 => 0.0.140
- @vx/drag: 0.0.136 => 0.0.140
- @vx/event: 0.0.136 => 0.0.140
- @vx/geo: 0.0.136 => 0.0.140
- @vx/glyph: 0.0.136 => 0.0.140
- @vx/gradient: 0.0.136 => 0.0.140
- @vx/grid: 0.0.139 => 0.0.140
- @vx/group: 0.0.136 => 0.0.140
- @vx/heatmap: 0.0.136 => 0.0.140
- @vx/hierarchy: 0.0.139 => 0.0.140
- @vx/legend: 0.0.139 => 0.0.140
- @vx/marker: 0.0.139 => 0.0.140
- @vx/network: 0.0.136 => 0.0.140
- @vx/pattern: 0.0.136 => 0.0.140
- @vx/responsive: 0.0.136 => 0.0.140
- @vx/scale: 0.0.136 => 0.0.140
- @vx/shape: 0.0.139 => 0.0.140
- @vx/text: 0.0.136 => 0.0.140
- @vx/tooltip: 0.0.137 => 0.0.140
- @vx/voronoi: 0.0.136 => 0.0.140
- @vx/vx: 0.0.139 => 0.0.140
- @vx/zoom: 0.0.136 => 0.0.140
Changelog
v0.0.136
Changes:
- @vx/annotation: 0.0.131 => 0.0.136
- @vx/axis: 0.0.134 => 0.0.136
- @vx/bounds: 0.0.129 => 0.0.136
- @vx/boxplot: 0.0.131 => 0.0.136
- @vx/brush: 0.0.127 => 0.0.136
- @vx/clip-path: 0.0.127 => 0.0.136
- @vx/curve: 0.0.127 => 0.0.136
- @vx/demo: 0.0.135 => 0.0.136
- @vx/drag: 0.0.127 => 0.0.136
- @vx/event: 0.0.127 => 0.0.136
- @vx/geo: 0.0.135 => 0.0.136
- @vx/glyph: 0.0.127 => 0.0.136
- @vx/gradient: 0.0.129 => 0.0.136
- @vx/grid: 0.0.131 => 0.0.136
- @vx/group: 0.0.127 => 0.0.136
- @vx/heatmap: 0.0.127 => 0.0.136
- @vx/hierarchy: 0.0.127 => 0.0.136
- @vx/legend: 0.0.127 => 0.0.136
- @vx/marker: 0.0.131 => 0.0.136
- @vx/mock-data: 0.0.135 => 0.0.136
- @vx/network: 0.0.135 => 0.0.136
- @vx/pattern: 0.0.127 => 0.0.136
- @vx/point: 0.0.127 => 0.0.136
- @vx/responsive: 0.0.127 => 0.0.136
- @vx/scale: 0.0.127 => 0.0.136
- @vx/shape: 0.0.131 => 0.0.136
- @vx/text: 0.0.127 => 0.0.136
- @vx/tooltip: 0.0.134 => 0.0.136
- @vx/voronoi: 0.0.127 => 0.0.136
- @vx/zoom: 0.0.127 => 0.0.136