0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2024-12-22 05:33:02 -05:00

Minor updates (#239)

* minor updates

* lint fixes

* changeset
This commit is contained in:
Alex Sánchez 2024-12-04 08:06:58 +01:00 committed by GitHub
parent e8fa1c5c36
commit 570aeee7b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 632 additions and 921 deletions

View file

@ -0,0 +1,5 @@
---
'penpot-exporter': patch
---
Minor updates

1522
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -24,13 +24,13 @@
"license": "MPL2.0", "license": "MPL2.0",
"dependencies": { "dependencies": {
"@create-figma-plugin/ui": "^3.2", "@create-figma-plugin/ui": "^3.2",
"@sentry/react": "^8.34", "@sentry/react": "^8.40",
"@sentry/vite-plugin": "^2.22", "@sentry/vite-plugin": "^2.22",
"base64-js": "^1.5", "base64-js": "^1.5",
"classnames": "^2.5", "classnames": "^2.5",
"lru-cache": "^11.0", "lru-cache": "^11.0",
"mixpanel-figma": "^2.0", "mixpanel-figma": "^2.0",
"preact": "^10.23", "preact": "^10.25",
"react-hook-form": "^7.52", "react-hook-form": "^7.52",
"romans": "^2.0", "romans": "^2.0",
"slugify": "^1.6", "slugify": "^1.6",
@ -41,14 +41,14 @@
"@changesets/changelog-github": "^0.5", "@changesets/changelog-github": "^0.5",
"@changesets/cli": "^2.27", "@changesets/cli": "^2.27",
"@figma/eslint-plugin-figma-plugins": "^0.15", "@figma/eslint-plugin-figma-plugins": "^0.15",
"@figma/plugin-typings": "^1.100", "@figma/plugin-typings": "^1.103",
"@trivago/prettier-plugin-sort-imports": "^4.3", "@trivago/prettier-plugin-sort-imports": "^4.3",
"@types/svg-path-parser": "^1.1", "@types/svg-path-parser": "^1.1",
"@typescript-eslint/eslint-plugin": "^7.18", "@typescript-eslint/eslint-plugin": "^7.18",
"@typescript-eslint/parser": "^7.18", "@typescript-eslint/parser": "^7.18",
"@vitejs/plugin-react-swc": "^3.7", "@vitejs/plugin-react-swc": "^3.7",
"concurrently": "^8.2", "concurrently": "^8.2",
"esbuild": "^0.23", "esbuild": "^0.24",
"eslint": "^8.57", "eslint": "^8.57",
"eslint-config-prettier": "^9.1", "eslint-config-prettier": "^9.1",
"eslint-plugin-prettier": "^5.1", "eslint-plugin-prettier": "^5.1",
@ -56,10 +56,10 @@
"prettier": "^3.2", "prettier": "^3.2",
"stylelint": "^16.6", "stylelint": "^16.6",
"stylelint-config-standard": "^36.0", "stylelint-config-standard": "^36.0",
"typescript": "^5.4", "typescript": "^5.7",
"vite": "^5.2", "vite": "^5.4",
"vite-plugin-singlefile": "^2.0", "vite-plugin-singlefile": "^2.0",
"vite-plugin-svgr": "^4.2", "vite-plugin-svgr": "^4.3",
"vite-tsconfig-paths": "^4.3" "vite-tsconfig-paths": "^4.3"
} }
} }

View file

@ -18,9 +18,7 @@ export const ExportForm = () => {
<Stack> <Stack>
<MissingFontsSection /> <MissingFontsSection />
<Stack space="xsmall" direction="row"> <Stack space="xsmall" direction="row">
<Button type="submit" fullWidth> <Button fullWidth>Export to Penpot</Button>
Export to Penpot
</Button>
<Button secondary onClick={cancel} fullWidth> <Button secondary onClick={cancel} fullWidth>
Cancel Cancel
</Button> </Button>

View file

@ -20,7 +20,6 @@ export const LibraryError = () => {
<Link <Link
href="https://github.com/penpot/penpot-exporter-figma-plugin/issues" href="https://github.com/penpot/penpot-exporter-figma-plugin/issues"
target="_blank" target="_blank"
rel="noreferrer"
> >
Github repository Github repository
</Link> </Link>

View file

@ -21,11 +21,7 @@ export const MissingFontsSection = () => {
<li> <li>
Before exporting the file, upload your custom local fonts in Penpot. Before exporting the file, upload your custom local fonts in Penpot.
<br /> <br />
<Link <Link href="https://help.penpot.app/user-guide/custom-fonts/" target="_blank">
href="https://help.penpot.app/user-guide/custom-fonts/"
target="_blank"
rel="noreferrer"
>
Learn how to do it. Learn how to do it.
</Link> </Link>
</li> </li>
@ -34,7 +30,6 @@ export const MissingFontsSection = () => {
<Link <Link
href="https://github.com/penpot/penpot-exporter-figma-plugin/wiki/Step-by-Step-guide-to-finding-Font-Ids-in-Penpot" href="https://github.com/penpot/penpot-exporter-figma-plugin/wiki/Step-by-Step-guide-to-finding-Font-Ids-in-Penpot"
target="_blank" target="_blank"
rel="noreferrer"
> >
step-by-step guide step-by-step guide
</Link>{' '} </Link>{' '}