@progress/kendo-react-conversational-ui 13.3.0-develop.9 → 13.4.0-develop.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.
Files changed (66) hide show
  1. package/ai-prompt/AIPrompt.d.ts +176 -0
  2. package/ai-prompt/AIPromptContent.d.ts +30 -0
  3. package/ai-prompt/AIPromptContext.d.ts +32 -0
  4. package/ai-prompt/AIPromptExpander.d.ts +23 -0
  5. package/ai-prompt/AIPromptFooter.d.ts +22 -0
  6. package/ai-prompt/AIPromptHeader.d.ts +39 -0
  7. package/ai-prompt/views/AIPromptCommandsView.d.ts +58 -0
  8. package/ai-prompt/views/AIPromptOutputView.d.ts +63 -0
  9. package/ai-prompt/views/AIPromptView.d.ts +43 -0
  10. package/ai-prompt/views/AIPromptView.mjs +5 -5
  11. package/ai-prompt/views/AIPromptViewRender.d.ts +26 -0
  12. package/ai-prompt/views/constants.d.ts +20 -0
  13. package/api/action.interface.d.ts +36 -0
  14. package/api/attachment.interface.d.ts +37 -0
  15. package/api/message.interface.d.ts +99 -0
  16. package/api/user.interface.d.ts +29 -0
  17. package/chat/ChatPropsAndState.d.ts +498 -0
  18. package/chat/Events.d.ts +50 -0
  19. package/chat/ViewItem.d.ts +64 -0
  20. package/chat/components/Action.d.ts +25 -0
  21. package/chat/components/ActionGroup.d.ts +26 -0
  22. package/chat/components/Attachment.d.ts +27 -0
  23. package/chat/components/AttachmentGroup.d.ts +24 -0
  24. package/chat/components/Chat.d.ts +13 -0
  25. package/chat/components/ChatContext.d.ts +45 -0
  26. package/chat/components/ChatMessage.d.ts +110 -0
  27. package/chat/components/ChatMessage.mjs +6 -6
  28. package/chat/components/DateMarker.d.ts +23 -0
  29. package/chat/components/Header.d.ts +13 -0
  30. package/chat/components/MessageGroup.d.ts +37 -0
  31. package/chat/components/NewMessage.d.ts +52 -0
  32. package/chat/components/Notification.d.ts +26 -0
  33. package/chat/components/ScrollButtonsWrapper.d.ts +47 -0
  34. package/chat/components/SuggestionsGroup.d.ts +63 -0
  35. package/chat/components/elements/FileBox.d.ts +37 -0
  36. package/chat/components/elements/FileBox.mjs +3 -3
  37. package/chat/components/elements/PinnedMessage.d.ts +22 -0
  38. package/chat/components/templates/HeroCard.d.ts +43 -0
  39. package/chat/hooks/useScrollWithButtons.d.ts +57 -0
  40. package/chat/utils/fieldMapping.d.ts +56 -0
  41. package/chat/utils/messageSettings.d.ts +82 -0
  42. package/chat/utils/scroll.d.ts +32 -0
  43. package/chat/utils.d.ts +41 -0
  44. package/codemods/v12/author-id.js +1 -8
  45. package/codemods/v12/chat-send-message.js +2 -9
  46. package/codemods/v12/index.js +0 -7
  47. package/codemods/v12/message-template.js +1 -8
  48. package/codemods/v12/send-message.js +1 -8
  49. package/codemods/v12/show-toolbar.js +1 -8
  50. package/codemods/v12/toolbar-action-execute.js +1 -8
  51. package/codemods/v12/toolbar.js +1 -8
  52. package/codemods/v12/utils.js +2 -9
  53. package/dist/cdn/js/kendo-react-conversational-ui.js +1 -1
  54. package/index.d.mts +23 -1627
  55. package/index.d.ts +23 -1627
  56. package/inline-ai-prompt/InlineAIPrompt.d.ts +163 -0
  57. package/inline-ai-prompt/InlineAIPrompt.mjs +4 -4
  58. package/inline-ai-prompt/InlineAIPromptInput.d.ts +62 -0
  59. package/inline-ai-prompt/InlineAIPromptInput.js +2 -2
  60. package/inline-ai-prompt/InlineAIPromptInput.mjs +45 -44
  61. package/inline-ai-prompt/InlineAIPromptPopup.d.ts +57 -0
  62. package/messages/index.d.ts +112 -0
  63. package/package-metadata.d.ts +12 -0
  64. package/package-metadata.js +1 -1
  65. package/package-metadata.mjs +11 -16
  66. package/package.json +11 -11
@@ -0,0 +1,163 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as React } from 'react';
9
+ import { ButtonProps, SpeechToTextButtonProps } from '@progress/kendo-react-buttons';
10
+ import { TextAreaProps } from '@progress/kendo-react-inputs';
11
+ import { CustomComponent } from '@progress/kendo-react-common';
12
+ import { CommandInterface, CommandItemInterface } from '../ai-prompt/views/AIPromptCommandsView.js';
13
+ import { InlineAIPromptPopupProps } from './InlineAIPromptPopup.js';
14
+ export interface OutputActionInterface {
15
+ /**
16
+ * Unique identifier for the action command.
17
+ */
18
+ id: string;
19
+ /**
20
+ * Text displayed on the button.
21
+ */
22
+ text: string;
23
+ /**
24
+ * SVG icon displayed on the button.
25
+ */
26
+ svgIcon?: any;
27
+ /**
28
+ * Theme color of the button.
29
+ */
30
+ themeColor?: ButtonProps['themeColor'];
31
+ /**
32
+ * Title attribute (tooltip) for the button.
33
+ */
34
+ title?: string;
35
+ /**
36
+ * If `true`, adds a spacer in the action commands section for visual separation.
37
+ * Useful for visually separating groups of actions.
38
+ */
39
+ spacer?: boolean;
40
+ }
41
+ export interface InlineAIPromptOutputInterface {
42
+ /**
43
+ * Example usage of the `id` property:
44
+ * ```jsx
45
+ * const output = { id: 1, responseContent: 'Generated content' };
46
+ * ```
47
+ */
48
+ id: string | number;
49
+ /**
50
+ * Example usage of the `prompt` property:
51
+ * ```jsx
52
+ * const output = { prompt: 'User prompt', responseContent: 'Generated content' };
53
+ * ```
54
+ */
55
+ prompt?: string;
56
+ /**
57
+ * Example usage of the `responseContent` property:
58
+ * ```jsx
59
+ * const output = { responseContent: 'Generated content' };
60
+ * ```
61
+ */
62
+ responseContent: string;
63
+ }
64
+ interface AIPromptCardInterface {
65
+ /**
66
+ * Custom template for AIPromptCard body.
67
+ */
68
+ body?: (props: InlineAIPromptOutputInterface) => React.ReactNode;
69
+ /**
70
+ * Custom template for AIPromptCard actions.
71
+ */
72
+ actions?: (props: InlineAIPromptOutputInterface) => React.ReactNode;
73
+ }
74
+ export interface InlineAIPromptProps extends Omit<React.HTMLAttributes<HTMLElement>, 'onCopy'>, InlineAIPromptPopupProps {
75
+ /**
76
+ * Inline styles for the root element.
77
+ * ```jsx
78
+ * <InlineAIPrompt style={{ backgroundColor: 'lightblue' }} />
79
+ * ```
80
+ */
81
+ style?: React.CSSProperties;
82
+ /**
83
+ * Collection of outputs to display as cards.
84
+ */
85
+ outputs?: InlineAIPromptOutputInterface[];
86
+ /**
87
+ * Template that lets you define custom Card fields for header, body, and actions. Overrides defaults.
88
+ */
89
+ outputCard?: AIPromptCardInterface;
90
+ /**
91
+ * Placeholder text for the prompt input.
92
+ */
93
+ promptPlaceholder?: string;
94
+ /**
95
+ * Initial value of the prompt input.
96
+ */
97
+ promptValue?: string;
98
+ /**
99
+ * Fires when the user submits a prompt.
100
+ */
101
+ onPromptRequest?: (prompt: string, outputItem?: InlineAIPromptOutputInterface) => void;
102
+ /**
103
+ * Fires when the cancel action occurs.
104
+ */
105
+ onPromptCancel?: () => void;
106
+ /**
107
+ * Fires when the user clicks the Copy button.
108
+ */
109
+ onCopy?: (output: InlineAIPromptOutputInterface) => void;
110
+ /**
111
+ * Fires when the user clicks the Discard button.
112
+ */
113
+ onDiscard?: (output: InlineAIPromptOutputInterface) => void;
114
+ /**
115
+ * Collection of output actions rendered in the card actions.
116
+ * If not set, default actions (`copy`, `discard`) are used. You can override built-ins.
117
+ */
118
+ outputActions?: OutputActionInterface[];
119
+ /**
120
+ * Fires when an action command executes.
121
+ * Built-in `copy` and `discard` actions are handled internally.
122
+ * All other actions call this handler.
123
+ */
124
+ onOutputAction?: (command: OutputActionInterface, output: InlineAIPromptOutputInterface) => void;
125
+ /**
126
+ * Custom component used to render the prompt input.
127
+ */
128
+ promptInput?: CustomComponent<TextAreaProps>;
129
+ /**
130
+ * Custom component used to render the generate button.
131
+ */
132
+ generateButton?: CustomComponent<ButtonProps>;
133
+ /**
134
+ * Shows speech-to-text button in the input. When `true`, shows the button with default settings.
135
+ * When you pass an object, forwards its props to the `SpeechToTextButton` component.
136
+ *
137
+ * @default false
138
+ */
139
+ enableSpeechToText?: boolean | SpeechToTextButtonProps;
140
+ /**
141
+ * Indicates if the content is streaming.
142
+ */
143
+ streaming?: boolean;
144
+ /**
145
+ * Collection of commands rendered in the context menu.
146
+ * If not set, default AI text editing commands are used.
147
+ */
148
+ commands?: CommandInterface[];
149
+ /**
150
+ * The width of the component.
151
+ */
152
+ width?: number | string;
153
+ /**
154
+ * The height of the component.
155
+ */
156
+ height?: number | string;
157
+ /**
158
+ * Fires when a command from the context menu executes. Provides the selected command and current prompt value.
159
+ */
160
+ onCommandExecute?: (command: CommandItemInterface) => void;
161
+ }
162
+ export declare const InlineAIPrompt: (props: InlineAIPromptProps) => React.JSX.Element;
163
+ export {};
@@ -9,7 +9,7 @@ import t from "react";
9
9
  import { Card as re, CardBody as se, CardActions as le, ContextMenu as ce } from "@progress/kendo-react-layout";
10
10
  import { Button as E } from "@progress/kendo-react-buttons";
11
11
  import { TextArea as me } from "@progress/kendo-react-inputs";
12
- import { checkIcon as ie, copyIcon as de, cancelOutlineIcon as pe } from "@progress/kendo-svg-icons";
12
+ import { copyIcon as ie, cancelOutlineIcon as de, checkIcon as pe } from "@progress/kendo-svg-icons";
13
13
  import { validatePackage as fe, getLicenseMessage as Ce, classNames as he, WatermarkOverlay as ue } from "@progress/kendo-react-common";
14
14
  import { packageMetadata as x } from "../package-metadata.mjs";
15
15
  import { InlineAIPromptPopup as ge } from "./InlineAIPromptPopup.mjs";
@@ -52,14 +52,14 @@ const Ae = (v) => {
52
52
  {
53
53
  id: "copy",
54
54
  text: "Copy",
55
- svgIcon: de,
55
+ svgIcon: ie,
56
56
  themeColor: "primary",
57
57
  title: "Copy"
58
58
  },
59
59
  {
60
60
  id: "discard",
61
61
  text: "Discard",
62
- svgIcon: pe,
62
+ svgIcon: de,
63
63
  themeColor: "base",
64
64
  title: "Discard"
65
65
  }
@@ -131,7 +131,7 @@ const Ae = (v) => {
131
131
  fillMode: "flat",
132
132
  rounded: "medium",
133
133
  title: (o = a.title) != null ? o : a.text,
134
- svgIcon: a.id === "copy" && V === e.id ? ie : a.svgIcon,
134
+ svgIcon: a.id === "copy" && V === e.id ? pe : a.svgIcon,
135
135
  onClick: () => X(a, e)
136
136
  },
137
137
  a.text
@@ -0,0 +1,62 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as React } from 'react';
9
+ import { ButtonProps, SpeechToTextButtonProps } from '@progress/kendo-react-buttons';
10
+ import { TextAreaProps } from '@progress/kendo-react-inputs';
11
+ import { CustomComponent } from '@progress/kendo-react-common';
12
+ import { CommandInterface } from '../ai-prompt/views/AIPromptCommandsView.js';
13
+ export interface InlineAIPromptInputProps {
14
+ /**
15
+ * Placeholder text for the prompt input
16
+ */
17
+ placeholder?: string;
18
+ /**
19
+ * Callback when the menu button is clicked
20
+ */
21
+ onMenuClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
22
+ /**
23
+ * Accepts a custom component that can be used to render the prompt input.
24
+ */
25
+ promptInput?: CustomComponent<TextAreaProps>;
26
+ /**
27
+ * Accepts a custom component that can be used to render the generate button.
28
+ */
29
+ generateButton?: CustomComponent<ButtonProps>;
30
+ /**
31
+ * Show speech to text button in input. When true, shows the button with default settings.
32
+ * When an object is provided, passes those props directly to the SpeechToTextButton component.
33
+ *
34
+ * @default false
35
+ */
36
+ enableSpeechToText?: boolean | SpeechToTextButtonProps;
37
+ /**
38
+ * Specifies if the content is being streamed.
39
+ */
40
+ streaming?: boolean;
41
+ /**
42
+ * The collection of commands that will be rendered in the context menu.
43
+ * If not specified, default AI text editing commands will be used.
44
+ */
45
+ commands?: CommandInterface[];
46
+ /**
47
+ * The value of the prompt input.
48
+ * If not specified, the component will manage its own state.
49
+ */
50
+ promptValue?: string;
51
+ /**
52
+ * Callback when the prompt input value is submitted.
53
+ * The value is trimmed before being passed to the callback.
54
+ */
55
+ onPromptRequest?: (value: string) => void;
56
+ /**
57
+ * Callback when the prompt input value is cancelled.
58
+ * This is typically used to stop the streaming of content.
59
+ */
60
+ onPromptCancel?: () => void;
61
+ }
62
+ export declare const InlineAIPromptInput: React.FC<InlineAIPromptInputProps>;
@@ -5,5 +5,5 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),P=require("@progress/kendo-react-buttons"),r=require("@progress/kendo-react-inputs"),c=require("@progress/kendo-svg-icons"),u=require("@progress/kendo-react-common"),G=({placeholder:S="Ask or generate content with AI...",promptValue:v,onMenuClick:B,promptInput:h=r.TextArea,generateButton:A,enableSpeechToText:s=!1,streaming:e=!1,commands:i,onPromptRequest:m,onPromptCancel:E})=>{const[o,p]=t.useState(v||""),[y,d]=u.useCustomComponent(A),[x,f]=u.useCustomComponent(h),b={svgIcon:e?c.stopSmIcon:c.paperPlaneIcon,active:(!!e).toString(),title:"Send Button","aria-label":"Send Button",disabled:!o.trim()&&!e,"aria-disabled":!o.trim()&&!e},w={placeholder:S,className:"!k-flex-row",autoSize:!0,rows:1},I=i&&i.length>0,R=Object.keys(d).length>0?d:b,N=Object.keys(f).length>0?f:w,k=n=>{const{isFinal:l,alternatives:C}=n;if(l&&C.length>0){const q=C[0].transcript,M=(()=>{const a=o,V=a&&!a.endsWith(" ")&&!a.endsWith(`
9
- `);return a+(V?" ":"")+q})();p(M)}},j=n=>{const l=n.target.value;p(l)},g=()=>{o.trim()&&m&&m(o.trim())};return t.createElement(x,{value:o,onChange:j,onKeyDown:n=>{n.key==="Enter"&&!n.shiftKey&&(n.preventDefault(),g())},prefix:I||s?t.createElement(t.Fragment,null,t.createElement(r.InputPrefix,{className:"!k-align-items-start"},I&&t.createElement(P.Button,{"aria-label":"Commands Button",title:"Commands Button",fillMode:"flat",svgIcon:c.menuIcon,onClick:B}),s&&t.createElement(P.SpeechToTextButton,{fillMode:"flat",...typeof s=="object"?{...s,onResult:s.onResult||k}:{onResult:k}})),t.createElement(r.InputSeparator,null)):void 0,suffix:t.createElement(r.InputSuffix,{className:"!k-align-items-start"},t.createElement(y,{className:u.classNames("k-prompt-send",{"k-generating":e,"k-active":e}),fillMode:"flat",onClick:e?E:g,...R})),...N})};exports.InlineAIPromptInput=G;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),S=require("@progress/kendo-react-buttons"),a=require("@progress/kendo-react-inputs"),c=require("@progress/kendo-svg-icons"),u=require("@progress/kendo-react-common"),D=({placeholder:v="Ask or generate content with AI...",promptValue:B,onMenuClick:h,promptInput:i=a.TextArea,generateButton:x,enableSpeechToText:s=!1,streaming:e=!1,commands:m,onPromptRequest:d,onPromptCancel:E})=>{const[o,f]=t.useState(B||""),[y,p]=u.useCustomComponent(x),[k,I]=u.useCustomComponent(i),b=i===a.TextArea||k===a.TextArea,w={svgIcon:e?c.stopSmIcon:c.paperPlaneIcon,active:(!!e).toString(),title:"Send Button","aria-label":"Send Button",disabled:!o.trim()&&!e,"aria-disabled":!o.trim()&&!e},R={placeholder:v,className:"!k-flex-row",...b?{autoSize:!0}:{},rows:1},g=m&&m.length>0,N=Object.keys(p).length>0?p:w,j=Object.keys(I).length>0?I:R,A=n=>{const{isFinal:l,alternatives:P}=n;if(l&&P.length>0){const M=P[0].transcript,T=(()=>{const r=o,V=r&&!r.endsWith(" ")&&!r.endsWith(`
9
+ `);return r+(V?" ":"")+M})();f(T)}},q=n=>{const l=n.target.value;f(l)},C=()=>{o.trim()&&d&&d(o.trim())};return t.createElement(k,{value:o,onChange:q,onKeyDown:n=>{n.key==="Enter"&&!n.shiftKey&&(n.preventDefault(),C())},prefix:g||s?t.createElement(t.Fragment,null,t.createElement(a.InputPrefix,{className:"!k-align-items-start"},g&&t.createElement(S.Button,{"aria-label":"Commands Button",title:"Commands Button",fillMode:"flat",svgIcon:c.menuIcon,onClick:h}),s&&t.createElement(S.SpeechToTextButton,{fillMode:"flat",...typeof s=="object"?{...s,onResult:s.onResult||A}:{onResult:A}})),t.createElement(a.InputSeparator,null)):void 0,suffix:t.createElement(a.InputSuffix,{className:"!k-align-items-start"},t.createElement(y,{className:u.classNames("k-prompt-send",{"k-generating":e,"k-active":e}),fillMode:"flat",onClick:e?E:C,...N})),...j})};exports.InlineAIPromptInput=D;
@@ -6,94 +6,95 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import t from "react";
9
- import { Button as G, SpeechToTextButton as M } from "@progress/kendo-react-buttons";
10
- import { InputPrefix as R, InputSeparator as D, InputSuffix as F, TextArea as K } from "@progress/kendo-react-inputs";
11
- import { stopSmIcon as O, paperPlaneIcon as W, menuIcon as _ } from "@progress/kendo-svg-icons";
12
- import { useCustomComponent as I, classNames as z } from "@progress/kendo-react-common";
9
+ import { Button as M, SpeechToTextButton as R } from "@progress/kendo-react-buttons";
10
+ import { TextArea as l, InputSuffix as F, InputPrefix as K, InputSeparator as O } from "@progress/kendo-react-inputs";
11
+ import { stopSmIcon as W, paperPlaneIcon as _, menuIcon as z } from "@progress/kendo-svg-icons";
12
+ import { useCustomComponent as B, classNames as T } from "@progress/kendo-react-common";
13
13
  const U = ({
14
- placeholder: g = "Ask or generate content with AI...",
15
- promptValue: h,
16
- onMenuClick: B,
17
- promptInput: P = K,
18
- generateButton: v,
14
+ placeholder: P = "Ask or generate content with AI...",
15
+ promptValue: v,
16
+ onMenuClick: x,
17
+ promptInput: c = l,
18
+ generateButton: A,
19
19
  enableSpeechToText: a = !1,
20
20
  streaming: e = !1,
21
- commands: l,
22
- onPromptRequest: c,
21
+ commands: i,
22
+ onPromptRequest: u,
23
23
  onPromptCancel: C
24
24
  }) => {
25
- const [o, i] = t.useState(h || ""), [E, u] = I(
26
- v
27
- ), [S, m] = I(P), x = {
28
- svgIcon: e ? O : W,
25
+ const [o, m] = t.useState(v || ""), [E, f] = B(
26
+ A
27
+ ), [p, d] = B(c), S = c === l || p === l, w = {
28
+ svgIcon: e ? W : _,
29
29
  active: (!!e).toString(),
30
30
  title: "Send Button",
31
31
  "aria-label": "Send Button",
32
32
  disabled: !o.trim() && !e,
33
33
  "aria-disabled": !o.trim() && !e
34
- }, A = {
35
- placeholder: g,
34
+ }, y = {
35
+ placeholder: P,
36
36
  className: "!k-flex-row",
37
- autoSize: !0,
37
+ // Only include TextArea-specific props when using the default component
38
+ ...S ? { autoSize: !0 } : {},
38
39
  rows: 1
39
- }, f = l && l.length > 0, w = Object.keys(u).length > 0 ? u : x, y = Object.keys(m).length > 0 ? m : A, p = (n) => {
40
- const { isFinal: s, alternatives: k } = n;
41
- if (s && k.length > 0) {
42
- const b = k[0].transcript, V = (() => {
43
- const r = o, j = r && !r.endsWith(" ") && !r.endsWith(`
40
+ }, k = i && i.length > 0, N = Object.keys(f).length > 0 ? f : w, b = Object.keys(d).length > 0 ? d : y, g = (n) => {
41
+ const { isFinal: s, alternatives: h } = n;
42
+ if (s && h.length > 0) {
43
+ const j = h[0].transcript, D = (() => {
44
+ const r = o, G = r && !r.endsWith(" ") && !r.endsWith(`
44
45
  `);
45
- return r + (j ? " " : "") + b;
46
+ return r + (G ? " " : "") + j;
46
47
  })();
47
- i(V);
48
+ m(D);
48
49
  }
49
- }, N = (n) => {
50
+ }, V = (n) => {
50
51
  const s = n.target.value;
51
- i(s);
52
- }, d = () => {
53
- o.trim() && c && c(o.trim());
52
+ m(s);
53
+ }, I = () => {
54
+ o.trim() && u && u(o.trim());
54
55
  };
55
56
  return /* @__PURE__ */ t.createElement(
56
- S,
57
+ p,
57
58
  {
58
59
  value: o,
59
- onChange: N,
60
+ onChange: V,
60
61
  onKeyDown: (n) => {
61
- n.key === "Enter" && !n.shiftKey && (n.preventDefault(), d());
62
+ n.key === "Enter" && !n.shiftKey && (n.preventDefault(), I());
62
63
  },
63
- prefix: f || a ? /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(R, { className: "!k-align-items-start" }, f && /* @__PURE__ */ t.createElement(
64
- G,
64
+ prefix: k || a ? /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(K, { className: "!k-align-items-start" }, k && /* @__PURE__ */ t.createElement(
65
+ M,
65
66
  {
66
67
  "aria-label": "Commands Button",
67
68
  title: "Commands Button",
68
69
  fillMode: "flat",
69
- svgIcon: _,
70
- onClick: B
70
+ svgIcon: z,
71
+ onClick: x
71
72
  }
72
73
  ), a && /* @__PURE__ */ t.createElement(
73
- M,
74
+ R,
74
75
  {
75
76
  fillMode: "flat",
76
77
  ...typeof a == "object" ? {
77
78
  ...a,
78
- onResult: a.onResult || p
79
+ onResult: a.onResult || g
79
80
  } : {
80
- onResult: p
81
+ onResult: g
81
82
  }
82
83
  }
83
- )), /* @__PURE__ */ t.createElement(D, null)) : void 0,
84
+ )), /* @__PURE__ */ t.createElement(O, null)) : void 0,
84
85
  suffix: /* @__PURE__ */ t.createElement(F, { className: "!k-align-items-start" }, /* @__PURE__ */ t.createElement(
85
86
  E,
86
87
  {
87
- className: z("k-prompt-send", {
88
+ className: T("k-prompt-send", {
88
89
  "k-generating": e,
89
90
  "k-active": e
90
91
  }),
91
92
  fillMode: "flat",
92
- onClick: e ? C : d,
93
- ...w
93
+ onClick: e ? C : I,
94
+ ...N
94
95
  }
95
96
  )),
96
- ...y
97
+ ...b
97
98
  }
98
99
  );
99
100
  };
@@ -0,0 +1,57 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { default as React } from 'react';
9
+ import { PopupAnimation, PopupProps } from '@progress/kendo-react-popup';
10
+ export interface InlineAIPromptPopupProps {
11
+ /**
12
+ * Controls the visibility of the popup.
13
+ *
14
+ * @default false
15
+ */
16
+ show?: boolean;
17
+ /**
18
+ * The element that serves as an anchor for the popup.
19
+ */
20
+ anchor?: HTMLElement | null;
21
+ /**
22
+ * Fires when the popup is opened.
23
+ */
24
+ onOpen?: (event: {
25
+ target: any;
26
+ }) => void;
27
+ /**
28
+ * Fires when the popup is closed.
29
+ */
30
+ onClose?: (event: {
31
+ target: any;
32
+ }) => void;
33
+ /**
34
+ * Controls the animation of the popup.
35
+ *
36
+ * @default true
37
+ */
38
+ animate?: boolean | PopupAnimation;
39
+ /**
40
+ * The container element where the popup will be rendered.
41
+ * If not specified, the popup will be rendered in the document body.
42
+ */
43
+ appendTo?: HTMLElement;
44
+ /**
45
+ * Object which passes props directly to the Popup component.
46
+ */
47
+ popupOptions?: PopupProps;
48
+ /**
49
+ * The content to render inside the popup.
50
+ */
51
+ children?: React.ReactNode;
52
+ /**
53
+ * Additional CSS styles for the popup content.
54
+ */
55
+ style?: React.CSSProperties;
56
+ }
57
+ export declare const InlineAIPromptPopup: React.FC<InlineAIPromptPopupProps>;
@@ -0,0 +1,112 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare const newMessageSendButton = "newMessage.sendButton";
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare const newMessageOptionsButton = "newMessage.optionsButton";
16
+ /**
17
+ * @hidden
18
+ */
19
+ export declare const newMessageMessageInput = "newMessage.messageInput";
20
+ /**
21
+ * @hidden
22
+ */
23
+ export declare const avatarAlt = "avatar.alt";
24
+ /**
25
+ * @hidden
26
+ */
27
+ export declare const ariaLabelMessageList = "messageList.ariaLabel";
28
+ /**
29
+ * @hidden
30
+ */
31
+ export declare const aIPromptNoOutputs = "aIPrompt.noOutputs";
32
+ /**
33
+ * @hidden
34
+ */
35
+ export declare const aIPromptCancel = "aIPrompt.cancel";
36
+ /**
37
+ * @hidden
38
+ */
39
+ export declare const chatSenderDeletedMessage = "chat.senderDeletedMessage";
40
+ /**
41
+ * @hidden
42
+ */
43
+ export declare const chatReceiverDeletedMessage = "chat.receiverDeletedMessage";
44
+ /**
45
+ * @hidden
46
+ */
47
+ export declare const chatCopyNotification = "chat.copyNotification";
48
+ /**
49
+ * @hidden
50
+ */
51
+ export declare const downloadAllFiles = "chat.downloadAllFiles";
52
+ /**
53
+ * @hidden
54
+ */
55
+ export declare const closeReply = "chat.closeReply";
56
+ /**
57
+ * @hidden
58
+ */
59
+ export declare const collapseMessage = "chat.collapseMessage";
60
+ /**
61
+ * @hidden
62
+ */
63
+ export declare const expandMessage = "chat.expandMessage";
64
+ /**
65
+ * @hidden
66
+ */
67
+ export declare const removeFile = "chat.removeFile";
68
+ /**
69
+ * @hidden
70
+ */
71
+ export declare const fileActions = "chat.fileActions";
72
+ /**
73
+ * @hidden
74
+ */
75
+ export declare const attachFile = "chat.attachFile";
76
+ /**
77
+ * @hidden
78
+ */
79
+ export declare const downloadAll = "chat.downloadAll";
80
+ /**
81
+ * @hidden
82
+ */
83
+ export declare const scrollLeft = "chat.scrollLeft";
84
+ /**
85
+ * @hidden
86
+ */
87
+ export declare const scrollRight = "chat.scrollRight";
88
+ /**
89
+ * @hidden
90
+ */
91
+ export declare const messages: {
92
+ "newMessage.sendButton": string;
93
+ "newMessage.optionsButton": string;
94
+ "newMessage.messageInput": string;
95
+ "avatar.alt": string;
96
+ "messageList.ariaLabel": string;
97
+ "aIPrompt.cancel": string;
98
+ "aIPrompt.noOutputs": string;
99
+ "chat.senderDeletedMessage": string;
100
+ "chat.receiverDeletedMessage": string;
101
+ "chat.copyNotification": string;
102
+ "chat.downloadAllFiles": string;
103
+ "chat.closeReply": string;
104
+ "chat.collapseMessage": string;
105
+ "chat.expandMessage": string;
106
+ "chat.removeFile": string;
107
+ "chat.fileActions": string;
108
+ "chat.attachFile": string;
109
+ "chat.downloadAll": string;
110
+ "chat.scrollLeft": string;
111
+ "chat.scrollRight": string;
112
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { PackageMetadata } from '@progress/kendo-licensing';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const packageMetadata: PackageMetadata;
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-conversational-ui",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1768491133,version:"13.3.0-develop.9",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"});exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-conversational-ui",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1770218941,version:"13.4.0-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"});exports.packageMetadata=e;
@@ -1,19 +1,14 @@
1
+ // Generated file. DO NOT EDIT.
1
2
  /**
2
- * @license
3
- *-------------------------------------------------------------------------------------------
4
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
- * Licensed under commercial license. See LICENSE.md in the package root for more information
6
- *-------------------------------------------------------------------------------------------
3
+ * @hidden
7
4
  */
8
- const e = Object.freeze({
9
- name: "@progress/kendo-react-conversational-ui",
10
- productName: "KendoReact",
11
- productCode: "KENDOUIREACT",
12
- productCodes: ["KENDOUIREACT"],
13
- publishDate: 1768491133,
14
- version: "13.3.0-develop.9",
15
- licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"
5
+ export const packageMetadata = Object.freeze({
6
+ name: '@progress/kendo-react-conversational-ui',
7
+ productName: 'KendoReact',
8
+ productCode: 'KENDOUIREACT',
9
+ productCodes: ['KENDOUIREACT'],
10
+ publishDate: 0,
11
+ version: '13.4.0-develop.1',
12
+ licensingDocsUrl:
13
+ 'https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
16
14
  });
17
- export {
18
- e as packageMetadata
19
- };