master
test(theme): fix test cases of v6
fix: Simplify and clarify the code about axis ticks regarding ordinal scale sorting. Fix axis label and sorting bug introduced by preceding commits.
refactor(scale): For readability and maintainability (1) Migrate `calcNiceTicks` and `calcNiceExtent` from Scale class override member functions to plain functions, similar to `axisAlignTicks`. Previously it's hard to modify and error-prone. (2) Remove unnecessary override on Scale class hierarchy and limit override usage, which is difficult to understand and error-prone. (3) Simplify the inheritance - shift `LogScale` and `TimeScale` inheritance from `IntervalScale` to `Scale`. (4) Clarify the impl of `IntervalScale` - uniform the parameters setting entry for both "nice ticks" and "align ticks".
(1) [var => let/const] part I: Use eslint rule to check the diff between var and let: "no-use-before-define": "off" "@typescript-eslint/no-use-before-define": 2 no-redeclare: 2 block-scoped-var: 2 no-loop-func: 2 (2) By the way add some eslint rule and unify some code style.
refact: make components installable
fix(type): optimize types for dts bundling
fix(timeline): trigger timelineplaychange event when play to the end #14588