Commit Graph

9 Commits

Author SHA1 Message Date
Yue JIN
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
Yue JIN
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
Yue JIN
8fbc68a010 build: migrate demo from webpack to Vite (#832) 2025-08-10 23:36:36 +08:00
Justineo
948d522cf7 feat: add 2.7 support, fix #633 2022-07-06 15:08:35 +08:00
Justineo
89be965939 chore: allowJs for demo 2022-01-14 19:02:25 +08:00
Justineo
5f22f4a0c2 chore: refine scripts 2021-03-07 00:25:19 +08:00
Justineo
419d79f86f refactor: rename options to option to align with ECharts itself
- removed built-in styles
- use ECharts' built-in throttle
- generate bundled .d.ts, hack three methods for now
- loadingOptions can be any object type
2021-02-19 17:54:08 +08:00
Justineo
ee12ad9658 feat: vue-echarts-next first version 2021-02-18 15:10:19 +08:00
Justineo
e4ff8e68e0 init 2021-02-01 20:21:18 +08:00