v0.143.0
Minor Changes
2528e514Thanks @tenphi! - Add newCommandTextAreacomponent: a textarea-based command input with token-triggered autocomplete, virtual focus management, and form system integration.
Patch Changes
-
#1222
4232aad3Thanks @tenphi! - Fix severalCommandTextAreaissues and a relatedComboBoxfiltering regression:- Stale virtual focus / commit: As the typed token narrows, virtual focus now moves to the first still-visible option when the previously highlighted option is filtered out, and
Enter/Tabcan no longer commit a hidden command (e.g. typing/thenhno longer inserts/clear). Visible options are derived from the component's own filtered collection instead of the ListBox state ref, which can lag by one render. - Conditional Hook:
listStateRefno longer callsuseRefconditionally, preventing the Hook-order changes that could occur when the optionallistStateRefprop was added or removed. - Stale caret after external value updates: When the textarea value changes from outside (controlled updates, form reset, or a seeded
defaultValue), the caret is now resynced from the DOM selection so trigger parsing uses a valid index. defaultValueignored: An uncontrolledCommandTextAreanow seeds its text (and trigger parsing) fromdefaultValue.ComboBoxfiltering:ComboBoxagain filters ontextValueonly, as documented. The sharedfilterCollectionNodeshelper now matches plain-textchildren/descriptiononly when a component opts in viamatchExtraFields(used byCommandTextArea).
- Stale virtual focus / commit: As the typed token narrows, virtual focus now moves to the first still-visible option when the previously highlighted option is filtered out, and
-
#1224
5acb166cThanks @tenphi! - Fix Notification rendering a duplicate "Dismiss" button when a customNotificationActionwithisDismissis provided. Replaced the render-phase ref-mutation detection with deterministic static inspection of theactionstree, so the auto-appended "Dismiss" is reliably suppressed regardless of render order or concurrent rendering timing.