plusui-native 0.2.98 → 0.2.99
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "plusui-native",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.99",
|
|
4
4
|
"description": "PlusUI CLI - Build C++ desktop apps modern UI ",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"semver": "^7.6.0",
|
|
28
28
|
"which": "^4.0.0",
|
|
29
29
|
"execa": "^8.0.1",
|
|
30
|
-
"plusui-native-builder": "^0.1.
|
|
31
|
-
"plusui-native-connect": "^0.1.
|
|
30
|
+
"plusui-native-builder": "^0.1.97",
|
|
31
|
+
"plusui-native-connect": "^0.1.97"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"plusui-native-connect": "^0.1.
|
|
34
|
+
"plusui-native-connect": "^0.1.97"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
@@ -12,30 +12,35 @@ function App() {
|
|
|
12
12
|
|
|
13
13
|
return (
|
|
14
14
|
<div class="app">
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
15
|
+
<header class="app-header">
|
|
16
|
+
<h1>{'{{PROJECT_NAME}}'}</h1>
|
|
17
|
+
<p>Built with PlusUI</p>
|
|
18
|
+
</header>
|
|
19
|
+
|
|
20
|
+
<main class="app-content">
|
|
21
|
+
<div class="card">
|
|
22
|
+
<h2>Window</h2>
|
|
23
|
+
<div class="button-group">
|
|
24
|
+
<button class="button" onClick={handleShow}>Show</button>
|
|
25
|
+
<button class="button" onClick={handleHide}>Hide</button>
|
|
26
|
+
<button class="button" onClick={handleMinimize}>Minimize</button>
|
|
27
|
+
<button class="button" onClick={handleMaximize}>Maximize</button>
|
|
28
|
+
<button class="button" onClick={handleRestore}>Restore</button>
|
|
29
|
+
<button class="button" onClick={handleCenter}>Center</button>
|
|
30
|
+
<button class="button button-danger" onClick={handleClose}>Close</button>
|
|
31
|
+
</div>
|
|
27
32
|
</div>
|
|
28
|
-
</section>
|
|
29
33
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
<div class="card">
|
|
35
|
+
<h2>App</h2>
|
|
36
|
+
<button class="button button-danger" onClick={handleQuit}>Quit</button>
|
|
37
|
+
</div>
|
|
34
38
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
+
<div class="info">
|
|
40
|
+
<p>Edit <code>frontend/src/App.tsx</code> for UI</p>
|
|
41
|
+
<p>Edit <code>main.cpp</code> for backend</p>
|
|
42
|
+
</div>
|
|
43
|
+
</main>
|
|
39
44
|
</div>
|
|
40
45
|
);
|
|
41
46
|
}
|