Skip to content

feat(sync): enhance component API parsing with subcomponent support - #28

Merged
lonewolfyx merged 1 commit into
mainfrom
fix/sync-subComponentProps
Aug 20, 2026
Merged

feat(sync): enhance component API parsing with subcomponent support#28
lonewolfyx merged 1 commit into
mainfrom
fix/sync-subComponentProps

Conversation

@lonewolfyx

Copy link
Copy Markdown
Member
  • Refactor ComponentPropRecord to ComponentApiItemRecord and add ComponentApiRecord
  • Add support for parsing slots in addition to properties, events, and methods
  • Implement proper subcomponent API structure with dedicated record types
  • Enhance markdown table parsing to handle multiple table groups per section
  • Add semantic DOM boundary detection to stop API parsing at correct sections
  • Improve localization handling for bilingual component documentation
  • Add comprehensive test suite for API extraction functionality
  • Implement proper subcomponent identity matching between English and Chinese docs
  • Add type definitions heading detection to skip non-API sections
  • Create utility functions for normalizing component names and identities

- Refactor ComponentPropRecord to ComponentApiItemRecord and add ComponentApiRecord
- Add support for parsing slots in addition to properties, events, and methods
- Implement proper subcomponent API structure with dedicated record types
- Enhance markdown table parsing to handle multiple table groups per section
- Add semantic DOM boundary detection to stop API parsing at correct sections
- Improve localization handling for bilingual component documentation
- Add comprehensive test suite for API extraction functionality
- Implement proper subcomponent identity matching between English and Chinese docs
- Add type definitions heading detection to skip non-API sections
- Create utility functions for normalizing component names and identities
@pkg-pr-new

pkg-pr-new Bot commented Aug 20, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/antdv-next/cli/@antdv-next/cli@28

commit: 10b921c

@github-actions

Copy link
Copy Markdown
Contributor

Build Size Report

Baseline Artifact · 基准产物

File Size Gzip Brotli
bug-BAjZ2Zmm.mjs 5.16 KiB 2.03 KiB 1.77 KiB
bug-cli-C_-yKd1M.mjs 543 B 325 B 285 B
changelog-C47Qa9zl.mjs 341 B 239 B 192 B
check-BwylNr0Q.mjs 6.32 KiB 2.25 KiB 1.96 KiB
check-CwKekeAi.mjs 336 B 232 B 189 B
config-B4xEpb5_.mjs 191 B 148 B 120 B
demo-BkCOfZhp.mjs 3.10 KiB 1.12 KiB 1016 B
design-4MirlBvn.mjs 764 B 439 B 373 B
doc-1OT-lOMW.mjs 319 B 237 B 198 B
doctor-DhxOay4T.mjs 318 B 228 B 189 B
env-DmhJPMju.mjs 6.78 KiB 2.21 KiB 1.97 KiB
error-BCR_uT-t.mjs 511 B 315 B 254 B
index.d.mts 9 B 29 B 13 B
index.mjs 2.75 KiB 1.06 KiB 937 B
info-Cy2fHSlT.mjs 322 B 233 B 193 B
lint-k2rYlcE6.mjs 307 B 227 B 187 B
list-CQKMqKKr.mjs 1.70 KiB 721 B 618 B
loader-Bu57M3gz.mjs 1.17 KiB 531 B 480 B
mcp-BOZGRQVD.mjs 305 B 230 B 190 B
migrate-B28cMzgl.mjs 320 B 226 B 200 B
output-CB8YhzX4.mjs 332 B 210 B 162 B
repo-BuDxaMkn.mjs 179 B 132 B 111 B
semantic-8fy6BktJ.mjs 1.95 KiB 837 B 727 B
setup-CZic1tZK.mjs 325 B 243 B 222 B
table-D_El6STl.mjs 331 B 178 B 145 B
token-QDwcFD7c.mjs 2.33 KiB 935 B 823 B
upgrade-ygYtOPx1.mjs 608 B 376 B 318 B
usage-D-UJIVX-.mjs 318 B 231 B 192 B
version-BUnzyuTe.mjs 1.53 KiB 673 B 598 B

Candidate Artifact · 候选产物

File Size Gzip Brotli
bug-BAjZ2Zmm.mjs 5.16 KiB 2.03 KiB 1.77 KiB
bug-cli-C_-yKd1M.mjs 543 B 325 B 285 B
changelog-C47Qa9zl.mjs 341 B 239 B 192 B
check-BwylNr0Q.mjs 6.32 KiB 2.25 KiB 1.96 KiB
check-CwKekeAi.mjs 336 B 232 B 189 B
config-B4xEpb5_.mjs 191 B 148 B 120 B
demo-BkCOfZhp.mjs 3.10 KiB 1.12 KiB 1016 B
design-4MirlBvn.mjs 764 B 439 B 373 B
doc-1OT-lOMW.mjs 319 B 237 B 198 B
doctor-DhxOay4T.mjs 318 B 228 B 189 B
env-DmhJPMju.mjs 6.78 KiB 2.21 KiB 1.97 KiB
error-BCR_uT-t.mjs 511 B 315 B 254 B
index.d.mts 9 B 29 B 13 B
index.mjs 2.75 KiB 1.06 KiB 937 B
info-Cy2fHSlT.mjs 322 B 233 B 193 B
lint-k2rYlcE6.mjs 307 B 227 B 187 B
list-CQKMqKKr.mjs 1.70 KiB 721 B 618 B
loader-Bu57M3gz.mjs 1.17 KiB 531 B 480 B
mcp-BOZGRQVD.mjs 305 B 230 B 190 B
migrate-B28cMzgl.mjs 320 B 226 B 200 B
output-CB8YhzX4.mjs 332 B 210 B 162 B
repo-BuDxaMkn.mjs 179 B 132 B 111 B
semantic-8fy6BktJ.mjs 1.95 KiB 837 B 727 B
setup-CZic1tZK.mjs 325 B 243 B 222 B
table-D_El6STl.mjs 331 B 178 B 145 B
token-QDwcFD7c.mjs 2.33 KiB 935 B 823 B
upgrade-ygYtOPx1.mjs 608 B 376 B 318 B
usage-D-UJIVX-.mjs 318 B 231 B 192 B
version-BUnzyuTe.mjs 1.53 KiB 673 B 598 B

@lonewolfyx
lonewolfyx merged commit 6da2372 into main Aug 20, 2026
8 checks passed
@lonewolfyx
lonewolfyx deleted the fix/sync-subComponentProps branch August 21, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant