VChart icon indicating copy to clipboard operation
VChart copied to clipboard

feat: export all component and chart register function

Open LonelySnowman opened this issue 7 months ago • 0 comments

[中文版模板 / Chinese template]

🤔 This is a ...

  • [x] New feature
  • [ ] Bug fix
  • [ ] TypeScript definition update
  • [ ] Bundle size optimization
  • [ ] Performance optimization
  • [ ] Enhancement feature
  • [ ] Refactoring
  • [ ] Update dependency
  • [ ] Code style optimization
  • [ ] Test Case
  • [ ] Branch merge
  • [ ] Release
  • [ ] Site / documentation update
  • [ ] Demo update
  • [ ] Workflow
  • [ ] Other (about what?)

🔗 Related issue link

Close https://github.com/VisActor/VChart/issues/3627

🔗 Related PR link

None

🐞 Bugserver case id

None

💡 Background and solution

Export register functions to avoid missing registration of createChart or createComponent functions.

📝 Changelog

Language Changelog
🇺🇸 English Export all register function from @visactor/vchart
🇨🇳 Chinese 从@visactor/vchart导出所有的按需注册函数

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • [x] Doc is updated/provided or not needed
  • [x] Demo is updated/provided or not needed
  • [x] TypeScript definition is updated/provided or not needed
  • [x] Changelog is provided or not needed

🚀 Summary

Export all register function from @visactor/vchart, like registerTooltip to register tooltip component.

🔍 Walkthrough

Add api like import { registerPoptip } from '@visactor/vchart-react'.

LonelySnowman avatar May 05 '25 14:05 LonelySnowman