@shellui/core 0.7.0-alpha.11 → 0.7.0-alpha.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shellui/core",
3
- "version": "0.7.0-alpha.11",
3
+ "version": "0.7.0-alpha.12",
4
4
  "description": "Shellui Core - Core React application runtime",
5
5
  "main": "src/index.ts",
6
6
  "type": "module",
@@ -73,7 +73,7 @@
73
73
  "workbox-routing": "^7.4.0",
74
74
  "workbox-strategies": "^7.4.0",
75
75
  "workbox-window": "^7.4.0",
76
- "@shellui/sdk": "0.7.0-alpha.11"
76
+ "@shellui/sdk": "0.7.0-alpha.12"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "react": "^18.0.0 || ^19.0.0",
@@ -0,0 +1,63 @@
1
+ // @vitest-environment happy-dom
2
+ import { act } from 'react';
3
+ import { createRoot, type Root } from 'react-dom/client';
4
+ import { afterEach, beforeEach, describe, expect, it } from 'vitest';
5
+ import { readFileSync } from 'node:fs';
6
+ import { resolve } from 'node:path';
7
+ import { DropdownMenu, DropdownMenuContent, DropdownMenuSeparator } from './dropdown-menu';
8
+ import { ShellDivider } from './shell-divider';
9
+
10
+ (globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;
11
+
12
+ let container: HTMLDivElement;
13
+ let root: Root;
14
+
15
+ beforeEach(() => {
16
+ container = document.createElement('div');
17
+ document.body.appendChild(container);
18
+ root = createRoot(container);
19
+ });
20
+
21
+ afterEach(() => {
22
+ act(() => root.unmount());
23
+ container.remove();
24
+ });
25
+
26
+ const css = readFileSync(resolve(__dirname, '../../index.css'), 'utf8');
27
+
28
+ describe('ShellDivider', () => {
29
+ it('renders the shared divider as a separator', () => {
30
+ act(() => root.render(<ShellDivider className="-mx-2" />));
31
+ const el = container.firstElementChild;
32
+ expect(el?.getAttribute('role')).toBe('separator');
33
+ expect(el?.className).toBe('shellui-divider -mx-2');
34
+ });
35
+
36
+ it('is a full-width hairline with no margin of its own (kit shell.css)', () => {
37
+ const rule = /\.shellui-divider \{([^}]*)\}/.exec(css)?.[1] ?? '';
38
+ expect(rule).toContain('height: 1px');
39
+ expect(rule).toContain('background: var(--shellui-hairline)');
40
+ expect(rule).not.toContain('margin');
41
+ });
42
+
43
+ it('is hidden in the sidebar inset footer (sidebar-inset spec: no footer hairline)', () => {
44
+ expect(css).toMatch(
45
+ /\[data-shellui-layout-variant='inset'\]\s+\.shellui-nav\[data-shellui-nav-footer\]\s+>\s+\[data-shellui-footer-divider\]\s*\{\s*background: transparent;/,
46
+ );
47
+ });
48
+
49
+ it('menus keep the full-bleed shadcn separator (kit .menu hr)', () => {
50
+ act(() =>
51
+ root.render(
52
+ <DropdownMenu open>
53
+ <DropdownMenuContent>
54
+ <DropdownMenuSeparator />
55
+ </DropdownMenuContent>
56
+ </DropdownMenu>,
57
+ ),
58
+ );
59
+ const sep = document.body.querySelector('[role="separator"]');
60
+ expect(sep?.className).toContain('-mx-1');
61
+ expect(sep?.className).toContain('bg-border');
62
+ });
63
+ });
@@ -0,0 +1,20 @@
1
+ import type { ComponentPropsWithoutRef } from 'react';
2
+ import { cn } from '../../lib/utils';
3
+
4
+ /**
5
+ * The one divider used inside the shell panels (see `.shellui-divider` in
6
+ * index.css): a full-width 1px --shellui-hairline, as in the layouts redesign
7
+ * kit. Inside a padded container, pass negative inline margins (e.g. `-mx-2`)
8
+ * so it still runs edge to edge.
9
+ */
10
+ export function ShellDivider({ className, ...props }: ComponentPropsWithoutRef<'div'>) {
11
+ return (
12
+ <div
13
+ role="separator"
14
+ aria-orientation="horizontal"
15
+ data-shellui-divider=""
16
+ className={cn('shellui-divider', className)}
17
+ {...props}
18
+ />
19
+ );
20
+ }
@@ -598,7 +598,7 @@ function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof S
598
598
  <Separator
599
599
  data-slot="sidebar-separator"
600
600
  data-sidebar="separator"
601
- className={cn('mx-2 w-auto bg-sidebar-border', className)}
601
+ className={cn('shellui-divider', className)}
602
602
  {...props}
603
603
  />
604
604
  );
@@ -51,12 +51,15 @@ afterEach(() => {
51
51
  container.remove();
52
52
  });
53
53
 
54
- function render(open = true) {
54
+ function render(open = true, dividerAbove = false) {
55
55
  act(() => {
56
56
  root.render(
57
57
  <MemoryRouter>
58
58
  <SidebarProvider defaultOpen={open}>
59
- <LoginButton variant="sidebar" />
59
+ <LoginButton
60
+ variant="sidebar"
61
+ dividerAbove={dividerAbove}
62
+ />
60
63
  </SidebarProvider>
61
64
  </MemoryRouter>,
62
65
  );
@@ -153,3 +156,48 @@ describe('account aria strings', () => {
153
156
  expect(fr.authMenu.openAccountMenuWithEmailAriaLabel).toContain('{{email}}');
154
157
  });
155
158
  });
159
+
160
+ describe('account divider', () => {
161
+ const divider = () => container.querySelector<HTMLElement>('[data-shellui-account-divider]');
162
+
163
+ it('draws the shared divider above the signed-in account block', () => {
164
+ auth.user = { name: 'Alex Martin', email: 'alex@acme.dev' };
165
+ const btn = render(true, true);
166
+ const line = divider();
167
+ expect(line).not.toBeNull();
168
+ expect(line?.getAttribute('role')).toBe('separator');
169
+ expect(line?.className).toContain('shellui-divider');
170
+ // Full width: cancels the 8px row inset of the footer group.
171
+ expect(line?.className).toContain('-mx-2');
172
+ // 4px of breathing room between the divider and the account row.
173
+ const pad = line?.nextElementSibling;
174
+ expect(pad?.className).toBe('pt-1');
175
+ expect(pad?.firstElementChild).toBe(btn);
176
+ });
177
+
178
+ it('stays in collapsed icon mode', () => {
179
+ auth.user = { name: 'Alex Martin', email: 'alex@acme.dev' };
180
+ render(false, true);
181
+ expect(divider()).not.toBeNull();
182
+ });
183
+
184
+ it('is off unless asked for', () => {
185
+ auth.user = { name: 'Alex Martin', email: 'alex@acme.dev' };
186
+ const btn = render(true, false);
187
+ expect(divider()).toBeNull();
188
+ expect(btn?.parentElement?.className).not.toBe('pt-1');
189
+ });
190
+
191
+ it('never shows for the signed-out login button', () => {
192
+ auth.isAuthenticated = false;
193
+ render(true, true);
194
+ expect(container.querySelector('a')?.textContent).toContain(en.authMenu.login);
195
+ expect(divider()).toBeNull();
196
+ });
197
+
198
+ it('never shows while loading', () => {
199
+ auth.isLoading = true;
200
+ render(true, true);
201
+ expect(divider()).toBeNull();
202
+ });
203
+ });
@@ -5,6 +5,7 @@ import { Link, useLocation, useNavigate } from 'react-router';
5
5
  import urls from '../../../constants/urls';
6
6
  import { cn } from '../../../lib/utils';
7
7
  import { useIsMobile } from '../../../hooks/use-mobile';
8
+ import { ShellDivider } from '../../../components/ui/shell-divider';
8
9
  import { useAuth } from '../hooks/useAuth';
9
10
  import { UserIcon } from '../../settings/components/UserIcon';
10
11
  import { useConfig } from '../../config/useConfig';
@@ -133,10 +134,19 @@ export const LoginButton = ({
133
134
  variant,
134
135
  hideWhenLoggedOut = false,
135
136
  logoutOnly = false,
137
+ dividerAbove = false,
136
138
  }: {
137
139
  variant: LoginButtonVariant;
138
140
  hideWhenLoggedOut?: boolean;
139
141
  logoutOnly?: boolean;
142
+ /**
143
+ * Full-width hairline above the signed-in account block, separating it from
144
+ * the footer items above, plus 4px of top padding above the account row.
145
+ * Signed out and loading states never render it. Pass false when the account
146
+ * block is the first footer item (the footer divider already separates it).
147
+ * The parent must inset the block by 8px (sidebar group, floating footer).
148
+ */
149
+ dividerAbove?: boolean;
140
150
  }) => {
141
151
  const currentVariantConfig = variantConfig[variant];
142
152
  const isMobile = useIsMobile();
@@ -300,7 +310,7 @@ export const LoginButton = ({
300
310
  return null;
301
311
  }
302
312
 
303
- return (
313
+ const accountMenu = (
304
314
  <DropdownMenu
305
315
  open={isMenuOpen}
306
316
  onOpenChange={setIsMenuOpen}
@@ -408,4 +418,18 @@ export const LoginButton = ({
408
418
  </DropdownMenuContent>
409
419
  </DropdownMenu>
410
420
  );
421
+
422
+ if (!dividerAbove) return accountMenu;
423
+
424
+ // Full-width hairline (cancels the 8px row inset), then 4px so the account
425
+ // row breathes below it.
426
+ return (
427
+ <>
428
+ <ShellDivider
429
+ data-shellui-account-divider=""
430
+ className="-mx-2 mt-1"
431
+ />
432
+ <div className="pt-1">{accountMenu}</div>
433
+ </>
434
+ );
411
435
  };
@@ -612,7 +612,7 @@ function FloatingMoreSheet({
612
612
  {overflowItems.length > 0 && (endItems.length > 0 || showAuthButton) ? (
613
613
  <div
614
614
  aria-hidden
615
- className="mx-3 my-1 h-px bg-[var(--shellui-hairline)]"
615
+ className="h-2"
616
616
  />
617
617
  ) : null}
618
618
  {endItems.map(renderRow)}
@@ -13,6 +13,7 @@ import {
13
13
  import { getExternalFaviconUrl } from '../sidebar/sidebarUtils';
14
14
  import { NavIcon, ExternalLinkIcon } from '../sidebar/SidebarIcons';
15
15
  import { AppBrandIcon } from '../branding/AppBrandIcon';
16
+ import { ShellDivider } from '../../../components/ui/shell-divider';
16
17
  import { LoginButton } from '../../auth/components/LoginButton';
17
18
  import { cn } from '../../../lib/utils';
18
19
  import { DesktopHistoryButtons } from '../chrome/DesktopHistoryButtons';
@@ -353,7 +354,7 @@ export function FloatingSidebar({
353
354
  </button>
354
355
  </div>
355
356
  {/* Brand row under the strip: not a drag region. */}
356
- <div className="flex h-10 shrink-0 items-center gap-2 border-b border-sidebar-border/80 px-3 text-sidebar-foreground">
357
+ <div className="flex h-10 shrink-0 items-center gap-2 px-3 text-sidebar-foreground">
357
358
  {appIcon ? (
358
359
  <AppBrandIcon
359
360
  appIcon={appIcon}
@@ -368,10 +369,7 @@ export function FloatingSidebar({
368
369
  </>
369
370
  ) : (
370
371
  <div
371
- className={cn(
372
- 'flex shrink-0 items-center border-b border-sidebar-border/80',
373
- tauriRuntime ? 'pr-2.5' : 'pr-2 pl-3.5',
374
- )}
372
+ className={cn('flex shrink-0 items-center', tauriRuntime ? 'pr-2.5' : 'pr-2 pl-3.5')}
375
373
  style={
376
374
  tauriRuntime
377
375
  ? {
@@ -426,6 +424,7 @@ export function FloatingSidebar({
426
424
  </div>
427
425
  </div>
428
426
  )}
427
+ <ShellDivider />
429
428
 
430
429
  <div className="flex min-h-0 flex-1 flex-col gap-3 overflow-y-auto p-2">
431
430
  {sections.map((section, sectionIndex) => {
@@ -459,14 +458,20 @@ export function FloatingSidebar({
459
458
  </div>
460
459
 
461
460
  {endItems.length > 0 || showAuthButton ? (
462
- <div className="flex shrink-0 flex-col gap-0.5 border-t border-sidebar-border/80 p-2">
463
- {endItems.map(renderItem)}
464
- {showAuthButton ? (
465
- <div className="px-0.5 pt-0.5">
466
- <LoginButton variant="sidebar" />
467
- </div>
468
- ) : null}
469
- </div>
461
+ <>
462
+ <ShellDivider />
463
+ <div className="flex shrink-0 flex-col gap-0.5 px-2 pt-1.5 pb-2">
464
+ {endItems.map(renderItem)}
465
+ {showAuthButton ? (
466
+ <div className="pt-0.5">
467
+ <LoginButton
468
+ variant="sidebar"
469
+ dividerAbove={endItems.length > 0}
470
+ />
471
+ </div>
472
+ ) : null}
473
+ </div>
474
+ </>
470
475
  ) : null}
471
476
  </nav>
472
477
  </aside>
@@ -1,5 +1,5 @@
1
1
  // @vitest-environment happy-dom
2
- import { act } from 'react';
2
+ import { act, type ReactNode } from 'react';
3
3
  import { createRoot, type Root } from 'react-dom/client';
4
4
  import { MemoryRouter } from 'react-router';
5
5
  import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
@@ -16,9 +16,18 @@ vi.mock('../chrome/runtime', () => ({
16
16
  useMacOverlayChrome: () => false,
17
17
  useMacTrafficLights: () => false,
18
18
  }));
19
- vi.mock('./NavigationContent', () => ({ NavigationContent: () => null }));
19
+ vi.mock('./NavigationContent', () => ({
20
+ NavigationContent: ({ trailing }: { trailing?: ReactNode }) => trailing ?? null,
21
+ }));
20
22
  vi.mock('../../config/useConfig', () => ({ useConfig: () => ({ config: {} }) }));
21
- vi.mock('../../auth/components/LoginButton', () => ({ LoginButton: () => null }));
23
+ vi.mock('../../auth/components/LoginButton', () => ({
24
+ LoginButton: ({ dividerAbove }: { dividerAbove?: boolean }) => (
25
+ <span
26
+ data-login=""
27
+ data-divider={String(Boolean(dividerAbove))}
28
+ />
29
+ ),
30
+ }));
22
31
  vi.mock('react-i18next', () => ({
23
32
  useTranslation: () => ({
24
33
  t: (key: string) => {
@@ -107,3 +116,34 @@ describe('SidebarInner header', () => {
107
116
  expect(fr.shellChrome.closeMenu).toBe('Fermer le menu');
108
117
  });
109
118
  });
119
+
120
+ describe('SidebarInner footer account divider', () => {
121
+ const footer = (endItems: { label: string; path: string; url: string }[]) => (
122
+ <SidebarInner
123
+ startNav={[]}
124
+ endItems={endItems}
125
+ showAuthButton
126
+ title="Acme"
127
+ />
128
+ );
129
+
130
+ it('asks for a divider when footer items sit above the account block', () => {
131
+ render(footer([{ label: 'Settings', path: 'settings', url: '/settings' }]));
132
+ expect(q(container, '[data-login]').getAttribute('data-divider')).toBe('true');
133
+ });
134
+
135
+ it('opens the footer with the shared full-width divider instead of a border', () => {
136
+ render(footer([]));
137
+ const foot = q(container, '[data-shellui-nav-footer]');
138
+ expect(foot.className).not.toContain('border-t');
139
+ const first = foot.firstElementChild;
140
+ expect(first?.getAttribute('data-shellui-divider')).toBe('');
141
+ expect(first?.className).toContain('shellui-divider');
142
+ expect(first?.hasAttribute('data-shellui-footer-divider')).toBe(true);
143
+ });
144
+
145
+ it('skips the account divider when the account block is the only footer item', () => {
146
+ render(footer([]));
147
+ expect(q(container, '[data-login]').getAttribute('data-divider')).toBe('false');
148
+ });
149
+ });
@@ -9,6 +9,7 @@ import {
9
9
  } from '../../../components/ui/sidebar';
10
10
  import { CloseIcon } from './SidebarIcons';
11
11
  import { NavigationContent } from './NavigationContent';
12
+ import { ShellDivider } from '../../../components/ui/shell-divider';
12
13
  import { LoginButton } from '../../auth/components/LoginButton';
13
14
  import { cn } from '../../../lib/utils';
14
15
  import { MacLightsSafeArea, MacStripSpacer } from '../chrome/MacStrip';
@@ -201,16 +202,24 @@ export function SidebarInner({
201
202
  </SidebarContent>
202
203
  <SidebarFooter
203
204
  data-shellui-nav-footer=""
204
- className="shellui-nav gap-0 border-t border-sidebar-border px-0 pt-0 pb-[max(0.5rem,var(--shellui-safe-area-bottom))]"
205
+ className="shellui-nav gap-0 px-0 pt-0 pb-[max(0.5rem,var(--shellui-safe-area-bottom))]"
205
206
  >
207
+ <ShellDivider data-shellui-footer-divider="" />
206
208
  {(endItems.length > 0 || showAuthButton) && (
207
209
  <nav
208
210
  aria-label={t('shellChrome.accountNav')}
209
- className="flex min-w-0 flex-col gap-0.5 pb-1"
211
+ className="flex min-w-0 flex-col gap-0.5 pt-1.5 pb-1"
210
212
  >
211
213
  <NavigationContent
212
214
  navigation={endItems}
213
- trailing={showAuthButton ? <LoginButton variant="sidebar" /> : undefined}
215
+ trailing={
216
+ showAuthButton ? (
217
+ <LoginButton
218
+ variant="sidebar"
219
+ dividerAbove={endItems.length > 0}
220
+ />
221
+ ) : undefined
222
+ }
214
223
  />
215
224
  </nav>
216
225
  )}
@@ -1,4 +1,5 @@
1
1
  import {
2
+ Fragment,
2
3
  useMemo,
3
4
  useState,
4
5
  useCallback,
@@ -28,6 +29,7 @@ import { useSettings } from '../../settings/hooks/useSettings';
28
29
  import { ContentView } from '../../../components/ContentView';
29
30
  import { cn } from '../../../lib/utils';
30
31
  import { Z_INDEX } from '../../../lib/z-index';
32
+ import { ShellDivider } from '../../../components/ui/shell-divider';
31
33
  import { LoginButton } from '../../auth/components/LoginButton';
32
34
  import { useAuth } from '../../auth/hooks/useAuth';
33
35
  import { ExternalLinkIcon, NavIcon, SettingsIcon } from '../sidebar/SidebarIcons';
@@ -1130,8 +1132,9 @@ export function WindowsLayout({ title, appIcon, logo: _logo, navigation }: Windo
1130
1132
  </p>
1131
1133
  <p className="shellui-start-hint text-muted-foreground">{t('windows.chooseApp')}</p>
1132
1134
  </div>
1135
+ <ShellDivider />
1133
1136
 
1134
- <div className="min-h-0 flex-1 space-y-4 overflow-y-auto px-2 py-3">
1137
+ <div className="min-h-0 flex-1 overflow-y-auto px-2 py-3">
1135
1138
  {menuSections.length === 0 ? (
1136
1139
  <p className="px-2 py-6 text-center text-sm text-muted-foreground">
1137
1140
  {t('windows.noApps')}
@@ -1148,7 +1151,7 @@ export function WindowsLayout({ title, appIcon, logo: _logo, navigation }: Windo
1148
1151
  sectionIndex === menuSections.length - 1 &&
1149
1152
  section.type === 'items' &&
1150
1153
  section.items === endNavItems;
1151
- return (
1154
+ const sectionNode = (
1152
1155
  <section
1153
1156
  key={
1154
1157
  section.type === 'group'
@@ -1157,7 +1160,10 @@ export function WindowsLayout({ title, appIcon, logo: _logo, navigation }: Windo
1157
1160
  ? 'end-items'
1158
1161
  : `items-${sectionIndex}`
1159
1162
  }
1160
- className={cn('space-y-1.5', isEndSection && 'shellui-start-foot pt-3')}
1163
+ className={cn(
1164
+ 'space-y-1.5',
1165
+ isEndSection ? 'pt-3' : sectionIndex > 0 && 'mt-4',
1166
+ )}
1161
1167
  >
1162
1168
  {categoryLabel ? (
1163
1169
  <h2 className="shellui-start-label px-2.5 text-xs font-semibold text-muted-foreground">
@@ -1215,10 +1221,19 @@ export function WindowsLayout({ title, appIcon, logo: _logo, navigation }: Windo
1215
1221
  </div>
1216
1222
  </section>
1217
1223
  );
1224
+ return isEndSection ? (
1225
+ <Fragment key="end-items">
1226
+ <ShellDivider className="-mx-2 mt-4" />
1227
+ {sectionNode}
1228
+ </Fragment>
1229
+ ) : (
1230
+ sectionNode
1231
+ );
1218
1232
  })
1219
1233
  )}
1220
1234
  </div>
1221
1235
  {/* Footer: account and settings (spec). */}
1236
+ <ShellDivider />
1222
1237
  <div
1223
1238
  data-shellui-start-footer=""
1224
1239
  className="shellui-start-foot flex shrink-0 items-center gap-1 px-2 py-1.5"
package/src/index.css CHANGED
@@ -250,6 +250,21 @@ html[data-shellui-overlay-chrome] {
250
250
  --shellui-drawer-top: calc(var(--shellui-mac-titlebar-h) + var(--shellui-drawer-gap));
251
251
  }
252
252
 
253
+ /*
254
+ * Shared divider for the shell panels, per the layouts redesign kit
255
+ * (shell.css `.sbx .foot`, `.fside .head` / `.fside .foot`, `.startm .sh` /
256
+ * `.startm .sf`): a full-width 1px --shellui-hairline with no margin of its own.
257
+ * Inside a padded container, cancel the padding with negative inline margins
258
+ * (e.g. -mx-2) so it still runs edge to edge. Menus keep the shadcn separator
259
+ * (kit `.menu hr`: full bleed, --border).
260
+ */
261
+ .shellui-divider {
262
+ flex-shrink: 0;
263
+ height: 1px;
264
+ border: 0;
265
+ background: var(--shellui-hairline);
266
+ }
267
+
253
268
  /*
254
269
  * Content padding that clears the notch / home indicator, then keeps the
255
270
  * configured inset beyond that edge. Override with --shellui-safe-pad-x / -y.
@@ -1684,7 +1699,7 @@ html[data-shellui-safe-area-topbar] [data-shellui-collapsed-titlebar] {
1684
1699
  .shellui-nav [data-sidebar='group'] {
1685
1700
  position: relative;
1686
1701
  }
1687
- /* Collapsed rail: the hidden group label leaves a 24 x 1 px hairline. */
1702
+ /* Collapsed rail: the hidden group label leaves a 24 x 1 px hairline (sidebar spec). */
1688
1703
  .group[data-collapsible='icon']
1689
1704
  .shellui-nav
1690
1705
  [data-sidebar='group']:has(.shellui-nav-label)::before {
@@ -1698,8 +1713,7 @@ html[data-shellui-safe-area-topbar] [data-shellui-collapsed-titlebar] {
1698
1713
  background: var(--shellui-hairline);
1699
1714
  }
1700
1715
  .shellui-nav[data-shellui-nav-footer] {
1701
- border-top-color: var(--shellui-hairline);
1702
- padding: 6px 0 max(8px, var(--shellui-safe-area-bottom));
1716
+ padding: 0 0 max(8px, var(--shellui-safe-area-bottom));
1703
1717
  }
1704
1718
 
1705
1719
  /* Rail: 2 px ring line on hover and while dragging. */
@@ -1756,8 +1770,11 @@ html[data-shellui-safe-area-topbar] [data-shellui-collapsed-titlebar] {
1756
1770
  [data-sidebar='menu-button'][data-active='true'] {
1757
1771
  box-shadow: 0 1px 2px color-mix(in oklch, black 10%, transparent);
1758
1772
  }
1759
- [data-shellui-layout-variant='inset'] .shellui-nav[data-shellui-nav-footer] {
1760
- border-top-color: transparent;
1773
+ /* Inset: no footer hairline, the card edge already separates (sidebar-inset spec). */
1774
+ [data-shellui-layout-variant='inset']
1775
+ .shellui-nav[data-shellui-nav-footer]
1776
+ > [data-shellui-footer-divider] {
1777
+ background: transparent;
1761
1778
  }
1762
1779
  @media (min-width: 768px) {
1763
1780
  [data-shellui-layout-variant='inset'] [data-slot='sidebar-inset'] {
@@ -2330,9 +2347,6 @@ html[data-shellui-keyboard='open']
2330
2347
  border-radius: calc(var(--radius) + 6px);
2331
2348
  box-shadow: var(--shellui-glass-shadow);
2332
2349
  }
2333
- .shellui-start-head {
2334
- border-bottom: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
2335
- }
2336
2350
  .shellui-start-title {
2337
2351
  font-size: 14px;
2338
2352
  font-weight: 600;
@@ -2342,9 +2356,6 @@ html[data-shellui-keyboard='open']
2342
2356
  margin-top: 2px;
2343
2357
  font-size: 12.5px;
2344
2358
  }
2345
- .shellui-start-foot {
2346
- border-top: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
2347
- }
2348
2359
  .shellui-start-label {
2349
2360
  font-size: 12px;
2350
2361
  font-weight: 600;