@unisim/sdk 0.123.4 → 0.125.0

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 (56) hide show
  1. package/README.md +103 -6
  2. package/android/build.gradle +59 -0
  3. package/android/src/main/AndroidManifest.xml +88 -0
  4. package/android/src/main/java/uk/co/unisim/sdk/SuiteAuthProvider.java +107 -0
  5. package/android/src/main/java/uk/co/unisim/sdk/SuiteAuthStore.java +179 -0
  6. package/android/src/main/java/uk/co/unisim/sdk/UnisimSuiteAuthPlugin.java +214 -0
  7. package/dist/ChangelogMenu.js +7 -0
  8. package/dist/ChangelogMenu.js.map +1 -1
  9. package/dist/CompanyMenu.d.ts.map +1 -1
  10. package/dist/CompanyMenu.js +74 -2
  11. package/dist/CompanyMenu.js.map +1 -1
  12. package/dist/SuiteSwitcher.d.ts.map +1 -1
  13. package/dist/SuiteSwitcher.js +70 -4
  14. package/dist/SuiteSwitcher.js.map +1 -1
  15. package/dist/UniversalAppsNavBar.d.ts.map +1 -1
  16. package/dist/UniversalAppsNavBar.js +92 -6
  17. package/dist/UniversalAppsNavBar.js.map +1 -1
  18. package/dist/UniversalNavBar.d.ts +25 -3
  19. package/dist/UniversalNavBar.d.ts.map +1 -1
  20. package/dist/UniversalNavBar.js +144 -61
  21. package/dist/UniversalNavBar.js.map +1 -1
  22. package/dist/UserProfile.d.ts +108 -1
  23. package/dist/UserProfile.d.ts.map +1 -1
  24. package/dist/UserProfile.js +147 -78
  25. package/dist/UserProfile.js.map +1 -1
  26. package/dist/companies.d.ts +43 -0
  27. package/dist/companies.d.ts.map +1 -0
  28. package/dist/companies.js +98 -0
  29. package/dist/companies.js.map +1 -0
  30. package/dist/i18n.d.ts.map +1 -1
  31. package/dist/i18n.js +14 -0
  32. package/dist/i18n.js.map +1 -1
  33. package/dist/index.d.ts +8 -4
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +8 -3
  36. package/dist/index.js.map +1 -1
  37. package/dist/provider.d.ts +14 -0
  38. package/dist/provider.d.ts.map +1 -1
  39. package/dist/provider.js +181 -1
  40. package/dist/provider.js.map +1 -1
  41. package/dist/sessionStorage.d.ts +25 -7
  42. package/dist/sessionStorage.d.ts.map +1 -1
  43. package/dist/sessionStorage.js +49 -15
  44. package/dist/sessionStorage.js.map +1 -1
  45. package/dist/suiteApps.d.ts +66 -0
  46. package/dist/suiteApps.d.ts.map +1 -0
  47. package/dist/suiteApps.js +168 -0
  48. package/dist/suiteApps.js.map +1 -0
  49. package/dist/types.d.ts +1 -1
  50. package/dist/types.d.ts.map +1 -1
  51. package/dist/unisimMark.d.ts +1 -1
  52. package/dist/unisimMark.d.ts.map +1 -1
  53. package/dist/unisimMark.js +8 -5
  54. package/dist/unisimMark.js.map +1 -1
  55. package/ios/Sources/UnisimSuiteAuthPlugin/UnisimSuiteAuthPlugin.swift +63 -1
  56. package/package.json +8 -2
@@ -7,7 +7,7 @@ import { SuiteSwitcher, DEFAULT_APP_GROUPS, DEFAULT_SUITE_PRODUCTS, } from './Su
7
7
  import { UniversalBar } from './UniversalBar.js';
8
8
  import { BAR } from './barTheme.js';
9
9
  import { KnowledgeBaseMenu } from './KnowledgeBaseMenu.js';
10
- import { UserProfile } from './UserProfile.js';
10
+ import { PROFILE_PILL_AVATAR, ProfileAvatar, UserProfile } from './UserProfile.js';
11
11
  import { useOrg, useUser } from './auth.js';
12
12
  import { useOrgBranding } from './branding.js';
13
13
  import { firstNameFromEmail, firstNameOf, greetedLabel, useRotatingGreeting } from './greeting.js';
@@ -31,6 +31,20 @@ import { useSubscription } from './subscription.js';
31
31
  * │ [Logo] for [Icon] [Org] New Assessment · KB · My Company │
32
32
  * │ · ⚙ · 👤 · ⊞ │
33
33
  * └──────────────────────────────────────────────────────────────────────┘
34
+ *
35
+ * On a phone it is ONE row, in this order (owner's ask, 2026-08-30):
36
+ * ┌──────────────────────────────────────────────────────────────────────┐
37
+ * │ [Mark] Workplace/ASSESS ⌄ [Company] [ Actions ⌄ (face) ] ⊞ │
38
+ * └──────────────────────────────────────────────────────────────────────┘
39
+ * — the product's own name where "Universal Simulation" used to be, the
40
+ * company's logo alone (no "for", no company name, and nothing at all when
41
+ * there is no company), then the controls. Nothing lives under the bar.
42
+ *
43
+ * The Actions pill carries the signed-in user's face (photo → initials →
44
+ * rotating suite figure), the same `<ProfileAvatar />` the profile menu inside
45
+ * the panel draws. On a phone narrower than 360px that also has a company tile
46
+ * on the bar the word "Actions" drops and the pill is chevron + face, so the
47
+ * product name keeps its room — see `showPillLabel`.
34
48
  */
35
49
  export function UniversalNavBar({ product, productLogo, productMark, companyLabel, companyIconUrl, newAssessmentHref = '/new', newAssessmentLabel, knowledgeBase, settingsHref = '/settings', user, profileExtras, showLanguageSelector = true, versionChip, suiteSwitcherIconSrc, showBrandStrip = true, theme = 'light', hubLoginHref = 'https://app.unisim.co.uk/login', contentMaxWidth = 1280, className, style, }) {
36
50
  // ── Company label + icon ────────────────────────────────────────────────
@@ -79,6 +93,17 @@ export function UniversalNavBar({ product, productLogo, productMark, companyLabe
79
93
  const isCompact = useMobile(1024);
80
94
  // ── Mobile ─────────────────────────────────────────────────────────────
81
95
  const isMobile = useMobile();
96
+ // The pill grew an avatar (see the Actions button below), which costs the row
97
+ // ~39px it did not have to spare at 320px — the narrowest phone worth
98
+ // designing for. See `showPillLabel` below for what gives way.
99
+ //
100
+ // Two floors, because the identity slot has two shapes. A product that passes
101
+ // `productMark` gets the compact "Cyber / ASSESS" lockup (~144px) and the row
102
+ // is comfortable from ~355px. A caller that does NOT — today that is the hub,
103
+ // whose bar carries a full "Universal Simulation" wordmark — needs about 50px
104
+ // more before the same pill fits, and its wordmark has no ellipsis to give:
105
+ // `mobileLeftStyle` would simply clip it mid-word.
106
+ const isNarrowPhone = useMobile(productMark ? 360 : 430);
82
107
  const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
83
108
  const mobileHeaderRef = useRef(null);
84
109
  useEffect(() => {
@@ -104,36 +129,57 @@ export function UniversalNavBar({ product, productLogo, productMark, companyLabe
104
129
  document.removeEventListener('keydown', onKey);
105
130
  };
106
131
  }, [mobileMenuOpen]);
132
+ /**
133
+ * The company on a phone: the LOGO, and only the logo.
134
+ *
135
+ * ⚠️ Owner's ask, 2026-08-30 (second pass): "just the company logo (if
136
+ * exists) then the rest — every assess app all the nav on one line". The
137
+ * first pass had moved "for [icon] [Org]" to a thin strip UNDER the bar
138
+ * because the words would not fit beside the controls at 390px. The words
139
+ * were the problem, not the mark: dropping "for" and the org name leaves a
140
+ * 30px tile that fits on the row with the product name and the controls, so
141
+ * the bar is one line again and nothing is pushed off it.
142
+ *
143
+ * "If exists" is literal — an anonymous session has no company, and the "·"
144
+ * placeholder tile the desktop bar shows in that case is noise on a phone, so
145
+ * nothing is rendered at all. The company's NAME still has a home: it is the
146
+ * "My Company" row inside the Actions panel.
147
+ *
148
+ * The tile carries the name as its accessible label, so a screen reader and a
149
+ * long-press still say which company you are working in.
150
+ */
151
+ const hasCompany = !!(resolvedIconUrl || companyLabel || org?.name);
152
+ const mobileCompanyBadge = hasCompany ? (_jsx("span", { role: "img", "aria-label": resolvedCompany, title: resolvedCompany, style: mobileCompanyBadgeStyle, children: _jsx(CompanyBadge, { iconUrl: resolvedIconUrl, initial: (resolvedCompany[0] ?? '?').toUpperCase(), iconBg: iconBg, hasOrg: true, theme: theme, size: 30 }) })) : null;
153
+ /**
154
+ * Does the Actions pill keep its WORD on this phone?
155
+ *
156
+ * Measured, not guessed: at 390px the row is 144px of identity + 169px of
157
+ * controls + 42px of padding and gap, so the full pill fits from about 355px
158
+ * up. Below that something has to give, and it is the label rather than the
159
+ * product name — "Actions" is the one thing in that row a chevron and a face
160
+ * already say between them, while the product name is the only thing on the
161
+ * bar that says which app you are in. The button keeps its aria-label either
162
+ * way, so a screen reader hears the same control at every width.
163
+ *
164
+ * The company tile is exactly the ~32px that tips it over, so a phone with no
165
+ * company on the bar keeps the word all the way down to 320.
166
+ */
167
+ const showPillLabel = !isNarrowPhone || !hasCompany;
107
168
  // ── Shared left-side identity block ────────────────────────────────────
108
169
  // Since SDK 0.6.0 the suite-switcher dropdown attaches here, around the
109
170
  // product logo. Hover/focus opens the dropdown; clicks inside the logo's
110
171
  // own <a> (e.g. clicking the wordmark to go home) still navigate as
111
172
  // before. A small ▾ chevron sits next to the logo so the affordance is
112
173
  // visible.
113
- // ⚠️ On a phone the identity is the PRODUCT ONLY. The "for [icon] [Org]"
114
- // half moves to its own strip under the bar (`companyStrip` below) — see the
115
- // note there for why. Above the breakpoint nothing changes: the desktop row
116
- // has always had room for both, and it is the layout six products' users
117
- // know.
118
- const identityBlock = (_jsxs("div", { style: leftStyle, children: [_jsxs(SuiteSwitcher, { current: product, align: "left", appGroups: DEFAULT_APP_GROUPS, hideOtherProducts: signedOut, disableOpen: signedOut, iconSrc: suiteSwitcherIconSrc, theme: theme, children: [isMobile && productMark ? productMark : productLogo, isMobile && productMark && _jsx(ProductLockup, { product: product, theme: theme })] }), !isMobile && (_jsxs(_Fragment, { children: [_jsx("span", { style: separatorStyle(theme), "aria-hidden": true, children: "\u00B7" }), _jsx("span", { style: { color: BAR[theme].faint, marginRight: 6 }, children: t(language, 'nav.for') }), _jsx(CompanyBadge, { iconUrl: resolvedIconUrl, initial: initial, iconBg: iconBg, hasOrg: !!org, theme: theme }), _jsx("span", { style: companyLabelStyle, children: _jsx("span", { style: { color: org?.name ? BAR[theme].text : BAR[theme].faint }, children: resolvedCompany }) })] }))] }));
119
- /**
120
- * The company, on its own thin line under the bar — phone only.
121
- *
122
- * ⚠️ This is the whole point of the mobile change (owner's ask, 2026-08-30).
123
- * The bar was carrying the product mark, a separator, the word "for", a
124
- * company badge, the company name AND a hamburger across 390px, and it did
125
- * not fit: measured in Risk Assess the hamburger sat ON TOP of "Your
126
- * Company". Something had to leave the row, and the company is the half that
127
- * does not change while you use the app — so it gets a quiet strip of its own
128
- * rather than competing for the same 390px as the controls.
129
- *
130
- * Same move BlackBook's footer made on a phone, for the same reason: two
131
- * things fighting over one strip, and the one that is not a control loses.
132
- */
133
- const companyStrip = (_jsxs("div", { style: companyStripStyle(theme), children: [_jsx(CompanyBadge, { iconUrl: resolvedIconUrl, initial: initial, iconBg: iconBg, hasOrg: !!org, theme: theme }), _jsxs("span", { style: companyStripLabelStyle, children: [_jsxs("span", { style: { color: BAR[theme].faint }, children: [t(language, 'nav.for'), " "] }), _jsx("span", { style: { color: org?.name ? BAR[theme].text : BAR[theme].faint }, children: resolvedCompany })] })] }));
174
+ // ⚠️ On a phone the identity is the PRODUCT NAME plus the company's LOGO
175
+ // ALONE — no separator, no "for", no company name. See `mobileCompanyBadge`
176
+ // above. Above the breakpoint nothing changes: the desktop row has always had
177
+ // room for the full "· for [icon] [Org]" lockup, and it is the layout six
178
+ // products' users know.
179
+ const identityBlock = (_jsxs("div", { style: isMobile ? mobileLeftStyle : leftStyle, children: [_jsxs(SuiteSwitcher, { current: product, align: "left", appGroups: DEFAULT_APP_GROUPS, iconSrc: suiteSwitcherIconSrc, theme: theme, style: isMobile ? { minWidth: 0 } : undefined, children: [isMobile && productMark ? productMark : productLogo, isMobile && productMark && _jsx(ProductLockup, { product: product, theme: theme })] }), isMobile && mobileCompanyBadge, !isMobile && (_jsxs(_Fragment, { children: [_jsx("span", { style: separatorStyle(theme), "aria-hidden": true, children: "\u00B7" }), _jsx("span", { style: { color: BAR[theme].faint, marginRight: 6 }, children: t(language, 'nav.for') }), _jsx(CompanyBadge, { iconUrl: resolvedIconUrl, initial: initial, iconBg: iconBg, hasOrg: !!org, theme: theme }), _jsx("span", { style: companyLabelStyle, children: _jsx("span", { style: { color: org?.name ? BAR[theme].text : BAR[theme].faint }, children: resolvedCompany }) })] }))] }));
134
180
  return (_jsxs("div", { className: className, style: style, children: [showBrandStrip && _jsx(UniversalBar, {}), isMobile ? (
135
181
  // ── Mobile layout ─────────────────────────────────────────────────
136
- _jsxs("div", { ref: mobileHeaderRef, style: { ...headerOuterStyle(theme), position: 'relative' }, children: [_jsxs("header", { style: mobileHeaderInnerStyle, children: [identityBlock, _jsxs("div", { style: mobileActionsRowStyle, children: [_jsxs("button", { type: "button", "aria-label": mobileMenuOpen ? t(language, 'nav.menu_close') : t(language, 'nav.menu_open'), "aria-expanded": mobileMenuOpen, "aria-controls": "universal-mobile-menu", onClick: () => setMobileMenuOpen((v) => !v), style: actionsPillStyle(theme), children: [_jsx("span", { children: t(language, 'profile.actions') }), _jsx(Chevron, { open: mobileMenuOpen })] }), _jsx(ChangelogMenu, { iconSrc: suiteSwitcherIconSrc, theme: theme })] })] }), companyStrip, _jsxs("div", { id: "universal-mobile-menu", role: "navigation", "aria-label": t(language, 'nav.menu_primary'), style: mobilePanelStyle(mobileMenuOpen, theme), children: [newAssessmentHref && (_jsx("a", { href: newAssessmentHref, style: mobileLinkRowStyle(theme), onClick: () => setMobileMenuOpen(false), children: newAssessmentLabel ?? t(language, 'nav.new_assessment') })), knowledgeBase && (_jsx("div", { style: mobileMenuWrapStyle(theme), children: _jsx(KnowledgeBaseMenu, { productItems: knowledgeBase.productItems, productKBHref: knowledgeBase.productKBHref, productLabel: knowledgeBase.productLabel, companyItems: knowledgeBase.companyItems, companyKBHref: knowledgeBase.companyKBHref, style: { display: 'block' }, triggerStyle: mobileMenuTriggerStyle(theme), theme: theme }) })), _jsx("div", { style: mobileMenuWrapStyle(theme), children: _jsx(CompanyMenu, { style: { display: 'block' }, triggerStyle: mobileMenuTriggerStyle(theme), theme: theme }) }), _jsx("div", { style: mobileDividerStyle(theme) }), _jsx("div", { style: mobileIconRowStyle, children: _jsx(UserProfile, { ...resolvedUser, appSettingsHref: resolvedUser.appSettingsHref ?? settingsHref, extras: resolvedUser.extras ?? profileExtras, showLanguageSelector: showLanguageSelector, menuAlign: "left", actionsLabel: profileLabel, tier: subscription?.tier, theme: theme }) })] })] })) : (
182
+ _jsxs("div", { ref: mobileHeaderRef, style: { ...headerOuterStyle(theme), position: 'relative' }, children: [_jsxs("header", { style: mobileHeaderInnerStyle, children: [identityBlock, _jsxs("div", { style: mobileActionsRowStyle, children: [_jsxs("button", { type: "button", "aria-label": mobileMenuOpen ? t(language, 'nav.menu_close') : t(language, 'nav.menu_open'), "aria-expanded": mobileMenuOpen, "aria-controls": "universal-mobile-menu", onClick: () => setMobileMenuOpen((v) => !v), style: actionsPillStyle(theme, mobileMenuOpen, showPillLabel), children: [showPillLabel && _jsx("span", { style: actionsPillLabelStyle, children: t(language, 'profile.actions') }), _jsx(Chevron, { open: mobileMenuOpen }), _jsx(ProfileAvatar, { photoUrl: resolvedUser.photoUrl, name: resolvedUser.name, initials: resolvedUser.initials, size: PROFILE_PILL_AVATAR, theme: theme })] }), _jsx(ChangelogMenu, { iconSrc: suiteSwitcherIconSrc, theme: theme })] })] }), _jsxs("div", { id: "universal-mobile-menu", role: "navigation", "aria-label": t(language, 'nav.menu_primary'), style: mobilePanelStyle(mobileMenuOpen, theme), children: [newAssessmentHref && (_jsx("a", { href: newAssessmentHref, style: mobileLinkRowStyle(theme), onClick: () => setMobileMenuOpen(false), children: newAssessmentLabel ?? t(language, 'nav.new_assessment') })), knowledgeBase && (_jsx("div", { style: mobileMenuWrapStyle(theme), children: _jsx(KnowledgeBaseMenu, { productItems: knowledgeBase.productItems, productKBHref: knowledgeBase.productKBHref, productLabel: knowledgeBase.productLabel, companyItems: knowledgeBase.companyItems, companyKBHref: knowledgeBase.companyKBHref, style: { display: 'block' }, triggerStyle: mobileMenuTriggerStyle(theme), theme: theme }) })), _jsx("div", { style: mobileMenuWrapStyle(theme), children: _jsx(CompanyMenu, { style: { display: 'block' }, triggerStyle: mobileMenuTriggerStyle(theme), theme: theme }) }), _jsx("div", { style: mobileAccountStyle(theme), children: _jsx(UserProfile, { ...resolvedUser, inline: true, onClose: () => setMobileMenuOpen(false), appSettingsHref: resolvedUser.appSettingsHref ?? settingsHref, extras: resolvedUser.extras ?? profileExtras, showLanguageSelector: showLanguageSelector, tier: subscription?.tier, theme: theme }) })] })] })) : (
137
183
  // ── Desktop layout ────────────────────────────────────────────────
138
184
  // The ChangelogMenu is intentionally lifted out of the inner row and
139
185
  // pinned to the viewport's right edge (outside the maxWidth content
@@ -229,12 +275,15 @@ function useMobile(breakpoint = 768) {
229
275
  // ──────────────────────────────────────────────────────────────────────────────
230
276
  // Subcomponents
231
277
  // ──────────────────────────────────────────────────────────────────────────────
232
- function CompanyBadge({ iconUrl, initial, iconBg, hasOrg, theme, }) {
278
+ function CompanyBadge({ iconUrl, initial, iconBg, hasOrg, theme, size = 38, }) {
233
279
  if (iconUrl) {
234
- return (_jsx("span", { style: iconImgWrapperStyle(theme), children: _jsx("img", { src: iconUrl, alt: "", "aria-hidden": true, style: iconImgStyle }) }));
280
+ return (_jsx("span", { style: { ...iconImgWrapperStyle(theme), width: size, height: size }, children: _jsx("img", { src: iconUrl, alt: "", "aria-hidden": true, style: iconImgStyle }) }));
235
281
  }
236
282
  return (_jsx("span", { style: {
237
283
  ...iconFallbackStyle,
284
+ width: size,
285
+ height: size,
286
+ fontSize: Math.round(size * 0.45),
238
287
  background: hasOrg ? iconBg : BAR[theme].iconFallbackBg,
239
288
  color: hasOrg ? readableTextOn(iconBg) : BAR[theme].iconFallbackText,
240
289
  }, "aria-hidden": true, children: hasOrg ? initial : '·' }));
@@ -288,6 +337,20 @@ const leftStyle = {
288
337
  minWidth: 0,
289
338
  flexShrink: 0,
290
339
  };
340
+ /**
341
+ * The same block on a phone, but allowed to SHRINK.
342
+ *
343
+ * ⚠️ `flexShrink: 0` is what let the identity overrun the controls on a narrow
344
+ * phone in the first place — the row could not give anywhere, so the hamburger
345
+ * ended up drawn on top of the company name. Now the product name is the one
346
+ * elastic thing in the row: it ellipsises (see `lockupNameStyle`) and every
347
+ * control keeps its full width.
348
+ */
349
+ const mobileLeftStyle = {
350
+ ...leftStyle,
351
+ flexShrink: 1,
352
+ overflow: 'hidden',
353
+ };
291
354
  const separatorStyle = (theme) => ({
292
355
  color: BAR[theme].separator,
293
356
  fontSize: 12,
@@ -446,52 +509,70 @@ const mobileActionsRowStyle = {
446
509
  gap: 8,
447
510
  flexShrink: 0,
448
511
  };
449
- /** The Actions pill — the Apps bar's control, in the Assess bar. */
450
- const actionsPillStyle = (theme) => ({
512
+ /**
513
+ * The Actions pill — the Apps bar's control, in the Assess bar.
514
+ *
515
+ * Geometry copied from `UserProfile`'s combined pill deliberately: 38px tall so
516
+ * it lines up with the changelog mark beside it, and padded asymmetrically
517
+ * (13px under the label, 3px under the avatar) so the face keeps a visible ring
518
+ * of pill around it instead of being punched through the right edge. The two
519
+ * pills are the same control in two bars and should measure the same.
520
+ *
521
+ * `open` keeps it visibly pressed while the panel is down, so the chevron isn't
522
+ * the only thing saying the two belong together.
523
+ */
524
+ const actionsPillStyle = (theme, open, labelled) => ({
451
525
  display: 'inline-flex',
452
526
  alignItems: 'center',
453
- gap: 6,
527
+ gap: labelled ? 7 : 4,
454
528
  height: 38,
455
- padding: '0 12px',
529
+ // Asymmetric only while there IS a label to breathe: with the word gone the
530
+ // 13px would sit as dead space in front of the chevron and the pill would
531
+ // read as an empty box with a face pushed into one end.
532
+ padding: labelled ? '0 3px 0 13px' : '0 3px 0 8px',
456
533
  borderRadius: 999,
457
- border: `1px solid ${BAR[theme].buttonBorder}`,
458
- background: BAR[theme].buttonBg,
534
+ border: `1px solid ${open ? BAR[theme].hoverBorder : BAR[theme].buttonBorder}`,
535
+ background: open ? BAR[theme].hoverBg : BAR[theme].buttonBg,
459
536
  color: BAR[theme].link,
460
- fontSize: 14,
537
+ fontSize: 13,
461
538
  fontWeight: 600,
539
+ letterSpacing: '-0.01em',
462
540
  fontFamily: 'inherit',
463
541
  cursor: 'pointer',
464
542
  flexShrink: 0,
465
543
  whiteSpace: 'nowrap',
466
- transition: 'background 120ms, border-color 120ms',
544
+ transition: 'all 150ms cubic-bezier(0.16,1,0.3,1)',
467
545
  });
546
+ /** The word inside the pill. Matches `UserProfile`'s `pillLabelStyle`. */
547
+ const actionsPillLabelStyle = {
548
+ display: 'inline-block',
549
+ lineHeight: 1,
550
+ // The 13px label sits a hair low against the avatar's optical centre.
551
+ paddingTop: 1,
552
+ };
468
553
  /**
469
- * The company strip under the bar on a phone.
554
+ * The company logo's slot on the phone row.
470
555
  *
471
- * Quiet on purpose — it is context, not a control. It carries the bar's own
472
- * bottom border so the two read as one piece of chrome rather than as a bar
473
- * with a banner stuck under it.
556
+ * A little air to its left separates it from the product lockup without a
557
+ * divider — the two marks are different enough to read as two things. It never
558
+ * shrinks: it is a fixed 30px tile, and it is the product NAME that gives way
559
+ * (see `mobileLeftStyle`) when a long one meets a narrow phone.
474
560
  */
475
- const companyStripStyle = (theme) => ({
476
- display: 'flex',
561
+ const mobileCompanyBadgeStyle = {
562
+ display: 'inline-flex',
477
563
  alignItems: 'center',
478
- gap: 8,
479
- padding: '6px 16px 8px',
480
- background: BAR[theme].surface,
481
- borderBottom: `1px solid ${BAR[theme].border}`,
482
- fontSize: 12,
483
- minWidth: 0,
484
- });
485
- const companyStripLabelStyle = {
486
- minWidth: 0,
487
- overflow: 'hidden',
488
- textOverflow: 'ellipsis',
489
- whiteSpace: 'nowrap',
564
+ marginLeft: 2,
565
+ flexShrink: 0,
490
566
  };
491
567
  const mobileHeaderInnerStyle = {
492
568
  display: 'flex',
493
569
  alignItems: 'center',
494
570
  justifyContent: 'space-between',
571
+ // A hard floor between the identity and the controls. `space-between` alone
572
+ // only spaces them while there is slack, and the identity is now allowed to
573
+ // shrink into that slack — without a gap a long product name would ellipsise
574
+ // right up against the Actions pill.
575
+ gap: 10,
495
576
  padding: '10px 16px',
496
577
  minHeight: 56,
497
578
  boxSizing: 'border-box',
@@ -536,15 +617,17 @@ const mobileMenuTriggerStyle = (theme) => ({
536
617
  fontWeight: 500,
537
618
  color: BAR[theme].link,
538
619
  });
539
- const mobileDividerStyle = (theme) => ({
540
- height: 1,
541
- background: BAR[theme].rowBorder,
542
- margin: '2px 0',
620
+ /**
621
+ * The account section at the foot of the mobile panel.
622
+ *
623
+ * `UserProfile`'s own rows are denser than the nav rows above them (13px on
624
+ * 8×14 padding, against 15px on 14×20) and that is left alone on purpose: they
625
+ * are a different KIND of thing — what this app can do, then who you are — and
626
+ * the change of rhythm says so without needing a heading. The padding here is
627
+ * what keeps them off the panel's edges; the rule separates the two groups.
628
+ */
629
+ const mobileAccountStyle = (theme) => ({
630
+ borderTop: `1px solid ${BAR[theme].rowBorder}`,
631
+ padding: '6px 6px 8px',
543
632
  });
544
- const mobileIconRowStyle = {
545
- display: 'flex',
546
- alignItems: 'center',
547
- gap: 4,
548
- padding: '10px 16px 12px',
549
- };
550
633
  //# sourceMappingURL=UniversalNavBar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UniversalNavBar.js","sourceRoot":"","sources":["../src/UniversalNavBar.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAsC,MAAM,OAAO,CAAA;AACvF,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,sBAAsB,GAEvB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,GAAG,EAAiB,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,iBAAiB,EAA0B,MAAM,wBAAwB,CAAA;AAClF,OAAO,EAAE,WAAW,EAAyB,MAAM,kBAAkB,CAAA;AACrE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAClG,OAAO,EAAE,CAAC,EAAE,MAAM,WAAW,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAA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WAAW;IAC3B,QAAQ,EAAQ,EAAE;IAClB,UAAU,EAAM,GAAG;IACnB,KAAK,EAAW,GAAG,CAAC,KAAK,CAAC,CAAC,IAAI;IAC/B,cAAc,EAAE,MAAM;IACtB,YAAY,EAAI,aAAa,GAAG,CAAC,KAAK,CAAC,CAAC,SAAS,EAAE;CACpD,CAAC,CAAA;AAEF,gFAAgF;AAChF,MAAM,mBAAmB,GAAG,CAAC,KAAe,EAAiB,EAAE,CAAC,CAAC;IAC/D,YAAY,EAAE,aAAa,GAAG,CAAC,KAAK,CAAC,CAAC,SAAS,EAAE;CAClD,CAAC,CAAA;AAEF,8EAA8E;AAC9E,MAAM,sBAAsB,GAAG,CAAC,KAAe,EAAiB,EAAE,CAAC,CAAC;IAClE,KAAK,EAAW,MAAM;IACtB,OAAO,EAAS,WAAW;IAC3B,cAAc,EAAE,eAAe;IAC/B,QAAQ,EAAQ,EAAE;IAClB,UAAU,EAAM,GAAG;IACnB,KAAK,EAAW,GAAG,CAAC,KAAK,CAAC,CAAC,IAAI;CAChC,CAAC,CAAA;AAEF;;;;;;;;GAQG;AACH,MAAM,kBAAkB,GAAG,CAAC,KAAe,EAAiB,EAAE,CAAC,CAAC;IAC9D,SAAS,EAAE,aAAa,GAAG,CAAC,KAAK,CAAC,CAAC,SAAS,EAAE;IAC9C,OAAO,EAAI,aAAa;CACzB,CAAC,CAAA"}
@@ -137,6 +137,55 @@ export interface UserProfileProps {
137
137
  * dropdown would slide off-screen.
138
138
  */
139
139
  menuAlign?: 'left' | 'right';
140
+ /**
141
+ * Style overrides merged onto the trigger button, after its own styles.
142
+ *
143
+ * The case this exists for is a menu PANEL rather than a bar: the Assess
144
+ * phone menu lays `KnowledgeBaseMenu` and `CompanyMenu` out as full-width
145
+ * rows via their own `triggerStyle`, and the profile is the third thing in
146
+ * that list. Without this it was the only entry rendered as a floating pill,
147
+ * which — once the bar's own Actions pill grew a face — put two identical
148
+ * pills on one screen, one inside the other's panel.
149
+ *
150
+ * Same shape and same name as those two menus take, deliberately.
151
+ */
152
+ triggerStyle?: CSSProperties;
153
+ /**
154
+ * Render the menu's ROWS on the spot, with no trigger and no dropdown.
155
+ *
156
+ * For a surface that is already a menu. The Assess phone panel is the case:
157
+ * it is a list of full-width rows, and the account items belong in that list
158
+ * rather than behind a row that opens a second panel on top of the first
159
+ * (owner, 2026-08-30: "incorporate the sign on, app settings etc into the
160
+ * first level actions dropdown, not an additional drop down").
161
+ *
162
+ * Everything the dropdown holds is rendered — identity header, sign in /
163
+ * view profile, App settings, the language row, `extras`, sign out — in the
164
+ * same order, from the same code. `actionsLabel`, `hideTriggerAvatar`,
165
+ * `triggerStyle`, `menuAlign` and `pillTheme` are inert here: there is no
166
+ * trigger for them to describe. `style` and `className` land on the container
167
+ * that stands in for the dropdown surface.
168
+ *
169
+ * ⚠️ The host owns dismissal now — pass `onClose` so tapping a row can close
170
+ * whatever list the rows were rendered into.
171
+ */
172
+ inline?: boolean;
173
+ /**
174
+ * Called when a row wants the menu it lives in to close.
175
+ *
176
+ * Fires alongside the internal close in dropdown mode, and is the ONLY close
177
+ * signal in `inline` mode, where this component has no panel of its own.
178
+ */
179
+ onClose?: () => void;
180
+ /**
181
+ * Drop the avatar from the TRIGGER. The menu it opens is unchanged.
182
+ *
183
+ * Only meaningful in pill mode (`actionsLabel` and/or `actions` set) — the
184
+ * bare circular trigger IS the avatar, and hiding it would leave an empty
185
+ * disc. Pass it wherever the face is already on screen a few pixels away:
186
+ * repeating it does not say anything the first one did not.
187
+ */
188
+ hideTriggerAvatar?: boolean;
140
189
  /**
141
190
  * This product has no accounts at all, so every ACCOUNT row is suppressed —
142
191
  * sign in, view profile, sign out, the name/email header and the tier badge.
@@ -180,5 +229,63 @@ export interface UserProfileProps {
180
229
  style?: CSSProperties;
181
230
  className?: string;
182
231
  }
183
- export declare function UserProfile({ name, email, photoUrl, initials, profileHref, signInHref, onSignInClick, appSettingsHref, onSignOut, extras, showLanguageSelector, actionsLabel, actions, pillTheme, theme, menuAlign, ariaLabel, noAccount, tier, showLimits, style, className, }: UserProfileProps): import("react/jsx-runtime").JSX.Element;
232
+ export declare function UserProfile({ name, email, photoUrl, initials, profileHref, signInHref, onSignInClick, appSettingsHref, onSignOut, extras, showLanguageSelector, actionsLabel, actions, pillTheme, theme, menuAlign, triggerStyle, inline, onClose, hideTriggerAvatar, ariaLabel, noAccount, tier, showLimits, style, className, }: UserProfileProps): import("react/jsx-runtime").JSX.Element;
233
+ export interface ProfileAvatarProps {
234
+ /**
235
+ * Profile photo URL. When present, renders as an <img>.
236
+ *
237
+ * `null` is accepted as well as undefined: the stores this reads from
238
+ * (`profiles.avatar_url`, an org's branding row) hand back a nullable column,
239
+ * and making every caller coalesce it just moves the same `?? undefined` into
240
+ * six places.
241
+ */
242
+ photoUrl?: string | null;
243
+ /** Display name. Used to derive initials when none are passed. */
244
+ name?: string;
245
+ /** Explicit initials. A literal '?' counts as "none" — see below. */
246
+ initials?: string;
247
+ /** Product with no accounts at all: a settings glyph, not a user. */
248
+ noAccount?: boolean;
249
+ /** Rendered diameter. 36 is the circular trigger's inner size. */
250
+ size?: number;
251
+ theme?: MenuTheme;
252
+ }
253
+ /**
254
+ * The avatar disc, extracted from <UserProfile /> so a second control can wear
255
+ * the same face without mounting a second profile menu behind it.
256
+ *
257
+ * Its one other caller today is the Assess phone bar's Actions pill (owner's
258
+ * ask, 2026-08-30: "Actions … with profile image (example profile image if
259
+ * none)"). Sharing the COMPONENT rather than copying the styles is what keeps
260
+ * the two from drifting: the '?' normalisation and the rotating-figure
261
+ * fallback below are the interesting half of this, and a copy loses them first.
262
+ */
263
+ export declare function ProfileAvatar({ photoUrl, name, initials, noAccount, size, theme, }: ProfileAvatarProps): import("react/jsx-runtime").JSX.Element;
264
+ /** Avatar diameter inside the combined pill. Exported for the Assess phone bar. */
265
+ export declare const PROFILE_PILL_AVATAR: number;
266
+ /** Where the label ellipsizes. See `pillLabelStyle` for why it is 190. */
267
+ export declare const PROFILE_PILL_LABEL_MAX = 190;
268
+ /**
269
+ * The pill's typography, spread into `pillTriggerStyle` below and exported so a
270
+ * caller measuring a candidate label off-screen measures it in the same face —
271
+ * a probe in a different weight answers a question nobody asked.
272
+ */
273
+ export declare const PROFILE_PILL_LABEL_FONT: CSSProperties;
274
+ /**
275
+ * What a label costs the row, over and above the width of the text itself:
276
+ * everything `pillTriggerStyle` adds that the 38px circle does not — the two
277
+ * 1px borders, the 13px left inset, the two 7px gaps, the 12px chevron, the
278
+ * avatar and its 3px inset, less the 38px circle that would be there anyway.
279
+ *
280
+ * Exported because a bar cannot ask "does a label fit?" by rendering one and
281
+ * looking: rendering it is what changes the answer. `UniversalAppsNavBar`
282
+ * measures the free space on a phone and adds this to the measured text width
283
+ * to decide, so the number has to live here, next to the styles it is read off
284
+ * — a copy in the navbar would drift the first time the pill is re-padded.
285
+ *
286
+ * Assumes `box-sizing: border-box` (every host app runs Tailwind's preflight,
287
+ * which sets it). Under content-box the circle would be 40 rather than 38 and
288
+ * this is 2px pessimistic — comfortably inside the caller's clearance.
289
+ */
290
+ export declare const PROFILE_PILL_LABEL_COST: number;
184
291
  //# sourceMappingURL=UserProfile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserProfile.d.ts","sourceRoot":"","sources":["../src/UserProfile.tsx"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,OAAO,CAAA;AAWd,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACzC,OAAO,EAAyB,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAoBtE,MAAM,WAAW,gBAAgB;IAC/B,8DAA8D;IAC9D,IAAI,CAAC,EAAM,MAAM,CAAA;IACjB,6DAA6D;IAC7D,KAAK,CAAC,EAAK,MAAM,CAAA;IACjB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,0DAA0D;IAC1D,QAAQ,C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