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.2.0 to 0.2.1

26

CHANGELOG.md

@@ -0,11 +1,24 @@

## [0.2.1](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.2.0) - 09-27-2021
- **ADDED** - The `yTickValues` prop to the BarChart component and passes that value to the `yGrid` and `yAxis` components.
## [0.2.0](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.2.0) - 09-14-2021
- **ADDED** - X and Y coordinates to the `labelFormatter` function arguments.
- **ADDED** - The ability to do images on each individual bar with the `getImageProps` function.
## [0.1.6](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.1.6) - 08-09-2021
- **FIXED** - Adds the x and y coordinates to the layout effect for positioning the bar labels
## [0.1.5](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.1.5) - 07-21-2021
- **FIXED** - Added support for grouped custom colors.
- **FIXED** - Added support for grouped custom colors.
## [0.1.4](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.1.4) - 04-13-2021
- **FIXED** - The XAxis component `tickFormat` incorrectly used `PropTypes.oneOf` instead of `PropTypes.oneOfType`.
- **FIXED** - The XAxis component `tickFormat` incorrectly used `PropTypes.oneOf` instead of `PropTypes.oneOfType`.
## [0.1.3](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.1.3) - 04-13-2021
- **FIXED** - The XAxis component `tickFormat` prop type has been updated to support functions and string.

@@ -15,7 +28,8 @@ - **FIXED** - Changes 3 maps to a single reduce for a slight performance improvement.

## [0.1.2](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.1.2) - 03-18-2021
- **FIXED** - The Graph component will now default to a role of `img`. This can be overriden but will force screen readers to treat it as a single element by default.
- **FIXED** - The Graph component will now default to a role of `img`. This can be overriden but will force screen readers to treat it as a single element by default.
## [0.1.1](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.1.1) - 02-10-2021
- **FIXED** - BarChart should no longer add a negative buffer on the domain when the min value is greater than or equal to 0.
- **FIXED** - BarChart should no longer add a negative buffer on the domain when the min value is greater than or equal to 0.
- **FIXED** - BarChart labels now has a classname with a background color coming from the style attribute allowing it to be overriden in specific scenarios

@@ -25,3 +39,3 @@

- **ADDED** - BarChart now accepts `enableKeyboardSupport` which sets the bar tabIndex to -1 for certain use cases.
- **ADDED** - BarChart now accepts `enableKeyboardSupport` which sets the bar tabIndex to -1 for certain use cases.

@@ -47,3 +61,3 @@ ## [0.0.6](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.0.6) - 02-03-2021

- **FIXED** - Public access in npm
- **FIXED** - Public access in npm

@@ -50,0 +64,0 @@ ## [0.0.1](https://gitlab.mx.com/mx/kyper-react/-/commits/@kyper/graphs@0.0.1) - 10-08-2020

@@ -95,2 +95,6 @@ import React, { useRef } from 'react'

yFormatter: PropTypes.func,
/**
* An array of tick values passed that will be passed to the `yAxis` and `yGrid` components.
*/
yTickValues: PropTypes.array,
}

@@ -134,2 +138,3 @@ const defaultProps = {

yFormatter,
yTickValues,
}) => {

@@ -231,2 +236,3 @@ const tokens = useTokens()

<YGrid
tickValues={yTickValues}
transform={`translate(${margins.left},0)`}

@@ -332,2 +338,3 @@ width={width - margins.right - margins.left}

tickFormat={yFormatter}
tickValues={yTickValues}
transform={`translate(${margins.left},0)`}

@@ -334,0 +341,0 @@ yScale={yScale}

{
"name": "@kyper/graphs",
"version": "0.2.0",
"version": "0.2.1",
"description": "Kyper Graphs",

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

},
"gitHead": "51a731f961668b2a4259826f96fe607503488dc6"
"gitHead": "f682d98cf110a91d450ed98008f4e456b169bc95"
}
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