Skip to content

Commit 721d526

Browse files
Version Packages
1 parent b4d9ec6 commit 721d526

7 files changed

Lines changed: 17 additions & 29 deletions

File tree

‎.changeset/composer-remount-state.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/composer-scroll-containment.md‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

‎.changeset/drop-nanoid.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/forty-symbols-dream.md‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎.changeset/portal-hydration.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎packages/chat/CHANGELOG.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @intentface/chat
22

3+
## 0.5.3
4+
5+
### Patch Changes
6+
7+
- [Composer] Fix `Composer.Root` losing its state under StrictMode or a hidden `<Activity>`, which drew the placeholder over a controlled `value`.
8+
- A composer embedded in a scrolling page no longer scrolls that page.
9+
10+
**Programmatic text changes.** `clear()`, `setText()` and the ask-user step changes used to nudge the page by a few pixels each time. Keeping the caret in view after a write now scrolls only the composer's own scroll areas, never past `Composer.Root`. A caret on an empty line, including an empty editor's, is measured by that line's break: on its own it has no box, and its all-zero rect read as "above the view". A trailing empty line in an overflowing composer now scrolls into view too.
11+
12+
**Ask-user focus moves.** Moving into the options, arrowing between them, and typing to answer move focus without the browser's focus-scroll. An option outside its own list's view is still brought into view within the question.
13+
14+
**`focus(options)`.** The composer controller's `focus` now takes `HTMLElement.focus()`'s options, so a consumer can focus an on-screen composer with `{ preventScroll: true }`. Called with no arguments, it behaves as before.
15+
16+
- Remove the `nanoid` dependency; attachment ids are now the file's blob URL.
17+
- [Composer] Fix a hydration mismatch when `Composer.Popover` or an overlay `Composer.Panel` is server-rendered.
18+
319
## 0.5.2
420

521
### Patch Changes

‎packages/chat/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@intentface/chat",
3-
"version": "0.5.2",
3+
"version": "0.5.3",
44
"description": "Headless UI primitives — unstyled compound components, hooks, and wire formats for AI chat interfaces and the app shells around them.",
55
"license": "MIT",
66
"type": "module",

0 commit comments

Comments
 (0)