Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gravity-ui/chartkit

Package Overview
Dependencies
Maintainers
3
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gravity-ui/chartkit - npm Package Compare versions

Comparing version 2.3.1 to 2.4.0

4

build/plugins/yagr/renderer/useWidgetData.js
import React from 'react';
import { useThemeType } from '@gravity-ui/uikit';
import { useThemeValue } from '@gravity-ui/uikit';
import { shapeYagrConfig } from './utils';
export const useWidgetData = (args) => {
const { id, data, sources, libraryConfig } = args;
const theme = useThemeType();
const theme = useThemeValue();
const config = React.useMemo(() => shapeYagrConfig({ data, libraryConfig, theme }), [data, libraryConfig, theme]);

@@ -8,0 +8,0 @@ const debug = React.useMemo(() => {

# Changelog
## [2.4.0](https://github.com/gravity-ui/chartkit/compare/v2.3.1...v2.4.0) (2023-04-13)
### Features
* **Yagr:** update to v2.2.4 ([#150](https://github.com/gravity-ui/chartkit/issues/150)) ([7b7ab46](https://github.com/gravity-ui/chartkit/commit/7b7ab4632f6ece68dc05e1bec5949283e4307f88))
## [2.3.1](https://github.com/gravity-ui/chartkit/compare/v2.3.0...v2.3.1) (2023-04-12)

@@ -4,0 +11,0 @@

{
"name": "@gravity-ui/chartkit",
"version": "2.3.1",
"version": "2.4.0",
"description": "React component used to render charts based on any sources you need",

@@ -16,3 +16,3 @@ "license": "MIT",

"dependencies": {
"@gravity-ui/yagr": "^2.2.2",
"@gravity-ui/yagr": "^2.2.4",
"bem-cn-lite": "^4.1.0",

@@ -19,0 +19,0 @@ "highcharts": "^8.2.2",

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