@oxy.so/bloom 2.4.0 → 2.6.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 (158) hide show
  1. package/README.md +3 -3
  2. package/docs/app-shell.mdx +10 -0
  3. package/docs/avatar-group.mdx +10 -17
  4. package/docs/hover-card.mdx +125 -0
  5. package/docs/user-hover-card.mdx +29 -9
  6. package/lib/commonjs/app-shell/AppShell.js +85 -18
  7. package/lib/commonjs/app-shell/AppShell.js.map +1 -1
  8. package/lib/commonjs/avatar-group/AvatarGroup.web.js +55 -85
  9. package/lib/commonjs/avatar-group/AvatarGroup.web.js.map +1 -1
  10. package/lib/commonjs/floating/use-anchor-rect.js +1 -0
  11. package/lib/commonjs/floating/use-anchor-rect.js.map +1 -1
  12. package/lib/commonjs/hover-card/HoverCard.js +104 -0
  13. package/lib/commonjs/hover-card/HoverCard.js.map +1 -0
  14. package/lib/commonjs/hover-card/HoverCard.web.js +155 -0
  15. package/lib/commonjs/hover-card/HoverCard.web.js.map +1 -0
  16. package/lib/commonjs/hover-card/HoverCardPanel.js +101 -0
  17. package/lib/commonjs/hover-card/HoverCardPanel.js.map +1 -0
  18. package/lib/commonjs/hover-card/constants.js +25 -0
  19. package/lib/commonjs/hover-card/constants.js.map +1 -0
  20. package/lib/commonjs/hover-card/context.js +37 -0
  21. package/lib/commonjs/hover-card/context.js.map +1 -0
  22. package/lib/commonjs/hover-card/index.js +44 -0
  23. package/lib/commonjs/hover-card/index.js.map +1 -0
  24. package/lib/commonjs/hover-card/index.web.js +44 -0
  25. package/lib/commonjs/hover-card/index.web.js.map +1 -0
  26. package/lib/commonjs/hover-card/types.js +6 -0
  27. package/lib/commonjs/hover-card/types.js.map +1 -0
  28. package/lib/commonjs/hover-card/use-hover-intent.js +49 -0
  29. package/lib/commonjs/hover-card/use-hover-intent.js.map +1 -0
  30. package/lib/commonjs/index.js +12 -0
  31. package/lib/commonjs/index.js.map +1 -1
  32. package/lib/commonjs/index.web.js +16 -4
  33. package/lib/commonjs/index.web.js.map +1 -1
  34. package/lib/commonjs/styles/web-view-style.js +25 -1
  35. package/lib/commonjs/styles/web-view-style.js.map +1 -1
  36. package/lib/commonjs/user-hover-card/UserHoverCard.js +16 -6
  37. package/lib/commonjs/user-hover-card/UserHoverCard.js.map +1 -1
  38. package/lib/commonjs/user-hover-card/constants.js +8 -2
  39. package/lib/commonjs/user-hover-card/constants.js.map +1 -1
  40. package/lib/module/app-shell/AppShell.js +86 -19
  41. package/lib/module/app-shell/AppShell.js.map +1 -1
  42. package/lib/module/avatar-group/AvatarGroup.web.js +55 -84
  43. package/lib/module/avatar-group/AvatarGroup.web.js.map +1 -1
  44. package/lib/module/floating/use-anchor-rect.js +1 -1
  45. package/lib/module/floating/use-anchor-rect.js.map +1 -1
  46. package/lib/module/hover-card/HoverCard.js +96 -0
  47. package/lib/module/hover-card/HoverCard.js.map +1 -0
  48. package/lib/module/hover-card/HoverCard.web.js +147 -0
  49. package/lib/module/hover-card/HoverCard.web.js.map +1 -0
  50. package/lib/module/hover-card/HoverCardPanel.js +95 -0
  51. package/lib/module/hover-card/HoverCardPanel.js.map +1 -0
  52. package/lib/module/hover-card/constants.js +21 -0
  53. package/lib/module/hover-card/constants.js.map +1 -0
  54. package/lib/module/hover-card/context.js +30 -0
  55. package/lib/module/hover-card/context.js.map +1 -0
  56. package/lib/module/hover-card/index.js +5 -0
  57. package/lib/module/hover-card/index.js.map +1 -0
  58. package/lib/module/hover-card/index.web.js +5 -0
  59. package/lib/module/hover-card/index.web.js.map +1 -0
  60. package/lib/module/hover-card/types.js +4 -0
  61. package/lib/module/hover-card/types.js.map +1 -0
  62. package/lib/module/hover-card/use-hover-intent.js +46 -0
  63. package/lib/module/hover-card/use-hover-intent.js.map +1 -0
  64. package/lib/module/index.js +1 -0
  65. package/lib/module/index.js.map +1 -1
  66. package/lib/module/index.web.js +1 -0
  67. package/lib/module/index.web.js.map +1 -1
  68. package/lib/module/styles/web-view-style.js +23 -0
  69. package/lib/module/styles/web-view-style.js.map +1 -1
  70. package/lib/module/user-hover-card/UserHoverCard.js +15 -5
  71. package/lib/module/user-hover-card/UserHoverCard.js.map +1 -1
  72. package/lib/module/user-hover-card/constants.js +9 -2
  73. package/lib/module/user-hover-card/constants.js.map +1 -1
  74. package/lib/typescript/commonjs/app-shell/AppShell.d.ts.map +1 -1
  75. package/lib/typescript/commonjs/app-shell/types.d.ts +14 -0
  76. package/lib/typescript/commonjs/app-shell/types.d.ts.map +1 -1
  77. package/lib/typescript/commonjs/avatar-group/AvatarGroup.web.d.ts.map +1 -1
  78. package/lib/typescript/commonjs/floating/use-anchor-rect.d.ts +7 -0
  79. package/lib/typescript/commonjs/floating/use-anchor-rect.d.ts.map +1 -1
  80. package/lib/typescript/commonjs/hover-card/HoverCard.d.ts +5 -0
  81. package/lib/typescript/commonjs/hover-card/HoverCard.d.ts.map +1 -0
  82. package/lib/typescript/commonjs/hover-card/HoverCard.web.d.ts +5 -0
  83. package/lib/typescript/commonjs/hover-card/HoverCard.web.d.ts.map +1 -0
  84. package/lib/typescript/commonjs/hover-card/HoverCardPanel.d.ts +45 -0
  85. package/lib/typescript/commonjs/hover-card/HoverCardPanel.d.ts.map +1 -0
  86. package/lib/typescript/commonjs/hover-card/constants.d.ts +16 -0
  87. package/lib/typescript/commonjs/hover-card/constants.d.ts.map +1 -0
  88. package/lib/typescript/commonjs/hover-card/context.d.ts +21 -0
  89. package/lib/typescript/commonjs/hover-card/context.d.ts.map +1 -0
  90. package/lib/typescript/commonjs/hover-card/index.d.ts +4 -0
  91. package/lib/typescript/commonjs/hover-card/index.d.ts.map +1 -0
  92. package/lib/typescript/commonjs/hover-card/index.web.d.ts +4 -0
  93. package/lib/typescript/commonjs/hover-card/index.web.d.ts.map +1 -0
  94. package/lib/typescript/commonjs/hover-card/types.d.ts +50 -0
  95. package/lib/typescript/commonjs/hover-card/types.d.ts.map +1 -0
  96. package/lib/typescript/commonjs/hover-card/use-hover-intent.d.ts +14 -0
  97. package/lib/typescript/commonjs/hover-card/use-hover-intent.d.ts.map +1 -0
  98. package/lib/typescript/commonjs/index.d.ts +1 -0
  99. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  100. package/lib/typescript/commonjs/index.web.d.ts +1 -0
  101. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  102. package/lib/typescript/commonjs/styles/web-view-style.d.ts +19 -0
  103. package/lib/typescript/commonjs/styles/web-view-style.d.ts.map +1 -1
  104. package/lib/typescript/commonjs/user-hover-card/UserHoverCard.d.ts.map +1 -1
  105. package/lib/typescript/commonjs/user-hover-card/constants.d.ts +6 -1
  106. package/lib/typescript/commonjs/user-hover-card/constants.d.ts.map +1 -1
  107. package/lib/typescript/module/app-shell/AppShell.d.ts.map +1 -1
  108. package/lib/typescript/module/app-shell/types.d.ts +14 -0
  109. package/lib/typescript/module/app-shell/types.d.ts.map +1 -1
  110. package/lib/typescript/module/avatar-group/AvatarGroup.web.d.ts.map +1 -1
  111. package/lib/typescript/module/floating/use-anchor-rect.d.ts +7 -0
  112. package/lib/typescript/module/floating/use-anchor-rect.d.ts.map +1 -1
  113. package/lib/typescript/module/hover-card/HoverCard.d.ts +5 -0
  114. package/lib/typescript/module/hover-card/HoverCard.d.ts.map +1 -0
  115. package/lib/typescript/module/hover-card/HoverCard.web.d.ts +5 -0
  116. package/lib/typescript/module/hover-card/HoverCard.web.d.ts.map +1 -0
  117. package/lib/typescript/module/hover-card/HoverCardPanel.d.ts +45 -0
  118. package/lib/typescript/module/hover-card/HoverCardPanel.d.ts.map +1 -0
  119. package/lib/typescript/module/hover-card/constants.d.ts +16 -0
  120. package/lib/typescript/module/hover-card/constants.d.ts.map +1 -0
  121. package/lib/typescript/module/hover-card/context.d.ts +21 -0
  122. package/lib/typescript/module/hover-card/context.d.ts.map +1 -0
  123. package/lib/typescript/module/hover-card/index.d.ts +4 -0
  124. package/lib/typescript/module/hover-card/index.d.ts.map +1 -0
  125. package/lib/typescript/module/hover-card/index.web.d.ts +4 -0
  126. package/lib/typescript/module/hover-card/index.web.d.ts.map +1 -0
  127. package/lib/typescript/module/hover-card/types.d.ts +50 -0
  128. package/lib/typescript/module/hover-card/types.d.ts.map +1 -0
  129. package/lib/typescript/module/hover-card/use-hover-intent.d.ts +14 -0
  130. package/lib/typescript/module/hover-card/use-hover-intent.d.ts.map +1 -0
  131. package/lib/typescript/module/index.d.ts +1 -0
  132. package/lib/typescript/module/index.d.ts.map +1 -1
  133. package/lib/typescript/module/index.web.d.ts +1 -0
  134. package/lib/typescript/module/index.web.d.ts.map +1 -1
  135. package/lib/typescript/module/styles/web-view-style.d.ts +19 -0
  136. package/lib/typescript/module/styles/web-view-style.d.ts.map +1 -1
  137. package/lib/typescript/module/user-hover-card/UserHoverCard.d.ts.map +1 -1
  138. package/lib/typescript/module/user-hover-card/constants.d.ts +6 -1
  139. package/lib/typescript/module/user-hover-card/constants.d.ts.map +1 -1
  140. package/package.json +20 -1
  141. package/src/app-shell/AppShell.tsx +83 -16
  142. package/src/app-shell/types.ts +14 -0
  143. package/src/avatar-group/AvatarGroup.web.tsx +57 -126
  144. package/src/floating/use-anchor-rect.ts +1 -1
  145. package/src/hover-card/HoverCard.tsx +90 -0
  146. package/src/hover-card/HoverCard.web.tsx +160 -0
  147. package/src/hover-card/HoverCardPanel.tsx +112 -0
  148. package/src/hover-card/constants.ts +18 -0
  149. package/src/hover-card/context.ts +45 -0
  150. package/src/hover-card/index.ts +7 -0
  151. package/src/hover-card/index.web.ts +7 -0
  152. package/src/hover-card/types.ts +53 -0
  153. package/src/hover-card/use-hover-intent.ts +47 -0
  154. package/src/index.ts +1 -0
  155. package/src/index.web.ts +1 -0
  156. package/src/styles/web-view-style.ts +23 -0
  157. package/src/user-hover-card/UserHoverCard.tsx +30 -18
  158. package/src/user-hover-card/constants.ts +9 -2
package/README.md CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  ### What it is
22
22
 
23
- Components, hooks and design tokens published as `@oxy.so/bloom` across 129 subpath exports, shipped as `src` for Metro and as compiled CommonJS and ESM for everyone else. Web builds resolve platform forks automatically through export conditions, so a `.web.tsx` fork never reaches a native bundle.
23
+ Components, hooks and design tokens published as `@oxy.so/bloom` across 130 subpath exports, shipped as `src` for Metro and as compiled CommonJS and ESM for everyone else. Web builds resolve platform forks automatically through export conditions, so a `.web.tsx` fork never reaches a native bundle.
24
24
 
25
25
  Styling is NativeWind classes throughout. There are no colour props and no wrapper components to theme a button, because a second way to set a colour is a second thing that can disagree.
26
26
 
@@ -151,7 +151,7 @@ Every palette is generated from a single seed colour by a dependency free colour
151
151
 
152
152
  ## Components
153
153
 
154
- Bloom publishes 129 subpath exports. Importing from the subpath rather than the root keeps a bundle to what it actually renders.
154
+ Bloom publishes 130 subpath exports. Importing from the subpath rather than the root keeps a bundle to what it actually renders.
155
155
 
156
156
  | Group | Exports |
157
157
  |---|---|
@@ -163,7 +163,7 @@ Bloom publishes 129 subpath exports. Importing from the subpath rather than the
163
163
  | Layout and lists | `grid`, `list`, `scroll`, `settings-list`, `card`, `accordion`, `aspect-ratio`, `divider`, `item`, `carousel` |
164
164
  | Data and charts | `table`, `data-table`, `chart-cards`, `stat-cards`, `calendar`, `composition-bar`, `dot-grid-meter`, `stat-bar`, `activity-heatmap`, `recent-hires-card`, `patient-info-card`, `important-alerts-card`, `agent-limits-card`, `ai-profile-card` |
165
165
  | AI and agents | `agent-chat`, `ai-chat`, `composer-panel`, `composer-loader`, `agent-thinking`, `agent-log`, `agent-progress`, `task-list`, `web-search`, `questionnaire` |
166
- | Identity and media | `avatar`, `avatar-group`, `user-hover-card`, `image-resolver`, `image-aspect-ratio-cache`, `zoomable-image-gallery`, `zoomable-media-gallery`, `media-flight`, `media-inset-border`, `progressive-blur`, `fill` |
166
+ | Identity and media | `avatar`, `avatar-group`, `hover-card`, `user-hover-card`, `image-resolver`, `image-aspect-ratio-cache`, `zoomable-image-gallery`, `zoomable-media-gallery`, `media-flight`, `media-inset-border`, `progressive-blur`, `fill` |
167
167
  | Feedback | `toast`, `notification`, `notification-center`, `announcement`, `admonition`, `loading`, `skeleton`, `error-boundary`, `badge`, `chip`, `kbd`, `code`, `link-preview`, `connection-status`, `connection-dots` |
168
168
  | Motion and assets | `motion`, `animated-check`, `icon-circle`, `radio-indicator`, `icons`, `typography`, `fonts` |
169
169
 
@@ -32,6 +32,16 @@ import { AppShell, NotificationBell, ProOfferCard } from '@oxy.so/bloom/app-shel
32
32
  - `overlay` — a drawer over the page on a 40% black backdrop (portaled through `OverlayRoot`, so it ranks with every other overlay).
33
33
  - `reveal` — the rail waits flat beneath the page; the page slides 272 right and rounds to 32 while the rail scales in from 0.94 (325ms). Pressing the page closes it.
34
34
  - `drawerOpen` / `onDrawerOpenChange` control it.
35
+
36
+ ## Scrolling on web
37
+
38
+ The page scrolls the **document**, like a [`ContentPanel`](/docs/bloom/main/content-panel) page — not a scroll view inside the frame. The shell is at least one viewport tall and grows with its content; the in-flow sidebar is `position: sticky`, so it stays put while the page moves under it. That is what makes scroll restoration, the mobile address bar collapsing, anchor links and `window.scrollTo` behave as they do on any web page.
39
+
40
+ - Nothing between the shell and the document may become a scroll container: a parent with `height: 100%` plus `overflow: hidden` (or `auto`) around `AppShell` pins the sidebar to a box that never scrolls. Mount it straight under the app root.
41
+ - `reveal` clips the sliding page with `overflow: clip`, not `hidden`, for the same reason — and so the 272px slide never adds a horizontal scrollbar. The waiting rail is `position: fixed`.
42
+ - `scroll="container"` restores the old behaviour — the shell fills its parent and the page scrolls inside its own `ScrollView` — for a shell embedded in a bounded box rather than owning the page.
43
+
44
+ Native has no document: the page always scrolls its own `ScrollView`, and `scroll` is ignored.
35
45
  - `sidebar={{ variant: 'rail', … }}` keeps the 80px navigation rail in flow from `sm` instead of `lg`; below `sm` the menu button opens the drawer, which always shows the full panel.
36
46
 
37
47
  ## NotificationBell
@@ -72,20 +72,13 @@ state — the consumer passes the SDK's `FollowButton` into its `action` slot.
72
72
 
73
73
  `renderItemAction` is the only slot the hover card exposes per item.
74
74
  `UserHoverCard`'s `footer` is not forwarded: a facepile hover card is a glance at
75
- who these people are, and an app that wants a fuller preview renders
76
- `UserHoverCard` behind its own trigger.
77
-
78
- The card floats via `Portal`, imported from `'../portal/index.web'` rather than
79
- the bare `'../portal'` — export conditions don't apply to relative specifiers,
80
- so a bare import here resolves to the NATIVE barrel off Metro (Vite, webpack,
81
- SSR), and the card renders nothing, silently, because the native `Portal`
82
- needs a `PortalOutlet` no web app mounts. If you touch this import, verify
83
- against the BUILT artefact, not just the source.
84
-
85
- The card floats under a `View` with `onPointerEnter`/`onPointerLeave`, and that
86
- must not become a `Pressable`. react-native-web's `Pressable` dispatches a
87
- bubbling `react-gui:hover:lock` event on hover, and an ancestor `Pressable` that
88
- is currently hovered ends its own hover for any lock it did not send — so a
89
- `Pressable` bridge dismissed the card the moment the cursor reached the injected
90
- FollowButton or the identity area. Nothing was logged; the card just went away
91
- about 120ms later.
75
+ who these people are, and an app that wants a fuller preview wraps an avatar in a
76
+ [`HoverCard`](/docs/bloom/main/hover-card) with `UserHoverCard` inside.
77
+
78
+ The card floats in the same panel as [`HoverCardContent`](/docs/bloom/main/hover-card),
79
+ so placement (flip and clamp), motion, Escape and outside-press dismissal and the
80
+ pointer bridge are the hover card's — including why that bridge must never be a
81
+ `Pressable`. What this family adds is ONE card for the whole pile: it re-anchors
82
+ as the cursor moves between faces instead of closing and reopening per avatar,
83
+ and it opens with no delay, because a pointer on a row of people is already
84
+ asking who they are.
@@ -0,0 +1,125 @@
1
+ ---
2
+ title: HoverCard
3
+ description: Decides when and where a preview card appears — hover or focus on web, long press on native.
4
+ order: 22
5
+ ---
6
+
7
+ # HoverCard
8
+
9
+ A preview that opens while the pointer rests on something — a name, an avatar, a
10
+ link — and stays up while the pointer moves onto it. On native, where there is no
11
+ hover, a long press opens it in a bottom sheet.
12
+
13
+ Three parts, shadcn's own: `HoverCard`, `HoverCardTrigger`, `HoverCardContent`.
14
+ The trigger decides **when** the card appears; the content decides **where**.
15
+ What the card shows is up to you — for a person, that is
16
+ [`UserHoverCard`](/docs/bloom/main/user-hover-card).
17
+
18
+ ```tsx
19
+ import { HoverCard, HoverCardContent, HoverCardTrigger } from '@oxy.so/bloom/hover-card';
20
+ import { UserHoverCard } from '@oxy.so/bloom/user-hover-card';
21
+ import { FollowButton } from '@oxy.so/services';
22
+
23
+ <HoverCard>
24
+ <HoverCardTrigger asChild>
25
+ <Link href={`/@${user.username}`}>@{user.username}</Link>
26
+ </HoverCardTrigger>
27
+ <HoverCardContent label={user.name.displayName}>
28
+ <UserHoverCard
29
+ avatar={user.avatar}
30
+ displayName={user.name.displayName ?? user.username}
31
+ username={user.username}
32
+ bio={user.bio}
33
+ action={<FollowButton userId={user.id} />}
34
+ />
35
+ </HoverCardContent>
36
+ </HoverCard>
37
+ ```
38
+
39
+ `UserHoverCard` notices it is inside a `HoverCardContent` and draws only its
40
+ content — the panel is its surface, so there is never a card inside a card, and
41
+ the entrance plays once.
42
+
43
+ ## When it opens
44
+
45
+ | Platform | Opens | Closes |
46
+ | -------- | ------------------------------------------------------- | --------------------------------------------------- |
47
+ | Web | pointer rests on the trigger for `openDelay` (400ms), or keyboard focus reaches it | pointer away from trigger **and** card for `closeDelay` (150ms), blur, Escape, a press outside |
48
+ | Native | long press on the trigger | swipe the sheet down, tap the scrim |
49
+
50
+ - **The open delay is a filter, not latency.** A pointer crossing a page of
51
+ names on its way somewhere else opens nothing.
52
+ - **The close delay is a bridge.** The card sits 8px from its trigger; the
53
+ pointer crosses that gap well within 150ms, so moving onto the card keeps it
54
+ up. Everything inside the card — a follow button, the profile link — stays
55
+ reachable.
56
+ - **Touch pointers are ignored on web.** A tap is a press, and it belongs to the
57
+ element under the finger.
58
+ - **Only keyboard focus opens it** (`:focus-visible`). A mouse click focuses what
59
+ it lands on too, and opening on that would reopen a card the click meant to
60
+ get past.
61
+ - **A plain press is never the card's.** On native the trigger composes a long
62
+ press into its child and leaves `onPress` alone, so a link or an avatar that
63
+ navigates still navigates.
64
+
65
+ Pass `openDelay` / `closeDelay` on the root to tune it; they do nothing on
66
+ native.
67
+
68
+ ## `asChild` on native
69
+
70
+ When the trigger's child is itself pressable, pass `asChild`. Without it the
71
+ child renders inside Bloom's own `Pressable`, and the inner pressable wins the
72
+ responder — the outer long press never fires. With it, the long press is merged
73
+ into your element, composed with any `onLongPress` it already has. On web the
74
+ prop is ignored: the trigger listens for pointer and focus on a wrapper, so
75
+ there is nothing to merge.
76
+
77
+ ## Load on open
78
+
79
+ `onOpenChange(true)` fires when the card is about to show, which is the moment to
80
+ fetch. Render `UserHoverCard` with `loading` until the profile lands — the
81
+ skeleton has the card's own geometry, so nothing jumps.
82
+
83
+ ```tsx
84
+ const [open, setOpen] = useState(false);
85
+ const { data: user } = useProfile(username, { enabled: open });
86
+
87
+ <HoverCard open={open} onOpenChange={setOpen}>
88
+ <HoverCardTrigger asChild>
89
+ <Link href={`/@${username}`}>@{username}</Link>
90
+ </HoverCardTrigger>
91
+ <HoverCardContent label={username}>
92
+ <UserHoverCard loading={!user} displayName={user?.name ?? username} username={username} />
93
+ </HoverCardContent>
94
+ </HoverCard>
95
+ ```
96
+
97
+ ## Where it opens
98
+
99
+ `HoverCardContent` takes the anchored-surface props every Bloom floating surface
100
+ takes: `side` (default `'bottom'`), `align` (default `'center'`), `sideOffset`
101
+ (default `8`) and `alignOffset`. `side` is a preference — the card flips when it
102
+ does not fit and is clamped inside the viewport.
103
+
104
+ The surface is Bloom's floating panel: radius 16, 1px border, the dropdown
105
+ shadow, a 15px inset (`padded={false}` removes the inset) and the 150ms fade,
106
+ `scale-95` and 2px blur entrance, reversed on the way out. It is **not modal** —
107
+ nothing is laid over the page, which stays scrollable and clickable.
108
+
109
+ ## The bridge must not be a `Pressable`
110
+
111
+ The pointer bridge that keeps the card open is a `View` listening to
112
+ `pointerenter`/`pointerleave`. react-native-web's `Pressable` dispatches a
113
+ bubbling `react-gui:hover:lock` event on hover, and a hovered ancestor
114
+ `Pressable` ends its own hover for any lock it did not send — so a `Pressable`
115
+ bridge dismissed the card the moment the cursor reached a button inside it, with
116
+ nothing logged. `pointerenter`/`pointerleave` do not bubble and do not fire
117
+ between descendants. Gates: `HoverCard.web.test.tsx` and
118
+ `UserHoverCard.web.test.tsx`, both mutation-checked against removing the bridge.
119
+
120
+ ## `AvatarGroup`
121
+
122
+ `AvatarGroup`'s `hoverCard` floats its card in the same panel, so placement,
123
+ motion and dismissal match. It keeps ONE card for the whole pile, re-anchored as
124
+ the cursor moves between faces, which is the one thing a `HoverCard` per avatar
125
+ could not do.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  title: UserHoverCard
3
- description: A presentational profile card. Bloom holds no follow logic — the consumer passes the button in.
3
+ description: A profile card. Show it with HoverCard; Bloom holds no follow logic — the consumer passes the button in.
4
4
  order: 23
5
5
  ---
6
6
 
@@ -29,6 +29,30 @@ import { FollowButton } from '@oxy.so/services';
29
29
  />
30
30
  ```
31
31
 
32
+ ## Showing it
33
+
34
+ `UserHoverCard` draws the person and nothing else — it does not decide **when**
35
+ or **where** it appears. That is [`HoverCard`](/docs/bloom/main/hover-card)'s
36
+ job: hover or keyboard focus on web, long press on native, anchored to the
37
+ trigger and kept open while the pointer travels onto it.
38
+
39
+ ```tsx
40
+ import { HoverCard, HoverCardContent, HoverCardTrigger } from '@oxy.so/bloom/hover-card';
41
+
42
+ <HoverCard>
43
+ <HoverCardTrigger asChild>
44
+ <Link href={`/@${user.username}`}>@{user.username}</Link>
45
+ </HoverCardTrigger>
46
+ <HoverCardContent label={user.name.displayName}>
47
+ <UserHoverCard displayName={user.name.displayName} username={user.username} />
48
+ </HoverCardContent>
49
+ </HoverCard>
50
+ ```
51
+
52
+ Inside `HoverCardContent` the card draws no surface of its own — the panel's
53
+ border, background, shadow and inset are the card's, and the entrance plays
54
+ once. Rendered anywhere else it wears the same surface itself.
55
+
32
56
  ## `footer` is where your own content goes
33
57
 
34
58
  The card renders what every Oxy app agrees a person is — photo, name, handle,
@@ -122,14 +146,10 @@ position.
122
146
 
123
147
  ### Inside a hover card, everything you put here stays pressable
124
148
 
125
- `AvatarGroup`'s `hoverCard` floats this card under a bridge that keeps it open
126
- while the cursor is over it. That bridge is a `View` with
127
- `onPointerEnter`/`onPointerLeave`, **not** a `Pressable`, and it has to be: a
128
- `Pressable` bridge dismisses the card the moment the cursor reaches anything
129
- pressable inside it. react-native-web's `Pressable` dispatches a bubbling
130
- `react-gui:hover:lock` event, and an ancestor `Pressable` that is currently
131
- hovered ends its own hover for any lock it did not send. If you build your own
132
- hover trigger around this card, do the same.
149
+ `HoverCard` (and `AvatarGroup`'s `hoverCard`) keep the card open with a pointer
150
+ bridge that is deliberately not a `Pressable`, so the cursor can reach a button
151
+ in `action` or `footer` without the card closing. Why, measured:
152
+ [HoverCard](/docs/bloom/main/hover-card).
133
153
 
134
154
  ## Bloom holds no follow state
135
155
 
@@ -13,6 +13,7 @@ var _index = require("../overlay/index.js");
13
13
  var _portal = require("../portal");
14
14
  var _index2 = require("../sidebar/index.js");
15
15
  var _breakpoints = require("../styles/breakpoints.js");
16
+ var _webViewStyle = require("../styles/web-view-style.js");
16
17
  var _useTheme = require("../theme/use-theme.js");
17
18
  var _AppShellHeader = require("./AppShellHeader.js");
18
19
  var _jsxRuntime = require("react/jsx-runtime");
@@ -25,7 +26,8 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
25
26
  * lg and up the sidebar in flow (from `sm` for `variant: 'rail'`, whose
26
27
  * drawer below `sm` opens the panel); `overlay` pads the whole frame 12 with a
27
28
  * 16 gap, `reveal` sits the rail 12 from the top-left
28
- * main scrolls; the content column is centred, max 1300, gap 10:
29
+ * main scrolls — on web the DOCUMENT (see `scroll`), elsewhere its own
30
+ * ScrollView; the content column is centred, max 1300, gap 10:
29
31
  * header (breadcrumb + title row), then the content (gap 16,
30
32
  * 16 below). `overlay` insets the column 12 from the top at `sm`,
31
33
  * `reveal` pads the page 12 (24 on top at `sm`)
@@ -40,6 +42,29 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
40
42
  const REVEAL_EASE = _reactNativeReanimated.Easing.bezier(0.42, 0, 0.58, 1);
41
43
  const REVEAL_MS = 325;
42
44
  const REVEAL_OFFSET = 272;
45
+
46
+ /**
47
+ * The page's scroller. In `document` mode it is a plain box and the page grows
48
+ * the document; otherwise a `ScrollView` filling the frame.
49
+ */
50
+ function Scroller({
51
+ document: inDocument,
52
+ style,
53
+ contentStyle,
54
+ children
55
+ }) {
56
+ if (inDocument) return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
57
+ style: [style, contentStyle],
58
+ children: children
59
+ });
60
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
61
+ style: [{
62
+ flex: 1
63
+ }, style],
64
+ contentContainerStyle: contentStyle,
65
+ children: children
66
+ });
67
+ }
43
68
  const AppShellComponent = ({
44
69
  sidebar,
45
70
  drawer = 'overlay',
@@ -52,6 +77,7 @@ const AppShellComponent = ({
52
77
  overlay,
53
78
  drawerOpen,
54
79
  onDrawerOpenChange,
80
+ scroll = 'document',
55
81
  style,
56
82
  testID
57
83
  }) => {
@@ -59,6 +85,8 @@ const AppShellComponent = ({
59
85
  const {
60
86
  width
61
87
  } = (0, _reactNative.useWindowDimensions)();
88
+ // Native has no document; `scroll` only chooses on web.
89
+ const doc = _reactNative.Platform.OS === 'web' && scroll === 'document';
62
90
  const small = width >= _breakpoints.BREAKPOINTS.sm;
63
91
  // The rail is narrow enough to stay in flow from `sm`; the panel needs `lg`.
64
92
  const rail = sidebar?.variant === 'rail';
@@ -129,28 +157,32 @@ const AppShellComponent = ({
129
157
  if (drawer === 'reveal') {
130
158
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
131
159
  testID: testID,
132
- style: [{
160
+ style: [doc ? revealDocumentRoot : {
133
161
  flex: 1,
134
162
  height: '100%',
163
+ overflow: 'hidden'
164
+ }, {
135
165
  flexDirection: 'row',
136
- overflow: 'hidden',
137
166
  backgroundColor: background
138
167
  }, style],
139
168
  children: [sidebar && wide ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
140
- style: {
169
+ style: [{
141
170
  paddingTop: 12,
142
171
  paddingBottom: 12,
143
172
  paddingLeft: 12,
144
173
  flexShrink: 0
145
- },
174
+ }, doc ? stickyRail(0) : null],
146
175
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Sidebar, {
147
176
  ...sidebar
148
177
  })
149
178
  }) : null, sidebar && !wide ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
150
179
  "aria-hidden": !isOpen,
151
- pointerEvents: isOpen ? 'auto' : 'none',
180
+ pointerEvents: isOpen ? 'auto' : 'none'
181
+ // Fixed on web in document mode: the rail waits beneath the VIEWPORT,
182
+ // wherever the page is scrolled to.
183
+ ,
152
184
  style: {
153
- position: 'absolute',
185
+ position: doc ? _webViewStyle.WEB_POSITION_FIXED : 'absolute',
154
186
  top: 0,
155
187
  bottom: 0,
156
188
  left: 0,
@@ -176,14 +208,13 @@ const AppShellComponent = ({
176
208
  style: [{
177
209
  flex: 1,
178
210
  minWidth: 0,
179
- overflow: 'hidden',
211
+ overflow: doc ? _webViewStyle.WEB_OVERFLOW_CLIP : 'hidden',
180
212
  backgroundColor: background
181
213
  }, wide ? null : pageStyle],
182
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
183
- style: {
184
- flex: 1
185
- },
186
- contentContainerStyle: {
214
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(Scroller, {
215
+ document: doc,
216
+ style: {},
217
+ contentStyle: {
187
218
  padding: 12,
188
219
  paddingTop: small ? 24 : 12
189
220
  },
@@ -214,16 +245,22 @@ const AppShellComponent = ({
214
245
  }
215
246
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
216
247
  testID: testID,
217
- style: [{
248
+ style: [doc ? documentRoot : {
218
249
  flex: 1,
219
250
  height: '100%',
251
+ overflow: 'hidden'
252
+ }, {
220
253
  flexDirection: 'row',
221
254
  gap: 16,
222
- overflow: 'hidden',
223
255
  padding: 12,
224
256
  backgroundColor: background
225
257
  }, style],
226
- children: [sidebar && wide ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Sidebar, {
258
+ children: [sidebar && wide ? doc ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
259
+ style: stickyRail(12),
260
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Sidebar, {
261
+ ...sidebar
262
+ })
263
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Sidebar, {
227
264
  ...sidebar
228
265
  }) : null, sidebar && isOpen ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_portal.Portal, {
229
266
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.OverlayRoot, {
@@ -255,19 +292,49 @@ const AppShellComponent = ({
255
292
  })
256
293
  })]
257
294
  })
258
- }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
295
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(Scroller, {
296
+ document: doc,
259
297
  style: {
260
298
  flex: 1,
261
299
  minWidth: 0,
262
300
  backgroundColor: background
263
301
  },
264
- contentContainerStyle: {
302
+ contentStyle: {
265
303
  paddingTop: small ? 12 : 0
266
304
  },
267
305
  children: column
268
306
  }), overlay]
269
307
  });
270
308
  };
309
+
310
+ /**
311
+ * Document mode: the frame is at least one viewport tall and grows with the
312
+ * page, so the browser scrolls the document (scroll restoration, the address
313
+ * bar collapsing, anchor links, `window.scrollTo`) exactly as it does for a
314
+ * `ContentPanel` page. Nothing here may be a scroll container — no `hidden`
315
+ * overflow — or the sticky rail would stick to a box that never scrolls.
316
+ */
317
+ const documentRoot = {
318
+ flexGrow: 1,
319
+ minHeight: _webViewStyle.WEB_VIEWPORT_HEIGHT
320
+ };
321
+ // The page slides 272 right under `reveal`; `clip` keeps that from widening the
322
+ // document with a horizontal scrollbar, without becoming a scroll container.
323
+ const revealDocumentRoot = {
324
+ ...documentRoot,
325
+ overflow: _webViewStyle.WEB_OVERFLOW_CLIP
326
+ };
327
+
328
+ /** The in-flow rail, pinned to the viewport while the document scrolls under it. */
329
+ function stickyRail(inset) {
330
+ return {
331
+ position: _webViewStyle.WEB_POSITION_STICKY,
332
+ top: inset,
333
+ height: (0, _webViewStyle.webViewportHeightMinus)(inset * 2),
334
+ alignSelf: 'flex-start',
335
+ flexShrink: 0
336
+ };
337
+ }
271
338
  const AppShell = exports.AppShell = /*#__PURE__*/(0, _react.memo)(AppShellComponent);
272
339
  AppShell.displayName = 'AppShell';
273
340
  //# sourceMappingURL=AppShell.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_shared","_useControllableState","_index","_portal","_index2","_breakpoints","_useTheme","_AppShellHeader","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","REVEAL_EASE","Easing","bezier","REVEAL_MS","REVEAL_OFFSET","AppShellComponent","sidebar","drawer","title","breadcrumb","actions","header","children","contentMaxWidth","overlay","drawerOpen","onDrawerOpenChange","style","testID","theme","useTheme","width","useWindowDimensions","small","BREAKPOINTS","sm","rail","variant","wide","lg","drawerSidebar","undefined","reducedMotion","useReducedMotion","open","setOpen","useControllableState","value","defaultValue","onChange","isOpen","neutral","resolveButtonRamps","background","isDark","mixColor","colors","card","reveal","useSharedValue","useEffect","target","withTiming","duration","easing","railStyle","useAnimatedStyle","opacity","transform","scale","pageStyle","translateX","borderRadius","veilStyle","headerNode","jsx","AppShellHeader","menuOpen","onMenuPress","column","jsxs","View","maxWidth","alignSelf","gap","paddingBottom","flex","height","flexDirection","overflow","backgroundColor","paddingTop","paddingLeft","flexShrink","Sidebar","pointerEvents","position","top","bottom","left","transformOrigin","mobile","flat","onClose","minWidth","ScrollView","contentContainerStyle","padding","right","Pressable","role","accessibilityLabel","focusable","onPress","Portal","OverlayRoot","Backdrop","blurIntensity","dimOpacity","AppShell","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["app-shell/AppShell.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAH,uBAAA,CAAAC,OAAA;AAQA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,qBAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AACA,IAAAS,SAAA,GAAAT,OAAA;AACA,IAAAU,eAAA,GAAAV,OAAA;AAAkD,IAAAW,WAAA,GAAAX,OAAA;AAAA,SAAAD,wBAAAa,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAf,uBAAA,YAAAA,CAAAa,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CA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AC/CwG,QAAQ,CAACG,WAAW,GAAG,UAAU","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_shared","_useControllableState","_index","_portal","_index2","_breakpoints","_webViewStyle","_useTheme","_AppShellHeader","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","REVEAL_EASE","Easing","bezier","REVEAL_MS","REVEAL_OFFSET","Scroller","document","inDocument","style","contentStyle","children","jsx","View","ScrollView","flex","contentContainerStyle","AppShellComponent","sidebar","drawer","title","breadcrumb","actions","header","contentMaxWidth","overlay","drawerOpen","onDrawerOpenChange","scroll","testID","theme","useTheme","width","useWindowDimensions","doc","Platform","OS","small","BREAKPOINTS","sm","rail","variant","wide","lg","drawerSidebar","undefined","reducedMotion","useReducedMotion","open","setOpen","useControllableState","value","defaultValue","onChange","isOpen","neutral","resolveButtonRamps","background","isDark","mixColor","colors","card","reveal","useSharedValue","useEffect","target","withTiming","duration","easing","railStyle","useAnimatedStyle","opacity","transform","scale","pageStyle","translateX","borderRadius","veilStyle","headerNode","AppShellHeader","menuOpen","onMenuPress","column","jsxs","maxWidth","alignSelf","gap","paddingBottom","revealDocumentRoot","height","overflow","flexDirection","backgroundColor","paddingTop","paddingLeft","flexShrink","stickyRail","Sidebar","pointerEvents","position","WEB_POSITION_FIXED","top","bottom","left","transformOrigin","mobile","flat","onClose","minWidth","WEB_OVERFLOW_CLIP","padding","right","Pressable","role","accessibilityLabel","focusable","onPress","documentRoot","Portal","OverlayRoot","Backdrop","blurIntensity","dimOpacity","flexGrow","minHeight","WEB_VIEWPORT_HEIGHT","inset","WEB_POSITION_STICKY","webViewportHeightMinus","AppShell","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["app-shell/AppShell.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAA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