-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
更新至 G 最新版本 #2629
更新至 G 最新版本 #2629
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
packages/s2-react/__tests__/unit/components/sheets/chart-sheet/index-spec.tsx
Show resolved
Hide resolved
@@ -44,6 +44,8 @@ const onDataCellRender: SheetComponentsProps['onDataCellRender'] = (cell) => { | |||
|
|||
// https://g2.antv.antgroup.com/manual/extra-topics/bundle#g2stdlib | |||
renderToMountedElement(chartOptions, { | |||
// @ts-ignore | |||
// FIXME: After upgrading @antv/g2, the type of group should be Group |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
G2 升级版还没发,所以会有 5.0 -> 6.0 类型不兼容问题,发布后需要移除。
有没有必要把 g 提出为 peer dependency |
Size Change: -52.2 kB (-14%) 👏 Total Size: 318 kB
ℹ️ View Unchanged
|
@@ -96,7 +96,7 @@ describe('GuiIcon Tests', () => { | |||
}); | |||
|
|||
const spy = jest.spyOn(icon, 'getImage'); | |||
const oldVal = icon.iconImageShape.style.img; | |||
const oldVal = icon.iconImageShape.style.src; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
对于 S2 只有这一个 img => src
的 break change 吗?
* WIP * 更新至 G 最新版本 (#2629) * chore: update to latest g deps * chore: update to latest g deps * chore: update to latest g deps * chore: update to latest g deps * chore: update to latest g deps * fix: 修复序号列 clipPath * fix: 处理 bbox 惰性计算的问题 * test: 单测修复 * test: 单测修复 * test: 更新 react snapshot * test: 增加 benchmark * chore: 升级 @antv/g2 * test: 单测修复 * chore: 更新 s2-site g 相关依赖 --------- Co-authored-by: xiaoiver <[email protected]>
👀 PR includes
更新到 G 最新版本,包括
@antv/g-canvas
等相关依赖。✨ Feature
🎨 Enhance
🐛 Bugfix
🔧 Chore
📝 Description
🖼️ Screenshot
🔗 Related issue link
🔍 Self-Check before the merge