6.0.0
Merge remote-tracking branch 'origin/v6' into feat-matrix-enhance
design: colors using tokens
fix(candelstick): still enable emphasis state by default
chore: add license headers and a script of pre-commit
feat(scatter): `scale` support number
fix(theme): update according to the pr review
fix(graph): fix NPE when triggering graphRoam action after removing.
chore: fix comment and TS type error.
fix(lines): add missing `function` callback into `lineStyle.color` for line series.
fix(src/chart/parall): fix datatype. close #18411
fix(lint): remove unused type.
fix(radar): improve logic and add test cases of #21081
feat: (1) Support `preserveAspect` `preserveAspectAlign` `preserveAspectVerticalAlign` for series.map/geo/series.graph in box layout (lay out by left/right/top/bottom/width/height). (2) Support `clip` on geo/series.map (3) Support `roamTigger: 'global' | 'selfRect'` to switch roam area to global on only self bounding rect. (4) Support cursor style change when hovering the roaming enabled area to hint users. (5) Fix that center and zoom option does not work in series.sankey, and no relevant test case. (the roam is introduced in impl in #20321, due v6). (6) Fix the percent base of `center` (such as `center: ['40%', '50%']`) for all View coord sys based components/series (geo/series.map/series.graph/series.tree/series.sankey). #16904 introcuded percentage string here, such as '33%'. But it was based on canvas width/height, which is not reasonable - the unit may incorrect, and it is unpredictable if the `View['_rect']` is not calculated based on the current canvas rect. Therefore the percentage value is changed to based on `View['_rect'].width/height` since v6. Under this definition, users can use '0%' to map the top-left of `View['_rect']` to the center of `View['_viewRect']`. (7) Enhance the behavior for roaming area overlapping - the upper one has higher precedence. (8) Fix some `scaleLimit` missing. (9) Some refactor and clarification of `RoamController` and `roamHelper`.
feat: update themes
chore: fix a few typos
refact: make components installable