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

@yandex-cloud/chartkit

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yandex-cloud/chartkit - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

2

build/components/ChartKit.d.ts
import React from 'react';
import type { ChartkitType, ChartKitRef, ChartKitProps } from '../types';
import '@yandex-cloud/uikit/styles/styles.css';
import '@gravity-ui/uikit/styles/styles.css';
import './ChartKit.css';

@@ -5,0 +5,0 @@ declare type ChartKitComponentProps<T extends ChartkitType> = Omit<ChartKitProps<T>, 'onError'> & {

@@ -9,3 +9,3 @@ import { __rest } from "tslib";

import { Loader } from './Loader/Loader';
import '@yandex-cloud/uikit/styles/styles.css';
import '@gravity-ui/uikit/styles/styles.css';
import './ChartKit.css';

@@ -12,0 +12,0 @@ const b = block('chartkit');

/// <reference types="react" />
import { LoaderProps as BaseLoaderProps } from '@yandex-cloud/uikit';
import { LoaderProps as BaseLoaderProps } from '@gravity-ui/uikit';
import './Loader.css';

@@ -4,0 +4,0 @@ declare type LoaderProps = BaseLoaderProps;

import React from 'react';
import block from 'bem-cn-lite';
import { Loader as BaseLoader } from '@yandex-cloud/uikit';
import { Loader as BaseLoader } from '@gravity-ui/uikit';
import './Loader.css';

@@ -5,0 +5,0 @@ const b = block('chartkit-loader');

import moment from 'moment';
import { configure } from '@gravity-ui/uikit';
import { i18nFactory } from '../../i18n';

@@ -18,2 +19,3 @@ export const DEFAULT_LOCALE_SPECIFICATION = { week: { dow: 1, doy: 7 } };

moment.locale(lang);
configure({ lang });
i18nFactory.setLang(lang);

@@ -20,0 +22,0 @@ };

import React from 'react';
import { withKnobs, boolean, color as colorKnob, radios, text } from '@storybook/addon-knobs';
import { cloneDeep } from 'lodash';
import { Button } from '@yandex-cloud/uikit';
import { Button } from '@gravity-ui/uikit';
import { settings } from '../../../libs';

@@ -6,0 +6,0 @@ import { ChartKit } from '../../../components/ChartKit';

import React from 'react';
import { Button } from '@yandex-cloud/uikit';
import { Button } from '@gravity-ui/uikit';
import { settings } from '../../../libs';

@@ -4,0 +4,0 @@ import { YagrPlugin } from '../../../plugins';

import React from 'react';
import moment from 'moment';
import debounce from 'lodash/debounce';
import { useThemeValue } from '@yandex-cloud/uikit';
import { useThemeValue } from '@gravity-ui/uikit';
import YagrComponent from 'yagr/dist/react';

@@ -6,0 +6,0 @@ import { defaults, } from 'yagr';

# Changelog
## [0.7.0](https://github.com/yandex-cloud/chartkit/compare/v0.6.0...v0.7.0) (2022-10-01)
### Features
* use gravity-ui/uikit instead of yandex-cloud/uikit ([#46](https://github.com/yandex-cloud/chartkit/issues/46)) ([afb2300](https://github.com/yandex-cloud/chartkit/commit/afb230036bb26573159e5f03e0972653b6692d86))
## [0.6.0](https://github.com/yandex-cloud/chartkit/compare/v0.5.4...v0.6.0) (2022-08-12)

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

{
"name": "@yandex-cloud/chartkit",
"version": "0.6.0",
"version": "0.7.0",
"description": "Library for rendering Yandex Charts scripts",

@@ -21,2 +21,3 @@ "license": "MIT",

"devDependencies": {
"@gravity-ui/uikit": "^3.0.2",
"@storybook/addon-essentials": "^6.5.9",

@@ -37,3 +38,2 @@ "@storybook/addon-knobs": "^6.4.0",

"@yandex-cloud/tsconfig": "^1.0.0",
"@yandex-cloud/uikit": "^2.7.0",
"eslint": "^8.11.0",

@@ -64,3 +64,3 @@ "gulp": "^4.0.2",

"moment": "^2.19.3",
"@yandex-cloud/uikit": "^2.0.0",
"@gravity-ui/uikit": "^3.0.0",
"@yandex-cloud/i18n": "^0.5.0"

@@ -67,0 +67,0 @@ },

@@ -8,3 +8,3 @@ # @yandex-cloud/chartkit &middot; [![license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE) [![npm package](https://img.shields.io/npm/v/@yandex-cloud/chartkit)](https://www.npmjs.com/package/@yandex-cloud/chartkit)

```shell
npm i --save-dev @yandex-cloud/chartkit @yandex-cloud/uikit @yandex-cloud/i18n
npm i --save-dev @yandex-cloud/chartkit @gravity-ui/uikit @yandex-cloud/i18n
```

@@ -15,3 +15,3 @@

```typescript
import {ThemeProvider} from '@yandex-cloud/uikit';
import {ThemeProvider} from '@gravity-ui/uikit';
import ChartKit, {settings} from '@yandex-cloud/chartkit';

@@ -18,0 +18,0 @@ import {YagrPlugin, YagrWidgetData} from '@yandex-cloud/chartkit/build/plugins';

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