ywana-core8 0.2.2 → 0.2.4
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/desktop/desktop.js +1 -12
package/package.json
CHANGED
package/src/desktop/desktop.js
CHANGED
@@ -90,18 +90,7 @@ export const Workspace = ({ children }) => {
|
|
90
90
|
statusBar={window.statusBar}
|
91
91
|
>
|
92
92
|
<div style={{ padding: '16px' }}>
|
93
|
-
|
94
|
-
<p><strong>ID:</strong> {window.id}</p>
|
95
|
-
<p><strong>Position:</strong> {window.position.x}, {window.position.y}</p>
|
96
|
-
<p><strong>Size:</strong> {window.size.width} × {window.size.height}</p>
|
97
|
-
<p><strong>Z-Index:</strong> {window.zIndex}</p>
|
98
|
-
<p><strong>Status:</strong> {window.minimized ? 'Minimized' : window.maximized ? 'Maximized' : 'Normal'}</p>
|
99
|
-
|
100
|
-
<div style={{ marginTop: '16px', padding: '12px', background: '#f8f9fa', borderRadius: '4px' }}>
|
101
|
-
<p><strong>Window Content Area</strong></p>
|
102
|
-
<p>This is where your application content would go.</p>
|
103
|
-
<p>The window is fully draggable and has working minimize, maximize, and close buttons.</p>
|
104
|
-
</div>
|
93
|
+
{window.content}
|
105
94
|
</div>
|
106
95
|
</Window>
|
107
96
|
))}
|