@oxy.so/bloom 7.7.1 → 7.9.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.
- package/docs/adoption-matrix.mdx +2 -2
- package/docs/ai-chat.mdx +26 -0
- package/docs/app-shell.mdx +34 -0
- package/docs/chat-composer.mdx +20 -0
- package/docs/motion.mdx +11 -0
- package/docs/page-footer.mdx +16 -2
- package/docs/sidebar.mdx +15 -0
- package/lib/commonjs/ai-chat/AiChatMessages.js +8 -3
- package/lib/commonjs/ai-chat/AiChatMessages.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellSplit.js +52 -38
- package/lib/commonjs/app-shell/AppShellSplit.js.map +1 -1
- package/lib/commonjs/app-shell/AppShellSplitMotion.js +199 -0
- package/lib/commonjs/app-shell/AppShellSplitMotion.js.map +1 -0
- package/lib/commonjs/app-shell/SplitPane.js +47 -0
- package/lib/commonjs/app-shell/SplitPane.js.map +1 -0
- package/lib/commonjs/app-shell/context.js +9 -1
- package/lib/commonjs/app-shell/context.js.map +1 -1
- package/lib/commonjs/app-shell/index.js +6 -0
- package/lib/commonjs/app-shell/index.js.map +1 -1
- package/lib/commonjs/app-shell/index.web.js +6 -0
- package/lib/commonjs/app-shell/index.web.js.map +1 -1
- package/lib/commonjs/chat-composer/create-chat-composer.js +15 -10
- package/lib/commonjs/chat-composer/create-chat-composer.js.map +1 -1
- package/lib/commonjs/chat-composer/create-suggestion-list.js +7 -0
- package/lib/commonjs/chat-composer/create-suggestion-list.js.map +1 -1
- package/lib/commonjs/hooks/use-browser-title.js +17 -0
- package/lib/commonjs/hooks/use-browser-title.js.map +1 -0
- package/lib/commonjs/hooks/use-prefers-reduced-motion.js +28 -0
- package/lib/commonjs/hooks/use-prefers-reduced-motion.js.map +1 -0
- package/lib/commonjs/page-footer/PageFooter.js +50 -36
- package/lib/commonjs/page-footer/PageFooter.js.map +1 -1
- package/lib/commonjs/page-footer/use-document-anchor.js +68 -0
- package/lib/commonjs/page-footer/use-document-anchor.js.map +1 -0
- package/lib/commonjs/sidebar/Sidebar.js +5 -6
- package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarItem.js +3 -4
- package/lib/commonjs/sidebar/SidebarItem.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarModeSwitcher.js +3 -3
- package/lib/commonjs/sidebar/SidebarModeSwitcher.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarRail.js +6 -1
- package/lib/commonjs/sidebar/SidebarRail.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarRailItem.js +13 -6
- package/lib/commonjs/sidebar/SidebarRailItem.js.map +1 -1
- package/lib/module/ai-chat/AiChatMessages.js +8 -3
- package/lib/module/ai-chat/AiChatMessages.js.map +1 -1
- package/lib/module/app-shell/AppShellSplit.js +50 -38
- package/lib/module/app-shell/AppShellSplit.js.map +1 -1
- package/lib/module/app-shell/AppShellSplitMotion.js +194 -0
- package/lib/module/app-shell/AppShellSplitMotion.js.map +1 -0
- package/lib/module/app-shell/SplitPane.js +42 -0
- package/lib/module/app-shell/SplitPane.js.map +1 -0
- package/lib/module/app-shell/context.js +7 -0
- package/lib/module/app-shell/context.js.map +1 -1
- package/lib/module/app-shell/index.js +1 -1
- package/lib/module/app-shell/index.js.map +1 -1
- package/lib/module/app-shell/index.web.js +1 -1
- package/lib/module/app-shell/index.web.js.map +1 -1
- package/lib/module/chat-composer/create-chat-composer.js +15 -10
- package/lib/module/chat-composer/create-chat-composer.js.map +1 -1
- package/lib/module/chat-composer/create-suggestion-list.js +7 -0
- package/lib/module/chat-composer/create-suggestion-list.js.map +1 -1
- package/lib/module/hooks/use-browser-title.js +14 -0
- package/lib/module/hooks/use-browser-title.js.map +1 -0
- package/lib/module/hooks/use-prefers-reduced-motion.js +25 -0
- package/lib/module/hooks/use-prefers-reduced-motion.js.map +1 -0
- package/lib/module/page-footer/PageFooter.js +51 -37
- package/lib/module/page-footer/PageFooter.js.map +1 -1
- package/lib/module/page-footer/use-document-anchor.js +65 -0
- package/lib/module/page-footer/use-document-anchor.js.map +1 -0
- package/lib/module/sidebar/Sidebar.js +5 -6
- package/lib/module/sidebar/Sidebar.js.map +1 -1
- package/lib/module/sidebar/SidebarItem.js +3 -4
- package/lib/module/sidebar/SidebarItem.js.map +1 -1
- package/lib/module/sidebar/SidebarModeSwitcher.js +3 -3
- package/lib/module/sidebar/SidebarModeSwitcher.js.map +1 -1
- package/lib/module/sidebar/SidebarRail.js +6 -1
- package/lib/module/sidebar/SidebarRail.js.map +1 -1
- package/lib/module/sidebar/SidebarRailItem.js +13 -6
- package/lib/module/sidebar/SidebarRailItem.js.map +1 -1
- package/lib/typescript/commonjs/ai-chat/AiChatMessages.d.ts +1 -1
- package/lib/typescript/commonjs/ai-chat/AiChatMessages.d.ts.map +1 -1
- package/lib/typescript/commonjs/ai-chat/types.d.ts +3 -0
- package/lib/typescript/commonjs/ai-chat/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/AppShellSplit.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/AppShellSplitMotion.d.ts +16 -0
- package/lib/typescript/commonjs/app-shell/AppShellSplitMotion.d.ts.map +1 -0
- package/lib/typescript/commonjs/app-shell/SplitPane.d.ts +12 -0
- package/lib/typescript/commonjs/app-shell/SplitPane.d.ts.map +1 -0
- package/lib/typescript/commonjs/app-shell/context.d.ts +4 -0
- package/lib/typescript/commonjs/app-shell/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/index.d.ts +1 -1
- package/lib/typescript/commonjs/app-shell/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/index.web.d.ts +1 -1
- package/lib/typescript/commonjs/app-shell/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/app-shell/types.d.ts +8 -0
- package/lib/typescript/commonjs/app-shell/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/ChatComposer.d.ts +1 -1
- package/lib/typescript/commonjs/chat-composer/ChatComposer.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/ChatComposer.web.d.ts +1 -1
- package/lib/typescript/commonjs/chat-composer/ChatComposer.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/create-chat-composer.d.ts +1 -1
- package/lib/typescript/commonjs/chat-composer/create-chat-composer.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/create-suggestion-list.d.ts.map +1 -1
- package/lib/typescript/commonjs/chat-composer/types.d.ts +9 -2
- package/lib/typescript/commonjs/chat-composer/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/hooks/use-browser-title.d.ts +4 -0
- package/lib/typescript/commonjs/hooks/use-browser-title.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/use-prefers-reduced-motion.d.ts +3 -0
- package/lib/typescript/commonjs/hooks/use-prefers-reduced-motion.d.ts.map +1 -0
- package/lib/typescript/commonjs/page-footer/PageFooter.d.ts +1 -1
- package/lib/typescript/commonjs/page-footer/PageFooter.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-footer/types.d.ts +4 -0
- package/lib/typescript/commonjs/page-footer/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-footer/use-document-anchor.d.ts +9 -0
- package/lib/typescript/commonjs/page-footer/use-document-anchor.d.ts.map +1 -0
- package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarItem.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarModeSwitcher.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarRail.d.ts +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarRail.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarRailItem.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/types.d.ts +10 -0
- package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/module/ai-chat/AiChatMessages.d.ts +1 -1
- package/lib/typescript/module/ai-chat/AiChatMessages.d.ts.map +1 -1
- package/lib/typescript/module/ai-chat/types.d.ts +3 -0
- package/lib/typescript/module/ai-chat/types.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/AppShellSplit.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/AppShellSplitMotion.d.ts +16 -0
- package/lib/typescript/module/app-shell/AppShellSplitMotion.d.ts.map +1 -0
- package/lib/typescript/module/app-shell/SplitPane.d.ts +12 -0
- package/lib/typescript/module/app-shell/SplitPane.d.ts.map +1 -0
- package/lib/typescript/module/app-shell/context.d.ts +4 -0
- package/lib/typescript/module/app-shell/context.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/index.d.ts +1 -1
- package/lib/typescript/module/app-shell/index.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/index.web.d.ts +1 -1
- package/lib/typescript/module/app-shell/index.web.d.ts.map +1 -1
- package/lib/typescript/module/app-shell/types.d.ts +8 -0
- package/lib/typescript/module/app-shell/types.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/ChatComposer.d.ts +1 -1
- package/lib/typescript/module/chat-composer/ChatComposer.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/ChatComposer.web.d.ts +1 -1
- package/lib/typescript/module/chat-composer/ChatComposer.web.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/create-chat-composer.d.ts +1 -1
- package/lib/typescript/module/chat-composer/create-chat-composer.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/create-suggestion-list.d.ts.map +1 -1
- package/lib/typescript/module/chat-composer/types.d.ts +9 -2
- package/lib/typescript/module/chat-composer/types.d.ts.map +1 -1
- package/lib/typescript/module/hooks/use-browser-title.d.ts +4 -0
- package/lib/typescript/module/hooks/use-browser-title.d.ts.map +1 -0
- package/lib/typescript/module/hooks/use-prefers-reduced-motion.d.ts +3 -0
- package/lib/typescript/module/hooks/use-prefers-reduced-motion.d.ts.map +1 -0
- package/lib/typescript/module/page-footer/PageFooter.d.ts +1 -1
- package/lib/typescript/module/page-footer/PageFooter.d.ts.map +1 -1
- package/lib/typescript/module/page-footer/types.d.ts +4 -0
- package/lib/typescript/module/page-footer/types.d.ts.map +1 -1
- package/lib/typescript/module/page-footer/use-document-anchor.d.ts +9 -0
- package/lib/typescript/module/page-footer/use-document-anchor.d.ts.map +1 -0
- package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarItem.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarModeSwitcher.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarRail.d.ts +1 -1
- package/lib/typescript/module/sidebar/SidebarRail.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarRailItem.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/types.d.ts +10 -0
- package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/support/adoption-matrix.ts +683 -0
- package/src/__tests__/support/card-surface.ts +25 -0
- package/src/__tests__/support/collision-fixture-barrel.ts +20 -0
- package/src/__tests__/support/commerce-harness.tsx +97 -0
- package/src/__tests__/support/composite.ts +68 -0
- package/src/__tests__/support/constructed-style-sheets.ts +68 -0
- package/src/__tests__/support/messages-in.ts +10 -0
- package/src/__tests__/support/press-host.ts +30 -0
- package/src/__tests__/support/rendered-style.ts +99 -0
- package/src/__tests__/support/unread-hook-fixture.ts +33 -0
- package/src/__tests__/support/worklet-capture-fixture.tsx +28 -0
- package/src/agent-avatar/__tests__/artwork-golden.json +774 -0
- package/src/agent-creator/__tests__/support/character-runtime-fixture.tsx +26 -0
- package/src/ai-chat/AiChatMessages.tsx +8 -4
- package/src/ai-chat/types.ts +3 -0
- package/src/app-shell/AppShellSplit.tsx +24 -29
- package/src/app-shell/AppShellSplitMotion.tsx +133 -0
- package/src/app-shell/SplitPane.tsx +30 -0
- package/src/app-shell/context.ts +7 -0
- package/src/app-shell/index.ts +1 -1
- package/src/app-shell/index.web.ts +1 -1
- package/src/app-shell/types.ts +8 -0
- package/src/chat-composer/create-chat-composer.tsx +15 -10
- package/src/chat-composer/create-suggestion-list.tsx +8 -1
- package/src/chat-composer/types.ts +9 -2
- package/src/hooks/use-browser-title.ts +13 -0
- package/src/hooks/use-prefers-reduced-motion.ts +22 -0
- package/src/page-footer/PageFooter.tsx +13 -2
- package/src/page-footer/types.ts +4 -0
- package/src/page-footer/use-document-anchor.ts +52 -0
- package/src/sidebar/Sidebar.tsx +5 -3
- package/src/sidebar/SidebarItem.tsx +3 -2
- package/src/sidebar/SidebarModeSwitcher.tsx +4 -2
- package/src/sidebar/SidebarRail.tsx +6 -1
- package/src/sidebar/SidebarRailItem.tsx +12 -5
- package/src/sidebar/types.ts +10 -0
- package/src/theme/__tests__/__fixtures__/golden-resolved-tokens.json +9346 -0
- package/src/theme/__tests__/__fixtures__/tonal-glass-primary-failures.json +69 -0
- package/src/theme/__tests__/fixtures/color-engine-golden.json +1 -0
package/docs/adoption-matrix.mdx
CHANGED
|
@@ -125,7 +125,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
|
|
|
125
125
|
| `alert-dialog` | `@oxy.so/bloom/alert-dialog` + barrel | web fork | `alert-dialog.mdx` | yes | 2 | | | | |
|
|
126
126
|
| `animated-check` | `@oxy.so/bloom/animated-check` + barrel | universal | `animated-check.mdx` | yes | 2 | | | | |
|
|
127
127
|
| `announcement` | `@oxy.so/bloom/announcement` + barrel | universal | `announcement.mdx` | yes | 2 | | | | |
|
|
128
|
-
| `app-shell` | `@oxy.so/bloom/app-shell` + barrel | web fork | `app-shell.mdx` | yes |
|
|
128
|
+
| `app-shell` | `@oxy.so/bloom/app-shell` + barrel | web fork | `app-shell.mdx` | yes | 8 | | | | reads |
|
|
129
129
|
| `appearance` | `@oxy.so/bloom/appearance` + barrel | universal | `composition.mdx` | yes | 12 | | reads | | |
|
|
130
130
|
| `aspect-ratio` | `@oxy.so/bloom/aspect-ratio` + barrel | universal | `aspect-ratio.mdx` | yes | 1 | | | | |
|
|
131
131
|
| `auth-card` | `@oxy.so/bloom/auth-card` + barrel | universal | `auth-card.mdx` | yes | 2 | | | | |
|
|
@@ -308,7 +308,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
|
|
|
308
308
|
| `tenancy` | `@oxy.so/bloom/tenancy` + barrel | universal | `tenancy.mdx` | yes | 5 | | reads | | |
|
|
309
309
|
| `text-field` | `@oxy.so/bloom/text-field` + barrel | universal | `text-field.mdx` | yes | 17 | reads | reads | | |
|
|
310
310
|
| `textarea` | `@oxy.so/bloom/textarea` + barrel | universal | `textarea.mdx` | yes | 4 | reads | reads | | n/a¹ |
|
|
311
|
-
| `theme` | `@oxy.so/bloom/theme` + barrel | web fork | `theme.mdx` | yes |
|
|
311
|
+
| `theme` | `@oxy.so/bloom/theme` + barrel | web fork | `theme.mdx` | yes | 362 | | | n/a¹ | reads |
|
|
312
312
|
| `theme-toggle` | `@oxy.so/bloom/theme-toggle` + barrel | universal | `theme-toggle.mdx` | yes | 2 | n/a¹ | | | |
|
|
313
313
|
| `toast` | `@oxy.so/bloom/toast` + barrel | universal | `toast.mdx` | yes | 17 | | | | |
|
|
314
314
|
| `tooltip` | `@oxy.so/bloom/tooltip` + barrel | web fork | `tooltip.mdx` | yes | 1 | | | | |
|
package/docs/ai-chat.mdx
CHANGED
|
@@ -258,3 +258,29 @@ with `AiChatMobileHeader` to preserve the template layout without a second toolb
|
|
|
258
258
|
## Selection
|
|
259
259
|
|
|
260
260
|
Content is selectable and the interface is not. Every control takes no selection on web (Bloom's base rule, adopted by the theme provider); the breadcrumb and the web-search trail are navigation and activity, so their text is not selectable either. A reply's lines are content — `AiChatMessageLine` is selectable by default — and a status line passes `selectable={false}`.
|
|
261
|
+
|
|
262
|
+
### User bubble styling
|
|
263
|
+
|
|
264
|
+
`AiChatUserMessage bubbleStyle` addresses the painted bubble; `style` continues
|
|
265
|
+
to address the full-width turn. Pass a style or a function of the measured
|
|
266
|
+
column width. The function receives 0 before the first layout and is reevaluated
|
|
267
|
+
when the column resizes. Use the same padding longhands as the base style:
|
|
268
|
+
|
|
269
|
+
```tsx
|
|
270
|
+
<AiChatUserMessage
|
|
271
|
+
bubbleStyle={width => ({
|
|
272
|
+
maxWidth: width > 0 ? Math.max(0, width - 112) : '100%',
|
|
273
|
+
marginInlineEnd: 0,
|
|
274
|
+
borderRadius: 24,
|
|
275
|
+
paddingLeft: 16,
|
|
276
|
+
paddingRight: 16,
|
|
277
|
+
paddingTop: 12,
|
|
278
|
+
paddingBottom: 12,
|
|
279
|
+
})}
|
|
280
|
+
>
|
|
281
|
+
Show items for a weekend trip
|
|
282
|
+
</AiChatUserMessage>
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
The default half-column limit, 16px radius and 6px end-edge bleed are unchanged.
|
|
286
|
+
The end-edge bleed follows the inherited direction on both platforms.
|
package/docs/app-shell.mdx
CHANGED
|
@@ -692,6 +692,40 @@ content; omitting it preserves the existing 12px frame and wider-screen top gap.
|
|
|
692
692
|
|
|
693
693
|
### Pane error recovery
|
|
694
694
|
|
|
695
|
+
### Animated list/detail visibility
|
|
696
|
+
|
|
697
|
+
`transition="slide"` opts into coordinated pane motion. Keep `showList` true
|
|
698
|
+
when opening detail to shrink the list and reveal detail beside it. Set
|
|
699
|
+
`showList={!selected}` and `showDetail={selected}` on compact layouts to slide
|
|
700
|
+
between full-width panes. The last open layout determines the return direction.
|
|
701
|
+
Existing callers default to `transition="none"` and keep their immediate layout.
|
|
702
|
+
|
|
703
|
+
```tsx
|
|
704
|
+
<AppShellSplitPanes
|
|
705
|
+
variant="separated"
|
|
706
|
+
transition="slide"
|
|
707
|
+
list={<Results />}
|
|
708
|
+
detail={selected ? <Details /> : undefined}
|
|
709
|
+
showList={wide || !selected}
|
|
710
|
+
showDetail={selected}
|
|
711
|
+
paneScroll={false}
|
|
712
|
+
/>
|
|
713
|
+
```
|
|
714
|
+
|
|
715
|
+
The expansion transition moves the actual panes with full opacity; it does not make
|
|
716
|
+
screenshots or float an overlay above the list. The list retains its component
|
|
717
|
+
state while it remains visible. Exiting panes stay mounted only until the transition
|
|
718
|
+
settles, become inert immediately, then unmount. Rapid reversals continue from the
|
|
719
|
+
current live position. System reduced motion settles immediately. Pane widths remain
|
|
720
|
+
resizable; the optional info column keeps its existing immediate behavior.
|
|
721
|
+
|
|
722
|
+
Use `useAppShellPaneActive()` inside a pane to suspend window-level shortcuts,
|
|
723
|
+
subscriptions or screen effects as soon as that pane becomes logically hidden,
|
|
724
|
+
including during its retained exit. The hook returns true outside split panes.
|
|
725
|
+
DOM focus/pointer input and native accessibility are already disabled by the
|
|
726
|
+
pane itself. Motion owns no scroll view: `paneScroll={false}` continues to leave
|
|
727
|
+
scrolling to the surrounding document or to the pane's own virtualized list.
|
|
728
|
+
|
|
695
729
|
`AppShellSplitPanes` isolates list, detail and info rendering failures independently.
|
|
696
730
|
The default localized, themed EmptyState offers retry while the other panes and
|
|
697
731
|
shell navigation keep working. Pass options per pane to customize the presentation
|
package/docs/chat-composer.mdx
CHANGED
|
@@ -244,3 +244,23 @@ All of them take `style` and `testID`.
|
|
|
244
244
|
The composer controls compose Bloom Button, including its press-in/out recording lifecycle. Each public component has a thin platform binding; shared factories receive Button, Surface, and overlay components explicitly. Web bindings name their `.web` dependencies, so built browser packages work without Metro-style extension resolution. No additional layout wrappers are introduced.
|
|
245
245
|
|
|
246
246
|
Interactive controls use canonical `sm`/`md`/`lg` sizes and inherit `BloomScope` when omitted. Their geometry remains family-specific; unsupported `xs` uses the compact rung. ReactionPicker has only `sm`/`md`, mapping scoped `lg` to `md`. Display badges and read-only rating sizes retain their existing vocabulary.
|
|
247
|
+
|
|
248
|
+
## Optional recording and suggestion focus
|
|
249
|
+
|
|
250
|
+
Recording controls appear only when at least one mic callback is supplied.
|
|
251
|
+
Without recording support, an empty draft shows a disabled send button;
|
|
252
|
+
`canSend` controls whether submission is permitted, independently of the visible
|
|
253
|
+
control. It is not necessary to enable empty sends to hide recording.
|
|
254
|
+
|
|
255
|
+
Mouse selection in `SuggestionList` preserves input focus until the option's
|
|
256
|
+
click is delivered, so callers may hide suggestions directly in `onBlur`.
|
|
257
|
+
Native suggestion scrolling uses `keyboardShouldPersistTaps="handled"`, allowing
|
|
258
|
+
the first tap to choose an option while the keyboard is open.
|
|
259
|
+
|
|
260
|
+
## Styling the editable bar
|
|
261
|
+
|
|
262
|
+
`style` remains the outer stack containing the bar, banners and suggestions.
|
|
263
|
+
`barStyle` styles the painted input surface itself, and `inputStyle` styles the
|
|
264
|
+
editable text. Use paddingLeft/Right/Top/Bottom to override the bar's matching
|
|
265
|
+
longhands. `sendIcon` accepts a Bloom icon component and changes only the glyph;
|
|
266
|
+
send labels, disabled state, focus and submission behavior remain shared.
|
package/docs/motion.mdx
CHANGED
|
@@ -121,3 +121,14 @@ spatial transitions under reduced motion. Native Screen initializes keyboard
|
|
|
121
121
|
visibility before reserving bottom chrome, including inherited shell clearance.
|
|
122
122
|
Portaled overlays isolate screen navigation state while preserving theme and
|
|
123
123
|
locale; scrolling their content cannot collapse the navigation behind them.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
`AppShellSplitPanes transition="slide"` uses the expansion duration with a
|
|
127
|
+
cubic ease-out timing animation for live pane geometry. Reanimated 3's
|
|
128
|
+
**duration** spring integrates at most 64ms per frame, but compares its forced
|
|
129
|
+
completion against the full elapsed wall time. Expensive layout frames can
|
|
130
|
+
leave the spring far behind and then jump hundreds of pixels at the deadline.
|
|
131
|
+
Timing evaluates elapsed time directly, avoiding that accumulated deficit.
|
|
132
|
+
Retargeting still starts from the current pane position. Verify the last moving
|
|
133
|
+
frame as well as intermediate frames in a browser; counting intermediate frames
|
|
134
|
+
alone does not catch a large final snap.
|
package/docs/page-footer.mdx
CHANGED
|
@@ -54,8 +54,22 @@ controls let pointer events pass through. The gradient has no motion, including
|
|
|
54
54
|
when reduced motion is enabled. `scrim="none"` removes it; `scrimColor` overrides
|
|
55
55
|
the inherited opaque surface color. `style` and `testID` address the outer host.
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
Place it beside the scroller, never inside its scrolling content.
|
|
57
|
+
The default `position="absolute"` anchors this page chrome inside a bounded parent.
|
|
58
|
+
Place it beside the scroller, never inside its scrolling content.
|
|
59
|
+
|
|
60
|
+
For web pages that scroll the document, use `position="document"`. Bloom pins
|
|
61
|
+
its controls to the viewport bottom while an invisible, zero-height anchor
|
|
62
|
+
tracks the actual content column. Sidebar widths, responsive layout and RTL
|
|
63
|
+
remain owned by the page layout; consumers need no fixed styles or measured
|
|
64
|
+
coordinates. Mount it in the column, outside transformed/animated containers
|
|
65
|
+
(which establish a different fixed-position containing block). Resize observers
|
|
66
|
+
follow its ancestor frames, and horizontal scrolling updates the viewport
|
|
67
|
+
coordinate without rendering again for unchanged bounds. Native keeps the
|
|
68
|
+
existing absolute positioning within its bounded screen.
|
|
69
|
+
|
|
70
|
+
Both positions publish the same measured `usePageFooterInset()` clearance.
|
|
71
|
+
Wrap the page and footer in `PageFooterProvider` and use that value as bottom
|
|
72
|
+
padding, instead of a guessed spacer. A purchase
|
|
59
73
|
summary with price and booking controls belongs to `ActionBar`, which has a
|
|
60
74
|
different opaque, in-flow layout contract.
|
|
61
75
|
|
package/docs/sidebar.mdx
CHANGED
|
@@ -294,3 +294,18 @@ Multi Agent Chat uses these pieces with one sidebar scroll owner. Chrome measure
|
|
|
294
294
|
### Shared surface paint
|
|
295
295
|
|
|
296
296
|
The painted host delegates its fill to Surface: a 90%-opacity body with a subtle refracted edge on web, plus the shared sheen and rim. The host itself stays transparent to avoid painting twice. Explicit alpha colours retain their alpha; descendants receive the corresponding composited fill. Plain or unframed content keeps its existing layout behavior.
|
|
297
|
+
|
|
298
|
+
### Icon-only navigation rails
|
|
299
|
+
|
|
300
|
+
`variant="rail"` keeps visible captions and selected pills by default. Use
|
|
301
|
+
`railLabels="hidden"` to keep only icons: each destination retains its accessible
|
|
302
|
+
name, current-page state, focus ring and browser tooltip. Its minimum hit height
|
|
303
|
+
is 48px. `railSelection="icon"` emphasizes the active glyph without a filled
|
|
304
|
+
indicator; `activeIcon` can supply a filled counterpart. Hover feedback remains.
|
|
305
|
+
|
|
306
|
+
`railWidth` owns the rail's layout width (default 80px, minimum 64px). AppShell
|
|
307
|
+
measures that natural width, so the content moves with it without consumer
|
|
308
|
+
width overrides. These props affect the rail only; the expanded panel and
|
|
309
|
+
mobile drawer retain their normal labels and geometry. Standalone
|
|
310
|
+
`SidebarRailItem` exposes `labelVisibility` and `selectedAppearance` for the same
|
|
311
|
+
choices.
|
|
@@ -14,6 +14,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
14
14
|
var _reactNative = require("react-native");
|
|
15
15
|
var _RiLinkM = require("../icons/remix/RiLinkM.js");
|
|
16
16
|
var _index = require("../typography/index.js");
|
|
17
|
+
var _useIsRtl = require("../hooks/use-is-rtl.js");
|
|
17
18
|
var _AiChatControls = require("./AiChatControls.js");
|
|
18
19
|
var _AiChatFeedbackRowBase = require("./AiChatFeedbackRowBase.js");
|
|
19
20
|
var _AiChatReveal = require("./AiChatReveal.js");
|
|
@@ -69,13 +70,16 @@ function AiChatUserMessageBase({
|
|
|
69
70
|
actions,
|
|
70
71
|
animate = true,
|
|
71
72
|
style,
|
|
73
|
+
bubbleStyle,
|
|
72
74
|
testID
|
|
73
75
|
}) {
|
|
74
76
|
(0, _shared.useAiChatWebCss)();
|
|
75
77
|
const palette = (0, _shared.useAiChatPalette)();
|
|
76
78
|
const [column, setColumn] = (0, _react.useState)(0);
|
|
79
|
+
const direction = (0, _useIsRtl.useDirectionProps)();
|
|
77
80
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
78
81
|
...(0, _shared.dataHook)('bloomAiChatTurn'),
|
|
82
|
+
...direction,
|
|
79
83
|
testID: testID,
|
|
80
84
|
onLayout: event => setColumn(event.nativeEvent.layout.width),
|
|
81
85
|
style: [{
|
|
@@ -84,8 +88,9 @@ function AiChatUserMessageBase({
|
|
|
84
88
|
}, style],
|
|
85
89
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_AiChatReveal.RevealFade, {
|
|
86
90
|
animate: animate,
|
|
87
|
-
|
|
88
|
-
|
|
91
|
+
testID: testID ? `${testID}-bubble` : undefined,
|
|
92
|
+
style: [{
|
|
93
|
+
marginInlineEnd: -6,
|
|
89
94
|
maxWidth: column > 0 ? column / 2 + 6 : '50%',
|
|
90
95
|
flexDirection: 'column',
|
|
91
96
|
borderRadius: _shared.CARD_RADIUS,
|
|
@@ -95,7 +100,7 @@ function AiChatUserMessageBase({
|
|
|
95
100
|
paddingTop: 11,
|
|
96
101
|
paddingBottom: 11,
|
|
97
102
|
boxShadow: palette.shadowCard
|
|
98
|
-
},
|
|
103
|
+
}, typeof bubbleStyle === 'function' ? bubbleStyle(column) : bubbleStyle],
|
|
99
104
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_AiChatReveal.RevealSequence, {
|
|
100
105
|
animate: animate,
|
|
101
106
|
children: asBlocks(children)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_RiLinkM","_index","_AiChatControls","_AiChatFeedbackRowBase","_AiChatReveal","_shared","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","isLine","child","isValidElement","type","AiChatMessageLine","AiChatBulletList","asBlocks","children","Children","map","undefined","jsx","block","AiChatUserMessageBase","actions","animate","style","testID","useAiChatWebCss","palette","useAiChatPalette","column","setColumn","useState","jsxs","View","dataHook","onLayout","event","nativeEvent","layout","width","alignItems","RevealFade","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_RiLinkM","_index","_useIsRtl","_AiChatControls","_AiChatFeedbackRowBase","_AiChatReveal","_shared","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","isLine","child","isValidElement","type","AiChatMessageLine","AiChatBulletList","asBlocks","children","Children","map","undefined","jsx","block","AiChatUserMessageBase","actions","animate","style","bubbleStyle","testID","useAiChatWebCss","palette","useAiChatPalette","column","setColumn","useState","direction","useDirectionProps","jsxs","View","dataHook","onLayout","event","nativeEvent","layout","width","alignItems","RevealFade","marginInlineEnd","maxWidth","flexDirection","borderRadius","CARD_RADIUS","backgroundColor","primary","paddingLeft","paddingRight","paddingTop","paddingBottom","boxShadow","shadowCard","RevealSequence","length","marginTop","gap","action","TurnActionButton","key","AiChatAssistantMessageBase","feedback","feedbackProps","alignSelf","AiChatFeedbackRowBase","tone","selectable","RevealLine","Text","variant","color","textSecondary","text","slot","useRevealSlot","delay","AiChatBullet","position","accessibilityElementsHidden","importantForAccessibility","left","top","height","AiChatStrong","AiChatLinkChip","onPress","accessibilityRole","accessibilityLabel","linkChipBackground","marginBottom","marginRight","IS_WEB","RiLinkM","fill","linkChipText"],"sourceRoot":"../../../src","sources":["ai-chat/AiChatMessages.tsx"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AACA,IAAAM,sBAAA,GAAAN,OAAA;AACA,IAAAO,aAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AAA4F,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAD,wBAAAW,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAW,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CA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KAAK,EAAE/C,OAAO,CAACuE;MAAa,CAAE;MAAApF,QAAA,EACrEA;IAAQ,CACL,CAAC;EAAA,CACH,CAAC;AAEX","ignoreList":[]}
|
|
@@ -7,13 +7,14 @@ exports.AppShellSplitPanes = void 0;
|
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _AiChatResizeHandle = require("../ai-chat/AiChatResizeHandle.js");
|
|
10
|
-
var _PanelErrorBoundary = require("../error-boundary/PanelErrorBoundary.js");
|
|
11
10
|
var _zIndex = require("../styles/z-index.js");
|
|
12
11
|
var _tokens = require("../styles/tokens.js");
|
|
13
12
|
var _useTheme = require("../theme/use-theme.js");
|
|
14
13
|
var _messages = require("../locale/messages.js");
|
|
15
14
|
var _messages2 = require("./messages.js");
|
|
16
15
|
var _constants = require("./constants.js");
|
|
16
|
+
var _SplitPane = require("./SplitPane.js");
|
|
17
|
+
var _AppShellSplitMotion = require("./AppShellSplitMotion.js");
|
|
17
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
19
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
19
20
|
/**
|
|
@@ -33,42 +34,9 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
33
34
|
* set of the same three bugs.
|
|
34
35
|
*/
|
|
35
36
|
|
|
36
|
-
/** One pane: a bounded column that scrolls its own overflow. */function Pane({
|
|
37
|
-
children,
|
|
38
|
-
scroll,
|
|
39
|
-
errorBoundary,
|
|
40
|
-
style,
|
|
41
|
-
testID
|
|
42
|
-
}) {
|
|
43
|
-
const content = scroll ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
|
|
44
|
-
style: {
|
|
45
|
-
flex: 1
|
|
46
|
-
},
|
|
47
|
-
contentContainerStyle: {
|
|
48
|
-
flexGrow: 1
|
|
49
|
-
},
|
|
50
|
-
children: children
|
|
51
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
52
|
-
style: {
|
|
53
|
-
flex: 1,
|
|
54
|
-
minHeight: 0
|
|
55
|
-
},
|
|
56
|
-
children: children
|
|
57
|
-
});
|
|
58
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
59
|
-
testID: testID,
|
|
60
|
-
style: [{
|
|
61
|
-
minWidth: 0,
|
|
62
|
-
alignSelf: 'stretch'
|
|
63
|
-
}, style],
|
|
64
|
-
children: errorBoundary === false ? content : /*#__PURE__*/(0, _jsxRuntime.jsx)(_PanelErrorBoundary.PanelErrorBoundary, {
|
|
65
|
-
...errorBoundary,
|
|
66
|
-
children: content
|
|
67
|
-
})
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
37
|
const AppShellSplitPanesComponent = ({
|
|
71
38
|
variant = 'joined',
|
|
39
|
+
transition = 'none',
|
|
72
40
|
listErrorBoundary,
|
|
73
41
|
detailErrorBoundary,
|
|
74
42
|
infoErrorBoundary,
|
|
@@ -127,6 +95,52 @@ const AppShellSplitPanesComponent = ({
|
|
|
127
95
|
};
|
|
128
96
|
// Only the panes that are actually drawn count: alone, a pane fills the row.
|
|
129
97
|
const solo = [showList, showDetail, showInfo].filter(Boolean).length === 1;
|
|
98
|
+
if (transition === 'slide') {
|
|
99
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
100
|
+
style: {
|
|
101
|
+
flexGrow: 1,
|
|
102
|
+
flexShrink: 1,
|
|
103
|
+
minWidth: 0,
|
|
104
|
+
flexDirection: 'row'
|
|
105
|
+
},
|
|
106
|
+
children: [(showList || showDetail) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_AppShellSplitMotion.AppShellSplitMotion, {
|
|
107
|
+
list: list,
|
|
108
|
+
detail: detail,
|
|
109
|
+
showList: showList,
|
|
110
|
+
showDetail: showDetail,
|
|
111
|
+
width: width,
|
|
112
|
+
gap: divider.width,
|
|
113
|
+
paneScroll: paneScroll,
|
|
114
|
+
listErrorBoundary: listErrorBoundary,
|
|
115
|
+
detailErrorBoundary: detailErrorBoundary,
|
|
116
|
+
dividerStyle: divider,
|
|
117
|
+
testID: testID,
|
|
118
|
+
resizeHandle: resizable ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_AiChatResizeHandle.AiChatResizeHandle, {
|
|
119
|
+
label: resizeLabel,
|
|
120
|
+
onResizeStart: onResizeStart,
|
|
121
|
+
onResize: onResize,
|
|
122
|
+
onNudge: onNudge,
|
|
123
|
+
testID: testID ? `${testID}-divider` : undefined
|
|
124
|
+
}) : null
|
|
125
|
+
}), showInfo && (showList || showDetail) ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
126
|
+
style: divider,
|
|
127
|
+
testID: testID ? `${testID}-info-gap` : undefined
|
|
128
|
+
}) : null, showInfo ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_SplitPane.SplitPane, {
|
|
129
|
+
testID: testID ? `${testID}-pane-info` : undefined,
|
|
130
|
+
errorBoundary: infoErrorBoundary,
|
|
131
|
+
scroll: paneScroll,
|
|
132
|
+
style: solo ? {
|
|
133
|
+
flexGrow: 1,
|
|
134
|
+
flexShrink: 1,
|
|
135
|
+
flexBasis: 0
|
|
136
|
+
} : {
|
|
137
|
+
width: infoWidth,
|
|
138
|
+
flexShrink: 0
|
|
139
|
+
},
|
|
140
|
+
children: info
|
|
141
|
+
}) : null]
|
|
142
|
+
});
|
|
143
|
+
}
|
|
130
144
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
131
145
|
style: {
|
|
132
146
|
flexGrow: 1,
|
|
@@ -134,7 +148,7 @@ const AppShellSplitPanesComponent = ({
|
|
|
134
148
|
minWidth: 0,
|
|
135
149
|
flexDirection: 'row'
|
|
136
150
|
},
|
|
137
|
-
children: [showList ? /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
151
|
+
children: [showList ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_SplitPane.SplitPane, {
|
|
138
152
|
testID: testID ? `${testID}-pane-list` : undefined,
|
|
139
153
|
errorBoundary: listErrorBoundary,
|
|
140
154
|
scroll: paneScroll,
|
|
@@ -171,7 +185,7 @@ const AppShellSplitPanesComponent = ({
|
|
|
171
185
|
testID: testID ? `${testID}-divider` : undefined
|
|
172
186
|
})
|
|
173
187
|
}) : null
|
|
174
|
-
}) : null, showDetail ? /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
188
|
+
}) : null, showDetail ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_SplitPane.SplitPane, {
|
|
175
189
|
testID: testID ? `${testID}-pane-detail` : undefined,
|
|
176
190
|
errorBoundary: detailErrorBoundary,
|
|
177
191
|
scroll: paneScroll,
|
|
@@ -184,7 +198,7 @@ const AppShellSplitPanesComponent = ({
|
|
|
184
198
|
}) : null, showInfo && showDetail && !solo ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
185
199
|
style: divider,
|
|
186
200
|
testID: testID ? `${testID}-info-gap` : undefined
|
|
187
|
-
}) : null, showInfo ? /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
201
|
+
}) : null, showInfo ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_SplitPane.SplitPane, {
|
|
188
202
|
testID: testID ? `${testID}-pane-info` : undefined,
|
|
189
203
|
errorBoundary: infoErrorBoundary,
|
|
190
204
|
scroll: paneScroll,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_AiChatResizeHandle","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_AiChatResizeHandle","_zIndex","_tokens","_useTheme","_messages","_messages2","_constants","_SplitPane","_AppShellSplitMotion","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","AppShellSplitPanesComponent","variant","transition","listErrorBoundary","detailErrorBoundary","infoErrorBoundary","list","detail","info","showList","showDetail","showInfo","listWidth","D","listMinWidth","listMaxWidth","onListWidthChange","infoWidth","resizable","paneScroll","resizeLabel","resizeLabelProp","testID","theme","useTheme","messages","useMessages","APP_SHELL_MESSAGES","resizePanes","width","setWidth","useState","widthAtDragStart","useRef","clamp","useCallback","next","Math","min","max","commit","clamped","onResizeStart","current","onResize","dx","onNudge","separated","divider","space","md","flexShrink","alignSelf","zIndex","Z_INDEX","floating","backgroundColor","colors","border","solo","filter","Boolean","length","jsxs","View","style","flexGrow","minWidth","flexDirection","children","jsx","AppShellSplitMotion","gap","dividerStyle","resizeHandle","AiChatResizeHandle","label","undefined","SplitPane","errorBoundary","scroll","flexBasis","pointerEvents","position","top","bottom","left","right","flex","AppShellSplitPanes","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["app-shell/AppShellSplit.tsx"],"mappings":";;;;;;AAgBA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,SAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAGA,IAAAQ,UAAA,GAAAR,OAAA;AACA,IAAAS,UAAA,GAAAT,OAAA;AACA,IAAAU,oBAA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