@kyper/graphs
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -1,18 +0,24 @@ | ||
# Graphs Changelog | ||
## [0.0.4] - 11-10-2020 | ||
## [0.0.6](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.0.6) - 02-03-2020 | ||
### Fixed | ||
- Wraps YAxis and XAxis refs in useLayoutEffect in response to some state update rendering issues. | ||
## [0.0.3] - 11-09-2020 | ||
- **ADDED** - BarChart now accepts `enableYZeroLine` for rendering a darker axis line at 0. | ||
### Added | ||
- BarChart now has access to `showBarLabelBackground` for removing the white background behind labels. | ||
## [0.0.5](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.0.5) - 12-18-2020 | ||
## [0.0.2] - 10-08-2020 | ||
- **CHANGED** - updated to a consistent file structure _NO ACTUAL COMPONENT CHANGES_ | ||
### Fixed | ||
- Public access in npm | ||
## [0.0.4](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.0.4) - 11-10-2020 | ||
## [0.0.1] - 10-08-2020 | ||
- **ADDED** - BarChart now has access to `showBarLabelBackground` for removing the white background behind labels. | ||
- **FIXED** - Wraps YAxis and XAxis refs in useLayoutEffect in response to some state update rendering issues. | ||
Initial release of BarChart | ||
## [0.0.3](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.0.3) - 11-09-2020 | ||
- **ADDED** - BarChart now has access to `showBarLabelBackground` for removing the white background behind labels. | ||
## [0.0.2](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.0.2) - 10-08-2020 | ||
- **FIXED** - Public access in npm | ||
## [0.0.1](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.0.1) - 10-08-2020 | ||
- **ADDED** - Initial release of `Graph` and `BarChart` components |
@@ -43,2 +43,3 @@ import React, { useRef } from 'react' | ||
enableYGrid: PropTypes.bool, | ||
enableYZeroLine: PropTypes.bool, | ||
/** | ||
@@ -100,2 +101,3 @@ * Passed to the `Graph` component. | ||
enableYGrid: true, | ||
enableYZeroLine: false, | ||
showBarLabelBackground: true, | ||
@@ -112,2 +114,3 @@ svgProps: {}, | ||
enableYGrid, | ||
enableYZeroLine, | ||
height, | ||
@@ -284,2 +287,12 @@ labelFormatter, | ||
) : null} | ||
{enableYZeroLine ? ( | ||
<line | ||
stroke={tokens.Color.Neutral600} | ||
x1={margins.left} | ||
x2={width - margins.right} | ||
y1={yScale(0)} | ||
y2={yScale(0)} | ||
/> | ||
) : null} | ||
</Graph> | ||
@@ -286,0 +299,0 @@ ) |
{ | ||
"name": "@kyper/graphs", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Kyper Graphs", | ||
@@ -32,3 +32,3 @@ "author": "MX", | ||
}, | ||
"gitHead": "f212a1c748ea0f68c46cdee1cea77f0dd77b3c3b" | ||
"gitHead": "537b6cc61654547734d423e94637a1d2a42db4fe" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
23782
709
0