@fungi.computer/tourtois 0.12.10 → 0.12.11
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/desktop/welcome.css +2 -6
- package/dist/desktop-layout.js +11 -12
- package/package.json +2 -2
package/dist/desktop/welcome.css
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
/* The first-run welcome
|
|
1
|
+
/* The first-run welcome shares the Launcher surface. */
|
|
2
2
|
.tourtois-welcome {
|
|
3
3
|
display: flex;
|
|
4
4
|
align-items: center;
|
|
5
5
|
gap: var(--spacing-lg);
|
|
6
6
|
padding: var(--spacing-md) var(--spacing-lg);
|
|
7
7
|
margin-block-end: var(--spacing-lg);
|
|
8
|
-
/*
|
|
8
|
+
/* Align the invitation with the App tiles inside the Launcher. */
|
|
9
9
|
margin-inline: calc(var(--spacing-sm) + 1px);
|
|
10
|
-
border: var(--border) solid
|
|
11
|
-
color-mix(in oklab, var(--color-base-content) 12%, transparent);
|
|
12
|
-
border-radius: var(--radius-box);
|
|
13
|
-
background: color-mix(in oklab, var(--color-base-100) 70%, transparent);
|
|
14
10
|
}
|
|
15
11
|
.tourtois-welcome-mascot {
|
|
16
12
|
display: block;
|
package/dist/desktop-layout.js
CHANGED
|
@@ -128,31 +128,30 @@ export function availableDesktopLayout(layout, catalog) {
|
|
|
128
128
|
export function initialDesktopLayout(catalog, inboxSurfaceId) {
|
|
129
129
|
const inbox = catalog.find((gill) => gill.kind === "app" &&
|
|
130
130
|
gill.surfaceId === inboxSurfaceId &&
|
|
131
|
-
gill.sizes.includes("L"));
|
|
131
|
+
(gill.sizes.includes("M") || gill.sizes.includes("L")));
|
|
132
132
|
return {
|
|
133
133
|
version: 1,
|
|
134
134
|
items: [
|
|
135
|
+
{
|
|
136
|
+
id: "launcher",
|
|
137
|
+
surfaceId: "tourtois",
|
|
138
|
+
gillId: "launcher",
|
|
139
|
+
size: "L",
|
|
140
|
+
col: inbox ? 0 : 1,
|
|
141
|
+
row: 0,
|
|
142
|
+
},
|
|
135
143
|
...(inbox
|
|
136
144
|
? [
|
|
137
145
|
{
|
|
138
146
|
id: "inbox",
|
|
139
147
|
surfaceId: inbox.surfaceId,
|
|
140
148
|
gillId: inbox.gillId,
|
|
141
|
-
size: "L",
|
|
142
|
-
col:
|
|
149
|
+
size: inbox.sizes.includes("M") ? "M" : "L",
|
|
150
|
+
col: 2,
|
|
143
151
|
row: 0,
|
|
144
152
|
},
|
|
145
153
|
]
|
|
146
154
|
: []),
|
|
147
|
-
{
|
|
148
|
-
id: "launcher",
|
|
149
|
-
surfaceId: "tourtois",
|
|
150
|
-
gillId: "launcher",
|
|
151
|
-
// Alone, the Launcher is the desktop: wide and centred in four columns.
|
|
152
|
-
size: inbox ? "M" : "L",
|
|
153
|
-
col: inbox ? 2 : 1,
|
|
154
|
-
row: 0,
|
|
155
|
-
},
|
|
156
155
|
],
|
|
157
156
|
launcher: { pinned: [], hidden: [] },
|
|
158
157
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/tourtois",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.11",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"description": "Tourtois: the trusted desktop shell for Oyster and Fungi, with host-supplied Settings sections",
|
|
6
6
|
"type": "module",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"react": "^18.3.1 || ^19.2.0"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@fungi.computer/oyster": "0.19.
|
|
109
|
+
"@fungi.computer/oyster": "0.19.18",
|
|
110
110
|
"@cloudflare/workers-types": "5.20260828.1",
|
|
111
111
|
"@fungi.computer/forage": "0.3.5",
|
|
112
112
|
"@fungi.computer/mycelium": "0.3.8",
|