diff --git a/packages/s2-core/__tests__/spreadsheet/__snapshots__/multi-line-text-spec.ts.snap b/packages/s2-core/__tests__/spreadsheet/__snapshots__/multi-line-text-spec.ts.snap index c9bab271a5..be7f0a7c5c 100644 --- a/packages/s2-core/__tests__/spreadsheet/__snapshots__/multi-line-text-spec.ts.snap +++ b/packages/s2-core/__tests__/spreadsheet/__snapshots__/multi-line-text-spec.ts.snap @@ -2271,12 +2271,12 @@ Array [ "width": 113.6, }, Object { - "actualText": "2367236723611...", + "actualText": "236723672361111", "actualTextHeight": 15, - "actualTextWidth": 96, + "actualTextWidth": 98, "height": 30, "multiLineActualTexts": Array [ - "2367236723611...", + "236723672361111", ], "originalText": 236723672361111, "width": 113.6, @@ -6356,8 +6356,8 @@ Array [ "actualTextWidth": 100, "height": 30, "multiLineActualTexts": Array [ - "236723672361", - "111", + "2367236723611", + "11", ], "originalText": 236723672361111, "width": 102.57, @@ -12254,8 +12254,8 @@ Array [ "actualTextWidth": 100, "height": 30, "multiLineActualTexts": Array [ - "236723672361", - "111", + "2367236723611", + "11", ], "originalText": 236723672361111, "width": 102.57, @@ -15261,8 +15261,8 @@ Array [ "actualTextWidth": 100, "height": 30, "multiLineActualTexts": Array [ - "236723672361", - "111", + "2367236723611", + "11", ], "originalText": 236723672361111, "width": 102.57, diff --git a/packages/s2-core/__tests__/spreadsheet/scroll-spec.ts b/packages/s2-core/__tests__/spreadsheet/scroll-spec.ts index 5502548bcd..8dd602b623 100644 --- a/packages/s2-core/__tests__/spreadsheet/scroll-spec.ts +++ b/packages/s2-core/__tests__/spreadsheet/scroll-spec.ts @@ -480,7 +480,7 @@ describe('Scroll Tests', () => { s2.changeSheetSize(1000, 150); // 纵向滚动条 await s2.render(false); - expect(Math.floor(s2.facet.vScrollBar.getBBox().x)).toEqual(213); + expect(Math.floor(s2.facet.vScrollBar.getBBox().x)).toEqual(201); s2.setOptions({ interaction: { diff --git a/packages/s2-core/__tests__/unit/facet/layout/col-node-width-spec.ts b/packages/s2-core/__tests__/unit/facet/layout/col-node-width-spec.ts index 3dc217914d..975dbb3a47 100644 --- a/packages/s2-core/__tests__/unit/facet/layout/col-node-width-spec.ts +++ b/packages/s2-core/__tests__/unit/facet/layout/col-node-width-spec.ts @@ -138,7 +138,7 @@ describe('Col width Test', () => { const colLeafNodes = s2.facet.getColLeafNodes(); // price 列,列头标签比表身数据更长 - expect(Math.round(colLeafNodes[0].width)).toBe(52); + expect(Math.round(colLeafNodes[0].width)).toBe(47); // cost 列,表身数据比列头更长(格式化) expect(Math.round(colLeafNodes[1].width)).toBe(168); }); diff --git a/packages/s2-core/package.json b/packages/s2-core/package.json index 55c4fb626c..cab1475b21 100644 --- a/packages/s2-core/package.json +++ b/packages/s2-core/package.json @@ -74,9 +74,9 @@ }, "dependencies": { "@antv/event-emitter": "^0.1.3", - "@antv/g": "^6.1.15", - "@antv/g-canvas": "^2.0.33", - "@antv/g-lite": "^2.2.10", + "@antv/g": "^6.1.17", + "@antv/g-canvas": "^2.0.35", + "@antv/g-lite": "^2.2.12", "d3-ease": "^3.0.1", "d3-interpolate": "^1.3.2", "d3-timer": "^1.0.9", diff --git a/packages/s2-core/src/sheet-type/spread-sheet.ts b/packages/s2-core/src/sheet-type/spread-sheet.ts index 8ccbd217db..b4b7359de6 100644 --- a/packages/s2-core/src/sheet-type/spread-sheet.ts +++ b/packages/s2-core/src/sheet-type/spread-sheet.ts @@ -784,7 +784,8 @@ export abstract class SpreadSheet extends EE { return null; } - const ctx = getOffscreenCanvas()?.getContext('2d')!; + const canvas = getOffscreenCanvas() || this.getCanvasElement(); + const ctx = canvas?.getContext('2d')!; const { fontSize, fontFamily, fontWeight, fontStyle, fontVariant } = font as CSSStyleDeclaration; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7835b24540..51c65771f9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -273,14 +273,14 @@ importers: specifier: ^0.1.3 version: 0.1.3 '@antv/g': - specifier: ^6.1.15 - version: 6.1.15 + specifier: ^6.1.17 + version: 6.1.17 '@antv/g-canvas': - specifier: ^2.0.33 - version: 2.0.33 + specifier: ^2.0.35 + version: 2.0.35 '@antv/g-lite': - specifier: ^2.2.10 - version: 2.2.10 + specifier: ^2.2.12 + version: 2.2.12 d3-ease: specifier: ^3.0.1 version: 3.0.1 @@ -505,17 +505,17 @@ importers: specifier: ^0.5.5 version: 0.5.5(@algolia/client-search@5.18.0)(@babel/core@7.24.7)(@types/react@18.3.3)(dumi@2.4.17(@babel/core@7.24.7)(@swc/helpers@0.5.1)(@types/node@20.14.2)(@types/react@18.3.3)(eslint@8.57.0)(jest@26.6.3)(lightningcss@1.22.1)(postcss-less@6.0.0(postcss@8.4.38))(prettier@3.3.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.4)(stylelint@15.11.0(typescript@5.4.5))(terser@5.31.1)(type-fest@1.4.0)(typescript@5.4.5))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@antv/g': - specifier: ^6.1.15 - version: 6.1.15 + specifier: ^6.1.17 + version: 6.1.17 '@antv/g-canvas': - specifier: ^2.0.33 - version: 2.0.33 + specifier: ^2.0.35 + version: 2.0.35 '@antv/g-plugin-a11y': - specifier: ^1.1.15 - version: 1.1.15 + specifier: ^1.1.17 + version: 1.1.17 '@antv/g-plugin-rough-canvas-renderer': - specifier: ^2.0.33 - version: 2.0.33 + specifier: ^2.0.35 + version: 2.0.35 '@antv/g2': specifier: ^5.1.21 version: 5.1.21 @@ -769,14 +769,17 @@ packages: '@antv/event-emitter@0.1.3': resolution: {integrity: sha512-4ddpsiHN9Pd4UIlWuKVK1C4IiZIdbwQvy9i7DUSI3xNJ89FPUFt8lxDYj8GzzfdllV0NkJTRxnG+FvLk0llidg==} - '@antv/g-camera-api@2.0.29': - resolution: {integrity: sha512-SADx+f+kQ1Jlx+LH9Pp4AXEk++1FCndVl7eZCosDClLUBBbAbLiMxtu4+K05whLiB4aF9rWmWc24VDNRlrC+Dg==} + '@antv/g-camera-api@2.0.31': + resolution: {integrity: sha512-wF8TB4PBxmIcuhovxYjfGnwPwdPAnCRVSLOt7olhnXYX7+Ejwy15tbMlT7itzUaBVI5/xhRK8j9PfziBchd1iw==} '@antv/g-canvas@2.0.33': resolution: {integrity: sha512-bqLqB42biy1ov/pu0iuKe7ErY6ASDuCDoChYQjqE9xWHFVAkXC3/sFRV0g/Br4qSJiDX4ewnRj89JH/hqTLMRA==} - '@antv/g-dom-mutation-observer-api@2.0.26': - resolution: {integrity: sha512-Yc/G/vSZ7Emh9Xb29mhOWp4CxHjyPOl0dK6eQVHFp6iKXEe6DUL5s1VMs66mle+DaQA4sZ2EZRiZjhLVT/A0Xw==} + '@antv/g-canvas@2.0.35': + resolution: {integrity: sha512-3MN6sKsLxgz4cUiq7ixKKkBwXiLhvbZEvwcqEvY93A5fhOEVGS/Lnr1TPf41Y+33wDYN0shlB4z6/6e2iI43Iw==} + + '@antv/g-dom-mutation-observer-api@2.0.28': + resolution: {integrity: sha512-flOPkPuSgMw3AEEhrLodGvQglLD6blgi74EWqwZg5zCWpMEe1fiyc63xj+3cWA2e4oodPAdd3yba908OD20G1Q==} '@antv/g-lite@2.0.5': resolution: {integrity: sha512-IeD7L10MOofNg302Zrru09zjNczCyOAC6mFLjHQlkYCQRtcU04zn32pTxCDy7xRkLHlhAK1mlymBqzeRMkmrRg==} @@ -784,44 +787,71 @@ packages: '@antv/g-lite@2.2.10': resolution: {integrity: sha512-XK2zKM1jx9nBQrxg5wxK4EOy7AvCE5c8iz7r+hfqILZn9/Mhrgj63u/YPDPyXjx0G3KUmy7XTY9231tOOtW+Wg==} + '@antv/g-lite@2.2.12': + resolution: {integrity: sha512-zgAIqByPlmkYW/cG3+5NgfhtWBxdpqHMtJhX/Fmp5hiGTYSvbteoJCG+v/LE5E2k+B1YAiNiXNFG4TR7BoKJdg==} + '@antv/g-math@3.0.0': resolution: {integrity: sha512-AkmiNIEL1vgqTPeGY2wtsMdBBqKFwF7SKSgs+D1iOS/rqYMsXdhp/HvtuQ5tx/HdawE/ZzTiicIYopc520ADZw==} '@antv/g-plugin-a11y@1.1.15': resolution: {integrity: sha512-1Ip9YXOtMT+yu8rLEmmSBHMxsB+hFpGY0EWy3mYOO+O00WSvHOYQxHvjb2/BtJuwcfyr6HzfLO4RJHSRsGfhMA==} + '@antv/g-plugin-a11y@1.1.17': + resolution: {integrity: sha512-qvjWkj5W6eRX32iLQ9he5/ryTB5w+ocUZVhNjL6fnMV0l937z958W8L0cDaFlICe/J5RIB1uCI8AbHFjMIqKxw==} + '@antv/g-plugin-canvas-path-generator@2.1.10': resolution: {integrity: sha512-G+2BSTQ51UpB/E/Jqp0/RoiflFath+hV0BLlKBZQPSGKkIP2Yu01V+2meGLbcFLjsppJL1GiJvLJdhPLEOZAUA==} + '@antv/g-plugin-canvas-path-generator@2.1.12': + resolution: {integrity: sha512-VsVmmLxRBDDsWHjLvTWHAyYoBaipqI3Sia4sirydKMpVvZ3TxtqS0MPRQ3I2q+Km7z5XKVTaRxd5vLAcdC1m9Q==} + '@antv/g-plugin-canvas-picker@2.1.12': resolution: {integrity: sha512-hRoMAeyw32zNhiRDIXYOPJp/IFydOaNkwA6asv4dS5lv/CqfXgeOG9m58YtCBNfIRREVCRh6xuX/L2tiwtzFOg==} + '@antv/g-plugin-canvas-picker@2.1.14': + resolution: {integrity: sha512-HMDBXGgA/yL8fXBb+n5IzyC5RMjWg2Wx/+lCfzYgsavpqUxqEaIAuSqUUj94ghK6kD5qi3GVC70WaW3bDAJNMw==} + '@antv/g-plugin-canvas-renderer@2.2.12': resolution: {integrity: sha512-9ydHAXx0IHcvYCgrhIxqA9IFpZ9eeKAqaQJW//43pxeXsMyfbCZlDC5ceCdFzPhhDo1+P98Thl89CMaHUo/Wdg==} + '@antv/g-plugin-canvas-renderer@2.2.14': + resolution: {integrity: sha512-ttmUjkGOsEW/g/Ysn/ezHCPEZdaDkoypF36ClgDswKURmJi0gm7AuO7QK8iFpd+1l6wuATUMURsVegZbUCmMqQ==} + '@antv/g-plugin-dom-interaction@2.1.15': resolution: {integrity: sha512-sxUobdgzst0P4bwSeMf9qiQLMvhtIBsEARAC7viuNNwno2D61TKBaQ/PMEohDlOsqLIbk/xI5Np9XGVwbAnNFQ==} + '@antv/g-plugin-dom-interaction@2.1.17': + resolution: {integrity: sha512-yTuuOcMc0Cfq6eZDm19EcoTITichw6gNx7Zl8y9CXB5IlA6FDdB+zA9n8lu510wu1kXY2X24X2u22rtaccMFLw==} + '@antv/g-plugin-dragndrop@2.0.5': resolution: {integrity: sha512-Ow9BfL4w6er8OhJxilmU4FOQvFyEWSD6ScRWHBmXqY45/8zcMuhTWd2KcMAmxxPMNmtGch4WeJdPurb0beH8DQ==} '@antv/g-plugin-html-renderer@2.1.15': resolution: {integrity: sha512-rur+VjrzYmdjoTgys+SJ4ngn8hejfJMbQwHilCxQTmnK0t7yJem0hIlKtvExL2J9EiJBajBvj3GxFEEgYOACoQ==} + '@antv/g-plugin-html-renderer@2.1.17': + resolution: {integrity: sha512-vthriz9yZ7pFw6IO4TDouE+YNwV9OnfYbkUefHrEPTUVtAukpMuUCf8ZOI4rWNsMHgHWhn1vgefTBzfc+Z57Fg==} + '@antv/g-plugin-image-loader@2.1.12': resolution: {integrity: sha512-Jgra9vOcfHO8Xq6yRoIBxl1e5UmI8ZjU5ahta3/C+lg/J+GUfI0FT4dB4Az0gAY5B1o2P/Gkd2K2PKyEcgYmLA==} + '@antv/g-plugin-image-loader@2.1.14': + resolution: {integrity: sha512-a2kx32eWJa7B/va9yrteC8Gx9q+KGw/IzhF0z6FptXy/Pcj+acx0YyMssv69vAp51Rdvw1sa8uusEqPhb+XcoQ==} + '@antv/g-plugin-rough-canvas-renderer@2.0.33': resolution: {integrity: sha512-3tzcm6evDI51oE4MnqhnmYl3ZB3pPDrRRtlgGPoMRZ1HowPZyjqKL73+Iy2DkgpEfJiSrdWKI0OBSHBebPfj1A==} - '@antv/g-web-animations-api@2.1.15': - resolution: {integrity: sha512-aCjFaN8OXE2Ev/k7vOLdnfeKexDSttG86pd3YF98Dx4ovfebnpvTpfb3Q+jIyPb6aWC1G4oWv8wgZZZug+7bIw==} + '@antv/g-plugin-rough-canvas-renderer@2.0.35': + resolution: {integrity: sha512-XCqzbkKuUIubRdjdDdLgdvCui+ohWsx3YhKfOv4Q9sj18i2Nt7d5lDzvqc8+V+FPVeZxcp1uT1nteVcUVgupSw==} + + '@antv/g-web-animations-api@2.1.17': + resolution: {integrity: sha512-nr3BEgUfUUsUHVonqLSLnwRjEUuXp3QauD+oR5hzjzMen1xt2EVjv6F5eBsIyVPZt1n+wVr9yuR3HQ5q5RmW8w==} '@antv/g2@5.1.21': resolution: {integrity: sha512-7HRWuiGN7sPK4K8ljl2/x0i3sphWNMymYFuR1BT9qo4wmMqQUgM+K+ISKMb3dXOg55eHmFje0OH80sZ53qhqPg==} - '@antv/g@6.1.15': - resolution: {integrity: sha512-JO/CuvLPzOoBHsNC1Dz/FDzytPzIsuU3B+RGC1/Vsi2qWUKwXD4l1/US3b5Q67WHU/WGYvLHfivRq1FyDGXilA==} + '@antv/g@6.1.17': + resolution: {integrity: sha512-FedCZn4xfdcfMs3CbpEuqQxvwMDA1XuOywXzKJHMTMO0mtylY0kS4zGpgt0bAPzgtO7OQYZcr3LTn4kxPaUJQw==} '@antv/path-util@3.0.1': resolution: {integrity: sha512-tpvAzMpF9Qm6ik2YSMqICNU5tco5POOW7S4XoxZAI/B0L26adU+Md/SmO0BBo2SpuywKvzPH3hPT3xmoyhr04Q==} @@ -13777,7 +13807,7 @@ snapshots: '@antv/component@2.0.1': dependencies: - '@antv/g': 6.1.15 + '@antv/g': 6.1.17 '@antv/scale': 0.4.16 '@antv/util': 3.3.7 svg-path-parser: 1.1.0 @@ -13847,9 +13877,9 @@ snapshots: '@antv/event-emitter@0.1.3': {} - '@antv/g-camera-api@2.0.29': + '@antv/g-camera-api@2.0.31': dependencies: - '@antv/g-lite': 2.2.10 + '@antv/g-lite': 2.2.12 '@antv/util': 3.3.7 '@babel/runtime': 7.26.0 gl-matrix: 3.4.3 @@ -13868,9 +13898,22 @@ snapshots: '@babel/runtime': 7.26.0 tslib: 2.6.3 - '@antv/g-dom-mutation-observer-api@2.0.26': + '@antv/g-canvas@2.0.35': dependencies: - '@antv/g-lite': 2.2.10 + '@antv/g-lite': 2.2.12 + '@antv/g-plugin-canvas-path-generator': 2.1.12 + '@antv/g-plugin-canvas-picker': 2.1.14 + '@antv/g-plugin-canvas-renderer': 2.2.14 + '@antv/g-plugin-dom-interaction': 2.1.17 + '@antv/g-plugin-html-renderer': 2.1.17 + '@antv/g-plugin-image-loader': 2.1.14 + '@antv/util': 3.3.7 + '@babel/runtime': 7.26.0 + tslib: 2.6.3 + + '@antv/g-dom-mutation-observer-api@2.0.28': + dependencies: + '@antv/g-lite': 2.2.12 '@babel/runtime': 7.26.0 '@antv/g-lite@2.0.5': @@ -13894,6 +13937,17 @@ snapshots: rbush: 3.0.1 tslib: 2.6.3 + '@antv/g-lite@2.2.12': + dependencies: + '@antv/g-math': 3.0.0 + '@antv/util': 3.3.7 + '@babel/runtime': 7.26.0 + d3-color: 3.1.0 + eventemitter3: 5.0.1 + gl-matrix: 3.4.3 + rbush: 3.0.1 + tslib: 2.6.3 + '@antv/g-math@3.0.0': dependencies: '@antv/util': 3.3.7 @@ -13906,6 +13960,12 @@ snapshots: '@babel/runtime': 7.26.0 tslib: 2.6.3 + '@antv/g-plugin-a11y@1.1.17': + dependencies: + '@antv/g-lite': 2.2.12 + '@babel/runtime': 7.26.0 + tslib: 2.6.3 + '@antv/g-plugin-canvas-path-generator@2.1.10': dependencies: '@antv/g-lite': 2.2.10 @@ -13914,6 +13974,14 @@ snapshots: '@babel/runtime': 7.26.0 tslib: 2.6.3 + '@antv/g-plugin-canvas-path-generator@2.1.12': + dependencies: + '@antv/g-lite': 2.2.12 + '@antv/g-math': 3.0.0 + '@antv/util': 3.3.7 + '@babel/runtime': 7.26.0 + tslib: 2.6.3 + '@antv/g-plugin-canvas-picker@2.1.12': dependencies: '@antv/g-lite': 2.2.10 @@ -13925,6 +13993,17 @@ snapshots: gl-matrix: 3.4.3 tslib: 2.6.3 + '@antv/g-plugin-canvas-picker@2.1.14': + dependencies: + '@antv/g-lite': 2.2.12 + '@antv/g-math': 3.0.0 + '@antv/g-plugin-canvas-path-generator': 2.1.12 + '@antv/g-plugin-canvas-renderer': 2.2.14 + '@antv/util': 3.3.7 + '@babel/runtime': 7.26.0 + gl-matrix: 3.4.3 + tslib: 2.6.3 + '@antv/g-plugin-canvas-renderer@2.2.12': dependencies: '@antv/g-lite': 2.2.10 @@ -13936,12 +14015,29 @@ snapshots: gl-matrix: 3.4.3 tslib: 2.6.3 + '@antv/g-plugin-canvas-renderer@2.2.14': + dependencies: + '@antv/g-lite': 2.2.12 + '@antv/g-math': 3.0.0 + '@antv/g-plugin-canvas-path-generator': 2.1.12 + '@antv/g-plugin-image-loader': 2.1.14 + '@antv/util': 3.3.7 + '@babel/runtime': 7.26.0 + gl-matrix: 3.4.3 + tslib: 2.6.3 + '@antv/g-plugin-dom-interaction@2.1.15': dependencies: '@antv/g-lite': 2.2.10 '@babel/runtime': 7.26.0 tslib: 2.6.3 + '@antv/g-plugin-dom-interaction@2.1.17': + dependencies: + '@antv/g-lite': 2.2.12 + '@babel/runtime': 7.26.0 + tslib: 2.6.3 + '@antv/g-plugin-dragndrop@2.0.5': dependencies: '@antv/g-lite': 2.0.5 @@ -13956,6 +14052,14 @@ snapshots: gl-matrix: 3.4.3 tslib: 2.6.3 + '@antv/g-plugin-html-renderer@2.1.17': + dependencies: + '@antv/g-lite': 2.2.12 + '@antv/util': 3.3.7 + '@babel/runtime': 7.26.0 + gl-matrix: 3.4.3 + tslib: 2.6.3 + '@antv/g-plugin-image-loader@2.1.12': dependencies: '@antv/g-lite': 2.2.10 @@ -13964,6 +14068,14 @@ snapshots: gl-matrix: 3.4.3 tslib: 2.6.3 + '@antv/g-plugin-image-loader@2.1.14': + dependencies: + '@antv/g-lite': 2.2.12 + '@antv/util': 3.3.7 + '@babel/runtime': 7.26.0 + gl-matrix: 3.4.3 + tslib: 2.6.3 + '@antv/g-plugin-rough-canvas-renderer@2.0.33': dependencies: '@antv/g-canvas': 2.0.33 @@ -13973,9 +14085,18 @@ snapshots: roughjs: 4.6.6 tslib: 2.6.3 - '@antv/g-web-animations-api@2.1.15': + '@antv/g-plugin-rough-canvas-renderer@2.0.35': dependencies: - '@antv/g-lite': 2.2.10 + '@antv/g-canvas': 2.0.35 + '@antv/g-lite': 2.2.12 + '@antv/util': 3.3.7 + '@babel/runtime': 7.26.0 + roughjs: 4.6.6 + tslib: 2.6.3 + + '@antv/g-web-animations-api@2.1.17': + dependencies: + '@antv/g-lite': 2.2.12 '@antv/util': 3.3.7 '@babel/runtime': 7.26.0 tslib: 2.6.3 @@ -13985,8 +14106,8 @@ snapshots: '@antv/component': 2.0.1 '@antv/coord': 0.4.7 '@antv/event-emitter': 0.1.3 - '@antv/g': 6.1.15 - '@antv/g-canvas': 2.0.33 + '@antv/g': 6.1.17 + '@antv/g-canvas': 2.0.35 '@antv/g-plugin-dragndrop': 2.0.5 '@antv/path-util': 3.0.1 '@antv/scale': 0.4.16 @@ -14005,12 +14126,12 @@ snapshots: fmin: 0.0.2 pdfast: 0.2.0 - '@antv/g@6.1.15': + '@antv/g@6.1.17': dependencies: - '@antv/g-camera-api': 2.0.29 - '@antv/g-dom-mutation-observer-api': 2.0.26 - '@antv/g-lite': 2.2.10 - '@antv/g-web-animations-api': 2.1.15 + '@antv/g-camera-api': 2.0.31 + '@antv/g-dom-mutation-observer-api': 2.0.28 + '@antv/g-lite': 2.2.12 + '@antv/g-web-animations-api': 2.1.17 '@babel/runtime': 7.26.0 '@antv/path-util@3.0.1': @@ -22813,11 +22934,7 @@ snapshots: pretty-format: 26.6.2 throat: 5.0.0 transitivePeerDependencies: - - bufferutil - - canvas - supports-color - - ts-node - - utf-8-validate jest-leak-detector@24.9.0: dependencies: diff --git a/s2-site/package.json b/s2-site/package.json index 42fb2c9275..fdcf53fd08 100644 --- a/s2-site/package.json +++ b/s2-site/package.json @@ -29,10 +29,10 @@ "dependencies": { "@ant-design/icons": "^5.3.7", "@antv/dumi-theme-antv": "^0.5.5", - "@antv/g": "^6.1.15", - "@antv/g-canvas": "^2.0.33", - "@antv/g-plugin-a11y": "^1.1.15", - "@antv/g-plugin-rough-canvas-renderer": "^2.0.33", + "@antv/g": "^6.1.17", + "@antv/g-canvas": "^2.0.35", + "@antv/g-plugin-a11y": "^1.1.17", + "@antv/g-plugin-rough-canvas-renderer": "^2.0.35", "@antv/g2": "^5.1.21", "@antv/s2": "workspace:*", "@antv/s2-react": "workspace:*",