Skip to content

Commit 7066b27

Browse files
committed
2024 update
1 parent 9e028ff commit 7066b27

File tree

15 files changed

+3839
-3110
lines changed

15 files changed

+3839
-3110
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ test/**/next-env.d.ts
2727
**/.idea
2828
**/.vscode
2929

30-
build
30+
build
31+
.turbo

__tests__/altNodes/altConversions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ describe("AltConversions", () => {
174174
expect(
175175
tailwindMain(convertIntoAltNodes([node], new AltFrameNode()))
176176
).toEqual(
177-
`<div class="w-5 h-5 bg-pink-900 bg-opacity-50 rounded-lg"></div>`
177+
`<div class="w-5 h-5 bg-pink-900/50 rounded-lg"></div>`
178178
);
179179
});
180180
});

apps/debug/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@
1111
},
1212
"dependencies": {
1313
"backend": "workspace:*",
14-
"next": "^14.1.0",
14+
"next": "^14.2.3",
1515
"plugin-ui": "workspace:*",
16-
"react": "^18.2.0",
17-
"react-dom": "^18.2.0"
16+
"react": "^18.3.1",
17+
"react-dom": "^18.3.1"
1818
},
1919
"devDependencies": {
20-
"@types/node": "^20.11.6",
21-
"@types/react": "^18.2.48",
22-
"@types/react-dom": "^18.2.18",
23-
"autoprefixer": "^10.4.17",
20+
"@types/node": "^20.12.8",
21+
"@types/react": "^18.3.1",
22+
"@types/react-dom": "^18.3.0",
23+
"autoprefixer": "^10.4.19",
2424
"eslint-config-custom": "workspace:*",
25-
"postcss": "^8.4.33",
26-
"tailwindcss": "3.4.1",
25+
"postcss": "^8.4.38",
26+
"tailwindcss": "3.4.3",
2727
"tsconfig": "workspace:*",
28-
"typescript": "^5.3.3"
28+
"typescript": "^5.4.5"
2929
}
3030
}

apps/plugin/package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,31 @@
1010
"dev": "pnpm build:watch"
1111
},
1212
"dependencies": {
13-
"@figma/plugin-typings": "^1.84.0",
13+
"@figma/plugin-typings": "^1.92.0",
1414
"backend": "workspace:*",
1515
"plugin-ui": "workspace:*",
16-
"react": "^18.2.0",
17-
"react-dom": "^18.2.0"
16+
"react": "^18.3.1",
17+
"react-dom": "^18.3.1"
1818
},
1919
"devDependencies": {
20-
"@types/node": "^20.11.6",
21-
"@types/react": "^18.2.48",
22-
"@types/react-dom": "^18.2.18",
23-
"@typescript-eslint/eslint-plugin": "^6.19.1",
24-
"@typescript-eslint/parser": "^6.19.1",
20+
"@types/node": "^20.12.8",
21+
"@types/react": "^18.3.1",
22+
"@types/react-dom": "^18.3.0",
23+
"@typescript-eslint/eslint-plugin": "^7.8.0",
24+
"@typescript-eslint/parser": "^7.8.0",
2525
"@vitejs/plugin-react": "^4.2.1",
26-
"@vitejs/plugin-react-swc": "^3.5.0",
27-
"autoprefixer": "^10.4.17",
26+
"@vitejs/plugin-react-swc": "^3.6.0",
27+
"autoprefixer": "^10.4.19",
2828
"concurrently": "^8.2.2",
29-
"esbuild": "^0.19.12",
29+
"esbuild": "^0.20.2",
3030
"eslint-config-custom": "workspace:*",
31-
"eslint-plugin-react-hooks": "^4.6.0",
32-
"eslint-plugin-react-refresh": "^0.4.5",
33-
"postcss": "^8.4.33",
34-
"tailwindcss": "3.4.1",
31+
"eslint-plugin-react-hooks": "^4.6.2",
32+
"eslint-plugin-react-refresh": "^0.4.6",
33+
"postcss": "^8.4.38",
34+
"tailwindcss": "3.4.3",
3535
"tsconfig": "workspace:*",
36-
"typescript": "^5.3.3",
37-
"vite": "^5.0.12",
38-
"vite-plugin-singlefile": "^1.0.0"
36+
"typescript": "^5.4.5",
37+
"vite": "^5.2.10",
38+
"vite-plugin-singlefile": "^2.0.1"
3939
}
4040
}

apps/plugin/ui-src/App.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,10 @@ export default function App() {
152152
);
153153
}}
154154
colors={state.colors}
155-
gradients={state.gradients}
155+
gradients={state.gradients.map((gradient) => ({
156+
...gradient,
157+
exportValue: gradient.exportedValue,
158+
}))}
156159
/>
157160
</div>
158161
);

0 commit comments

Comments
 (0)