-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactors, switched to create-figma-plugin * Improved previewing * Update esbuild-wasm * Finished variant styling * Fix text width * Update marketing
- Loading branch information
Showing
73 changed files
with
4,866 additions
and
1,685 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Project | ||
dist/ | ||
build/ | ||
.ref/ | ||
TODO.md | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"json.schemas": [ | ||
{ | ||
"fileMatch": [ | ||
"package.json" | ||
], | ||
"url": "https://yuanqing.github.io/create-figma-plugin/figma-plugin.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// @ts-check | ||
/** | ||
* @param buildOptions {Partial<import('esbuild').BuildOptions>} | ||
* @returns {Partial<import('esbuild').BuildOptions>} | ||
*/ | ||
module.exports = (buildOptions) => { | ||
return { | ||
...buildOptions, | ||
target: 'es2020', | ||
loader: { | ||
'.tpl.tsx': 'base64', | ||
'.tpl.html': 'base64', | ||
}, | ||
define: { | ||
global: 'window', | ||
}, | ||
}; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,10 @@ | ||
{ | ||
"api": "1.0.0", | ||
"name": "Figma -> React Native", | ||
"editorType": ["figma"], | ||
"editorType": [ | ||
"figma" | ||
], | ||
"id": "821138713091291738", | ||
"ui": "dist/index.html", | ||
"main": "dist/main.js", | ||
"parameterOnly": false, | ||
"menu": [ | ||
{"name": "Component Inspector", "command": "show"}, | ||
{ | ||
"name": "Export Components", | ||
"menu": [ | ||
{"name": "Document", "command": "export-doc"}, | ||
{"name": "Current Page", "command": "export-page"}, | ||
{"name": "Selected Component", "command": "export-selected"} | ||
] | ||
} | ||
] | ||
"name": "Figma -> React Native", | ||
"main": "build/main.js", | ||
"ui": "build/ui.js" | ||
} |
Oops, something went wrong.