Skip to content

chore(Figma): Add Code Connect mapping for Pagination component#1667

Open
aweell wants to merge 3 commits into
masterfrom
1666-chorefigma-add-code-connect-mapping-for-pagination-component
Open

chore(Figma): Add Code Connect mapping for Pagination component#1667
aweell wants to merge 3 commits into
masterfrom
1666-chorefigma-add-code-connect-mapping-for-pagination-component

Conversation

@aweell

@aweell aweell commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds src/__figma__/pagination.figma.ts (desktop, node 37559-163)
  • Adds src/__figma__/pagination.mobile.figma.ts (mobile, node 66855-179)
  • Maps the Mode variant (Default / Icon only) to the mode prop
  • Current page and Show all pages are Figma-only simplifications (visual states, not direct props) and are documented as such with no mapping

Closes #1666

Test plan

  • ./node_modules/.bin/figma connect publish --dry-run lists both Pagination nodes without errors
  • After merge, run ./node_modules/.bin/figma connect publish to push mappings to Figma Dev Mode

🤖 Generated with Claude Code

Maps the Mode variant (Default/Icon only) to the mode prop. Current page
and Show all pages are Figma-only simplifications with no direct prop
mapping and are documented as such.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 11:47
@aweell aweell added the AI AI Generated label Jul 22, 2026
@aweell
aweell requested a review from a team as a code owner July 22, 2026 11:47
@aweell aweell added the AI AI Generated label Jul 22, 2026
@aweell aweell linked an issue Jul 22, 2026 that may be closed by this pull request
4 tasks

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Figma Code Connect mappings for the Pagination component so Figma Dev Mode can generate React snippet examples for the desktop and mobile Pagination nodes.

Changes:

  • Added a desktop Code Connect mapping for Pagination (node 37559-163) with Mode variant → mode prop mapping.
  • Added a mobile Code Connect mapping for Pagination (node 66855-179) with the same Mode variant → mode prop mapping.
  • Documented that Current page / Show all pages are Figma-only simplifications and are intentionally not mapped.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
src/figma/pagination.figma.ts Desktop Code Connect mapping for Pagination, including Mode variant → mode snippet output.
src/figma/pagination.mobile.figma.ts Mobile Code Connect mapping for Pagination, mirroring the desktop mapping and snippet generation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/__figma__/pagination.figma.ts
Comment on lines +18 to +20
// "Current page" (Start | Middle | End) is a Figma-only simplification to show
// navigation control states; it has no direct code prop mapping and is omitted.

Comment thread src/__figma__/pagination.mobile.figma.ts
Comment on lines +18 to +20
// "Current page" (Start | Middle | End) is a Figma-only simplification to show
// navigation control states; it has no direct code prop mapping and is omitted.

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown

Size stats

master this branch diff
Total JS 15.7 MB 15.7 MB -2 B
JS without icons 1.93 MB 1.93 MB -2 B
Lib overhead 96.9 kB 96.9 kB 0 B
Lib overhead (gzip) 21.3 kB 21.3 kB 0 B

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown

Deploy preview for mistica-web ready!

Project:mistica-web
Status: ✅  Deploy successful!
Preview URL:https://mistica-7i78mxawt-flows-projects-65bb050e.vercel.app
Latest Commit:4930843

Deployed with vercel-action

@github-actions

Copy link
Copy Markdown

Accessibility report
✔️ No issues found

ℹ️ You can run this locally by executing yarn audit-accessibility.

@Marcosld Marcosld left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you push it in the end?

aweell and others added 2 commits July 23, 2026 09:13
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…gination Code Connect

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI AI Generated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(Figma): Add Code Connect mapping for Pagination component

3 participants