Chat: Add sendButtonOptions to .d.ts#33122
Merged
marker-dao merged 12 commits intoDevExpress:26_1from Apr 2, 2026
Merged
Conversation
d630241 to
fd9b9d8
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a new Chat API surface (sendButtonOptions) to DevExtreme’s TypeScript declarations and propagates it through the Vue/React/Angular wrappers so users can configure the Chat “Send” button via typed options.
Changes:
- Added
sendButtonOptionstodxChatOptionsalong with new related types (SendButtonProperties,SendButtonBehavior,SendButtonClickEvent) in the main Chat typings. - Re-exported the new Chat types from
chat_types.d.ts. - Updated Vue/React/Angular wrappers to expose
sendButtonOptionsas a component prop / nested option.
Reviewed changes
Copilot reviewed 6 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/devextreme/ts/dx.all.d.ts | Adds sendButtonOptions and related types to the aggregated DevExtreme .d.ts. |
| packages/devextreme/js/ui/chat.d.ts | Adds the primary Chat typings for sendButtonOptions and related public types. |
| packages/devextreme/js/ui/chat_types.d.ts | Re-exports the new types from ./chat. |
| packages/devextreme-vue/src/chat.ts | Exposes sendButtonOptions and adds DxSendButtonOptions nested configuration component. |
| packages/devextreme-react/src/chat.ts | Adds sendButtonOptions as an expected child and introduces a SendButtonOptions nested option component. |
| packages/devextreme-metadata/make-angular-metadata.ts | Adjusts Angular metadata filtering rules to account for the new Chat members. |
| packages/devextreme-angular/src/ui/chat/nested/send-button-options.ts | Adds Angular nested option component for sendButtonOptions. |
| packages/devextreme-angular/src/ui/chat/nested/index.ts | Re-exports the new Angular nested option component. |
| packages/devextreme-angular/src/ui/chat/index.ts | Adds @Input() sendButtonOptions and the corresponding change emitter wiring. |
vladaskorohodova
previously approved these changes
Apr 2, 2026
r-farkhutdinov
previously approved these changes
Apr 2, 2026
LanetteDevEx
previously approved these changes
Apr 2, 2026
added 10 commits
April 2, 2026 14:17
added 2 commits
April 2, 2026 14:17
…&& Remove useless type tag && Remove useless removeMembers call
cd32d94
644acef to
cd32d94
Compare
siarhei-arzamasau
approved these changes
Apr 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.