plusui-native-core 0.1.84 → 0.1.85

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.
Files changed (2) hide show
  1. package/Core/API/index.ts +40 -0
  2. package/package.json +1 -1
package/Core/API/index.ts CHANGED
@@ -31,6 +31,8 @@ export { fileDrop } from '../Features/FileDrop/filedrop';
31
31
  export { menu } from '../Features/Menu/menu';
32
32
  export { app } from '../Features/App/app';
33
33
  export { gpu } from '../Features/WebGPU/webgpu';
34
+ export { browser } from '../Features/Browser/browser';
35
+ export { router } from '../Features/Router/router';
34
36
 
35
37
  // ============================================================
36
38
  // CUSTOM CHANNELS - For user-defined events (uses .on/.emit)
@@ -128,3 +130,41 @@ export {
128
130
  isTextFile,
129
131
  formatFileSize
130
132
  } from '../Features/FileDrop/filedrop';
133
+
134
+ // ============================================================
135
+ // DEFAULT EXPORT - For `import plusui from 'plusui'` convenience
136
+ // ============================================================
137
+
138
+ import { window } from '../Features/Window/window';
139
+ import { clipboard } from '../Features/Clipboard/clipboard';
140
+ import { keyboard } from '../Features/Keyboard/keyboard';
141
+ import { tray } from '../Features/Tray/tray';
142
+ import { display } from '../Features/Display/display';
143
+ import { fileDrop, formatFileSize } from '../Features/FileDrop/filedrop';
144
+ import { menu } from '../Features/Menu/menu';
145
+ import { app } from '../Features/App/app';
146
+ import { gpu } from '../Features/WebGPU/webgpu';
147
+ import { browser } from '../Features/Browser/browser';
148
+ import { router } from '../Features/Router/router';
149
+ import { connect, createChannel, createFeatureConnect } from './Connect_API';
150
+
151
+ const plusui = {
152
+ window,
153
+ win: window, // Alias for backward compatibility
154
+ clipboard,
155
+ keyboard,
156
+ tray,
157
+ display,
158
+ fileDrop,
159
+ menu,
160
+ app,
161
+ gpu,
162
+ browser,
163
+ router,
164
+ connect,
165
+ createChannel,
166
+ createFeatureConnect,
167
+ formatFileSize
168
+ };
169
+
170
+ export default plusui;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plusui-native-core",
3
- "version": "0.1.84",
3
+ "version": "0.1.85",
4
4
  "description": "PlusUI Core framework (frontend + backend implementations)",
5
5
  "type": "module",
6
6
  "exports": {