New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@kyper/graphs

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kyper/graphs - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

30

CHANGELOG.md

@@ -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 @@ )

4

package.json
{
"name": "@kyper/graphs",
"version": "0.0.5",
"version": "0.0.6",
"description": "Kyper Graphs",

@@ -32,3 +32,3 @@ "author": "MX",

},
"gitHead": "f212a1c748ea0f68c46cdee1cea77f0dd77b3c3b"
"gitHead": "537b6cc61654547734d423e94637a1d2a42db4fe"
}
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