257 Commits

Author SHA1 Message Date
36c3cb97a9 chore: release v8.0.0-beta.1 v8.0.0-beta.1 2025-08-10 23:37:53 +08:00
55c68b48b7 chore: release and publish from github actions (#850) 2025-08-10 23:31:34 +08:00
c232e71c47 chore: add echarts 6 features in codegen
* chore: add echarts 6 features in codegen

* update according to 772cf01859
2025-08-10 23:31:34 +08:00
e568005bb2 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:31:23 +08:00
8ed975e09b 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:26:17 +08:00
570a26c262 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:26:17 +08:00
df640ebce6 chore: remove large mode for flight example (#845) 2025-08-10 23:26:17 +08:00
30e7934aab feat: dynamically update the theme (#841)
Co-authored-by: GU Yiling <justice360@gmail.com>
2025-08-10 23:26:12 +08:00
6155bbb409 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:22:04 +08:00
fa42af0723 refactor: use Web Components without native class support detection (#836) 2025-08-10 23:22:04 +08:00
8b7ef5e6e1 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:22:04 +08:00
522dd7cc5c 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:22:04 +08:00
077bd3ec40 build: migrate demo from webpack to Vite (#832) 2025-08-10 23:22:04 +08:00
473fed37a2 chore: remove @vue/runtime-core from peerDependencies
@vue/runtime-core was added here for supporting typescript in vue < 2.7
2025-08-10 23:22:04 +08:00
7ae6892fe6 refactor: change listeners from object to Map 2025-08-10 23:22:03 +08:00
71c106ae29 refactor: rename realListeners to listeners 2025-08-10 23:22:03 +08:00
381489da2f docs: update provide/inject section 2025-08-10 23:22:03 +08:00
2fb0dc2233 refactor: simplify render function 2025-08-10 23:22:03 +08:00
b6c84aab7e feat: support getter in provide/inject 2025-08-10 23:22:03 +08:00
c6a1228c9d docs: remove vue 2 related content 2025-08-10 23:21:47 +08:00
9067505a3a feat!: remove vue 2 2025-08-10 23:19:04 +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