@kubohiroya/turbowarp-plus-editor-workbench 0.22.0 → 0.23.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.
|
@@ -28,6 +28,8 @@ const glyphs = {
|
|
|
28
28
|
open: 'M5 3h9l5 5v13H5z M14 3v5h5 M12 18v-7 M9 14l3-3 3 3',
|
|
29
29
|
'project-folder-open': 'M3 6h7l2 2h9l-2 11H3z M3 11h16',
|
|
30
30
|
'project-folder-open-browser': 'M4 4h16a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z M3 9h18 M6 6.5h.01 M8.5 6.5h.01 M11 6.5h.01',
|
|
31
|
+
// A remote Git repository: a cloud with an arrow down, fetched onto the device.
|
|
32
|
+
'git-open-remote': 'M7 18H6.5a4.5 4.5 0 0 1-.5-8.97A6 6 0 0 1 17.5 9a4.5 4.5 0 0 1 0 9H17 M12 12v9 M8.5 17.5 12 21l3.5-3.5',
|
|
31
33
|
'save-as': 'M4 3h13l3 3v15H4z M8 3v6h8V3 M9 17h6 M12 14v6',
|
|
32
34
|
download: 'M12 3v12 M7 10l5 5 5-5 M4 17v4h16v-4',
|
|
33
35
|
package: 'm12 3 8 4v10l-8 4-8-4V7z M4 7l8 4 8-4 M12 11v10 M8 5l8 4',
|
|
@@ -77,6 +77,8 @@ export default function ProjectFileMenu({ locale, MenuItem, MenuSection, close,
|
|
|
77
77
|
'This browser cannot open folders on your device. Use Chrome or Edge, or open a folder saved in this browser.']),
|
|
78
78
|
e.folder?.openBrowser && item(['project-folder-open-browser',
|
|
79
79
|
ja ? 'ブラウザーに保存したフォルダを開く…' : 'Open Folder Saved in This Browser…', e.folder.openBrowser]),
|
|
80
|
+
e.openRemote && item(['git-open-remote',
|
|
81
|
+
ja ? 'Git のリモートリポジトリを開く…' : 'Open Remote Git Repository…', e.openRemote]),
|
|
80
82
|
e.git,
|
|
81
83
|
e.externalYaml),
|
|
82
84
|
React.createElement(MenuSection, null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubohiroya/turbowarp-plus-editor-workbench",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "The TurboWarp Plus Editor workbench: layout, dockable sprite tabs, stage, debugger tab and file menu",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MPL-2.0",
|
|
@@ -38,6 +38,8 @@ const glyphs = {
|
|
|
38
38
|
open: 'M5 3h9l5 5v13H5z M14 3v5h5 M12 18v-7 M9 14l3-3 3 3',
|
|
39
39
|
'project-folder-open': 'M3 6h7l2 2h9l-2 11H3z M3 11h16',
|
|
40
40
|
'project-folder-open-browser': 'M4 4h16a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z M3 9h18 M6 6.5h.01 M8.5 6.5h.01 M11 6.5h.01',
|
|
41
|
+
// A remote Git repository: a cloud with an arrow down, fetched onto the device.
|
|
42
|
+
'git-open-remote': 'M7 18H6.5a4.5 4.5 0 0 1-.5-8.97A6 6 0 0 1 17.5 9a4.5 4.5 0 0 1 0 9H17 M12 12v9 M8.5 17.5 12 21l3.5-3.5',
|
|
41
43
|
'save-as': 'M4 3h13l3 3v15H4z M8 3v6h8V3 M9 17h6 M12 14v6',
|
|
42
44
|
download: 'M12 3v12 M7 10l5 5 5-5 M4 17v4h16v-4',
|
|
43
45
|
package: 'm12 3 8 4v10l-8 4-8-4V7z M4 7l8 4 8-4 M12 11v10 M8 5l8 4',
|
|
@@ -75,6 +75,7 @@ export default function ProjectFileMenu({locale, MenuItem, MenuSection, close, e
|
|
|
75
75
|
open: Action;
|
|
76
76
|
externalYaml?: React.ReactNode;
|
|
77
77
|
folder?: FolderActions;
|
|
78
|
+
openRemote?: Action;
|
|
78
79
|
storage: ProjectFileStorage;
|
|
79
80
|
saveAs?: Action;
|
|
80
81
|
saveCommit?: Action;
|
|
@@ -119,6 +120,8 @@ export default function ProjectFileMenu({locale, MenuItem, MenuSection, close, e
|
|
|
119
120
|
'This browser cannot open folders on your device. Use Chrome or Edge, or open a folder saved in this browser.'])}
|
|
120
121
|
{e.folder?.openBrowser && item(['project-folder-open-browser',
|
|
121
122
|
ja ? 'ブラウザーに保存したフォルダを開く…' : 'Open Folder Saved in This Browser…', e.folder.openBrowser])}
|
|
123
|
+
{e.openRemote && item(['git-open-remote',
|
|
124
|
+
ja ? 'Git のリモートリポジトリを開く…' : 'Open Remote Git Repository…', e.openRemote])}
|
|
122
125
|
{e.git}
|
|
123
126
|
{e.externalYaml}
|
|
124
127
|
</MenuSection>
|