@fde-desktop/fde-core 0.4.4 → 0.4.5
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 +5 -5
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -20,13 +20,14 @@ yarn add @fde-desktop/fde-core
|
|
|
20
20
|
bun add @fde-desktop/fde-core
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
You also need to import
|
|
23
|
+
You also need to import the package styles in your entry point:
|
|
24
24
|
|
|
25
25
|
```tsx
|
|
26
|
-
import '@
|
|
27
|
-
import '@mantine/dates/styles.css';
|
|
26
|
+
import '@fde-desktop/fde-core/dist/index.css';
|
|
28
27
|
```
|
|
29
28
|
|
|
29
|
+
This single import includes all required styles (Mantine, component styles, etc.).
|
|
30
|
+
|
|
30
31
|
## Peer Dependencies
|
|
31
32
|
|
|
32
33
|
- `react` ^19.0.0
|
|
@@ -38,8 +39,7 @@ The simplest way is to use the `FdeDesktop` component:
|
|
|
38
39
|
|
|
39
40
|
```tsx
|
|
40
41
|
import { FdeDesktop, type AppRegistryEntry } from '@fde-desktop/fde-core';
|
|
41
|
-
import '@
|
|
42
|
-
import '@mantine/dates/styles.css';
|
|
42
|
+
import '@fde-desktop/fde-core/dist/index.css';
|
|
43
43
|
|
|
44
44
|
// Define your custom apps (optional)
|
|
45
45
|
const myApps: Record<string, AppRegistryEntry> = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fde-desktop/fde-core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Core library for building FDE Desktop environments",
|
|
6
6
|
"author": "Francisco Núñez Palomares (frannunpal@gmail.com)",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"types": "./dist/index.d.cts",
|
|
19
19
|
"default": "./dist/index.cjs"
|
|
20
20
|
}
|
|
21
|
-
}
|
|
21
|
+
},
|
|
22
|
+
"./dist/index.css": "./dist/index.css"
|
|
22
23
|
},
|
|
23
24
|
"files": [
|
|
24
25
|
"dist"
|