react-figma 0.30.0 → 0.32.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 +23 -4
- package/README.md +5 -2
- package/package.json +4 -4
- package/rn/Animated/bezier.d.ts +1 -1
- package/rn/Animated/bezier.js +39 -85
- package/rn/Animated/bezier.js.map +1 -1
- package/{now.json → vercel.json} +2 -2
- package/.github/FUNDING.yml +0 -4
package/.all-contributorsrc
CHANGED
|
@@ -132,10 +132,10 @@
|
|
|
132
132
|
]
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
|
-
"login": "
|
|
136
|
-
"name": "
|
|
135
|
+
"login": "headwindz",
|
|
136
|
+
"name": "headwindz",
|
|
137
137
|
"avatar_url": "https://avatars.githubusercontent.com/u/7504237?v=4",
|
|
138
|
-
"profile": "https://
|
|
138
|
+
"profile": "https://github.com/headwindz",
|
|
139
139
|
"contributions": [
|
|
140
140
|
"code"
|
|
141
141
|
]
|
|
@@ -238,6 +238,24 @@
|
|
|
238
238
|
"contributions": [
|
|
239
239
|
"doc"
|
|
240
240
|
]
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"login": "mraghuram3",
|
|
244
|
+
"name": "Raghu Ram M",
|
|
245
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/19218859?v=4",
|
|
246
|
+
"profile": "https://mraghuram3.github.io/",
|
|
247
|
+
"contributions": [
|
|
248
|
+
"doc"
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"login": "gre",
|
|
253
|
+
"name": "@greweb",
|
|
254
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/211411?v=4",
|
|
255
|
+
"profile": "http://greweb.me",
|
|
256
|
+
"contributions": [
|
|
257
|
+
"code"
|
|
258
|
+
]
|
|
241
259
|
}
|
|
242
260
|
],
|
|
243
261
|
"contributorsPerLine": 7,
|
|
@@ -246,5 +264,6 @@
|
|
|
246
264
|
"repoType": "github",
|
|
247
265
|
"repoHost": "https://github.com",
|
|
248
266
|
"skipCi": true,
|
|
249
|
-
"commitConvention": "angular"
|
|
267
|
+
"commitConvention": "angular",
|
|
268
|
+
"commitType": "docs"
|
|
250
269
|
}
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
alt="React Figma logo by Lera Lesik" width="160" height="160">
|
|
5
5
|
|
|
6
6
|
[](https://www.npmjs.com/package/react-figma)
|
|
7
|
-
[](https://github.com/react-figma/react-figma/actions/workflows/ci.yml)
|
|
8
8
|
|
|
9
9
|
A React renderer for [Figma](https://www.figma.com). Use React components as a source for your designs.
|
|
10
10
|
|
|
@@ -113,6 +113,7 @@ export const App = () => {
|
|
|
113
113
|
+ [Basic + HMR](examples/basic-hmr)
|
|
114
114
|
* [Design system](examples/design-system)
|
|
115
115
|
* [Interactive](examples/interactive)
|
|
116
|
+
* [UI](examples/ui) - Interact with a Plugin UI
|
|
116
117
|
* [Data fetching](examples/fetching)
|
|
117
118
|
* [💅 styled-components](examples/styled-components)
|
|
118
119
|
* [PrimerDemo](https://github.com/react-figma/PrimerDemo) - Example of multiplatform UI-kit
|
|
@@ -190,7 +191,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
190
191
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/yoniholmes"><img src="https://avatars.githubusercontent.com/u/184589?v=4?s=100" width="100px;" alt="Jonathan Holmes"/><br /><sub><b>Jonathan Holmes</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=yoniholmes" title="Documentation">📖</a></td>
|
|
191
192
|
</tr>
|
|
192
193
|
<tr>
|
|
193
|
-
<td align="center" valign="top" width="14.28%"><a href="https://
|
|
194
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/headwindz"><img src="https://avatars.githubusercontent.com/u/7504237?v=4?s=100" width="100px;" alt="headwindz"/><br /><sub><b>headwindz</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=headwindz" title="Code">💻</a></td>
|
|
194
195
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/kant"><img src="https://avatars.githubusercontent.com/u/32717?v=4?s=100" width="100px;" alt="Darío Hereñú"/><br /><sub><b>Darío Hereñú</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=kant" title="Documentation">📖</a></td>
|
|
195
196
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/KonstHardy"><img src="https://avatars.githubusercontent.com/u/46906648?v=4?s=100" width="100px;" alt="Konstantin Popov"/><br /><sub><b>Konstantin Popov</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=KonstHardy" title="Documentation">📖</a></td>
|
|
196
197
|
<td align="center" valign="top" width="14.28%"><a href="https://utkarsh299-tech.github.io/myportfolio/"><img src="https://avatars.githubusercontent.com/u/60184229?v=4?s=100" width="100px;" alt="Utkarsh Singh"/><br /><sub><b>Utkarsh Singh</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=Utkarsh299-tech" title="Documentation">📖</a></td>
|
|
@@ -204,6 +205,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
204
205
|
<td align="center" valign="top" width="14.28%"><a href="http://marc-abramowitz.com"><img src="https://avatars.githubusercontent.com/u/305268?v=4?s=100" width="100px;" alt="Marc Abramowitz"/><br /><sub><b>Marc Abramowitz</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=msabramo" title="Documentation">📖</a></td>
|
|
205
206
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/fishtriangle"><img src="https://avatars.githubusercontent.com/u/66234622?v=4?s=100" width="100px;" alt="fishtriangle"/><br /><sub><b>fishtriangle</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=fishtriangle" title="Code">💻</a></td>
|
|
206
207
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/carlostpg"><img src="https://avatars.githubusercontent.com/u/124635572?v=4?s=100" width="100px;" alt="Carlos"/><br /><sub><b>Carlos</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=carlostpg" title="Documentation">📖</a></td>
|
|
208
|
+
<td align="center" valign="top" width="14.28%"><a href="https://mraghuram3.github.io/"><img src="https://avatars.githubusercontent.com/u/19218859?v=4?s=100" width="100px;" alt="Raghu Ram M"/><br /><sub><b>Raghu Ram M</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=mraghuram3" title="Documentation">📖</a></td>
|
|
209
|
+
<td align="center" valign="top" width="14.28%"><a href="http://greweb.me"><img src="https://avatars.githubusercontent.com/u/211411?v=4?s=100" width="100px;" alt="@greweb"/><br /><sub><b>@greweb</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=gre" title="Code">💻</a></td>
|
|
207
210
|
</tr>
|
|
208
211
|
</tbody>
|
|
209
212
|
</table>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-figma",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
4
4
|
"description": "Render React components to Figma",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"tsc": "tsc -p tsconfig.json --noEmit",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"figma-plugins"
|
|
35
35
|
],
|
|
36
36
|
"engines": {
|
|
37
|
-
"node": ">=10.0.0 <
|
|
37
|
+
"node": ">=10.0.0 <25.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@figma/plugin-typings": "1.64.0",
|
|
@@ -66,13 +66,13 @@
|
|
|
66
66
|
"ts-loader": "^6.0.4",
|
|
67
67
|
"typescript": "^3.5.3",
|
|
68
68
|
"url-loader": "^2.1.0",
|
|
69
|
-
"webpack": "^
|
|
69
|
+
"webpack": "^5.94.0",
|
|
70
70
|
"webpack-cli": "^3.3.6"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"color-parse": "1.3.8",
|
|
74
74
|
"figma-jsonrpc": "^0.4.0",
|
|
75
|
-
"nanoid": "3.
|
|
75
|
+
"nanoid": "3.3.18",
|
|
76
76
|
"react-devtools-core": "^4.7.0",
|
|
77
77
|
"react-fetch-hook": "1.7.2",
|
|
78
78
|
"react-reconciler": "^0.23.0",
|
package/rn/Animated/bezier.d.ts
CHANGED
package/rn/Animated/bezier.js
CHANGED
|
@@ -9,106 +9,60 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @flow strict
|
|
11
11
|
* @format
|
|
12
|
-
* @copyright 2014-
|
|
12
|
+
* @copyright 2014-2026 Gaëtan Renaudeau. MIT License.
|
|
13
13
|
*/
|
|
14
14
|
'use strict';
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
//
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
// Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.
|
|
34
|
-
function calcBezier(aT, aA1, aA2) {
|
|
35
|
-
return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;
|
|
36
|
-
}
|
|
37
|
-
// Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2.
|
|
38
|
-
function getSlope(aT, aA1, aA2) {
|
|
39
|
-
return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);
|
|
40
|
-
}
|
|
41
|
-
function binarySubdivide(aX, _aA, _aB, mX1, mX2) {
|
|
42
|
-
var currentX, currentT, i = 0, aA = _aA, aB = _aB;
|
|
43
|
-
do {
|
|
44
|
-
currentT = aA + (aB - aA) / 2.0;
|
|
45
|
-
currentX = calcBezier(currentT, mX1, mX2) - aX;
|
|
46
|
-
if (currentX > 0.0) {
|
|
47
|
-
aB = currentT;
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
aA = currentT;
|
|
51
|
-
}
|
|
52
|
-
} while (Math.abs(currentX) > SUBDIVISION_PRECISION && ++i < SUBDIVISION_MAX_ITERATIONS);
|
|
53
|
-
return currentT;
|
|
54
|
-
}
|
|
55
|
-
function newtonRaphsonIterate(aX, _aGuessT, mX1, mX2) {
|
|
56
|
-
var aGuessT = _aGuessT;
|
|
57
|
-
for (var i = 0; i < NEWTON_ITERATIONS; ++i) {
|
|
58
|
-
var currentSlope = getSlope(aGuessT, mX1, mX2);
|
|
59
|
-
if (currentSlope === 0.0) {
|
|
60
|
-
return aGuessT;
|
|
61
|
-
}
|
|
62
|
-
var currentX = calcBezier(aGuessT, mX1, mX2) - aX;
|
|
63
|
-
aGuessT -= currentX / currentSlope;
|
|
16
|
+
// Solves x(t) = ((2a * t + 3b) * t + 3c) * t = x for t, with x in (0, 1):
|
|
17
|
+
// u = 1/t is the largest real root of x·u³ − 3c·u² − 3b·u − 2a = 0
|
|
18
|
+
function solveTForX(x, a, b, c) {
|
|
19
|
+
var j = 1 / Math.max(c, Math.sqrt(x));
|
|
20
|
+
var k = x * j;
|
|
21
|
+
var l = k * j;
|
|
22
|
+
var s = c * j;
|
|
23
|
+
var q = b * l;
|
|
24
|
+
var m = s * s + q;
|
|
25
|
+
var h = -s * (s * s + 1.5 * q) - a * k * l;
|
|
26
|
+
var D = h * h - m * m * m;
|
|
27
|
+
var v;
|
|
28
|
+
if (m === 0 || D > 1e-12 * h * h) {
|
|
29
|
+
// one real root (Cardano)
|
|
30
|
+
var U = -Math.cbrt(h < 0 ? h - Math.sqrt(D) : h + Math.sqrt(D));
|
|
31
|
+
v = U + m / U || 0;
|
|
64
32
|
}
|
|
65
|
-
|
|
33
|
+
else {
|
|
34
|
+
// three real roots, take the largest
|
|
35
|
+
var r = Math.sqrt(m);
|
|
36
|
+
v = 2 * r * Math.cos(Math.acos(Math.max(-1, Math.min(1, -h / (m * r)))) / 3);
|
|
37
|
+
}
|
|
38
|
+
return Math.min(1, k / (v + s));
|
|
66
39
|
}
|
|
67
40
|
function bezier(mX1, mY1, mX2, mY2) {
|
|
68
41
|
if (!(mX1 >= 0 && mX1 <= 1 && mX2 >= 0 && mX2 <= 1)) {
|
|
69
42
|
throw new Error('bezier x values must be in [0, 1] range');
|
|
70
43
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
function getTForX(aX) {
|
|
79
|
-
var intervalStart = 0.0;
|
|
80
|
-
var currentSample = 1;
|
|
81
|
-
var lastSample = kSplineTableSize - 1;
|
|
82
|
-
for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {
|
|
83
|
-
intervalStart += kSampleStepSize;
|
|
84
|
-
}
|
|
85
|
-
--currentSample;
|
|
86
|
-
// Interpolate to provide an initial guess for t
|
|
87
|
-
var dist = (aX - sampleValues[currentSample]) / (sampleValues[currentSample + 1] - sampleValues[currentSample]);
|
|
88
|
-
var guessForT = intervalStart + dist * kSampleStepSize;
|
|
89
|
-
var initialSlope = getSlope(guessForT, mX1, mX2);
|
|
90
|
-
if (initialSlope >= NEWTON_MIN_SLOPE) {
|
|
91
|
-
return newtonRaphsonIterate(aX, guessForT, mX1, mX2);
|
|
92
|
-
}
|
|
93
|
-
else if (initialSlope === 0.0) {
|
|
94
|
-
return guessForT;
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);
|
|
98
|
-
}
|
|
44
|
+
if (mX1 === mY1 && mX2 === mY2) {
|
|
45
|
+
return function LinearEasing(x) {
|
|
46
|
+
return x;
|
|
47
|
+
};
|
|
99
48
|
}
|
|
49
|
+
// x(t) = ((2a * t + 3b) * t + 3c) * t, y(t) = ((ay * t + by) * t + cy) * t
|
|
50
|
+
var a = (3 * mX1 - 3 * mX2 + 1) / 2;
|
|
51
|
+
var b = mX2 - 2 * mX1;
|
|
52
|
+
var c = mX1;
|
|
53
|
+
var ay = 3 * mY1 - 3 * mY2 + 1;
|
|
54
|
+
var by = 3 * (mY2 - 2 * mY1);
|
|
55
|
+
var cy = 3 * mY1;
|
|
100
56
|
return function BezierEasing(x) {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
// Because JavaScript number are imprecise, we should guarantee the extremes are right.
|
|
105
|
-
if (x === 0) {
|
|
57
|
+
// x outside (0, 1) saturates to 0 / 1
|
|
58
|
+
if (x <= 0) {
|
|
106
59
|
return 0;
|
|
107
60
|
}
|
|
108
|
-
if (x
|
|
61
|
+
if (x >= 1) {
|
|
109
62
|
return 1;
|
|
110
63
|
}
|
|
111
|
-
|
|
64
|
+
var t = solveTForX(x, a, b, c);
|
|
65
|
+
return ((ay * t + by) * t + cy) * t;
|
|
112
66
|
};
|
|
113
67
|
}
|
|
114
68
|
exports.default = bezier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bezier.js","sourceRoot":"","sources":["../../src/rn/Animated/bezier.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,YAAY,CAAC;;AAEb,
|
|
1
|
+
{"version":3,"file":"bezier.js","sourceRoot":"","sources":["../../src/rn/Animated/bezier.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,YAAY,CAAC;;AAEb,0EAA0E;AAC1E,mEAAmE;AACnE,SAAS,UAAU,CAAC,CAAS,EAAE,CAAS,EAAE,CAAS,EAAE,CAAS;IAC1D,IAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACxC,IAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;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GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;IACxC,CAAC,CAAC;AACN,CAAC;AA9BD,yBA8BC"}
|
package/{now.json → vercel.json}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
2
3
|
"version": 2,
|
|
3
4
|
"name": "react-figma",
|
|
4
|
-
"public": true,
|
|
5
5
|
"builds": [
|
|
6
6
|
{
|
|
7
7
|
"src": "website/package.json",
|
|
8
|
-
"use": "@
|
|
8
|
+
"use": "@vercel/static-build",
|
|
9
9
|
"config": {"distDir": "build"}
|
|
10
10
|
}
|
|
11
11
|
],
|
package/.github/FUNDING.yml
DELETED