@prozilla-os/core 1.0.13 → 1.0.15

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <div align="center">
2
2
  <br />
3
3
  <p>
4
- <a href="https://os.prozilla.dev/"><img src="https://os.prozilla.dev/assets/logo.svg" height="200" alt="ProzillaOS" /></a>
4
+ <a href="https://os.prozilla.dev/"><img src="https://os.prozilla.dev/assets/logo.svg?v=2" height="200" alt="ProzillaOS" /></a>
5
5
  </p>
6
6
  <p>
7
7
  <a href="https://github.com/prozilla-os/ProzillaOS/blob/main/LICENSE.md"><img alt="License" src="https://img.shields.io/github/license/Prozilla/ProzillaOS?style=flat-square&color=FF4D5B&label=License"></a>
@@ -13,7 +13,7 @@
13
13
 
14
14
  ## About
15
15
 
16
- `@prozilla-os/core` is a React component library written in TypeScript for building web-based operating systems, made by Prozilla.
16
+ `@prozilla-os/core` is a React Vite component library written in TypeScript for building web-based operating systems, made by Prozilla.
17
17
 
18
18
  ## Installation
19
19
 
@@ -25,6 +25,8 @@ $ pnpm add @prozilla-os/core
25
25
 
26
26
  ## Usage
27
27
 
28
+ ### Basic setup
29
+
28
30
  ```tsx
29
31
  import { Desktop, ModalsView, ProzillaOS, Taskbar, WindowsView } from "@prozilla-os/core";
30
32
 
@@ -155,9 +157,11 @@ function App() {
155
157
  - [Website/demo][website]
156
158
  - [GitHub][github]
157
159
  - [npm][npm]
160
+ - [Discord][discord]
158
161
  - [Ko-fi][ko-fi]
159
162
 
160
163
  [website]: https://os.prozilla.dev/
161
164
  [github]: https://github.com/prozilla-os/ProzillaOS/tree/convert-to-monorepo/packages/core
162
165
  [npm]: https://www.npmjs.com/package/@prozilla-os/core
166
+ [discord]: https://discord.gg/JwbyQP4tdz
163
167
  [ko-fi]: https://ko-fi.com/prozilla
package/dist/main.d.ts CHANGED
@@ -145,6 +145,9 @@ export declare class AppsConfig {
145
145
  FileExplorer: string;
146
146
  Terminal: string;
147
147
  TextEditor: string;
148
+ Settings: string;
149
+ MediaViewer: string;
150
+ Browser: string;
148
151
  };
149
152
  constructor(options?: OptionalInterface<AppsConfigOptions>);
150
153
  getAppById(id: string): App | null;
@@ -308,6 +311,8 @@ export declare function getViewportParams(): Record<string, string>;
308
311
 
309
312
  export declare function HeaderMenu({ children, ...props }: ActionsProps): JSX_2.Element;
310
313
 
314
+ export declare const IMAGE_EXTENSIONS: string[];
315
+
311
316
  export declare function ImagePreview({ source, className, onError, ...props }: ImagePreviewProps): JSX_2.Element;
312
317
 
313
318
  declare interface ImagePreviewProps {