Skip to content

Commit 639ae0d

Browse files
authored
feat: add "documentAccess": "dynamic-page" to manifest (#323)
* refactor: additional code linting and formatting * feat: add "documentAccess": "dynamic-page" and required code updates * refactor: amend async logic in getVariables
1 parent 7212c87 commit 639ae0d

30 files changed

+109116
-2678
lines changed

dist/plugin.js

Lines changed: 3965 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ui.html

Lines changed: 50863 additions & 590 deletions
Large diffs are not rendered by default.

dist/ui.js

Lines changed: 50863 additions & 590 deletions
Large diffs are not rendered by default.

manifest.json

Lines changed: 42 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,49 @@
44
"api": "1.0.0",
55
"main": "dist/plugin.js",
66
"ui": "dist/ui.html",
7-
"editorType": ["figma"],
7+
"editorType": [
8+
"figma"
9+
],
810
"networkAccess": {
9-
"allowedDomains": ["*"],
11+
"allowedDomains": [
12+
"*"
13+
],
1014
"reasoning": "Wildcard is needed to use the plugin with companies' self-hosted CI instance"
1115
},
1216
"menu": [
13-
{ "name": "Export Design Token File", "command": "export" },
14-
{ "name": "Send Design Tokens to Url", "command": "urlExport" },
15-
{ "separator": true },
16-
{ "name": "Settings", "command": "generalSettings" },
17-
{ "separator": true },
18-
{ "name": "Help", "command": "help" },
19-
{ "name": "Demo file", "command": "demo" },
20-
{ "separator": true },
21-
{ "name": "Reset Settings", "command": "reset" }
22-
]
23-
}
17+
{
18+
"name": "Export Design Token File",
19+
"command": "export"
20+
},
21+
{
22+
"name": "Send Design Tokens to Url",
23+
"command": "urlExport"
24+
},
25+
{
26+
"separator": true
27+
},
28+
{
29+
"name": "Settings",
30+
"command": "generalSettings"
31+
},
32+
{
33+
"separator": true
34+
},
35+
{
36+
"name": "Help",
37+
"command": "help"
38+
},
39+
{
40+
"name": "Demo file",
41+
"command": "demo"
42+
},
43+
{
44+
"separator": true
45+
},
46+
{
47+
"name": "Reset Settings",
48+
"command": "reset"
49+
}
50+
],
51+
"documentAccess": "dynamic-page"
52+
}

0 commit comments

Comments
 (0)