diff --git a/common/changes/@visactor/vchart/fix-upgrade-vrender-0.21_2024-12-05-10-46.json b/common/changes/@visactor/vchart/fix-upgrade-vrender-0.21_2024-12-05-10-46.json new file mode 100644 index 0000000000..a3b087a689 --- /dev/null +++ b/common/changes/@visactor/vchart/fix-upgrade-vrender-0.21_2024-12-05-10-46.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "fix: upgrade vrender to 0.21.1, vgrammar to 0.15.0\n\n", + "type": "none", + "packageName": "@visactor/vchart" + } + ], + "packageName": "@visactor/vchart", + "email": "dingling112@gmail.com" +} \ No newline at end of file diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 9e6801989b..97e502fb91 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -21,10 +21,10 @@ importers: '@visactor/vchart': workspace:1.12.15 '@visactor/vchart-extension': workspace:1.12.15 '@visactor/vchart-theme': ~1.6.6 - '@visactor/vgrammar': 0.14.18 + '@visactor/vgrammar': 0.15.0 '@visactor/vmind': 1.2.4-alpha.5 - '@visactor/vrender': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vtable': 1.12.0 '@visactor/vtable-calendar': 1.12.0 '@visactor/vtable-editors': 1.12.0 @@ -59,10 +59,10 @@ importers: '@visactor/vchart': link:../packages/vchart '@visactor/vchart-extension': link:../packages/vchart-extension '@visactor/vchart-theme': 1.6.9 - '@visactor/vgrammar': 0.14.18 + '@visactor/vgrammar': 0.15.0 '@visactor/vmind': 1.2.4-alpha.5 - '@visactor/vrender': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vtable': 1.12.0 '@visactor/vtable-calendar': 1.12.0 '@visactor/vtable-editors': 1.12.0 @@ -146,9 +146,9 @@ importers: '@types/offscreencanvas': 2019.6.4 '@types/react-is': ^17.0.3 '@visactor/vchart': workspace:1.12.15 - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 '@vitejs/plugin-react': 3.1.0 eslint: ~8.18.0 @@ -167,9 +167,9 @@ importers: vite: 3.2.6 dependencies: '@visactor/vchart': link:../vchart - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 react-is: 18.3.1 devDependencies: @@ -211,9 +211,9 @@ importers: '@types/react-dom': ^18.0.0 '@types/react-is': ^17.0.3 '@visactor/vchart': workspace:1.12.15 - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 '@vitejs/plugin-react': 3.1.0 eslint: ~8.18.0 @@ -233,9 +233,9 @@ importers: vite: 3.2.6 dependencies: '@visactor/vchart': link:../vchart - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 react-is: 18.3.1 devDependencies: @@ -372,17 +372,17 @@ importers: '@types/node': '*' '@types/offscreencanvas': 2019.6.4 '@visactor/vdataset': ~0.19.2 - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vgrammar-hierarchy': 0.14.18 - '@visactor/vgrammar-projection': 0.14.18 - '@visactor/vgrammar-sankey': 0.14.18 - '@visactor/vgrammar-util': 0.14.18 - '@visactor/vgrammar-venn': 0.14.18 - '@visactor/vgrammar-wordcloud': 0.14.18 - '@visactor/vgrammar-wordcloud-shape': 0.14.18 - '@visactor/vrender-components': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vgrammar-hierarchy': 0.15.0 + '@visactor/vgrammar-projection': 0.15.0 + '@visactor/vgrammar-sankey': 0.15.0 + '@visactor/vgrammar-util': 0.15.0 + '@visactor/vgrammar-venn': 0.15.0 + '@visactor/vgrammar-wordcloud': 0.15.0 + '@visactor/vgrammar-wordcloud-shape': 0.15.0 + '@visactor/vrender-components': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vscale': ~0.19.2 '@visactor/vutils': ~0.19.2 '@visactor/vutils-extension': workspace:1.12.15 @@ -420,17 +420,17 @@ importers: vite: 3.2.6 dependencies: '@visactor/vdataset': 0.19.2 - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vgrammar-hierarchy': 0.14.18 - '@visactor/vgrammar-projection': 0.14.18 - '@visactor/vgrammar-sankey': 0.14.18 - '@visactor/vgrammar-util': 0.14.18 - '@visactor/vgrammar-venn': 0.14.18 - '@visactor/vgrammar-wordcloud': 0.14.18 - '@visactor/vgrammar-wordcloud-shape': 0.14.18 - '@visactor/vrender-components': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vgrammar-hierarchy': 0.15.0 + '@visactor/vgrammar-projection': 0.15.0 + '@visactor/vgrammar-sankey': 0.15.0 + '@visactor/vgrammar-util': 0.15.0 + '@visactor/vgrammar-venn': 0.15.0 + '@visactor/vgrammar-wordcloud': 0.15.0 + '@visactor/vgrammar-wordcloud-shape': 0.15.0 + '@visactor/vrender-components': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 '@visactor/vutils-extension': link:../vutils-extension @@ -491,10 +491,10 @@ importers: '@types/react-dom': ^18.0.0 '@visactor/vchart': workspace:1.12.15 '@visactor/vdataset': ~0.19.2 - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vrender-components': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vrender-components': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 '@vitejs/plugin-react': 3.1.0 canvas: 2.11.2 @@ -515,10 +515,10 @@ importers: dependencies: '@visactor/vchart': link:../vchart '@visactor/vdataset': 0.19.2 - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vrender-components': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vrender-components': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 devDependencies: '@internal/bundler': link:../../tools/bundler @@ -890,9 +890,9 @@ importers: '@typescript-eslint/eslint-plugin': 5.30.0 '@typescript-eslint/parser': 5.30.0 '@visactor/vchart': workspace:1.12.15 - '@visactor/vrender': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': ~0.19.2 cross-env: ^7.0.3 eslint: ~8.18.0 @@ -905,9 +905,9 @@ importers: vite: 3.2.6 dependencies: '@visactor/vchart': link:../../packages/vchart - '@visactor/vrender': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 devDependencies: '@internal/bundler': link:../bundler @@ -4881,97 +4881,97 @@ packages: topojson-client: 3.1.0 dev: false - /@visactor/vgrammar-coordinate/0.14.18: - resolution: {integrity: sha512-awDNW1Z5ZyEVtV31M2MZHzWw7YE283R/22wRFOwpJayniqQUuSAXZU2MkjnZT8/OdzYatNg+JYJsF8qshwVquA==} + /@visactor/vgrammar-coordinate/0.15.0: + resolution: {integrity: sha512-mkS6jyyuEK3tvXTr7e5C/uO7B9h6eU7Qex5aRgvPyyr4F9/nbzrMAymy6wN8TY6KAibFlBqutDBLJiqI4c3p2A==} dependencies: - '@visactor/vgrammar-util': 0.14.18 + '@visactor/vgrammar-util': 0.15.0 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-core/0.14.18: - resolution: {integrity: sha512-R5qpHjWCpo7PZ+qJhL4tveQG245P8DB1Ou5lgXeBhSDYNwAbShQ+ltRjs/J/n9Sm4s39ryez/U/YaT1W54J2wg==} + /@visactor/vgrammar-core/0.15.0: + resolution: {integrity: sha512-UxxX7hzLUYQVMGr5+fFXINu80z5FvfOyfniJA9Ktq8fNVTb0jNBwCAuBJanjW4e6pwerBZMP0x/taF0W4szq6Q==} dependencies: '@visactor/vdataset': 0.19.2 - '@visactor/vgrammar-coordinate': 0.14.18 - '@visactor/vgrammar-util': 0.14.18 - '@visactor/vrender-components': 0.20.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-coordinate': 0.15.0 + '@visactor/vgrammar-util': 0.15.0 + '@visactor/vrender-components': 0.21.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-hierarchy/0.14.18: - resolution: {integrity: sha512-tlnT7XZmWA7eBbcP4dt48z5GgVE+RJAq1UM0x5mD2Cp48kX45xBL9o/dNWFCWS0cppzc5/AUxbtV09LsS04YFQ==} + /@visactor/vgrammar-hierarchy/0.15.0: + resolution: {integrity: sha512-45jCmrsxo2WGj3BYbat2RBiJ80MHbOpkvNJJsBbaQkLdhcswr7kpZGQznHlhTyLlOIZzHoHeAckBRF1B1MeSkg==} dependencies: - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vgrammar-util': 0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vgrammar-util': 0.15.0 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-projection/0.14.18: - resolution: {integrity: sha512-zFOvd/gVYuJGMjpZjpmWdIgcfInMf9qokGKRbuwwzgl/kriRQk4w4tX+EHtnnSYJPafC6eagcjGzpuCP/PH2pQ==} + /@visactor/vgrammar-projection/0.15.0: + resolution: {integrity: sha512-zkHTAUCGz/5gwaDyfMWX3kSkL1UF1WgxSHV2J6wOlZoutiZ+eL972hWHPcpNb04x+gZw6Wy8KTS1kF3JEtptOw==} dependencies: - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vgrammar-util': 0.14.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vgrammar-util': 0.15.0 '@visactor/vutils': 0.19.2 d3-geo: 1.12.1 dev: false - /@visactor/vgrammar-sankey/0.14.18: - resolution: {integrity: sha512-Tckjxhb4xPuckTDx5m/is0QMHZDK+qxZctGqgx/PTZI/euEouFsaB7NKqkDFlm6357IRqLrCxEzkvSURlWfIcQ==} + /@visactor/vgrammar-sankey/0.15.0: + resolution: {integrity: sha512-Hzw0b26nLd9UmZcs4/sd90vH8CSbgkjpaojPygmdPcXgT5RfsOR7KvLyyK310qaltFlT2oAWH0tdqIqIVrqNmA==} dependencies: - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vgrammar-util': 0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vgrammar-util': 0.15.0 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-util/0.14.18: - resolution: {integrity: sha512-j182R0w9qOGMnqxJIeC4CxYl8B7PrnM7sZ3FdLLsHOXvje4nLEPdv9lVCMGA85IAX9jRnKukIXHfiD2EEZf0EA==} + /@visactor/vgrammar-util/0.15.0: + resolution: {integrity: sha512-6ol0a7k9GJ7+vc+rrRrYnVJPaOc7jE4pn4V9Yw2PLi58cGJmWal4xFUDYLZxGGApWYmM7O93qWKAaxBlzDGSgg==} dependencies: - '@visactor/vrender-core': 0.20.18 + '@visactor/vrender-core': 0.21.1 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-venn/0.14.18: - resolution: {integrity: sha512-NQjnM+9GqU00QMsFWJ91DGSJa/gSkJwo5MMK6w+JMiHCRuMhGz/Zc0Q5Qb+o7if0rJkH8jfgdvBvuFz/Onu5Dg==} + /@visactor/vgrammar-venn/0.15.0: + resolution: {integrity: sha512-XKcrfvspBuG3U7167CXMWAAGOgNyR8EYhJVmmpxLyqk02fDCWk4EHOx6z3kH6vVwlEDoLWc7faVZtyFaqxKNJQ==} dependencies: - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vgrammar-util': 0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vgrammar-util': 0.15.0 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-wordcloud-shape/0.14.18: - resolution: {integrity: sha512-YfZjB/qMOgzk3GOfT8QPW7moOqcyd7UtktwUDCNVnJ+PCUYSAF1IC9om6PNSaJOOAtfDUJ7g/dDMzKTyD0ZNQw==} + /@visactor/vgrammar-wordcloud-shape/0.15.0: + resolution: {integrity: sha512-KSAiw049XYZDquEemITK0FrkRtfDQ60I3XuPVgQrRkJRIPJoVIUbdB+1eGKfH5g4wiu9FWv2xnjA4I7YpLmJFw==} dependencies: - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vgrammar-util': 0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vgrammar-util': 0.15.0 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar-wordcloud/0.14.18: - resolution: {integrity: sha512-REiiR6yY2IhXLcvFz0JpG5YdTv7nS0xAnlTIOe0J/vzWHlM9iCt2TVsd3u2X2IuFlGg4qPvp2zlkddIw/4Kt0w==} + /@visactor/vgrammar-wordcloud/0.15.0: + resolution: {integrity: sha512-IzhlUr34Gg1/hzdIpOvtUgvieXFQYWxP9sZRXdETgzWZuygsS9sEc++oeSo19cvg5JYCIVb1l8Kibtb1UH3H2Q==} dependencies: - '@visactor/vgrammar-core': 0.14.18 - '@visactor/vgrammar-util': 0.14.18 - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vgrammar-core': 0.15.0 + '@visactor/vgrammar-util': 0.15.0 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vgrammar/0.14.18: - resolution: {integrity: sha512-Neqt6tNdZS22sK8DjKGqGLDfm9czSyZrYvTH4TBgHzM67UDOgfd1Qq10T4vVoocjAwRdsKgwdQuljpE/S0ybpQ==} + /@visactor/vgrammar/0.15.0: + resolution: {integrity: sha512-XniREIYTSAwKdIWmzbdaXBxsTjG5rATw8MqgKzwPwNRqcMzW1rZqZbxLQouPFpA8Rmxrj30AYA6abvED0cz0Og==} dependencies: - '@visactor/vgrammar-core': 0.14.18 + '@visactor/vgrammar-core': 0.15.0 dev: false /@visactor/vmind/1.2.4-alpha.5: @@ -4992,15 +4992,6 @@ packages: - debug dev: false - /@visactor/vrender-components/0.20.18: - resolution: {integrity: sha512-MyTUMECcTmOQrdrnoUav/uoSkGugJG50gjPnObYrqqlx7MrIGsUDLC+xykSSy8MnT9TeC5j224kE/FrMc5eiNQ==} - dependencies: - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 - '@visactor/vscale': 0.19.2 - '@visactor/vutils': 0.19.2 - dev: false - /@visactor/vrender-components/0.21.0-alpha.4: resolution: {integrity: sha512-vVI/Xt0qK50FeTloLfczEMr9CBnpzoRNAsKPZvUgh67i1mBiefJouQSpxQcpWeGrKO8WHNBPVFsQqQBoutmLkQ==} dependencies: @@ -5011,11 +5002,13 @@ packages: gifuct-js: 2.1.2 dev: false - /@visactor/vrender-core/0.20.18: - resolution: {integrity: sha512-pKH+XG7Q8NnOGDzwkDCl7ehoXkI45N7iuHyY/rQCyEGrv0lOmrzLeGmB1CsE6JyDRp+nE/jzdzsX6+oVKpfsug==} + /@visactor/vrender-components/0.21.1: + resolution: {integrity: sha512-6RcGNgD/WDtoOJZjjop1KT9I5xSydXs6o1VPY0WpoUqCnWF1wkVC19vt2d5P96QAPsCG3xU9Th2+ahmWM+Aebg==} dependencies: + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 + '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 - color-convert: 2.0.1 dev: false /@visactor/vrender-core/0.21.0-alpha.4: @@ -5025,13 +5018,11 @@ packages: color-convert: 2.0.1 dev: false - /@visactor/vrender-kits/0.20.18: - resolution: {integrity: sha512-jxV/7rzAIBlk49ja2Q8em9QWkGyf39yyT70t3eIEEu+yL57vxtq0x/yLhgfQqN3I7aSMnWkkaL9O11MT9rHW8Q==} + /@visactor/vrender-core/0.21.1: + resolution: {integrity: sha512-crZ40JRVemax2u9J3MTcINiRGP6yG4R99Hgm8Et2zNMHnqS1Dhp1O3v0GUXaNQtJ8O6rpG13uUrKzbKa64M8XA==} dependencies: - '@resvg/resvg-js': 2.4.1 - '@visactor/vrender-core': 0.20.18 '@visactor/vutils': 0.19.2 - roughjs: 4.5.2 + color-convert: 2.0.1 dev: false /@visactor/vrender-kits/0.21.0-alpha.4: @@ -5043,11 +5034,20 @@ packages: roughjs: 4.5.2 dev: false - /@visactor/vrender/0.20.18: - resolution: {integrity: sha512-Astbk983SM5cJfu/8CtlBQ70vH2JLavg5uRYSxok2lryeZp7XJKbI22LnBsHgQr/bkhjMy8nTnw//GYXtBMRLg==} + /@visactor/vrender-kits/0.21.1: + resolution: {integrity: sha512-1DHGJTKNImWp1NpY71fusv8xGDo3MbnHA3EkJyzOYJO8Zp8KkEEQiNGxxTJwEDNMkHzqyXrRH3zwrAd0LB1mxA==} + dependencies: + '@resvg/resvg-js': 2.4.1 + '@visactor/vrender-core': 0.21.1 + '@visactor/vutils': 0.19.2 + roughjs: 4.5.2 + dev: false + + /@visactor/vrender/0.21.1: + resolution: {integrity: sha512-0doPoLdczLYW9a++g045SODK7ywlR+SPXC3yB/D5kovUFbURk3Qap7PiN9nEJ3sigRA5tNzIMUvD/pVOEsXwbw==} dependencies: - '@visactor/vrender-core': 0.20.18 - '@visactor/vrender-kits': 0.20.18 + '@visactor/vrender-core': 0.21.1 + '@visactor/vrender-kits': 0.21.1 dev: false /@visactor/vscale/0.18.18: diff --git a/docs/package.json b/docs/package.json index 3369a1977f..331eb776c0 100644 --- a/docs/package.json +++ b/docs/package.json @@ -19,9 +19,9 @@ "@visactor/vchart-theme": "~1.6.6", "@visactor/vmind": "1.2.4-alpha.5", "@visactor/vutils": "~0.19.2", - "@visactor/vrender": "0.20.18", - "@visactor/vrender-kits": "0.20.18", - "@visactor/vgrammar": "0.14.18", + "@visactor/vrender": "0.21.1", + "@visactor/vrender-kits": "0.21.1", + "@visactor/vgrammar": "0.15.0", "@visactor/vtable": "1.12.0", "@visactor/vtable-editors": "1.12.0", "@visactor/vtable-gantt": "1.12.0", @@ -59,4 +59,4 @@ "react-device-detect": "^2.2.2", "minimist": "1.2.8" } -} +} \ No newline at end of file diff --git a/packages/openinula-vchart/package.json b/packages/openinula-vchart/package.json index 808a9a5e53..ce8de7f87c 100644 --- a/packages/openinula-vchart/package.json +++ b/packages/openinula-vchart/package.json @@ -30,9 +30,9 @@ "dependencies": { "@visactor/vchart": "workspace:1.12.15", "@visactor/vutils": "~0.19.2", - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18", - "@visactor/vgrammar-core": "0.14.18", + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1", + "@visactor/vgrammar-core": "0.15.0", "react-is": "^18.2.0" }, "devDependencies": { @@ -79,4 +79,4 @@ "access": "public", "registry": "https://registry.npmjs.org/" } -} +} \ No newline at end of file diff --git a/packages/react-vchart/package.json b/packages/react-vchart/package.json index 1e7e7d1111..9d74fd4054 100644 --- a/packages/react-vchart/package.json +++ b/packages/react-vchart/package.json @@ -30,9 +30,9 @@ "dependencies": { "@visactor/vchart": "workspace:1.12.15", "@visactor/vutils": "~0.19.2", - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18", - "@visactor/vgrammar-core": "0.14.18", + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1", + "@visactor/vgrammar-core": "0.15.0", "react-is": "^18.2.0" }, "devDependencies": { @@ -83,4 +83,4 @@ "access": "public", "registry": "https://registry.npmjs.org/" } -} +} \ No newline at end of file diff --git a/packages/vchart-extension/package.json b/packages/vchart-extension/package.json index 9959fc8a54..547d49714f 100644 --- a/packages/vchart-extension/package.json +++ b/packages/vchart-extension/package.json @@ -21,10 +21,10 @@ "start": "ts-node __tests__/runtime/browser/scripts/initVite.ts && vite serve __tests__/runtime/browser" }, "dependencies": { - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18", - "@visactor/vrender-components": "0.20.18", - "@visactor/vgrammar-core": "0.14.18", + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1", + "@visactor/vrender-components": "0.21.1", + "@visactor/vgrammar-core": "0.15.0", "@visactor/vutils": "~0.19.2", "@visactor/vdataset": "~0.19.2", "@visactor/vchart": "workspace:1.12.15" @@ -60,4 +60,4 @@ "registry": "https://registry.npmjs.org/" }, "license": "MIT" -} +} \ No newline at end of file diff --git a/packages/vchart/__tests__/unit/component/cartesian/axis/axis-sync-break.test.ts b/packages/vchart/__tests__/unit/component/cartesian/axis/axis-sync-break.test.ts index a16f941d24..f0935e5042 100644 --- a/packages/vchart/__tests__/unit/component/cartesian/axis/axis-sync-break.test.ts +++ b/packages/vchart/__tests__/unit/component/cartesian/axis/axis-sync-break.test.ts @@ -1505,16 +1505,16 @@ describe('VChart', () => { expect(la.getScale().domain()).toEqual([-5000, 60, 80, 30000]); const range = la.getScale().range(); - expect(range[0]).toBeCloseTo(428); - expect(range[1]).toBeCloseTo(425.87741665195745); - expect(range[2]).toBeCloseTo(425.57735448340196); + expect(range[0]).toBeCloseTo(426); + expect(range[1]).toBeCloseTo(423.8873352657334); + expect(range[2]).toBeCloseTo(423.58867525684406); expect(range[3]).toBeCloseTo(0); const rightDomain = ra.getScale().domain(); expect(rightDomain[0]).toBeCloseTo(-393970724.0726612); expect(rightDomain[1]).toBeCloseTo(80000000000); - expect(ra.getScale().range()).toEqual([428, 0]); + expect(ra.getScale().range()).toEqual([426, 0]); }); it('change domain with axis sync and scopeType = "count"', async () => { @@ -3002,16 +3002,16 @@ describe('VChart', () => { expect(la.getScale().domain()).toEqual([-5000, 60, 80, 30000]); const range = la.getScale().range(); - expect(range[0]).toBeCloseTo(430); - expect(range[1]).toBeCloseTo(146.2); - expect(range[2]).toBeCloseTo(133.3); + expect(range[0]).toBeCloseTo(428); + expect(range[1]).toBeCloseTo(145.51999999999998); + expect(range[2]).toBeCloseTo(132.68); expect(range[3]).toBeCloseTo(0); const rightDomain = ra.getScale().domain(); expect(rightDomain[0]).toBeCloseTo(-150000000000); expect(rightDomain[1]).toBeCloseTo(80000000000); - expect(ra.getScale().range()).toEqual([430, 0]); + expect(ra.getScale().range()).toEqual([428, 0]); }); }); }); diff --git a/packages/vchart/package.json b/packages/vchart/package.json index e0350b5f0c..eb073ae26b 100644 --- a/packages/vchart/package.json +++ b/packages/vchart/package.json @@ -120,21 +120,21 @@ "@visactor/vutils": "~0.19.2", "@visactor/vdataset": "~0.19.2", "@visactor/vscale": "~0.19.2", - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18", - "@visactor/vrender-components": "0.20.18", - "@visactor/vgrammar-core": "0.14.18", - "@visactor/vgrammar-projection": "0.14.18", - "@visactor/vgrammar-wordcloud": "0.14.18", - "@visactor/vgrammar-wordcloud-shape": "0.14.18", - "@visactor/vgrammar-hierarchy": "0.14.18", - "@visactor/vgrammar-sankey": "0.14.18", - "@visactor/vgrammar-venn": "0.14.18", - "@visactor/vgrammar-util": "0.14.18", + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1", + "@visactor/vrender-components": "0.21.1", + "@visactor/vgrammar-core": "0.15.0", + "@visactor/vgrammar-projection": "0.15.0", + "@visactor/vgrammar-wordcloud": "0.15.0", + "@visactor/vgrammar-wordcloud-shape": "0.15.0", + "@visactor/vgrammar-hierarchy": "0.15.0", + "@visactor/vgrammar-sankey": "0.15.0", + "@visactor/vgrammar-venn": "0.15.0", + "@visactor/vgrammar-util": "0.15.0", "@visactor/vutils-extension": "workspace:1.12.15" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } -} +} \ No newline at end of file diff --git a/packages/vstory/package.json b/packages/vstory/package.json index 81b9f85446..36ede51802 100644 --- a/packages/vstory/package.json +++ b/packages/vstory/package.json @@ -21,9 +21,9 @@ }, "dependencies": { "@visactor/vchart": "workspace:1.11.0", - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18", - "@visactor/vrender-components": "0.20.18", + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1", + "@visactor/vrender-components": "0.21.1", "@visactor/vutils": "~0.19.2" }, "devDependencies": { diff --git a/tools/story-player/package.json b/tools/story-player/package.json index fdb0a7fc74..40b936b380 100644 --- a/tools/story-player/package.json +++ b/tools/story-player/package.json @@ -56,10 +56,10 @@ "vite": "3.2.6" }, "dependencies": { - "@visactor/vrender-core": "0.20.18", - "@visactor/vrender-kits": "0.20.18", + "@visactor/vrender-core": "0.21.1", + "@visactor/vrender-kits": "0.21.1", "@visactor/vchart": "workspace:1.12.15", - "@visactor/vrender": "0.20.18", + "@visactor/vrender": "0.21.1", "@visactor/vutils": "~0.19.2" } -} +} \ No newline at end of file