@shellui/core 0.5.0-beta.1 → 0.5.0-beta.3

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 (47) hide show
  1. package/package.json +2 -2
  2. package/schemas/shellui.config.schema.json +10 -2
  3. package/src/components/ContentView.tsx +12 -5
  4. package/src/components/ui/alert-dialog.tsx +1 -1
  5. package/src/components/ui/sidebar.tsx +60 -21
  6. package/src/features/admin/AdminView.tsx +31 -2
  7. package/src/features/auth/components/LoginButton.tsx +3 -3
  8. package/src/features/auth/components/LoginView.tsx +74 -28
  9. package/src/features/config/types.ts +16 -2
  10. package/src/features/layouts/AppLayout.tsx +30 -3
  11. package/src/features/layouts/OverlayShell.tsx +3 -1
  12. package/src/features/layouts/app-bar-inset/AppBarInsetLayout.tsx +22 -0
  13. package/src/features/layouts/appbar/AppBarLayout.tsx +98 -33
  14. package/src/features/layouts/chrome/CollapsedDesktopTitlebar.tsx +18 -10
  15. package/src/features/layouts/chrome/ContentDragOverlay.tsx +1 -1
  16. package/src/features/layouts/chrome/DesktopChrome.tsx +1 -1
  17. package/src/features/layouts/chrome/SafeAreaTopbar.tsx +48 -0
  18. package/src/features/layouts/chrome/constants.ts +7 -1
  19. package/src/features/layouts/chrome/index.ts +5 -0
  20. package/src/features/layouts/chrome/runtime.ts +157 -7
  21. package/src/features/layouts/floating/FloatingFadeMask.tsx +22 -0
  22. package/src/features/layouts/floating/FloatingLayout.tsx +142 -0
  23. package/src/features/layouts/floating/FloatingSidebar.tsx +327 -0
  24. package/src/features/layouts/floating/FloatingTabBar.tsx +437 -0
  25. package/src/features/layouts/floating/FloatingTabIndicator.tsx +216 -0
  26. package/src/features/layouts/floating/computeFloatingInsets.spec.ts +83 -0
  27. package/src/features/layouts/floating/computeFloatingInsets.ts +103 -0
  28. package/src/features/layouts/floating/isShellOwnedPath.spec.ts +23 -0
  29. package/src/features/layouts/floating/isShellOwnedPath.ts +16 -0
  30. package/src/features/layouts/floating/layoutChromeStore.ts +46 -0
  31. package/src/features/layouts/floating/scrollChrome.spec.ts +49 -0
  32. package/src/features/layouts/floating/useFloatingChrome.ts +216 -0
  33. package/src/features/layouts/fullscreen/FullscreenLayout.tsx +9 -4
  34. package/src/features/layouts/sidebar/SidebarInner.tsx +25 -29
  35. package/src/features/layouts/sidebar/SidebarLayout.tsx +41 -36
  36. package/src/features/layouts/sidebar/types.ts +4 -0
  37. package/src/features/layouts/sidebar-inset/SidebarInsetLayout.tsx +15 -0
  38. package/src/features/settings/SettingsProvider.tsx +7 -0
  39. package/src/features/settings/SettingsView.tsx +6 -6
  40. package/src/features/settings/components/Develop.tsx +31 -13
  41. package/src/features/settings/utils/buildSettingsForPropagation.ts +16 -0
  42. package/src/features/storage/StoragePickerContext.tsx +1 -0
  43. package/src/hooks/use-viewport.ts +40 -0
  44. package/src/i18n/translations/en/settings.json +8 -2
  45. package/src/i18n/translations/fr/settings.json +8 -2
  46. package/src/index.css +339 -15
  47. package/src/routes/components/RouteFallback.tsx +6 -2
package/src/index.css CHANGED
@@ -43,6 +43,15 @@
43
43
  --sidebar-border: oklch(0.9276 0.0059 264.5182);
44
44
  --sidebar-ring: oklch(0.6894 0.1397 83.6763);
45
45
  --sidebar: var(--sidebar-background);
46
+ /* Tray behind inset content — slight darken of sidebar for edge contrast. */
47
+ --shellui-inset-chrome: color-mix(in oklch, var(--sidebar) 97%, black);
48
+ /* Hover / selected chips on the inset tray — subtle contrast against chrome. */
49
+ --shellui-inset-accent: color-mix(
50
+ in oklch,
51
+ var(--shellui-inset-chrome) 90%,
52
+ var(--sidebar-foreground)
53
+ );
54
+ --shellui-inset-accent-foreground: var(--sidebar-foreground);
46
55
  }
47
56
 
48
57
  .dark {
@@ -75,6 +84,15 @@
75
84
  --sidebar-border: oklch(0.2781 0.0296 256.8577);
76
85
  --sidebar-ring: oklch(0.8061 0.1364 84.8895);
77
86
  --sidebar: var(--sidebar-background);
87
+ /* Dark: lift the tray slightly — sidebar is already lighter than background, so darkening hides the edge. */
88
+ --shellui-inset-chrome: color-mix(in oklch, var(--sidebar) 88%, white);
89
+ /* Hover / selected chips on the inset tray — subtle contrast against chrome. */
90
+ --shellui-inset-accent: color-mix(
91
+ in oklch,
92
+ var(--shellui-inset-chrome) 88%,
93
+ var(--sidebar-foreground)
94
+ );
95
+ --shellui-inset-accent-foreground: var(--sidebar-foreground);
78
96
  }
79
97
 
80
98
  /*
@@ -97,14 +115,257 @@
97
115
  }
98
116
 
99
117
  /*
100
- * Content padding that clears the notch / home indicator while keeping a minimum
101
- * inset. Override mins with --shellui-safe-pad-x / --shellui-safe-pad-y.
118
+ * Content padding that clears the notch / home indicator, then keeps the
119
+ * configured inset beyond that edge. Override with --shellui-safe-pad-x / -y.
102
120
  */
103
121
  .shellui-safe-pad {
104
- padding-top: max(var(--shellui-safe-pad-y, 1.5rem), var(--shellui-safe-area-top));
105
- padding-right: max(var(--shellui-safe-pad-x, 1.5rem), var(--shellui-safe-area-right));
106
- padding-bottom: max(var(--shellui-safe-pad-y, 1.5rem), var(--shellui-safe-area-bottom));
107
- padding-left: max(var(--shellui-safe-pad-x, 1.5rem), var(--shellui-safe-area-left));
122
+ padding-top: calc(var(--shellui-safe-pad-y, 1.5rem) + var(--shellui-safe-area-top));
123
+ padding-right: calc(var(--shellui-safe-pad-x, 1.5rem) + var(--shellui-safe-area-right));
124
+ padding-bottom: calc(var(--shellui-safe-pad-y, 1.5rem) + var(--shellui-safe-area-bottom));
125
+ padding-left: calc(var(--shellui-safe-pad-x, 1.5rem) + var(--shellui-safe-area-left));
126
+ }
127
+
128
+ /*
129
+ * Floating layout glass chrome (frosted blur + translucent fill).
130
+ * Colors follow sidebar tokens so themes restyle chrome with the rest of nav.
131
+ *
132
+ * Radius:
133
+ * - Desktop sidebar: theme radius, capped at 0.5rem
134
+ * - Mobile tab bar: binary — 0 when theme radius is 0, else full pill (50%)
135
+ */
136
+ :root {
137
+ --shellui-inset-top: 0px;
138
+ --shellui-inset-right: 0px;
139
+ --shellui-inset-bottom: 0px;
140
+ --shellui-inset-left: 0px;
141
+ --shellui-floating-sidebar-radius: min(var(--radius), 5rem);
142
+ /* Any positive --radius → huge radius (pill); 0 → square. */
143
+ --shellui-floating-mobile-radius: calc(var(--radius) * 999);
144
+ }
145
+
146
+ .shellui-floating-glass {
147
+ color: var(--sidebar-foreground);
148
+ background:
149
+ linear-gradient(
150
+ 145deg,
151
+ color-mix(in oklch, white 40%, transparent) 0%,
152
+ color-mix(in oklch, white 10%, transparent) 42%,
153
+ color-mix(in oklch, white 16%, transparent) 100%
154
+ ),
155
+ /* Frost from sidebar surface so chrome tracks theme, not raw background grey */
156
+ color-mix(in oklch, var(--sidebar) 82%, transparent);
157
+ backdrop-filter: blur(40px) saturate(160%);
158
+ -webkit-backdrop-filter: blur(40px) saturate(160%);
159
+ border: 1px solid color-mix(in oklch, var(--sidebar-border) 80%, transparent);
160
+ box-shadow:
161
+ 0 1px 0 color-mix(in oklch, white 40%, transparent) inset,
162
+ 0 -1px 0 color-mix(in oklch, black 6%, transparent) inset,
163
+ 0 10px 32px color-mix(in oklch, black 14%, transparent),
164
+ 0 2px 6px color-mix(in oklch, black 6%, transparent);
165
+ }
166
+
167
+ .shellui-floating-sidebar-panel .shellui-floating-glass,
168
+ .shellui-floating-sidebar-chip .shellui-floating-glass {
169
+ border-radius: var(--shellui-floating-sidebar-radius);
170
+ }
171
+
172
+ [data-shellui-floating-tabbar] > .shellui-floating-glass {
173
+ border-radius: var(--shellui-floating-mobile-radius);
174
+ }
175
+
176
+ .dark .shellui-floating-glass {
177
+ background:
178
+ linear-gradient(
179
+ 145deg,
180
+ color-mix(in oklch, white 16%, transparent) 0%,
181
+ color-mix(in oklch, white 4%, transparent) 45%,
182
+ color-mix(in oklch, white 9%, transparent) 100%
183
+ ),
184
+ color-mix(in oklch, var(--sidebar) 78%, transparent);
185
+ border-color: color-mix(in oklch, var(--sidebar-border) 90%, transparent);
186
+ box-shadow:
187
+ 0 1px 0 color-mix(in oklch, white 12%, transparent) inset,
188
+ 0 -1px 0 color-mix(in oklch, black 30%, transparent) inset,
189
+ 0 14px 40px color-mix(in oklch, black 40%, transparent),
190
+ 0 2px 8px color-mix(in oklch, black 22%, transparent);
191
+ }
192
+
193
+ /*
194
+ * Floating More sheet — mostly opaque sidebar fill.
195
+ * backdrop-filter cannot blur cross-origin / iframe content behind the shell,
196
+ * so readability comes from density, not real frost of the page.
197
+ */
198
+ .shellui-floating-glass-menu {
199
+ border-radius: min(var(--radius), 0.5rem);
200
+ background:
201
+ linear-gradient(
202
+ 145deg,
203
+ color-mix(in oklch, white 28%, transparent) 0%,
204
+ color-mix(in oklch, white 6%, transparent) 42%,
205
+ color-mix(in oklch, white 12%, transparent) 100%
206
+ ),
207
+ color-mix(in oklch, var(--sidebar) 96%, transparent);
208
+ /* No backdrop-filter: parent shell cannot blur iframe pixels underneath. */
209
+ backdrop-filter: none;
210
+ -webkit-backdrop-filter: none;
211
+ box-shadow:
212
+ 0 1px 0 color-mix(in oklch, white 35%, transparent) inset,
213
+ 0 12px 40px color-mix(in oklch, black 22%, transparent),
214
+ 0 2px 8px color-mix(in oklch, black 10%, transparent);
215
+ }
216
+
217
+ .dark .shellui-floating-glass-menu {
218
+ background:
219
+ linear-gradient(
220
+ 145deg,
221
+ color-mix(in oklch, white 12%, transparent) 0%,
222
+ color-mix(in oklch, white 3%, transparent) 45%,
223
+ color-mix(in oklch, white 7%, transparent) 100%
224
+ ),
225
+ color-mix(in oklch, var(--sidebar) 96%, transparent);
226
+ box-shadow:
227
+ 0 1px 0 color-mix(in oklch, white 10%, transparent) inset,
228
+ 0 14px 44px color-mix(in oklch, black 45%, transparent),
229
+ 0 2px 8px color-mix(in oklch, black 25%, transparent);
230
+ }
231
+
232
+ /* Selected tab chip + tabs: same binary radius as the mobile bar. */
233
+ .shellui-floating-tab-indicator,
234
+ .shellui-floating-tab {
235
+ border-radius: var(--shellui-floating-mobile-radius);
236
+ }
237
+
238
+ .shellui-floating-tab-indicator {
239
+ background: var(--sidebar-primary);
240
+ color: var(--sidebar-primary-foreground);
241
+ }
242
+
243
+ /* Desktop floating nav rows / chrome controls: match capped sidebar radius. */
244
+ .shellui-floating-sidebar-panel .shellui-floating-nav-item,
245
+ .shellui-floating-sidebar-panel .shellui-floating-nav-control {
246
+ border-radius: var(--shellui-floating-sidebar-radius);
247
+ }
248
+
249
+ /* More sheet rows: same small capped radius as the sheet. */
250
+ .shellui-floating-glass-menu .shellui-floating-nav-item {
251
+ border-radius: min(var(--radius), 0.5rem);
252
+ }
253
+
254
+ /*
255
+ * Floating layout edge fades: soft transparent dissolve (no backdrop blur).
256
+ * Shown only when scroll is past that edge.
257
+ */
258
+ .shellui-floating-fade {
259
+ pointer-events: none;
260
+ position: absolute;
261
+ inset-inline: 0;
262
+ z-index: 40;
263
+ opacity: 0;
264
+ transition: opacity 220ms ease;
265
+ background: linear-gradient(
266
+ var(--shellui-floating-fade-dir, to bottom),
267
+ color-mix(in oklch, var(--background) 45%, transparent) 0%,
268
+ color-mix(in oklch, var(--background) 18%, transparent) 45%,
269
+ transparent 100%
270
+ );
271
+ }
272
+
273
+ .shellui-floating-fade[data-visible='true'] {
274
+ opacity: 1;
275
+ }
276
+
277
+ @media (prefers-reduced-motion: reduce) {
278
+ .shellui-floating-fade {
279
+ transition: none;
280
+ }
281
+ }
282
+
283
+ .shellui-floating-fade-top {
284
+ top: 0;
285
+ height: 3rem; /* 48px */
286
+ --shellui-floating-fade-dir: to bottom;
287
+ }
288
+
289
+ .shellui-floating-fade-bottom {
290
+ bottom: 0;
291
+ height: 4.5rem; /* 72px */
292
+ --shellui-floating-fade-dir: to top;
293
+ }
294
+
295
+ /* Floating desktop sidebar collapse — transform/opacity only; respect reduced motion. */
296
+ @media (prefers-reduced-motion: reduce) {
297
+ .shellui-floating-sidebar-panel .shellui-floating-glass,
298
+ .shellui-floating-sidebar-chip .shellui-floating-glass,
299
+ [data-shellui-floating-tabbar],
300
+ [data-shellui-floating-tabbar] > .shellui-floating-glass,
301
+ .shellui-floating-tab-indicator {
302
+ transition: none !important;
303
+ animation: none !important;
304
+ }
305
+ }
306
+
307
+ /*
308
+ * Floating tab bar hide-on-scroll.
309
+ * Slide the wrapper; fade the glass child. Parent opacity + backdrop-filter
310
+ * does not interpolate — the frost pops in at the end of the slide.
311
+ * Appear is slower; dismiss is faster.
312
+ */
313
+ [data-shellui-floating-tabbar] {
314
+ translate: 0 0;
315
+ transition-property: translate;
316
+ transition-duration: 380ms;
317
+ transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
318
+ }
319
+
320
+ [data-shellui-floating-tabbar][data-chrome-visible='false'] {
321
+ transition-duration: 160ms;
322
+ transition-timing-function: ease-in;
323
+ }
324
+
325
+ [data-shellui-floating-tabbar='bottom'][data-chrome-visible='false'] {
326
+ translate: 0 120%;
327
+ }
328
+
329
+ [data-shellui-floating-tabbar='top'][data-chrome-visible='false'] {
330
+ translate: 0 -120%;
331
+ }
332
+
333
+ [data-shellui-floating-tabbar] > .shellui-floating-glass {
334
+ opacity: 1;
335
+ transition-property: opacity;
336
+ transition-duration: 380ms;
337
+ transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
338
+ }
339
+
340
+ [data-shellui-floating-tabbar][data-chrome-visible='false'] > .shellui-floating-glass {
341
+ opacity: 0;
342
+ pointer-events: none;
343
+ transition-duration: 160ms;
344
+ transition-timing-function: ease-in;
345
+ }
346
+
347
+ /*
348
+ * Layout chrome safe insets — applied INSIDE the iframe app, never by shrinking
349
+ * the host iframe (main layout content stays 100%×100% under floating chrome).
350
+ * SDK auto-padding toggles `.shellui-apply-layout-chrome-pad` on `document.body`
351
+ * (and apps may put the class on their own scroll root).
352
+ */
353
+ .shellui-apply-layout-chrome-pad {
354
+ padding-top: var(--shellui-inset-top, 0px);
355
+ padding-right: var(--shellui-inset-right, 0px);
356
+ padding-bottom: var(--shellui-inset-bottom, 0px);
357
+ padding-left: var(--shellui-inset-left, 0px);
358
+ box-sizing: border-box;
359
+ }
360
+
361
+ /* Scroll clearance so anchors/focus land clear of floating chrome. */
362
+ html[data-shellui-layout-chrome-pad] .overflow-y-auto,
363
+ html[data-shellui-layout-chrome-pad] .overflow-auto,
364
+ html[data-shellui-layout-chrome-pad] [data-shellui-chrome-scroll] {
365
+ scroll-padding-top: var(--shellui-inset-top, 0px);
366
+ scroll-padding-bottom: var(--shellui-inset-bottom, 0px);
367
+ scroll-padding-left: var(--shellui-inset-left, 0px);
368
+ scroll-padding-right: var(--shellui-inset-right, 0px);
108
369
  }
109
370
 
110
371
  /*
@@ -124,6 +385,38 @@
124
385
  * {
125
386
  border-color: var(--border);
126
387
  }
388
+ /*
389
+ * Interactive controls: pointer everywhere for consistency (raw <button>/links
390
+ * in layouts often omit Tailwind `cursor-pointer`; native UA default varies).
391
+ */
392
+ button:not(:disabled):not([disabled]),
393
+ [role='button']:not([aria-disabled='true']),
394
+ [role='menuitem'],
395
+ [role='tab'],
396
+ [role='option'],
397
+ [role='switch'],
398
+ [role='checkbox'],
399
+ [role='radio'],
400
+ [role='link'],
401
+ a[href],
402
+ summary,
403
+ label[for],
404
+ input[type='button']:not(:disabled),
405
+ input[type='submit']:not(:disabled),
406
+ input[type='reset']:not(:disabled),
407
+ input[type='checkbox']:not(:disabled),
408
+ input[type='radio']:not(:disabled),
409
+ input[type='file']:not(:disabled),
410
+ select:not(:disabled) {
411
+ cursor: pointer;
412
+ }
413
+ button:disabled,
414
+ button[disabled],
415
+ [role='button'][aria-disabled='true'],
416
+ input:disabled,
417
+ select:disabled {
418
+ cursor: not-allowed;
419
+ }
127
420
  body {
128
421
  background-color: var(--background);
129
422
  color: var(--foreground);
@@ -185,6 +478,16 @@
185
478
  filter: brightness(0.95);
186
479
  }
187
480
 
481
+ /* Shell chrome nav uses its own accent hover — don't stack the global brightness. */
482
+ [data-shellui-sidebar-layout] button:hover,
483
+ [data-shellui-sidebar-layout] [role='button']:hover,
484
+ [data-shellui-app-bar-layout] button:hover,
485
+ [data-shellui-app-bar-layout] [role='button']:hover,
486
+ [data-shellui-collapsed-titlebar] button:hover,
487
+ [data-shellui-collapsed-titlebar] [role='button']:hover {
488
+ filter: none;
489
+ }
490
+
188
491
  /* Playful input styling */
189
492
  input,
190
493
  textarea,
@@ -246,6 +549,7 @@
246
549
  --color-sidebar-border: var(--sidebar-border);
247
550
  --color-sidebar-ring: var(--sidebar-ring);
248
551
  --color-sidebar: var(--sidebar);
552
+ --color-shellui-inset-chrome: var(--shellui-inset-chrome);
249
553
 
250
554
  /* Border radius tokens */
251
555
  --radius-lg: var(--radius);
@@ -253,6 +557,23 @@
253
557
  --radius-sm: calc(var(--radius) - 4px);
254
558
  }
255
559
 
560
+ /* Inset layouts: keep Tauri collapsed titlebar on the chrome tray. */
561
+ [data-shellui-layout-variant='inset'] [data-shellui-collapsed-titlebar] {
562
+ background-color: var(--shellui-inset-chrome);
563
+ border-bottom-color: transparent;
564
+ }
565
+
566
+ /*
567
+ * Inset layouts: remap sidebar accent tokens so hover / selected nav chips
568
+ * contrast against --shellui-inset-chrome (transparent sidebar / app-bar).
569
+ */
570
+ [data-shellui-layout-variant='inset'] {
571
+ --sidebar-accent: var(--shellui-inset-accent);
572
+ --sidebar-accent-foreground: var(--shellui-inset-accent-foreground);
573
+ --color-sidebar-accent: var(--shellui-inset-accent);
574
+ --color-sidebar-accent-foreground: var(--shellui-inset-accent-foreground);
575
+ }
576
+
256
577
  /*
257
578
  * While switching themes, disable CSS transitions so colors snap instead of morphing.
258
579
  * Do NOT disable animations — that restarts Radix dialog/drawer open animations and
@@ -789,7 +1110,7 @@ html.shellui-theme-switching
789
1110
  }
790
1111
 
791
1112
  html[data-shellui-overlay-chrome] {
792
- --shellui-titlebar-height: 38px;
1113
+ --shellui-titlebar-height: 42px;
793
1114
  --shellui-traffic-lights-width: 78px;
794
1115
  }
795
1116
 
@@ -800,8 +1121,10 @@ html[data-shellui-overlay-chrome] [data-slot='sidebar-container'] {
800
1121
 
801
1122
  /*
802
1123
  * Tablet / desktop: fixed shell sidebar sits below the layout safe-area strip.
803
- * Only when the root (non-iframe) sidebar layout advertised the topbar.
804
- * Drawer overlay stays full-bleed (topbar dims behind it); panels clear the inset.
1124
+ * Only when the root (non-iframe) layout advertised the topbar via
1125
+ * data-shellui-safe-area-topbar. Drawer overlay stays full-bleed (topbar dims
1126
+ * behind it); left/right/top drawer panels clear the inset so they never cover
1127
+ * the strip. Height is 0 when env(safe-area-inset-top) is 0.
805
1128
  */
806
1129
  @media (min-width: 768px) {
807
1130
  html[data-shellui-safe-area-topbar]
@@ -817,6 +1140,7 @@ html[data-shellui-overlay-chrome] [data-slot='sidebar-container'] {
817
1140
  html[data-shellui-safe-area-topbar] [data-drawer-content][data-drawer-direction='left'],
818
1141
  html[data-shellui-safe-area-topbar] [data-drawer-content][data-drawer-direction='right'] {
819
1142
  top: var(--shellui-safe-area-top);
1143
+ bottom: 0;
820
1144
  height: auto;
821
1145
  }
822
1146
 
@@ -829,14 +1153,14 @@ html[data-shellui-overlay-chrome] [data-slot='sidebar-container'] {
829
1153
  }
830
1154
  }
831
1155
 
832
- /* Collapsed Tauri: full-width 38px titlebar; push sidebar + content below it. */
1156
+ /* Collapsed Tauri: full-width 42px titlebar; push sidebar + content below it. */
833
1157
  html[data-shellui-collapsed-titlebar]
834
1158
  [data-shellui-sidebar-layout]
835
1159
  > [data-slot='sidebar-wrapper']
836
1160
  > [data-slot='sidebar']
837
1161
  > [data-slot='sidebar-container'] {
838
- top: var(--shellui-titlebar-height, 38px);
839
- height: calc(var(--shellui-app-height, 100dvh) - var(--shellui-titlebar-height, 38px));
1162
+ top: var(--shellui-titlebar-height, 42px);
1163
+ height: calc(var(--shellui-app-height, 100dvh) - var(--shellui-titlebar-height, 42px));
840
1164
  }
841
1165
 
842
1166
  html[data-shellui-collapsed-titlebar][data-shellui-safe-area-topbar]
@@ -844,10 +1168,10 @@ html[data-shellui-collapsed-titlebar][data-shellui-safe-area-topbar]
844
1168
  > [data-slot='sidebar-wrapper']
845
1169
  > [data-slot='sidebar']
846
1170
  > [data-slot='sidebar-container'] {
847
- top: calc(var(--shellui-safe-area-top) + var(--shellui-titlebar-height, 38px));
1171
+ top: calc(var(--shellui-safe-area-top) + var(--shellui-titlebar-height, 42px));
848
1172
  height: calc(
849
1173
  var(--shellui-app-height, 100dvh) - var(--shellui-safe-area-top) -
850
- var(--shellui-titlebar-height, 38px)
1174
+ var(--shellui-titlebar-height, 42px)
851
1175
  );
852
1176
  }
853
1177
 
@@ -855,7 +1179,7 @@ html[data-shellui-collapsed-titlebar]
855
1179
  [data-shellui-sidebar-layout]
856
1180
  > [data-slot='sidebar-wrapper']
857
1181
  > [data-slot='sidebar-inset'] {
858
- padding-top: var(--shellui-titlebar-height, 38px);
1182
+ padding-top: var(--shellui-titlebar-height, 42px);
859
1183
  }
860
1184
 
861
1185
  /* Root safe-area topbar: collapsed chrome sits below the status band. */
@@ -1,8 +1,12 @@
1
+ import { LoadingOverlay } from '../../components/LoadingOverlay';
2
+
1
3
  export function RouteFallback() {
2
4
  return (
3
5
  <div
4
- className="h-full min-h-full bg-background"
6
+ className="relative h-full min-h-full bg-background"
5
7
  aria-hidden
6
- />
8
+ >
9
+ <LoadingOverlay />
10
+ </div>
7
11
  );
8
12
  }