echarts-next-for-react
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -1,7 +0,4 @@ | ||
import { IBundleOptions } from 'father'; | ||
const options: IBundleOptions = { | ||
export default { | ||
cjs: 'rollup', | ||
esm: 'rollup', | ||
// @ts-ignore | ||
doc: { | ||
@@ -11,3 +8,1 @@ typescript: true, | ||
}; | ||
export default options; |
@@ -23,2 +23,3 @@ import { defineConfig } from 'dumi'; | ||
: false, | ||
esbuild: {}, | ||
}); |
import type { FC } from 'react'; | ||
import React from 'react'; | ||
import type { EChartsOption } from 'echarts'; | ||
import 'echarts-gl'; | ||
export declare type EChartsNextForReactCoreProps = { | ||
@@ -6,0 +5,0 @@ option: EChartsOption; |
@@ -9,3 +9,2 @@ import React, { useRef, useEffect } from 'react'; | ||
import { useMount, useUnmount } from 'react-use'; | ||
import 'echarts-gl'; | ||
@@ -12,0 +11,0 @@ function _defineProperty(obj, key, value) { |
@@ -11,3 +11,2 @@ 'use strict'; | ||
var reactUse = require('react-use'); | ||
require('echarts-gl'); | ||
@@ -14,0 +13,0 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } |
import type { FC } from 'react'; | ||
import React from 'react'; | ||
import type { EChartsOption } from 'echarts'; | ||
import 'echarts-gl'; | ||
export declare type EChartsNextForReactCoreProps = { | ||
@@ -6,0 +5,0 @@ option: EChartsOption; |
{ | ||
"name": "echarts-next-for-react", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Echarts(v5.x | next) components for react.", | ||
@@ -43,3 +43,2 @@ "main": "dist/index.js", | ||
"prettier": "prettier -c --write \"**/*\"", | ||
"dev": "father doc dev", | ||
"build": "father build", | ||
@@ -56,7 +55,6 @@ "start": "dumi dev", | ||
"classnames": "^2.2.6", | ||
"size-sensor": "^1.0.1", | ||
"echarts": "^5.0.0", | ||
"echarts-gl": "^2.0.0-rc.3", | ||
"lodash": "^4.17.20", | ||
"react-use": "^15.3.4" | ||
"react-use": "^17.1.1", | ||
"size-sensor": "^1.0.1" | ||
}, | ||
@@ -69,9 +67,10 @@ "devDependencies": { | ||
"@umijs/fabric": "^2.2.0", | ||
"@umijs/plugin-esbuild": "^1.1.0", | ||
"cross-env": "^7.0.0", | ||
"dumi": "next", | ||
"eslint": "^7.1.0", | ||
"father": "^2.30.2", | ||
"lint-staged": "^10.0.0", | ||
"prettier": "^2.0.1", | ||
"father": "^2.16.0", | ||
"typescript": "^4.0.0", | ||
"dumi": "next", | ||
"umi": "^3.2.10" | ||
@@ -78,0 +77,0 @@ }, |
@@ -57,4 +57,9 @@ # echarts-next-for-react | ||
## Tasks | ||
- [ ] | ||
- [ ] support echarts-gl | ||
## LICENSE | ||
MIT |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7
65
65748
14
715
+ Added@types/js-cookie@2.2.7(transitive)
+ Addedreact-use@17.5.0(transitive)
+ Addedthrottle-debounce@3.0.1(transitive)
- Removedecharts-gl@^2.0.0-rc.3
- Removed@types/js-cookie@2.2.6(transitive)
- Removedclaygl@1.3.0(transitive)
- Removedecharts-gl@2.0.9(transitive)
- Removedreact-use@15.3.8(transitive)
- Removedthrottle-debounce@2.3.0(transitive)
Updatedreact-use@^17.1.1