@apliteni/apliteni-ui 0.141.0 → 0.142.1

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.
@@ -6,16 +6,9 @@
6
6
  // why: docs/components.md#the-page-shell
7
7
  import { esc } from './index.js';
8
8
  import { avatarInitials } from '../logic/avatar.js';
9
+ import { ACCOUNT_NAV } from '../logic/account-nav.js';
9
10
 
10
- // nav.js item objects. Labels are raw text — every nav primitive escapes, so a
11
- // pre-escaped `&` would come out as `&`. `key` means credentials;
12
- // `plug` means integration. These two are the kit's default, so each is a live
13
- // link on a consumer's /account page — a screen the kit does not ship belongs
14
- // in the caller's own nav, not here.
15
- export const ACCOUNT_NAV = [
16
- { id: 'prefs', icon: 'gear', label: 'Preferences' },
17
- { id: 'access', icon: 'key', label: 'Access & agents' },
18
- ];
11
+ export { ACCOUNT_NAV };
19
12
 
20
13
  // topbar()'s account menu speaks [id, icon, label, href?, target?] tuples, and
21
14
  // it interpolates every field raw — the label, the href and the target alike.