@asanchez-sa/abby 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +245 -2
- package/dist/_virtual/_rolldown/runtime.js +26 -0
- package/dist/agents/approvals.d.ts +46 -0
- package/dist/agents/approvals.js +58 -0
- package/dist/agents/changes.d.ts +21 -0
- package/dist/agents/changes.js +21 -0
- package/dist/agents/hooks.d.ts +20 -0
- package/dist/agents/hooks.js +58 -0
- package/dist/agents/index.d.ts +11 -0
- package/dist/agents/index.js +9 -0
- package/dist/agents/run-tool.d.ts +44 -0
- package/dist/agents/run-tool.js +79 -0
- package/dist/agents/ui-sdk.d.ts +5 -0
- package/dist/agents/ui-sdk.js +3 -0
- package/dist/behaviors/canvas/index.d.ts +2 -0
- package/dist/behaviors/canvas/index.js +1 -0
- package/dist/behaviors/canvas/ui-sdk.d.ts +2 -0
- package/dist/behaviors/canvas/ui-sdk.js +1 -0
- package/dist/behaviors/drag-and-drop/index.d.ts +2 -0
- package/dist/behaviors/drag-and-drop/index.js +1 -0
- package/dist/behaviors/drag-and-drop/ui-sdk.d.ts +2 -0
- package/dist/behaviors/drag-and-drop/ui-sdk.js +1 -0
- package/dist/behaviors/dragging/index.d.ts +2 -0
- package/dist/behaviors/dragging/index.js +1 -0
- package/dist/behaviors/dragging/ui-sdk.d.ts +2 -0
- package/dist/behaviors/dragging/ui-sdk.js +1 -0
- package/dist/behaviors/focus/index.d.ts +2 -0
- package/dist/behaviors/focus/index.js +1 -0
- package/dist/behaviors/focus/ui-sdk.d.ts +2 -0
- package/dist/behaviors/focus/ui-sdk.js +1 -0
- package/dist/behaviors/lists/index.d.ts +3 -0
- package/dist/behaviors/lists/index.js +3 -0
- package/dist/behaviors/lists/ui-sdk.d.ts +3 -0
- package/dist/behaviors/lists/ui-sdk.js +3 -0
- package/dist/behaviors/popups/index.d.ts +3 -0
- package/dist/behaviors/popups/index.js +3 -0
- package/dist/behaviors/popups/ui-sdk.d.ts +3 -0
- package/dist/behaviors/popups/ui-sdk.js +3 -0
- package/dist/behaviors/preferences/index.d.ts +3 -0
- package/dist/behaviors/preferences/index.js +3 -0
- package/dist/behaviors/preferences/ui-sdk.d.ts +3 -0
- package/dist/behaviors/preferences/ui-sdk.js +3 -0
- package/dist/behaviors/selection/index.d.ts +3 -0
- package/dist/behaviors/selection/index.js +3 -0
- package/dist/behaviors/selection/indicator.d.ts +13 -0
- package/dist/behaviors/selection/indicator.js +20 -0
- package/dist/behaviors/selection/ui-sdk.d.ts +2 -0
- package/dist/behaviors/selection/ui-sdk.js +1 -0
- package/dist/behaviors/transitions/index.d.ts +3 -0
- package/dist/behaviors/transitions/index.js +3 -0
- package/dist/behaviors/transitions/ui-sdk.d.ts +3 -0
- package/dist/behaviors/transitions/ui-sdk.js +3 -0
- package/dist/behaviors/trees/index.d.ts +2 -0
- package/dist/behaviors/trees/index.js +1 -0
- package/dist/behaviors/trees/ui-sdk.d.ts +2 -0
- package/dist/behaviors/trees/ui-sdk.js +1 -0
- package/dist/components/accordion/accordion.d.ts +13 -0
- package/dist/components/accordion/accordion.js +165 -0
- package/dist/components/alert/alert.d.ts +13 -0
- package/dist/components/alert/alert.js +131 -0
- package/dist/components/alert-dialog/alert-dialog.d.ts +15 -0
- package/dist/components/alert-dialog/alert-dialog.js +257 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +7 -0
- package/dist/components/aspect-ratio/aspect-ratio.js +57 -0
- package/dist/components/attachment/attachment.d.ts +48 -0
- package/dist/components/attachment/attachment.js +372 -0
- package/dist/components/autocomplete/autocomplete.d.ts +32 -0
- package/dist/components/autocomplete/autocomplete.js +466 -0
- package/dist/components/avatar/avatar.d.ts +6 -0
- package/dist/components/avatar/avatar.js +100 -0
- package/dist/components/avatar-group/avatar-group.d.ts +9 -0
- package/dist/components/avatar-group/avatar-group.js +75 -0
- package/dist/components/badge/badge.d.ts +15 -0
- package/dist/components/badge/badge.js +31 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +24 -0
- package/dist/components/breadcrumb/breadcrumb.js +279 -0
- package/dist/components/bubble/bubble.d.ts +26 -0
- package/dist/components/bubble/bubble.js +173 -0
- package/dist/components/button/button.d.ts +18 -0
- package/dist/components/button/button.js +91 -0
- package/dist/components/button-group/button-group.d.ts +15 -0
- package/dist/components/button-group/button-group.js +71 -0
- package/dist/components/calendar/calendar.d.ts +29 -0
- package/dist/components/calendar/calendar.js +453 -0
- package/dist/components/card/card.d.ts +14 -0
- package/dist/components/card/card.js +213 -0
- package/dist/components/carousel/carousel.d.ts +16 -0
- package/dist/components/carousel/carousel.js +364 -0
- package/dist/components/chain-of-thought/chain-of-thought.d.ts +72 -0
- package/dist/components/chain-of-thought/chain-of-thought.js +491 -0
- package/dist/components/chat/chat.d.ts +48 -0
- package/dist/components/chat/chat.js +207 -0
- package/dist/components/checkbox/checkbox.d.ts +10 -0
- package/dist/components/checkbox/checkbox.js +118 -0
- package/dist/components/checkpoint/checkpoint.d.ts +24 -0
- package/dist/components/checkpoint/checkpoint.js +178 -0
- package/dist/components/choice-cards/choice-cards.d.ts +38 -0
- package/dist/components/choice-cards/choice-cards.js +255 -0
- package/dist/components/code-block/code-block.d.ts +58 -0
- package/dist/components/code-block/code-block.js +506 -0
- package/dist/components/code-block/highlighter.js +96 -0
- package/dist/components/code-block/use-highlighted-code.d.ts +11 -0
- package/dist/components/code-block/use-highlighted-code.js +54 -0
- package/dist/components/collapsible/collapsible.d.ts +10 -0
- package/dist/components/collapsible/collapsible.js +92 -0
- package/dist/components/color-picker/color-picker.d.ts +17 -0
- package/dist/components/color-picker/color-picker.js +395 -0
- package/dist/components/combobox/combobox.d.ts +54 -0
- package/dist/components/combobox/combobox.js +683 -0
- package/dist/components/command/command.d.ts +23 -0
- package/dist/components/command/command.js +373 -0
- package/dist/components/command-dock/command-dock.d.ts +118 -0
- package/dist/components/command-dock/command-dock.js +944 -0
- package/dist/components/confirmation/confirmation.d.ts +58 -0
- package/dist/components/confirmation/confirmation.js +181 -0
- package/dist/components/context/context.d.ts +82 -0
- package/dist/components/context/context.js +490 -0
- package/dist/components/date-input/date-input.d.ts +16 -0
- package/dist/components/date-input/date-input.js +89 -0
- package/dist/components/date-picker/date-picker.d.ts +28 -0
- package/dist/components/date-picker/date-picker.js +361 -0
- package/dist/components/dialog/dialog.d.ts +14 -0
- package/dist/components/dialog/dialog.js +261 -0
- package/dist/components/drawer/drawer.d.ts +16 -0
- package/dist/components/drawer/drawer.js +309 -0
- package/dist/components/empty/empty.d.ts +18 -0
- package/dist/components/empty/empty.js +192 -0
- package/dist/components/field/field.d.ts +15 -0
- package/dist/components/field/field.js +261 -0
- package/dist/components/file-input/file-input.d.ts +12 -0
- package/dist/components/file-input/file-input.js +216 -0
- package/dist/components/file-tree/file-tree.d.ts +45 -0
- package/dist/components/file-tree/file-tree.js +283 -0
- package/dist/components/hover-card/hover-card.d.ts +10 -0
- package/dist/components/hover-card/hover-card.js +118 -0
- package/dist/components/icon/icon.d.ts +14 -0
- package/dist/components/icon/icon.js +60 -0
- package/dist/components/image-cropper/image-cropper.d.ts +15 -0
- package/dist/components/image-cropper/image-cropper.js +334 -0
- package/dist/components/inline-citation/inline-citation.d.ts +46 -0
- package/dist/components/inline-citation/inline-citation.js +269 -0
- package/dist/components/input/input.d.ts +9 -0
- package/dist/components/input/input.js +43 -0
- package/dist/components/input-group/input-group.d.ts +42 -0
- package/dist/components/input-group/input-group.js +192 -0
- package/dist/components/item/item.d.ts +32 -0
- package/dist/components/item/item.js +394 -0
- package/dist/components/kbd/kbd.d.ts +9 -0
- package/dist/components/kbd/kbd.js +75 -0
- package/dist/components/label/label.d.ts +6 -0
- package/dist/components/label/label.js +40 -0
- package/dist/components/link/link.d.ts +21 -0
- package/dist/components/link/link.js +126 -0
- package/dist/components/listbox/listbox.d.ts +20 -0
- package/dist/components/listbox/listbox.js +199 -0
- package/dist/components/marker/marker.d.ts +11 -0
- package/dist/components/marker/marker.js +88 -0
- package/dist/components/menu/menu.d.ts +38 -0
- package/dist/components/menu/menu.js +553 -0
- package/dist/components/menubar/menubar.d.ts +9 -0
- package/dist/components/menubar/menubar.js +47 -0
- package/dist/components/message/message.d.ts +44 -0
- package/dist/components/message/message.js +328 -0
- package/dist/components/message-scroller/message-scroller.d.ts +111 -0
- package/dist/components/message-scroller/message-scroller.js +957 -0
- package/dist/components/meter/meter.d.ts +8 -0
- package/dist/components/meter/meter.js +162 -0
- package/dist/components/model-selector/model-selector.d.ts +155 -0
- package/dist/components/model-selector/model-selector.js +905 -0
- package/dist/components/native-select/native-select.d.ts +27 -0
- package/dist/components/native-select/native-select.js +226 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +29 -0
- package/dist/components/navigation-menu/navigation-menu.js +318 -0
- package/dist/components/not-label.js +9 -0
- package/dist/components/note-editor/blocks.d.ts +22 -0
- package/dist/components/note-editor/blocks.js +245 -0
- package/dist/components/note-editor/diff.d.ts +19 -0
- package/dist/components/note-editor/diff.js +64 -0
- package/dist/components/note-editor/editor.js +249 -0
- package/dist/components/note-editor/note-editor.d.ts +109 -0
- package/dist/components/note-editor/note-editor.js +954 -0
- package/dist/components/note-editor/parts/comments.d.ts +24 -0
- package/dist/components/note-editor/parts/comments.js +337 -0
- package/dist/components/note-editor/parts/header.d.ts +25 -0
- package/dist/components/note-editor/parts/header.js +263 -0
- package/dist/components/note-editor/parts/history.d.ts +56 -0
- package/dist/components/note-editor/parts/history.js +409 -0
- package/dist/components/note-editor/parts/presence.d.ts +31 -0
- package/dist/components/note-editor/parts/presence.js +140 -0
- package/dist/components/note-editor/parts/suggestions.d.ts +45 -0
- package/dist/components/note-editor/parts/suggestions.js +316 -0
- package/dist/components/note-editor/parts/toolbar.d.ts +38 -0
- package/dist/components/note-editor/parts/toolbar.js +687 -0
- package/dist/components/note-editor/people.d.ts +84 -0
- package/dist/components/note-editor/people.js +276 -0
- package/dist/components/note-editor/person.d.ts +11 -0
- package/dist/components/note-editor/person.js +15 -0
- package/dist/components/note-place/note-place.d.ts +42 -0
- package/dist/components/note-place/note-place.js +256 -0
- package/dist/components/note-status/note-status.d.ts +59 -0
- package/dist/components/note-status/note-status.js +380 -0
- package/dist/components/number-input/number-input.d.ts +12 -0
- package/dist/components/number-input/number-input.js +252 -0
- package/dist/components/otp-input/otp-input.d.ts +12 -0
- package/dist/components/otp-input/otp-input.js +136 -0
- package/dist/components/pagination/pagination.d.ts +23 -0
- package/dist/components/pagination/pagination.js +218 -0
- package/dist/components/password-input/password-input.d.ts +11 -0
- package/dist/components/password-input/password-input.js +117 -0
- package/dist/components/plan/plan.d.ts +51 -0
- package/dist/components/plan/plan.js +320 -0
- package/dist/components/popover/popover.d.ts +16 -0
- package/dist/components/popover/popover.js +268 -0
- package/dist/components/preferences/preferences.d.ts +5 -0
- package/dist/components/preferences/preferences.js +18 -0
- package/dist/components/progress/progress.d.ts +8 -0
- package/dist/components/progress/progress.js +162 -0
- package/dist/components/prompt-input/prompt-input.d.ts +247 -0
- package/dist/components/prompt-input/prompt-input.js +1367 -0
- package/dist/components/questionnaire/questionnaire.d.ts +174 -0
- package/dist/components/questionnaire/questionnaire.js +1628 -0
- package/dist/components/queue/queue.d.ts +82 -0
- package/dist/components/queue/queue.js +471 -0
- package/dist/components/radio/radio.d.ts +7 -0
- package/dist/components/radio/radio.js +101 -0
- package/dist/components/rating/rating.d.ts +10 -0
- package/dist/components/rating/rating.js +95 -0
- package/dist/components/reasoning/reasoning.d.ts +50 -0
- package/dist/components/reasoning/reasoning.js +233 -0
- package/dist/components/resizable/resizable.d.ts +6 -0
- package/dist/components/resizable/resizable.js +100 -0
- package/dist/components/scroll-area/scroll-area.d.ts +17 -0
- package/dist/components/scroll-area/scroll-area.js +211 -0
- package/dist/components/segmented-control/segmented-control.d.ts +16 -0
- package/dist/components/segmented-control/segmented-control.js +142 -0
- package/dist/components/select/select.d.ts +43 -0
- package/dist/components/select/select.js +577 -0
- package/dist/components/separator/separator.d.ts +4 -0
- package/dist/components/separator/separator.js +38 -0
- package/dist/components/sheet/sheet.d.ts +24 -0
- package/dist/components/sheet/sheet.js +330 -0
- package/dist/components/sidebar/sidebar.d.ts +138 -0
- package/dist/components/sidebar/sidebar.js +1374 -0
- package/dist/components/skeleton/skeleton.d.ts +4 -0
- package/dist/components/skeleton/skeleton.js +40 -0
- package/dist/components/slider/slider.d.ts +9 -0
- package/dist/components/slider/slider.js +193 -0
- package/dist/components/sources/sources.d.ts +35 -0
- package/dist/components/sources/sources.js +209 -0
- package/dist/components/spinner/spinner.d.ts +11 -0
- package/dist/components/spinner/spinner.js +59 -0
- package/dist/components/stack-trace/parse-stack-trace.d.ts +21 -0
- package/dist/components/stack-trace/parse-stack-trace.js +61 -0
- package/dist/components/stack-trace/stack-trace.d.ts +79 -0
- package/dist/components/stack-trace/stack-trace.js +434 -0
- package/dist/components/subagent/subagent.d.ts +71 -0
- package/dist/components/subagent/subagent.js +450 -0
- package/dist/components/suggestion/suggestion.d.ts +21 -0
- package/dist/components/suggestion/suggestion.js +130 -0
- package/dist/components/switch/switch.d.ts +6 -0
- package/dist/components/switch/switch.js +70 -0
- package/dist/components/table/table.d.ts +19 -0
- package/dist/components/table/table.js +284 -0
- package/dist/components/table-of-contents/spy.js +84 -0
- package/dist/components/table-of-contents/table-of-contents.d.ts +92 -0
- package/dist/components/table-of-contents/table-of-contents.js +787 -0
- package/dist/components/tabs/tabs.d.ts +25 -0
- package/dist/components/tabs/tabs.js +273 -0
- package/dist/components/task/task.d.ts +40 -0
- package/dist/components/task/task.js +262 -0
- package/dist/components/terminal/terminal.d.ts +82 -0
- package/dist/components/terminal/terminal.js +457 -0
- package/dist/components/test-results/test-results.d.ts +127 -0
- package/dist/components/test-results/test-results.js +687 -0
- package/dist/components/textarea/textarea.d.ts +8 -0
- package/dist/components/textarea/textarea.js +43 -0
- package/dist/components/time-input/time-input.d.ts +7 -0
- package/dist/components/time-input/time-input.js +82 -0
- package/dist/components/timeline/timeline.d.ts +19 -0
- package/dist/components/timeline/timeline.js +247 -0
- package/dist/components/toast/toast.d.ts +12 -0
- package/dist/components/toast/toast.js +285 -0
- package/dist/components/toggle/toggle.d.ts +15 -0
- package/dist/components/toggle/toggle.js +137 -0
- package/dist/components/token-input/token-input.d.ts +7 -0
- package/dist/components/token-input/token-input.js +117 -0
- package/dist/components/tool/tool.d.ts +66 -0
- package/dist/components/tool/tool.js +413 -0
- package/dist/components/toolbar/toolbar.d.ts +91 -0
- package/dist/components/toolbar/toolbar.js +655 -0
- package/dist/components/tooltip/tooltip.d.ts +8 -0
- package/dist/components/tooltip/tooltip.js +97 -0
- package/dist/components/trace/trace.d.ts +31 -0
- package/dist/components/trace/trace.js +309 -0
- package/dist/components/tree/tree.d.ts +13 -0
- package/dist/components/tree/tree.js +258 -0
- package/dist/components/trigger-menu/trigger-menu.d.ts +30 -0
- package/dist/components/trigger-menu/trigger-menu.js +352 -0
- package/dist/components/usage/usage.d.ts +132 -0
- package/dist/components/usage/usage.js +1368 -0
- package/dist/components/waterfall/waterfall.d.ts +20 -0
- package/dist/components/waterfall/waterfall.js +360 -0
- package/dist/components/week-strip/week-strip.d.ts +177 -0
- package/dist/components/week-strip/week-strip.js +1081 -0
- package/dist/core/index.d.ts +7 -0
- package/dist/core/index.js +27 -0
- package/dist/core/ui-sdk.d.ts +3 -0
- package/dist/core/ui-sdk.js +3 -0
- package/dist/core/use-primitive-state.d.ts +14 -0
- package/dist/core/use-primitive-state.js +25 -0
- package/dist/styles/LICENSE-shadcn.md +21 -0
- package/dist/styles/color-scheme.css +32 -0
- package/dist/styles/components.css +303 -0
- package/dist/styles/index.css +41 -0
- package/dist/styles/tokens.css +474 -0
- package/dist/styles/typeset/shadcn.css +506 -0
- package/dist/styles/typeset.css +70 -0
- package/dist/styles/utilities.css +555 -0
- package/dist/tools/observe/index.d.ts +2 -0
- package/dist/tools/observe/index.js +3 -0
- package/dist/tools/observe/ui-sdk.d.ts +1 -0
- package/dist/tools/observe/ui-sdk.js +2 -0
- package/dist/tools/testing/check-agent.d.ts +28 -0
- package/dist/tools/testing/check-agent.js +42 -0
- package/dist/tools/testing/index.d.ts +4 -0
- package/dist/tools/testing/index.js +4 -0
- package/dist/tools/testing/ui-sdk.d.ts +1 -0
- package/dist/tools/testing/ui-sdk.js +2 -0
- package/dist/utilities/cn/index.d.ts +12 -0
- package/dist/utilities/cn/index.js +47 -0
- package/dist/utilities/color/index.d.ts +2 -0
- package/dist/utilities/color/index.js +3 -0
- package/dist/utilities/color/ui-sdk.d.ts +1 -0
- package/dist/utilities/color/ui-sdk.js +2 -0
- package/dist/utilities/date/index.d.ts +2 -0
- package/dist/utilities/date/index.js +6 -0
- package/dist/utilities/date/ui-sdk.d.ts +1 -0
- package/dist/utilities/date/ui-sdk.js +2 -0
- package/dist/utilities/image/index.d.ts +2 -0
- package/dist/utilities/image/index.js +3 -0
- package/dist/utilities/image/ui-sdk.d.ts +1 -0
- package/dist/utilities/image/ui-sdk.js +2 -0
- package/dist/utilities/mobile/index.d.ts +2 -0
- package/dist/utilities/mobile/index.js +1 -0
- package/dist/utilities/mobile/ui-sdk.d.ts +2 -0
- package/dist/utilities/mobile/ui-sdk.js +1 -0
- package/dist/utilities/number/index.d.ts +2 -0
- package/dist/utilities/number/index.js +3 -0
- package/dist/utilities/number/ui-sdk.d.ts +1 -0
- package/dist/utilities/number/ui-sdk.js +2 -0
- package/dist/utilities/platform/index.d.ts +3 -0
- package/dist/utilities/platform/index.js +14 -0
- package/dist/utilities/platform/ui-sdk.d.ts +3 -0
- package/dist/utilities/platform/ui-sdk.js +3 -0
- package/dist/utilities/storage/index.d.ts +2 -0
- package/dist/utilities/storage/index.js +1 -0
- package/dist/utilities/storage/ui-sdk.d.ts +2 -0
- package/dist/utilities/storage/ui-sdk.js +1 -0
- package/dist/utilities/text/index.d.ts +3 -0
- package/dist/utilities/text/index.js +3 -0
- package/dist/utilities/text/ui-sdk.d.ts +3 -0
- package/dist/utilities/text/ui-sdk.js +3 -0
- package/package.json +192 -4
- package/skills/agent-ready-ui/SKILL.md +229 -0
- package/skills/blocks/SKILL.md +262 -0
- package/skills/compose-screens/SKILL.md +354 -0
- package/skills/note-editor/SKILL.md +493 -0
- package/skills/note-status/SKILL.md +295 -0
- package/skills/setup/SKILL.md +136 -0
- package/skills/theming/SKILL.md +216 -0
- package/src/blocks/notes/adapters.ts +77 -0
- package/src/blocks/notes/data.ts +508 -0
- package/src/blocks/notes/notes-block.tsx +244 -0
- package/src/blocks/notes/parts/home.tsx +219 -0
- package/src/blocks/notes/parts/no-access.tsx +84 -0
- package/src/blocks/notes/parts/note-screen.tsx +412 -0
- package/src/blocks/notes/parts/notes-sidebar.tsx +277 -0
- package/src/blocks/notes/parts/panels.tsx +393 -0
- package/src/blocks/notes/parts/place.ts +15 -0
- package/src/blocks/notes/parts/review-dialog.tsx +159 -0
- package/src/blocks/notes/parts/share.tsx +172 -0
- package/src/blocks/notes/texts.ts +135 -0
- package/src/blocks/shell/adapters.ts +69 -0
- package/src/blocks/shell/data.ts +281 -0
- package/src/blocks/shell/parts/compose.tsx +292 -0
- package/src/blocks/shell/parts/home.tsx +203 -0
- package/src/blocks/shell/parts/marks.tsx +144 -0
- package/src/blocks/shell/parts/rail.tsx +166 -0
- package/src/blocks/shell/parts/rooms-column.tsx +326 -0
- package/src/blocks/shell/shell-block.tsx +210 -0
- package/src/blocks/shell/texts.ts +80 -0
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn, cnState } from "../../utilities/cn/index.js";
|
|
3
|
+
import { Button } from "../button/button.js";
|
|
4
|
+
import { Toggle } from "../toggle/toggle.js";
|
|
5
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from "../tooltip/tooltip.js";
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
// src/components/message/message.tsx
|
|
9
|
+
/** Consecutive messages from the same sender. */
|
|
10
|
+
function MessageGroup(t0) {
|
|
11
|
+
const $ = c(8);
|
|
12
|
+
let className;
|
|
13
|
+
let props;
|
|
14
|
+
if ($[0] !== t0) {
|
|
15
|
+
({className, ...props} = t0);
|
|
16
|
+
$[0] = t0;
|
|
17
|
+
$[1] = className;
|
|
18
|
+
$[2] = props;
|
|
19
|
+
} else {
|
|
20
|
+
className = $[1];
|
|
21
|
+
props = $[2];
|
|
22
|
+
}
|
|
23
|
+
let t1;
|
|
24
|
+
if ($[3] !== className) {
|
|
25
|
+
t1 = cn("flex min-w-0 flex-col gap-2", className);
|
|
26
|
+
$[3] = className;
|
|
27
|
+
$[4] = t1;
|
|
28
|
+
} else t1 = $[4];
|
|
29
|
+
let t2;
|
|
30
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
31
|
+
t2 = /* @__PURE__ */ jsx("div", {
|
|
32
|
+
"data-slot": "message-group",
|
|
33
|
+
className: t1,
|
|
34
|
+
...props
|
|
35
|
+
});
|
|
36
|
+
$[5] = props;
|
|
37
|
+
$[6] = t1;
|
|
38
|
+
$[7] = t2;
|
|
39
|
+
} else t2 = $[7];
|
|
40
|
+
return t2;
|
|
41
|
+
}
|
|
42
|
+
function Message(t0) {
|
|
43
|
+
const $ = c(10);
|
|
44
|
+
let className;
|
|
45
|
+
let props;
|
|
46
|
+
let t1;
|
|
47
|
+
if ($[0] !== t0) {
|
|
48
|
+
({className, align: t1, ...props} = t0);
|
|
49
|
+
$[0] = t0;
|
|
50
|
+
$[1] = className;
|
|
51
|
+
$[2] = props;
|
|
52
|
+
$[3] = t1;
|
|
53
|
+
} else {
|
|
54
|
+
className = $[1];
|
|
55
|
+
props = $[2];
|
|
56
|
+
t1 = $[3];
|
|
57
|
+
}
|
|
58
|
+
const align = t1 === void 0 ? "start" : t1;
|
|
59
|
+
let t2;
|
|
60
|
+
if ($[4] !== className) {
|
|
61
|
+
t2 = cn("group/message relative flex w-full min-w-0 gap-2 text-chat data-[align=end]:flex-row-reverse", className);
|
|
62
|
+
$[4] = className;
|
|
63
|
+
$[5] = t2;
|
|
64
|
+
} else t2 = $[5];
|
|
65
|
+
let t3;
|
|
66
|
+
if ($[6] !== align || $[7] !== props || $[8] !== t2) {
|
|
67
|
+
t3 = /* @__PURE__ */ jsx("div", {
|
|
68
|
+
"data-slot": "message",
|
|
69
|
+
"data-align": align,
|
|
70
|
+
className: t2,
|
|
71
|
+
...props
|
|
72
|
+
});
|
|
73
|
+
$[6] = align;
|
|
74
|
+
$[7] = props;
|
|
75
|
+
$[8] = t2;
|
|
76
|
+
$[9] = t3;
|
|
77
|
+
} else t3 = $[9];
|
|
78
|
+
return t3;
|
|
79
|
+
}
|
|
80
|
+
function MessageAvatar(t0) {
|
|
81
|
+
const $ = c(8);
|
|
82
|
+
let className;
|
|
83
|
+
let props;
|
|
84
|
+
if ($[0] !== t0) {
|
|
85
|
+
({className, ...props} = t0);
|
|
86
|
+
$[0] = t0;
|
|
87
|
+
$[1] = className;
|
|
88
|
+
$[2] = props;
|
|
89
|
+
} else {
|
|
90
|
+
className = $[1];
|
|
91
|
+
props = $[2];
|
|
92
|
+
}
|
|
93
|
+
let t1;
|
|
94
|
+
if ($[3] !== className) {
|
|
95
|
+
t1 = cn("flex w-fit min-w-8 shrink-0 items-center justify-center self-end overflow-hidden rounded-full bg-muted group-has-data-[slot=message-footer]/message:-translate-y-8", className);
|
|
96
|
+
$[3] = className;
|
|
97
|
+
$[4] = t1;
|
|
98
|
+
} else t1 = $[4];
|
|
99
|
+
let t2;
|
|
100
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
101
|
+
t2 = /* @__PURE__ */ jsx("div", {
|
|
102
|
+
"data-slot": "message-avatar",
|
|
103
|
+
className: t1,
|
|
104
|
+
...props
|
|
105
|
+
});
|
|
106
|
+
$[5] = props;
|
|
107
|
+
$[6] = t1;
|
|
108
|
+
$[7] = t2;
|
|
109
|
+
} else t2 = $[7];
|
|
110
|
+
return t2;
|
|
111
|
+
}
|
|
112
|
+
function MessageContent(t0) {
|
|
113
|
+
const $ = c(8);
|
|
114
|
+
let className;
|
|
115
|
+
let props;
|
|
116
|
+
if ($[0] !== t0) {
|
|
117
|
+
({className, ...props} = t0);
|
|
118
|
+
$[0] = t0;
|
|
119
|
+
$[1] = className;
|
|
120
|
+
$[2] = props;
|
|
121
|
+
} else {
|
|
122
|
+
className = $[1];
|
|
123
|
+
props = $[2];
|
|
124
|
+
}
|
|
125
|
+
let t1;
|
|
126
|
+
if ($[3] !== className) {
|
|
127
|
+
t1 = cn("flex w-full min-w-0 flex-col gap-2.5 wrap-break-word group-data-[align=end]/message:*:data-slot:self-end", className);
|
|
128
|
+
$[3] = className;
|
|
129
|
+
$[4] = t1;
|
|
130
|
+
} else t1 = $[4];
|
|
131
|
+
let t2;
|
|
132
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
133
|
+
t2 = /* @__PURE__ */ jsx("div", {
|
|
134
|
+
"data-slot": "message-content",
|
|
135
|
+
className: t1,
|
|
136
|
+
...props
|
|
137
|
+
});
|
|
138
|
+
$[5] = props;
|
|
139
|
+
$[6] = t1;
|
|
140
|
+
$[7] = t2;
|
|
141
|
+
} else t2 = $[7];
|
|
142
|
+
return t2;
|
|
143
|
+
}
|
|
144
|
+
function MessageHeader(t0) {
|
|
145
|
+
const $ = c(8);
|
|
146
|
+
let className;
|
|
147
|
+
let props;
|
|
148
|
+
if ($[0] !== t0) {
|
|
149
|
+
({className, ...props} = t0);
|
|
150
|
+
$[0] = t0;
|
|
151
|
+
$[1] = className;
|
|
152
|
+
$[2] = props;
|
|
153
|
+
} else {
|
|
154
|
+
className = $[1];
|
|
155
|
+
props = $[2];
|
|
156
|
+
}
|
|
157
|
+
let t1;
|
|
158
|
+
if ($[3] !== className) {
|
|
159
|
+
t1 = cn("flex max-w-full min-w-0 items-center px-4 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0", className);
|
|
160
|
+
$[3] = className;
|
|
161
|
+
$[4] = t1;
|
|
162
|
+
} else t1 = $[4];
|
|
163
|
+
let t2;
|
|
164
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
165
|
+
t2 = /* @__PURE__ */ jsx("div", {
|
|
166
|
+
"data-slot": "message-header",
|
|
167
|
+
className: t1,
|
|
168
|
+
...props
|
|
169
|
+
});
|
|
170
|
+
$[5] = props;
|
|
171
|
+
$[6] = t1;
|
|
172
|
+
$[7] = t2;
|
|
173
|
+
} else t2 = $[7];
|
|
174
|
+
return t2;
|
|
175
|
+
}
|
|
176
|
+
function MessageFooter(t0) {
|
|
177
|
+
const $ = c(8);
|
|
178
|
+
let className;
|
|
179
|
+
let props;
|
|
180
|
+
if ($[0] !== t0) {
|
|
181
|
+
({className, ...props} = t0);
|
|
182
|
+
$[0] = t0;
|
|
183
|
+
$[1] = className;
|
|
184
|
+
$[2] = props;
|
|
185
|
+
} else {
|
|
186
|
+
className = $[1];
|
|
187
|
+
props = $[2];
|
|
188
|
+
}
|
|
189
|
+
let t1;
|
|
190
|
+
if ($[3] !== className) {
|
|
191
|
+
t1 = cn("flex max-w-full min-w-0 items-center px-4 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0 group-data-[align=end]/message:justify-end", className);
|
|
192
|
+
$[3] = className;
|
|
193
|
+
$[4] = t1;
|
|
194
|
+
} else t1 = $[4];
|
|
195
|
+
let t2;
|
|
196
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
197
|
+
t2 = /* @__PURE__ */ jsx("div", {
|
|
198
|
+
"data-slot": "message-footer",
|
|
199
|
+
className: t1,
|
|
200
|
+
...props
|
|
201
|
+
});
|
|
202
|
+
$[5] = props;
|
|
203
|
+
$[6] = t1;
|
|
204
|
+
$[7] = t2;
|
|
205
|
+
} else t2 = $[7];
|
|
206
|
+
return t2;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* The footer of a message when it holds its actions: copy, retry, a rating.
|
|
210
|
+
* It follows the message's side, and lines the first and last icon up with
|
|
211
|
+
* the edge of the content above (a bubble's edge, or the reply's text)
|
|
212
|
+
* rather than with the buttons' padding.
|
|
213
|
+
*/
|
|
214
|
+
function MessageActions(t0) {
|
|
215
|
+
const $ = c(8);
|
|
216
|
+
let className;
|
|
217
|
+
let props;
|
|
218
|
+
if ($[0] !== t0) {
|
|
219
|
+
({className, ...props} = t0);
|
|
220
|
+
$[0] = t0;
|
|
221
|
+
$[1] = className;
|
|
222
|
+
$[2] = props;
|
|
223
|
+
} else {
|
|
224
|
+
className = $[1];
|
|
225
|
+
props = $[2];
|
|
226
|
+
}
|
|
227
|
+
let t1;
|
|
228
|
+
if ($[3] !== className) {
|
|
229
|
+
t1 = cn("-mx-1.5 gap-1 px-0 group-has-data-[variant=ghost]/message:px-0", className);
|
|
230
|
+
$[3] = className;
|
|
231
|
+
$[4] = t1;
|
|
232
|
+
} else t1 = $[4];
|
|
233
|
+
let t2;
|
|
234
|
+
if ($[5] !== props || $[6] !== t1) {
|
|
235
|
+
t2 = /* @__PURE__ */ jsx(MessageFooter, {
|
|
236
|
+
className: t1,
|
|
237
|
+
...props
|
|
238
|
+
});
|
|
239
|
+
$[5] = props;
|
|
240
|
+
$[6] = t1;
|
|
241
|
+
$[7] = t2;
|
|
242
|
+
} else t2 = $[7];
|
|
243
|
+
return t2;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* An icon button with a tooltip, named by `label`. With `pressed`,
|
|
247
|
+
* `defaultPressed` or `onPressedChange` it is a Toggle that stays pressed,
|
|
248
|
+
* for a rating. The tooltip repeats the name, so it is hidden from agents.
|
|
249
|
+
*/
|
|
250
|
+
function MessageAction(t0) {
|
|
251
|
+
const $ = c(21);
|
|
252
|
+
let children;
|
|
253
|
+
let className;
|
|
254
|
+
let closeOnPress;
|
|
255
|
+
let label;
|
|
256
|
+
let props;
|
|
257
|
+
if ($[0] !== t0) {
|
|
258
|
+
({label, closeOnPress, children, className, ...props} = t0);
|
|
259
|
+
$[0] = t0;
|
|
260
|
+
$[1] = children;
|
|
261
|
+
$[2] = className;
|
|
262
|
+
$[3] = closeOnPress;
|
|
263
|
+
$[4] = label;
|
|
264
|
+
$[5] = props;
|
|
265
|
+
} else {
|
|
266
|
+
children = $[1];
|
|
267
|
+
className = $[2];
|
|
268
|
+
closeOnPress = $[3];
|
|
269
|
+
label = $[4];
|
|
270
|
+
props = $[5];
|
|
271
|
+
}
|
|
272
|
+
const toggles = props.pressed !== void 0 || props.defaultPressed !== void 0 || props.onPressedChange !== void 0;
|
|
273
|
+
const variant = toggles ? void 0 : props.variant;
|
|
274
|
+
const quiet = variant === void 0 || variant === "ghost" ? "text-muted-foreground not-data-pressed:hover:text-foreground" : void 0;
|
|
275
|
+
let t1;
|
|
276
|
+
if ($[6] !== className || $[7] !== label || $[8] !== props || $[9] !== quiet || $[10] !== toggles) {
|
|
277
|
+
t1 = toggles ? /* @__PURE__ */ jsx(Toggle, {
|
|
278
|
+
size: "sm",
|
|
279
|
+
"aria-label": label,
|
|
280
|
+
...props,
|
|
281
|
+
className: cnState(["size-7 p-0", quiet], className)
|
|
282
|
+
}) : /* @__PURE__ */ jsx(Button, {
|
|
283
|
+
variant: "ghost",
|
|
284
|
+
size: "icon-sm",
|
|
285
|
+
"aria-label": label,
|
|
286
|
+
...props,
|
|
287
|
+
className: cnState(quiet, className)
|
|
288
|
+
});
|
|
289
|
+
$[6] = className;
|
|
290
|
+
$[7] = label;
|
|
291
|
+
$[8] = props;
|
|
292
|
+
$[9] = quiet;
|
|
293
|
+
$[10] = toggles;
|
|
294
|
+
$[11] = t1;
|
|
295
|
+
} else t1 = $[11];
|
|
296
|
+
let t2;
|
|
297
|
+
if ($[12] !== children || $[13] !== t1) {
|
|
298
|
+
t2 = /* @__PURE__ */ jsx(TooltipTrigger, {
|
|
299
|
+
render: t1,
|
|
300
|
+
children
|
|
301
|
+
});
|
|
302
|
+
$[12] = children;
|
|
303
|
+
$[13] = t1;
|
|
304
|
+
$[14] = t2;
|
|
305
|
+
} else t2 = $[14];
|
|
306
|
+
let t3;
|
|
307
|
+
if ($[15] !== label) {
|
|
308
|
+
t3 = /* @__PURE__ */ jsx(TooltipContent, {
|
|
309
|
+
"data-agent-hidden": "",
|
|
310
|
+
children: label
|
|
311
|
+
});
|
|
312
|
+
$[15] = label;
|
|
313
|
+
$[16] = t3;
|
|
314
|
+
} else t3 = $[16];
|
|
315
|
+
let t4;
|
|
316
|
+
if ($[17] !== closeOnPress || $[18] !== t2 || $[19] !== t3) {
|
|
317
|
+
t4 = /* @__PURE__ */ jsxs(Tooltip, {
|
|
318
|
+
closeOnPress,
|
|
319
|
+
children: [t2, t3]
|
|
320
|
+
});
|
|
321
|
+
$[17] = closeOnPress;
|
|
322
|
+
$[18] = t2;
|
|
323
|
+
$[19] = t3;
|
|
324
|
+
$[20] = t4;
|
|
325
|
+
} else t4 = $[20];
|
|
326
|
+
return t4;
|
|
327
|
+
}
|
|
328
|
+
export { Message, MessageAction, MessageActions, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader };
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { index_d_exports } from "../../core/index.js";
|
|
2
|
+
import { ButtonLook } from "../button/button.js";
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
|
+
type MessageScrollerPosition = "start" | "end" | "last-anchor";
|
|
5
|
+
type MessageScrollerAlign = "start" | "center" | "end";
|
|
6
|
+
type MessageScrollerOptions = {
|
|
7
|
+
/**
|
|
8
|
+
* Keeps streamed output in view while the reader is at the end of the
|
|
9
|
+
* transcript. Scrolling away releases it; returning to the end, or
|
|
10
|
+
* `scrollToEnd`, takes it up again. Off by default.
|
|
11
|
+
*/
|
|
12
|
+
autoScroll?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Where a transcript opens: its start, its end, or its last `scrollAnchor`
|
|
15
|
+
* row with the reply below it. `"last-anchor"` falls back to the end when no
|
|
16
|
+
* row is an anchor or the last turn already fits. `"end"` by default.
|
|
17
|
+
*/
|
|
18
|
+
defaultScrollPosition?: MessageScrollerPosition;
|
|
19
|
+
/** How close to an edge, in pixels, still counts as being at it. 8 by default. */
|
|
20
|
+
scrollEdgeThreshold?: number;
|
|
21
|
+
/** Space, in pixels, kept between the edge of the viewport and a row it scrolls to. */
|
|
22
|
+
scrollMargin?: number;
|
|
23
|
+
/** How much of the previous row, in pixels, stays visible above a new anchor. 64 by default. */
|
|
24
|
+
scrollPreviousItemPeek?: number;
|
|
25
|
+
/** Keeps the visible row in place when earlier rows are added above it. On by default. */
|
|
26
|
+
preserveScrollOnPrepend?: boolean;
|
|
27
|
+
};
|
|
28
|
+
type MessageScrollerScrollOptions = {
|
|
29
|
+
/** `"smooth"` by default. Always instant when the reader prefers reduced motion. */
|
|
30
|
+
behavior?: ScrollBehavior;
|
|
31
|
+
};
|
|
32
|
+
type MessageScrollerScrollToMessageOptions = MessageScrollerScrollOptions & {
|
|
33
|
+
/** Which edge of the viewport the row lines up with. `"start"` by default. */
|
|
34
|
+
align?: MessageScrollerAlign;
|
|
35
|
+
/** Space, in pixels, between the row and that edge. Defaults to the provider's `scrollMargin`. */
|
|
36
|
+
scrollMargin?: number;
|
|
37
|
+
};
|
|
38
|
+
type MessageScrollerProviderProps = MessageScrollerOptions & {
|
|
39
|
+
children?: ReactNode;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* The headless root. It owns the scroll state and the behavior props, and
|
|
43
|
+
* renders no element: the parts and the hooks work anywhere inside it.
|
|
44
|
+
*/
|
|
45
|
+
declare function MessageScrollerProvider({ children, ...options }: MessageScrollerProviderProps): import("react").JSX.Element;
|
|
46
|
+
type MessageScrollerProps = index_d_exports.PartProps<"div"> & {
|
|
47
|
+
/** Names the transcript for screen readers and agents. Set it in the page's language. */
|
|
48
|
+
label?: string;
|
|
49
|
+
};
|
|
50
|
+
/** The frame around the viewport and its controls. It fills its parent, which sets the height. */
|
|
51
|
+
declare function MessageScroller({ label, className, ...props }: MessageScrollerProps): import("react").JSX.Element | null;
|
|
52
|
+
type MessageScrollerViewportProps = index_d_exports.PartProps<"div"> & {
|
|
53
|
+
/** Names the scrollable region. Set it in the page's language. */
|
|
54
|
+
label?: string;
|
|
55
|
+
};
|
|
56
|
+
/** The element that scrolls: a named region a keyboard can focus and scroll. */
|
|
57
|
+
declare function MessageScrollerViewport({ label, className, ...props }: MessageScrollerViewportProps): import("react").JSX.Element | null;
|
|
58
|
+
type MessageScrollerContentProps = index_d_exports.PartProps<"div">;
|
|
59
|
+
/** The transcript: a log whose new rows a screen reader announces. */
|
|
60
|
+
declare function MessageScrollerContent({ className, ...props }: MessageScrollerContentProps): import("react").JSX.Element | null;
|
|
61
|
+
type MessageScrollerItemProps = index_d_exports.PartProps<"div"> & {
|
|
62
|
+
/** A stable id for the row, which `scrollToMessage` and visibility tracking use. */
|
|
63
|
+
messageId?: string;
|
|
64
|
+
/** Marks the row that starts a turn. A new one settles near the top of the viewport. */
|
|
65
|
+
scrollAnchor?: boolean;
|
|
66
|
+
};
|
|
67
|
+
/** One row of the transcript: a message, a marker, a typing indicator. */
|
|
68
|
+
declare function MessageScrollerItem({ messageId, scrollAnchor, className, ...props }: MessageScrollerItemProps): import("react").JSX.Element | null;
|
|
69
|
+
type MessageScrollerButtonProps = index_d_exports.PartProps<"button"> & ButtonLook & {
|
|
70
|
+
/** Which edge of the transcript it scrolls to. `"end"` by default. */
|
|
71
|
+
direction?: "start" | "end";
|
|
72
|
+
/** How it scrolls. `"smooth"` by default, and always instant with reduced motion. */
|
|
73
|
+
behavior?: ScrollBehavior;
|
|
74
|
+
/** The button's accessible name. Set it in the page's language. */
|
|
75
|
+
label?: string;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Scrolls to the start or the end of the transcript. It is hidden and inert
|
|
79
|
+
* until there is content in its direction.
|
|
80
|
+
*/
|
|
81
|
+
declare function MessageScrollerButton({ direction, behavior, label, variant, size, className, children, ...props }: MessageScrollerButtonProps): import("react").JSX.Element | null;
|
|
82
|
+
type MessageScrollerCommands = {
|
|
83
|
+
/** Scrolls to the row with this `messageId`. False when no such row is mounted. */
|
|
84
|
+
scrollToMessage: (id: string, options?: MessageScrollerScrollToMessageOptions) => boolean;
|
|
85
|
+
/** Scrolls to the end of the transcript and takes up following again. False with no viewport. */
|
|
86
|
+
scrollToEnd: (options?: MessageScrollerScrollOptions) => boolean;
|
|
87
|
+
/** Scrolls to the start of the transcript. False with no viewport. */
|
|
88
|
+
scrollToStart: (options?: MessageScrollerScrollOptions) => boolean;
|
|
89
|
+
};
|
|
90
|
+
/** The scroll commands, for a control anywhere inside `MessageScrollerProvider`. */
|
|
91
|
+
declare function useMessageScroller(): MessageScrollerCommands;
|
|
92
|
+
type MessageScrollerScrollable = {
|
|
93
|
+
/** Whether the viewport can still scroll toward the start. */
|
|
94
|
+
start: boolean;
|
|
95
|
+
/** Whether the viewport can still scroll toward the end. */
|
|
96
|
+
end: boolean;
|
|
97
|
+
};
|
|
98
|
+
/** Which edges the viewport can still scroll toward. It re-renders when one changes. */
|
|
99
|
+
declare function useMessageScrollerScrollable(): MessageScrollerScrollable;
|
|
100
|
+
type MessageScrollerVisibility = {
|
|
101
|
+
/** The `messageId` of the anchored turn the reader is in, even once it is above the viewport. */
|
|
102
|
+
currentAnchorId: string | null;
|
|
103
|
+
/** The `messageId` of each row on screen, in page order. */
|
|
104
|
+
visibleMessageIds: string[];
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Where the reader is in the transcript. Tracking runs only while a component
|
|
108
|
+
* uses this hook, and only rows with a `messageId` take part.
|
|
109
|
+
*/
|
|
110
|
+
declare function useMessageScrollerVisibility(): MessageScrollerVisibility;
|
|
111
|
+
export { MessageScroller, type MessageScrollerAlign, MessageScrollerButton, type MessageScrollerButtonProps, type MessageScrollerCommands, MessageScrollerContent, type MessageScrollerContentProps, MessageScrollerItem, type MessageScrollerItemProps, type MessageScrollerOptions, type MessageScrollerPosition, type MessageScrollerProps, MessageScrollerProvider, type MessageScrollerProviderProps, type MessageScrollerScrollOptions, type MessageScrollerScrollToMessageOptions, type MessageScrollerScrollable, MessageScrollerViewport, type MessageScrollerViewportProps, type MessageScrollerVisibility, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility };
|