@prozilla-os/file-explorer 1.0.6 → 1.0.7
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 +2 -112
- package/package.json +2 -2
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.
|
|
4
|
+
<a href="https://os.prozilla.dev/"><img src="https://os.prozilla.dev/assets/logo.svg" 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>
|
|
@@ -35,7 +35,7 @@ function App() {
|
|
|
35
35
|
return (
|
|
36
36
|
<ProzillaOS
|
|
37
37
|
systemName="Example"
|
|
38
|
-
tagLine="
|
|
38
|
+
tagLine="Powered by ProzillaOS"
|
|
39
39
|
config={{
|
|
40
40
|
apps: new AppsConfig({
|
|
41
41
|
apps: [ fileExplorer ]
|
|
@@ -51,116 +51,6 @@ function App() {
|
|
|
51
51
|
}
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
<br />
|
|
55
|
-
|
|
56
|
-
### `<ProzillaOS>` props
|
|
57
|
-
|
|
58
|
-
```tsx
|
|
59
|
-
{
|
|
60
|
-
|
|
61
|
-
systemName: string,
|
|
62
|
-
|
|
63
|
-
tagLine: string,
|
|
64
|
-
|
|
65
|
-
config: {
|
|
66
|
-
apps: {
|
|
67
|
-
|
|
68
|
-
apps: App[]
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
desktop: {
|
|
72
|
-
|
|
73
|
-
/** Array of URLs of wallpaper images */
|
|
74
|
-
wallpapers: string[];
|
|
75
|
-
|
|
76
|
-
/** URL of default wallpaper image */
|
|
77
|
-
defaultWallpaper: string;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* @default 1
|
|
81
|
-
*/
|
|
82
|
-
defaultIconSize: 0 | 1 | 2;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* 0: vertical, 1: horizontal
|
|
86
|
-
* @default 0
|
|
87
|
-
* */
|
|
88
|
-
defaultIconDirection: 0 | 1;
|
|
89
|
-
|
|
90
|
-
},
|
|
91
|
-
modals: {
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Default size of a dialog box
|
|
95
|
-
* @default new Vector2(400, 200)
|
|
96
|
-
*/
|
|
97
|
-
defaultDialogSize: Vector2;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Default size of a file selector
|
|
101
|
-
* @default new Vector2(700, 400)
|
|
102
|
-
*/
|
|
103
|
-
defaultFileSelectorSize: Vector2;
|
|
104
|
-
|
|
105
|
-
},
|
|
106
|
-
taskbar: {
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Height of the taskbar in CSS pixels
|
|
110
|
-
* @default 3 * 16
|
|
111
|
-
*/
|
|
112
|
-
height: number;
|
|
113
|
-
|
|
114
|
-
},
|
|
115
|
-
tracking: {
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Enable tracking
|
|
119
|
-
* @default true
|
|
120
|
-
*/
|
|
121
|
-
enabled: boolean;
|
|
122
|
-
|
|
123
|
-
/** Google Analytics measurement ID */
|
|
124
|
-
GAMeasurementId: string;
|
|
125
|
-
|
|
126
|
-
},
|
|
127
|
-
virtualDrive: {
|
|
128
|
-
|
|
129
|
-
fileIcon: string;
|
|
130
|
-
infoFileIcon: string;
|
|
131
|
-
textFileIcon: string;
|
|
132
|
-
codeFileIcon: string;
|
|
133
|
-
|
|
134
|
-
folderIcon: string;
|
|
135
|
-
imagesFolderIcon: string;
|
|
136
|
-
textFolderIcon: string;
|
|
137
|
-
folderLinkIcon: string;
|
|
138
|
-
|
|
139
|
-
},
|
|
140
|
-
windows: {
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* @default 32
|
|
144
|
-
*/
|
|
145
|
-
screenMargin: number;
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* @default "-"
|
|
149
|
-
*/
|
|
150
|
-
titleSeparator: string;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* If the user's screen is smaller than these values, windows will always be maximized
|
|
154
|
-
* @default new Vector2(350, 350)
|
|
155
|
-
*/
|
|
156
|
-
minScreenSize: Vector2;
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
```
|
|
163
|
-
|
|
164
54
|
## Links
|
|
165
55
|
|
|
166
56
|
- [Website/demo][website]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prozilla-os/file-explorer",
|
|
3
3
|
"description": "A standard ProzillaOS application for browsing files.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.7",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Prozilla",
|
|
7
7
|
"email": "business@prozilla.dev",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@fortawesome/free-solid-svg-icons": "^6.5.2",
|
|
21
21
|
"@fortawesome/react-fontawesome": "^0.2.2",
|
|
22
22
|
"react": "^18.3.1",
|
|
23
|
-
"@prozilla-os/core": "1.0.
|
|
23
|
+
"@prozilla-os/core": "1.0.10"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"typescript": "^5.4.5"
|