react-figma
Advanced tools
Comparing version 0.0.57 to 0.0.58
{ | ||
"name": "react-figma", | ||
"version": "0.0.57", | ||
"version": "0.0.58", | ||
"description": "Render React components to Figma", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -131,2 +131,3 @@ # React Figma | ||
* [Data fetching](examples/fetching) | ||
* [💅 styled-components](examples/styled-components) | ||
* [Primer Demo](https://github.com/react-figma/primer-demo) - Example of multifplatform UI-kit | ||
@@ -168,2 +169,3 @@ | ||
<td align="center"><a href="https://github.com/wyvl"><img src="https://avatars1.githubusercontent.com/u/40932265?v=4" width="100px;" alt=""/><br /><sub><b>Vivian Lee</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=wyvl" title="Code">💻</a></td> | ||
<td align="center"><a href="https://macintoshhelper.com"><img src="https://avatars2.githubusercontent.com/u/6757532?v=4" width="100px;" alt=""/><br /><sub><b>macintoshhelper</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=macintoshhelper" title="Code">💻</a></td> | ||
</tr> | ||
@@ -170,0 +172,0 @@ </table> |
@@ -44,3 +44,3 @@ "use strict"; | ||
textAlignMapping[style.textAlign] && { textAlignHorizontal: textAlignMapping[style.textAlign] }), (style && typeof style.lineHeight === 'number' | ||
? { lineHeight: { value: style.lineHeight * 100, unit: 'PERCENT' } } | ||
? { lineHeight: { value: style.lineHeight, unit: 'PIXELS' } } | ||
: typeof style.lineHeight === 'string' && { | ||
@@ -47,0 +47,0 @@ lineHeight: transformDimension_1.transformDimensionMapper(style.lineHeight) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
325453
177