Skip to content

Commit 7637526

Browse files
committed
chore(input-bar): changeset
1 parent a09352f commit 7637526

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.changeset/real-ears-wait.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,11 @@
22
'@lg-chat/input-bar': major
33
---
44

5-
Update default setting for `shouldRenderGradient` prop to false. This will prevent warnings from being logged when compact variant is used.
5+
#### Breaking Changes
6+
7+
- Update default value of `shouldRenderGradient` prop from `true` to `false`. This prevents console warnings when using the compact variant.
8+
9+
#### Minor Changes
10+
11+
- [LG-5600](https://jira.mongodb.org/browse/LG-5600) Fix send button to not be disabled when `state="loading"` if `messageBody` is empty. It will still be disabled if `disabled` or `disableSend` props are set to `true`.
12+
- Add `onClickStop` prop to handle stop actions during loading state. When triggered, the previous message body is restored to the input field (similar to error state behavior).

0 commit comments

Comments
 (0)