react-figma 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.all-contributorsrc +9 -0
- package/README.md +3 -0
- package/mixins/pageMixin.js +13 -1
- package/mixins/pageMixin.js.map +1 -1
- package/package.json +2 -2
package/.all-contributorsrc
CHANGED
|
@@ -193,6 +193,15 @@
|
|
|
193
193
|
"contributions": [
|
|
194
194
|
"code"
|
|
195
195
|
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"login": "thierryc",
|
|
199
|
+
"name": "Thierry Charbonnel",
|
|
200
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/197471?v=4",
|
|
201
|
+
"profile": "http://www.anotherplanet.io",
|
|
202
|
+
"contributions": [
|
|
203
|
+
"doc"
|
|
204
|
+
]
|
|
196
205
|
}
|
|
197
206
|
],
|
|
198
207
|
"contributorsPerLine": 7,
|
package/README.md
CHANGED
|
@@ -197,6 +197,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
197
197
|
<td align="center"><a href="https://github.com/annuhdo"><img src="https://avatars.githubusercontent.com/u/6846913?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Anna Do</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=annuhdo" title="Code">💻</a></td>
|
|
198
198
|
<td align="center"><a href="http://stevenpetryk.com"><img src="https://avatars.githubusercontent.com/u/1724000?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Steven Petryk</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=stevenpetryk" title="Code">💻</a></td>
|
|
199
199
|
</tr>
|
|
200
|
+
<tr>
|
|
201
|
+
<td align="center"><a href="http://www.anotherplanet.io"><img src="https://avatars.githubusercontent.com/u/197471?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Thierry Charbonnel</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=thierryc" title="Documentation">📖</a></td>
|
|
202
|
+
</tr>
|
|
200
203
|
</table>
|
|
201
204
|
|
|
202
205
|
<!-- markdownlint-restore -->
|
package/mixins/pageMixin.js
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var propsAssign_1 = require("../helpers/propsAssign");
|
|
4
4
|
exports.pageMixin = propsAssign_1.propsAssign(['backgrounds'], {
|
|
5
|
-
backgrounds: [
|
|
5
|
+
backgrounds: [
|
|
6
|
+
{
|
|
7
|
+
type: 'SOLID',
|
|
8
|
+
visible: true,
|
|
9
|
+
opacity: 1,
|
|
10
|
+
blendMode: 'NORMAL',
|
|
11
|
+
color: {
|
|
12
|
+
r: 0.9607843160629272,
|
|
13
|
+
g: 0.9607843160629272,
|
|
14
|
+
b: 0.9607843160629272
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
]
|
|
6
18
|
});
|
|
7
19
|
//# sourceMappingURL=pageMixin.js.map
|
package/mixins/pageMixin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pageMixin.js","sourceRoot":"","sources":["../src/mixins/pageMixin.ts"],"names":[],"mappings":";;AAAA,sDAAqD;AAGxC,QAAA,SAAS,GAAG,yBAAW,CAAuB,CAAC,aAAa,CAAC,EAAE;IACxE,WAAW,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"pageMixin.js","sourceRoot":"","sources":["../src/mixins/pageMixin.ts"],"names":[],"mappings":";;AAAA,sDAAqD;AAGxC,QAAA,SAAS,GAAG,yBAAW,CAAuB,CAAC,aAAa,CAAC,EAAE;IACxE,WAAW,EAAE;QACT;YACI,IAAI,EAAE,OAAO;YACb,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,CAAC;YACV,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE;gBACH,CAAC,EAAE,kBAAkB;gBACrB,CAAC,EAAE,kBAAkB;gBACrB,CAAC,EAAE,kBAAkB;aACxB;SACJ;KACJ;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-figma",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Render React components to Figma",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"tsc": "tsc -p tsconfig.json --noEmit",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"copyfiles": "^2.1.1",
|
|
49
49
|
"cross-env": "^5.2.0",
|
|
50
50
|
"css-loader": "^3.2.0",
|
|
51
|
-
"figma-api-stub": "0.0.
|
|
51
|
+
"figma-api-stub": "0.0.55",
|
|
52
52
|
"file-loader": "^6.2.0",
|
|
53
53
|
"html-webpack-inline-source-plugin": "^0.0.10",
|
|
54
54
|
"html-webpack-plugin": "^3.2.0",
|