- Handle
d3
ticks behaviour when we get a single tick. Refer d3/d3-scale#149 for more info
- Bumped d3 version to 5.x
- Handled specific
d3-scale
behaviour (d3/d3-scale#149). Fixes palerdot#27
- Handling invalid
needleTransition
prop. Switching to defaulteaseQuadInOut
by throwing a warning.
- Using simple string replace for
currentValueText
instead of template literal for better support for IE - https://caniuse.com/#feat=template-literals
- updating
peerDependencies
withReact 16
REACT 16
updating react version to 16, along with enzyme to version 3.
currentValueText
configuration to display custom current value text.
valueFormat
option for formatting the values. Should be a valid input for - https://github.com/d3/d3-format#locale_format
- Tweaked the positioning of current value element to be 23 points below so that it is legible in smaller speedometers.
forceRender
config option, to rerender the whole component on props change. Previously, only the values are updated and animated.
- new test case for custom
textColor
prop
- new test case for validating default color
- new test case for checking number of segments
- configuring
textColor
- Basic test coverage using enzyme
- Moving to
MIT
license
- Make
needleTransitionDuration
configurable - Make
needleTransition
configurable - make
ringWidth
configurable