marcomontalbano / figma-export

Export tool for Figma. You can easily and automatically export your Figma components and use them directly into your website.
https://figma-export.marcomontalbano.com
MIT License
259 stars 33 forks source link

Add `pathToComponent` to the `ComponentOutputterParamOption` #144

Closed alejandrofdiaz closed 1 year ago

alejandrofdiaz commented 1 year ago

Closes https://github.com/marcomontalbano/figma-export/issues/143

alejandrofdiaz commented 1 year ago

Only documentation and changelog left.

alejandrofdiaz commented 1 year ago

I'm concerned about giving the outputters developers the ability to track the whole grouping path for a single component since newer file components Figma REST API (reference here) only defines a single containing frame (see containing_frame property), in case this API is used in the future to obtain all file components, they will lose this information.

Dealing with Figma files with a high frame/group hierarchy it is not clear how Figma is expecting the Designers to organize their components and this may be confusing in the future.

marcomontalbano commented 1 year ago

If in the future figma-export will leverages different APIs, the major release will contain breaking changes. In that case, we will change outputters accordingly.

marcomontalbano commented 1 year ago

Thanks a lot @alejandrofdiaz for your contribution!