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.
@@ -132,10 +132,10 @@
132
132
  ]
133
133
  },
134
134
  {
135
- "login": "n0ruSh",
136
- "name": "不吃猫的鱼",
135
+ "login": "headwindz",
136
+ "name": "headwindz",
137
137
  "avatar_url": "https://avatars.githubusercontent.com/u/7504237?v=4",
138
- "profile": "https://michaelzheng.medium.com/",
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
  [![npm version](https://img.shields.io/npm/v/react-figma.svg)](https://www.npmjs.com/package/react-figma)
7
- [![CircleCI](https://circleci.com/gh/react-figma/react-figma.svg?style=shield)](https://circleci.com/gh/react-figma/react-figma)
7
+ [![CI](https://github.com/react-figma/react-figma/actions/workflows/ci.yml/badge.svg)](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://michaelzheng.medium.com/"><img src="https://avatars.githubusercontent.com/u/7504237?v=4?s=100" width="100px;" alt="不吃猫的鱼"/><br /><sub><b>不吃猫的鱼</b></sub></a><br /><a href="https://github.com/react-figma/react-figma/commits?author=n0ruSh" title="Code">💻</a></td>
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.30.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 <17.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": "^4.39.1",
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.1.31",
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",
@@ -9,6 +9,6 @@
9
9
  *
10
10
  * @flow strict
11
11
  * @format
12
- * @copyright 2014-2015 Gaëtan Renaudeau. MIT License.
12
+ * @copyright 2014-2026 Gaëtan Renaudeau. MIT License.
13
13
  */
14
14
  export default function bezier(mX1: number, mY1: number, mX2: number, mY2: number): (x: number) => number;
@@ -9,106 +9,60 @@
9
9
  *
10
10
  * @flow strict
11
11
  * @format
12
- * @copyright 2014-2015 Gaëtan Renaudeau. MIT License.
12
+ * @copyright 2014-2026 Gaëtan Renaudeau. MIT License.
13
13
  */
14
14
  'use strict';
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- // These values are established by empiricism with tests (tradeoff: performance VS precision)
17
- var NEWTON_ITERATIONS = 4;
18
- var NEWTON_MIN_SLOPE = 0.001;
19
- var SUBDIVISION_PRECISION = 0.0000001;
20
- var SUBDIVISION_MAX_ITERATIONS = 10;
21
- var kSplineTableSize = 11;
22
- var kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);
23
- var float32ArraySupported = typeof Float32Array === 'function';
24
- function A(aA1, aA2) {
25
- return 1.0 - 3.0 * aA2 + 3.0 * aA1;
26
- }
27
- function B(aA1, aA2) {
28
- return 3.0 * aA2 - 6.0 * aA1;
29
- }
30
- function C(aA1) {
31
- return 3.0 * aA1;
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
- return aGuessT;
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
- // Precompute samples table
72
- var sampleValues = float32ArraySupported ? new Float32Array(kSplineTableSize) : new Array(kSplineTableSize);
73
- if (mX1 !== mY1 || mX2 !== mY2) {
74
- for (var i = 0; i < kSplineTableSize; ++i) {
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
- if (mX1 === mY1 && mX2 === mY2) {
102
- return x; // linear
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 === 1) {
61
+ if (x >= 1) {
109
62
  return 1;
110
63
  }
111
- return calcBezier(getTForX(x), mY1, mY2);
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,6FAA6F;AAC7F,IAAM,iBAAiB,GAAG,CAAC,CAAC;AAC5B,IAAM,gBAAgB,GAAG,KAAK,CAAC;AAC/B,IAAM,qBAAqB,GAAG,SAAS,CAAC;AACxC,IAAM,0BAA0B,GAAG,EAAE,CA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GAAG,KAAK,GAAG,EAAE;QAC5B,OAAO,SAAS,YAAY,CAAC,CAAS;YAClC,OAAO,CAAC,CAAC;QACb,CAAC,CAAC;KACL;IAED,2EAA2E;IAC3E,IAAM,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;IACtC,IAAM,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC;IACxB,IAAM,CAAC,GAAG,GAAG,CAAC;IACd,IAAM,EAAE,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;IACjC,IAAM,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC;IAC/B,IAAM,EAAE,GAAG,CAAC,GAAG,GAAG,CAAC;IAEnB,OAAO,SAAS,YAAY,CAAC,CAAS;QAClC,sCAAsC;QACtC,IAAI,CAAC,IAAI,CAAC,EAAE;YACR,OAAO,CAAC,CAAC;SACZ;QACD,IAAI,CAAC,IAAI,CAAC,EAAE;YACR,OAAO,CAAC,CAAC;SACZ;QACD,IAAM,CAAC,GAAG,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;QACjC,OAAO,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;IACxC,CAAC,CAAC;AACN,CAAC;AA9BD,yBA8BC"}
@@ -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": "@now/static-build",
8
+ "use": "@vercel/static-build",
9
9
  "config": {"distDir": "build"}
10
10
  }
11
11
  ],
@@ -1,4 +0,0 @@
1
- # These are supported funding model platforms
2
-
3
- patreon: react_figma
4
- open_collective: reactfigma