@yandex-cloud/chartkit
Advanced tools
Comparing version 0.3.0 to 0.3.1
import { ChartKit } from './components/ChartKit'; | ||
import { settings } from './libs'; | ||
export type { ChartKitLang, ChartKitOnLoadData, ChartKitPlugin, ChartKitProps, ChartKitRef, ChartKitWidgetRef, ChartkitType, ChartkitWidget, } from './types'; | ||
export { settings }; | ||
export default ChartKit; |
import { ChartKit } from './components/ChartKit'; | ||
import { settings } from './libs'; | ||
export { settings }; | ||
export default ChartKit; |
@@ -9,2 +9,3 @@ import moment from 'moment'; | ||
declare type SettingKey = keyof Settings; | ||
export declare const DEFAULT_LOCALE_SPECIFICATION: moment.LocaleSpecification; | ||
declare class ChartKitSettings { | ||
@@ -11,0 +12,0 @@ private settings; |
import moment from 'moment'; | ||
import { i18nFactory } from '../../i18n'; | ||
const DEFAULT_LOCALE_SPECIFICATION = { week: { dow: 1, doy: 7 } }; | ||
export const DEFAULT_LOCALE_SPECIFICATION = { week: { dow: 1, doy: 7 } }; | ||
const removeUndefinedValues = (data) => { | ||
@@ -5,0 +5,0 @@ return Object.entries(data).reduce((acc, [key, value]) => { |
/// <reference types="react" /> | ||
export interface ChartkitWidget { | ||
} | ||
import type { ChartkitWidget } from './widget'; | ||
export declare type ChartKitLang = 'ru' | 'en'; | ||
@@ -28,1 +27,2 @@ export declare type ChartkitType = keyof ChartkitWidget; | ||
}; | ||
export type { ChartkitWidget }; |
# Changelog | ||
## [0.3.1](https://github.com/yandex-cloud/chartkit/compare/v0.3.0...v0.3.1) (2022-07-14) | ||
### Bug Fixes | ||
* add test for settings ([#21](https://github.com/yandex-cloud/chartkit/issues/21)) ([b848503](https://github.com/yandex-cloud/chartkit/commit/b8485032d9ab14edda0a8f193f9174e3a6c687bf)) | ||
* build task fixes ([#23](https://github.com/yandex-cloud/chartkit/issues/23)) ([2f13233](https://github.com/yandex-cloud/chartkit/commit/2f13233005d8fe7d10d496464ec3aed0a9ea5743)) | ||
## [0.3.0](https://github.com/yandex-cloud/chartkit/compare/v0.2.0...v0.3.0) (2022-07-13) | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "@yandex-cloud/chartkit", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Library for rendering Yandex Charts scripts", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57090
60
1371