Skip to content

feat(ui-components): add Signature and FunctionSignature components#8660

Draft
canerakdas wants to merge 4 commits intonodejs:mainfrom
canerakdas:feat/signature
Draft

feat(ui-components): add Signature and FunctionSignature components#8660
canerakdas wants to merge 4 commits intonodejs:mainfrom
canerakdas:feat/signature

Conversation

@canerakdas
Copy link
Member

Description

Adds new Signature and FunctionSignature components for rendering API function signatures with support for nested parameters, return types, and optional attributes.

Ref: nodejs/doc-kit#587
Figma: https://www.figma.com/design/a10cjjw3MzvRQMPT9FP3xz/Node.js?node-id=6382-1517&t=T63PRMdf9tzlCrww-0

Validation

image image

Related Issues

Related to nodejs/doc-kit#587

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

@vercel
Copy link

vercel bot commented Feb 26, 2026

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: nodejs-org.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@github-actions
Copy link
Contributor

👋 Codeowner Review Request

The following codeowners have been identified for the changed files:

Team reviewers: @nodejs/nodejs-website

Please review the changes when you have a chance. Thank you! 🙏

@codecov
Copy link

codecov bot commented Feb 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.09%. Comparing base (2bb1883) to head (07f2972).
⚠️ Report is 8 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8660      +/-   ##
==========================================
- Coverage   75.13%   75.09%   -0.05%     
==========================================
  Files         104      104              
  Lines        9098     9098              
  Branches      314      315       +1     
==========================================
- Hits         6836     6832       -4     
- Misses       2260     2264       +4     
  Partials        2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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