prozilla-os 1.1.1 → 1.1.2

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/README.md +43 -24
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  `prozilla-os` is a React Vite component library written in TypeScript for building web-based operating systems, made by Prozilla. This package combines multiple other packages for easy access to different ProzillaOS features. You can also download these packages separately instead.
17
17
 
18
- **Live demo: [os.prozilla.dev][website]** - [(source)][website-source]
18
+ **Live demo: [os.prozilla.dev][demo]** - [(source)][website-source]
19
19
 
20
20
  ## Installation
21
21
 
@@ -61,15 +61,43 @@ function App() {
61
61
 
62
62
  <br />
63
63
 
64
- ### `<ProzillaOS>` props
64
+ ### Configuration
65
65
 
66
66
  ```tsx
67
- {
67
+ interface ProzillaOSProps {
68
68
 
69
69
  systemName: string,
70
70
 
71
71
  tagLine: string,
72
72
 
73
+ skin: new Skin({
74
+
75
+ appIcons: Record<number, string> | undefined,
76
+
77
+ appNames: Record<number, string> | undefined,
78
+
79
+ wallpapers: string[],
80
+
81
+ defaultWallpaper: string,
82
+
83
+ fileIcons: {
84
+ generic: string;
85
+ info: string | undefined;
86
+ text: string | undefined;
87
+ code: string | undefined;
88
+ },
89
+
90
+ folderIcons: {
91
+ generic: string;
92
+ images: string | undefined;
93
+ text: string | undefined;
94
+ link: string | undefined;
95
+ },
96
+
97
+ loadStyleSheet: () => void | undefined
98
+
99
+ })
100
+
73
101
  config: {
74
102
  apps: new AppsConfig({
75
103
 
@@ -78,12 +106,6 @@ function App() {
78
106
  }),
79
107
  desktop: new DesktopConfig({
80
108
 
81
- /** Array of URLs of wallpaper images */
82
- wallpapers: string[],
83
-
84
- /** URL of default wallpaper image */
85
- defaultWallpaper: string,
86
-
87
109
  /**
88
110
  * @default 1
89
111
  */
@@ -96,6 +118,14 @@ function App() {
96
118
  defaultIconDirection: 0 | 1
97
119
 
98
120
  }),
121
+ misc: new MiscConfig({
122
+
123
+ /**
124
+ * @default 250
125
+ */
126
+ doubleClickDelay: number
127
+
128
+ })
99
129
  modals: new ModalsConfig({
100
130
 
101
131
  /**
@@ -131,19 +161,6 @@ function App() {
131
161
  /** Google Analytics measurement ID */
132
162
  GAMeasurementId: string
133
163
 
134
- }),
135
- virtualDrive: new VirtualDriveConfig({
136
-
137
- fileIcon: string,
138
- infoFileIcon: string,
139
- textFileIcon: string,
140
- codeFileIcon: string,
141
-
142
- folderIcon: string,
143
- imagesFolderIcon: string,
144
- textFolderIcon: string,
145
- folderLinkIcon: string
146
-
147
164
  }),
148
165
  windows: new WindowsConfig({
149
166
 
@@ -171,13 +188,15 @@ function App() {
171
188
 
172
189
  ## Links
173
190
 
174
- - [Website/demo][website]
191
+ - [Demo][demo]
192
+ - [Docs][docs]
175
193
  - [GitHub][github]
176
194
  - [npm][npm]
177
195
  - [Discord][discord]
178
196
  - [Ko-fi][ko-fi]
179
197
 
180
- [website]: https://os.prozilla.dev/
198
+ [demo]: https://os.prozilla.dev/
199
+ [docs]: https://os.prozilla.dev/docs/reference/prozilla-os
181
200
  [website-source]: https://github.com/prozilla-os/ProzillaOS
182
201
  [github]: https://github.com/prozilla-os/ProzillaOS/tree/main/packages/prozilla-os
183
202
  [npm]: https://www.npmjs.com/package/prozilla-os
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prozilla-os",
3
3
  "description": "a React component library written in TypeScript for building web-based operating systems, made by Prozilla.",
4
- "version": "1.1.1",
4
+ "version": "1.1.2",
5
5
  "homepage": "https://os.prozilla.dev",
6
6
  "author": {
7
7
  "name": "Prozilla",
@@ -20,14 +20,14 @@
20
20
  "dependencies": {
21
21
  "@fortawesome/fontawesome-svg-core": "^6.5.2",
22
22
  "react-ga4": "^2.1.0",
23
- "@prozilla-os/browser": "1.0.4",
24
- "@prozilla-os/calculator": "1.0.4",
25
- "@prozilla-os/media-viewer": "1.0.4",
26
- "@prozilla-os/core": "1.1.1",
27
- "@prozilla-os/file-explorer": "1.0.15",
28
- "@prozilla-os/settings": "1.0.4",
29
- "@prozilla-os/text-editor": "1.0.8",
30
- "@prozilla-os/terminal": "1.0.8"
23
+ "@prozilla-os/file-explorer": "1.0.16",
24
+ "@prozilla-os/calculator": "1.0.5",
25
+ "@prozilla-os/browser": "1.0.5",
26
+ "@prozilla-os/core": "1.1.2",
27
+ "@prozilla-os/media-viewer": "1.0.5",
28
+ "@prozilla-os/settings": "1.0.5",
29
+ "@prozilla-os/terminal": "1.0.9",
30
+ "@prozilla-os/text-editor": "1.0.9"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "^20.14.5",