250 Commits

Author SHA1 Message Date
a038d8c514 chore: use pnpm CLI to get versions 2025-08-06 12:12:46 +08:00
5f939eeb56 chore: up version and deps 2025-08-05 17:46:18 +08:00
8a2cc966e7 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-05 12:15:21 +08:00
1a05e28177 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-07-26 01:30:58 +08:00
82a9f54a8c chore: remove large mode for flight example (#845) 2025-07-08 23:06:29 +08:00
23de318077 feat: dynamically update the theme (#841)
Co-authored-by: GU Yiling <justice360@gmail.com>
2025-07-02 18:32:50 +08:00
9c3c2306e9 chore: fix warnings and errors in demo (#839)
* chore: suppress warning in demo

* chore: prevent multiple intializations of esbuild-wasm in demo HMR
2025-06-24 13:43:02 +08:00
001cc1ae32 refactor: use Web Components without native class support detection (#836) 2025-06-01 17:43:06 +08:00
f7ed1e1b7d 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-06-01 12:29:26 +08:00
8be19fe2a5 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-05-26 11:11:23 +08:00
eecc4e9405 build: migrate demo from webpack to Vite (#832) 2025-05-25 00:24:38 +08:00
581c66f82a chore: remove @vue/runtime-core from peerDependencies
@vue/runtime-core was added here for supporting typescript in vue < 2.7
2025-05-21 16:47:47 +08:00
631a9788d3 refactor: change listeners from object to Map 2025-05-21 16:47:47 +08:00
74960f0583 refactor: rename realListeners to listeners 2025-05-21 16:47:47 +08:00
763bbe6186 docs: update provide/inject section 2025-05-21 16:47:47 +08:00
0c0e82d6fb refactor: simplify render function 2025-05-21 16:47:47 +08:00
a8b238cedd feat: support getter in provide/inject 2025-05-21 16:47:47 +08:00
0aaa68d03b docs: remove vue 2 related content 2025-05-21 16:47:47 +08:00
ca6d44f8db feat!: remove vue 2 2025-05-21 16:47:47 +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
09808a47d2 fix: move events collecting from init to setup 2024-04-23 18:20:38 +08:00
898195c770 fix: fix esbuild wasm url in demo 2024-04-23 15:59:10 +08:00
07e0d067d5 chore: update deps 2024-04-23 10:55:48 +08:00
185940aecb docs: update changelog and version v6.7.0 2024-04-22 21:15:38 +08:00