plusui-native 0.2.97 → 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.97",
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.95",
31
- "plusui-native-connect": "^0.1.95"
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.95"
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
- <h1 class="title">{{PROJECT_NAME}}</h1>
16
-
17
- <section class="section">
18
- <h2>Window</h2>
19
- <div class="buttons">
20
- <button onClick={handleShow}>Show</button>
21
- <button onClick={handleHide}>Hide</button>
22
- <button onClick={handleMinimize}>Minimize</button>
23
- <button onClick={handleMaximize}>Maximize</button>
24
- <button onClick={handleRestore}>Restore</button>
25
- <button onClick={handleCenter}>Center</button>
26
- <button class="danger" onClick={handleClose}>Close</button>
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
- <section class="section">
31
- <h2>App</h2>
32
- <button class="danger" onClick={handleQuit}>Quit</button>
33
- </section>
34
+ <div class="card">
35
+ <h2>App</h2>
36
+ <button class="button button-danger" onClick={handleQuit}>Quit</button>
37
+ </div>
34
38
 
35
- <footer class="footer">
36
- <p>Edit <code>frontend/src/App.tsx</code> for UI</p>
37
- <p>Edit <code>main.cpp</code> for backend</p>
38
- </footer>
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
  }