plusui-native 0.2.41 → 0.2.42
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.42",
|
|
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-bindgen": "^0.1.
|
|
30
|
+
"plusui-native-builder": "^0.1.41",
|
|
31
|
+
"plusui-native-bindgen": "^0.1.41"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"plusui-native-bindgen": "^0.1.
|
|
34
|
+
"plusui-native-bindgen": "^0.1.41"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
@@ -211,26 +211,6 @@ function App() {
|
|
|
211
211
|
)}
|
|
212
212
|
</div>
|
|
213
213
|
|
|
214
|
-
<div className="ick={handleReload} className="button">Reload</button>
|
|
215
|
-
</div>
|
|
216
|
-
</div>
|
|
217
|
-
|
|
218
|
-
<div className="card">
|
|
219
|
-
<h2>Router (SPA Navigation)</h2>
|
|
220
|
-
<div className="button-group">
|
|
221
|
-
<button onClick={handleGoHome} className="button">Home /</button>
|
|
222
|
-
<button onClick={handleGoSettings} className="button">Settings</button>
|
|
223
|
-
</div>
|
|
224
|
-
<p style={{ fontSize: '0.85em', color: '#666', marginTop: '10px' }}>
|
|
225
|
-
Define routes with <code>router.setRoutes({'{ ... }'})</code> then navigate with <code>router.push('/path')</code>
|
|
226
|
-
</p>
|
|
227
|
-
</div>
|
|
228
|
-
|
|
229
|
-
<div className="card">
|
|
230
|
-
<h2>App Control</h2>
|
|
231
|
-
<button onClick={handleQuit} className="button button-danger">Quit App</button>
|
|
232
|
-
</div>
|
|
233
|
-
|
|
234
214
|
<div className="info">
|
|
235
215
|
<p>Edit <code>frontend/src/App.tsx</code> to modify the UI.</p>
|
|
236
216
|
<p>Edit <code>main.cpp</code> to add C++ functionality.</p>
|