Allow mapping nested instances without exposing them as component properties

Offen
#365 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
typescript

Rechercherichtung

Start by reading the Code Connect mapping entry points and how component properties currently resolve nested instances; the issue does not name specific files or tests. Done means a nested instance can map to a code prop without being exposed as a Figma component property. The issue has had no comment for 237 days, so check whether maintainers are still responding before picking it up.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

feature request

Problem
Code Connect only lets you map nested components when they are exposed as component properties in Figma. This forces design system teams to expose internal nested instances (e.g. icons inside buttons) even when they should stay private.

Request
Please add support for mapping nested instances in Code Connect without requiring them to be exposed as component properties.

Example
A Button contains a nested Icon, but the icon should not be user‑swappable. Code Connect should still allow mapping that nested icon to a code prop (like endIcon) without exposing it.

Vorherrschende Sprache
TypeScript
Sterne
1.6k
Forks
126
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus figma/code-connect

Alle Issues in figma/code-connect

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.