304 Commits

Author SHA1 Message Date
654fdc98f9 docs: update version, deps and docs for 8.0 beta (#849)
* chore: up version and deps

* chore: use pnpm CLI to get versions

* add note for echarts 6 upgrade guide

* remove docs script

let cdn to redirect for us

* Revert "remove docs script"

This reverts commit 3bc237db9100864f2813249ac1693735a658e646.

* update demo links
2025-08-10 23:36:36 +08:00
7e49190f95 feat!: inject style via constructable CSSStyleSheet and remove CSP entry (#847)
* chore: not inject inline css on server

* feat!: remove csp entry

* keep csp title in readme

* chore: switch to rolldown and tsdown

* update

* dedupe

* update according to review

* emphasize "both" in csp section

* load css with unplugin-raw

* change tsdown entry
2025-08-10 23:36:36 +08:00
a6ad4e70a2 feat: rendering tooltips and dataView with slots (#838)
* feat: experimental component rendered tooltip

* revert slot in VChart

* feat: use tooltip composable

* feat: try createApp

* feat: use pie chart as tooltip

* feat: switch to createVNode

The limitation is that the tooltip detached from the current component tree, not provide/inject

will try teleport next

* feat: try component with teleport

* wip

* add xAxis example

* refactor with shallowReactive

* Support dynamic slot

* fix: fill empty elements with object in array

* shallow copy option along the path

* ssr friendly

* vibe docs

* typo

* update according to the review

* add dataView slot

* chore: fix warnings and errors in demo (#839)

* chore: suppress warning in demo

* chore: prevent multiple intializations of esbuild-wasm in demo HMR

* feat: dynamically update the theme (#841)

Co-authored-by: GU Yiling <justice360@gmail.com>

* feat: add dataView slot

* vibe docs

---------

Co-authored-by: GU Yiling <justice360@gmail.com>

* fix docs typo

* update according to the review

* small fix

* remove wrapper around slotProp

* update comments

* remove anys

* add tooltip slot prop type

* target to vue 3.3

* move slot related codes to slot.ts

---------

Co-authored-by: GU Yiling <justice360@gmail.com>
2025-08-10 23:36:36 +08:00
4beaa9bce9 chore: remove large mode for flight example (#845) 2025-08-10 23:36:36 +08:00
26c991ea81 feat: dynamically update the theme (#841)
Co-authored-by: GU Yiling <justice360@gmail.com>
2025-08-10 23:36:36 +08:00
55c187ec64 chore: fix warnings and errors in demo (#839)
* chore: suppress warning in demo

* chore: prevent multiple intializations of esbuild-wasm in demo HMR
2025-08-10 23:36:36 +08:00
6ef3fd8f52 refactor: use Web Components without native class support detection (#836) 2025-08-10 23:36:36 +08:00
5b39c47102 refactor: switch to generated .d.ts (#835)
* build: generate d.ts

* fix: preserve PublicMethods

* fix: avoid exposing types of attrs

* refactor: use existing setoption type

* fix: expose root and chart

* feat: use symbol as injection key

* chore: add comment for the type casting of the exposed
2025-08-10 23:36:36 +08:00
d3bff26307 chore: ESLint Flat Config (#834)
* chore: eslint flat config

* chore: format

* update according to review

* chore: remove prettier config and format

* fix: move handler to script to bypass eslint

* chore: config eslint for lang=js block

* docs: add surrounding empty lines for code block

* chore: also minify css in csp build

* chore: publint
2025-08-10 23:36:36 +08:00
8fbc68a010 build: migrate demo from webpack to Vite (#832) 2025-08-10 23:36:36 +08:00
440285dabf chore: remove @vue/runtime-core from peerDependencies
@vue/runtime-core was added here for supporting typescript in vue < 2.7
2025-08-10 23:36:36 +08:00
9dd86d0a8d refactor: change listeners from object to Map 2025-08-10 23:36:36 +08:00
0aec2ecbd6 refactor: rename realListeners to listeners 2025-08-10 23:36:36 +08:00
756aa363f0 docs: update provide/inject section 2025-08-10 23:36:36 +08:00
05bd137cce refactor: simplify render function 2025-08-10 23:36:36 +08:00
f81fd99c1a feat: support getter in provide/inject 2025-08-10 23:36:36 +08:00
349644f913 docs: remove vue 2 related content 2025-08-10 23:36:36 +08:00
503094de70 feat!: remove vue 2 2025-08-10 23:36:36 +08:00
d0357c8f31 docs: remove english in Chinese README 2025-08-05 18:03:16 +08:00
cde7c33a32 docs: fix v6 zh docs link 2025-07-08 10:50:35 +08:00
963c204da4 docs: remove showLoading and hideLoading (#842)
* docs: remove showLoading and hideLoading

* docs: add note for `showLoading` and `hideLoading` method
2025-07-02 18:31:57 +08:00
bee810ead3 docs: fix typo in readme cn 2025-06-07 18:00:02 +08:00
1301014626 fix: not auto-resize when the container size is 0, closes #831 2025-05-23 15:10:03 +08:00
b7852ab643 fix: fix type for autoresize (again), closes #810 v7.0.3 2024-08-19 23:41:18 +08:00
1378f6e397 build: use upstream version of rollup-plugin-import-css 2024-08-19 11:47:41 +08:00
ec2c15c153 fix(#805): fix style injection 2024-08-13 15:33:36 +08:00
beec26367f fix: fix type for autoresize, closes #800 v7.0.1 2024-08-04 07:38:57 +08:00
b366b31afb docs: add peer deps update for echarts in changelog 2024-08-03 16:31:17 +08:00
4f3a6ac0a3 fix: fix event types and bump to 7.0.0 v7.0.0 2024-08-03 16:17:46 +08:00
e967bfc1fe docs: update migration part in readme 2024-07-25 23:54:58 +08:00
a9c54e1dc5 docs: update readme 2024-07-25 23:21:49 +08:00
d941e35a61 docs: update csp usage docs v7.0.0-beta.0 2024-07-24 18:21:56 +08:00
3c063ed21e chore: update changelog and lint config 2024-07-24 18:21:56 +08:00
c0b0d2d0be chore: update changelog 2024-07-24 18:21:56 +08:00
2d310a3891 chore: update linter config 2024-07-24 18:21:56 +08:00
9fe76efa93 chore: update lock file 2024-07-24 18:21:56 +08:00
24ed18e439 docs: use local wasm file 2024-07-24 18:21:56 +08:00
6b98318504 build: add back umd, drop csp, share type between vue2/3 2024-07-24 18:21:56 +08:00
27c79b9012 feat!: move to esm and drop support for vue 2.6 2024-07-24 18:21:56 +08:00
861674352b docs: improve demo 2024-07-24 18:21:56 +08:00
fc53aee8a7 feat!: drop extra wrapper 2024-07-24 18:21:56 +08:00
da0109b07a refactor: improve import statements 2024-07-24 18:21:56 +08:00
7e5c06225c chore: update echarts deps 2024-07-24 18:21:56 +08:00
3c7ff95331 refactor!: remove resize-detector and update vue deps to 2.7+ 2024-07-24 18:21:56 +08:00
d774558f3e chore: fix disappeared logo in demo 2024-06-13 20:25:38 +08:00
5d23006866 chore: update demo 2024-06-11 20:05:05 +08:00
443eaa0367 chore: update readme 2024-06-04 23:14:19 +08:00
16f3f4b419 fix: fix padding style v6.7.3 2024-06-04 23:11:22 +08:00
e651d32334 fix(#783): chart should display after activation in <keep-alive> v6.7.2 2024-05-07 17:43:19 +08:00
a8e30b137a chore: update changelog and version v6.7.1 2024-04-23 19:49:16 +08:00