@epam/ai-dial-conversation-input 1.0.0-dev.498 → 1.0.0-dev.502
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/Buttons/SendButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,kDAAkD;AAClD,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/Buttons/SendButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,kDAAkD;AAClD,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mFAAmF;IACnF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA4B1C,CAAC"}
|
package/index.js
CHANGED
|
@@ -382,13 +382,13 @@ var Ee = (e, t) => {
|
|
|
382
382
|
className: "flex flex-col",
|
|
383
383
|
children: a.map(({ key: e, label: t, icon: n, iconAfter: r, onClick: i }) => /* @__PURE__ */ R("li", { children: /* @__PURE__ */ R(p, {
|
|
384
384
|
type: "button",
|
|
385
|
-
className: s(U.item, "flex w-full items-center gap-3 px-4 py-[10px] text-
|
|
385
|
+
className: s(U.item, "flex w-full items-center gap-3 px-4 py-[10px] text-start"),
|
|
386
386
|
iconBefore: /* @__PURE__ */ R("span", {
|
|
387
387
|
className: U.itemIcon,
|
|
388
388
|
children: n
|
|
389
389
|
}),
|
|
390
390
|
iconAfter: r ? /* @__PURE__ */ R("span", {
|
|
391
|
-
className: "
|
|
391
|
+
className: "ms-auto",
|
|
392
392
|
children: r
|
|
393
393
|
}) : null,
|
|
394
394
|
textClassName: u,
|
|
@@ -650,7 +650,7 @@ var Ke = ({ onAttachClick: e, attachLabel: t, addMenuTitle: n, menuTitle: r, men
|
|
|
650
650
|
iconAfter: g ? /* @__PURE__ */ R(oe, {
|
|
651
651
|
size: l,
|
|
652
652
|
stroke: 1.5,
|
|
653
|
-
className: "text-secondary",
|
|
653
|
+
className: "text-secondary rtl:scale-x-[-1]",
|
|
654
654
|
"aria-hidden": !0
|
|
655
655
|
}) : null,
|
|
656
656
|
onClick: () => x(!0)
|
|
@@ -878,7 +878,10 @@ var Ke = ({ onAttachClick: e, attachLabel: t, addMenuTitle: n, menuTitle: r, men
|
|
|
878
878
|
type: "button",
|
|
879
879
|
disabled: t,
|
|
880
880
|
"aria-hidden": i,
|
|
881
|
-
children: /* @__PURE__ */ R(re, {
|
|
881
|
+
children: /* @__PURE__ */ R(re, {
|
|
882
|
+
size: f.LG,
|
|
883
|
+
className: "rtl:scale-x-[-1]"
|
|
884
|
+
})
|
|
882
885
|
})
|
|
883
886
|
}), Qe = ({ onStop: e, ariaLabel: t = "Stop streaming" }) => /* @__PURE__ */ R("button", {
|
|
884
887
|
className: s("flex cursor-pointer items-center justify-center disabled:cursor-not-allowed"),
|
|
@@ -968,7 +971,7 @@ var Ke = ({ onAttachClick: e, attachLabel: t, addMenuTitle: n, menuTitle: r, men
|
|
|
968
971
|
n
|
|
969
972
|
]),
|
|
970
973
|
menuHeader: P(() => !u && e && e.length > 0 ? /* @__PURE__ */ R("div", {
|
|
971
|
-
className: s("sticky top-0 z-10 pb-1
|
|
974
|
+
className: s("sticky top-0 z-10 pb-1 pe-2 pt-2", a),
|
|
972
975
|
children: /* @__PURE__ */ R(C, {
|
|
973
976
|
value: o,
|
|
974
977
|
placeholder: i?.searchPlaceholder ?? "Search",
|
|
@@ -1454,7 +1457,7 @@ var $ = {
|
|
|
1454
1457
|
text: u.displayName ?? u.id,
|
|
1455
1458
|
query: c,
|
|
1456
1459
|
maxLines: 1,
|
|
1457
|
-
className: s(o, "min-w-0 flex-1 text-
|
|
1460
|
+
className: s(o, "min-w-0 flex-1 text-start")
|
|
1458
1461
|
}), m && /* @__PURE__ */ R(ie, {
|
|
1459
1462
|
size: f.SM,
|
|
1460
1463
|
className: $.checkIcon,
|
|
@@ -1692,7 +1695,7 @@ var $ = {
|
|
|
1692
1695
|
return /* @__PURE__ */ z("div", {
|
|
1693
1696
|
ref: Y,
|
|
1694
1697
|
style: U,
|
|
1695
|
-
className: s(J.wrapper, j && J.wrapperDisabled, "flex min-h-[56px] w-full max-w-[748px] flex-col justify-center gap-3 rounded-xl border", K.length > 6 ? "py-3
|
|
1698
|
+
className: s(J.wrapper, j && J.wrapperDisabled, "flex min-h-[56px] w-full max-w-[748px] flex-col justify-center gap-3 rounded-xl border", K.length > 6 ? "py-3 ps-3" : "p-3", D),
|
|
1696
1699
|
children: [(B.length > 0 || K.length > 0) && /* @__PURE__ */ R(be, {
|
|
1697
1700
|
attachments: [...B, ...K],
|
|
1698
1701
|
onRemove: (e) => {
|
package/models/Input.d.ts
CHANGED
|
@@ -137,7 +137,7 @@ export interface InputProps {
|
|
|
137
137
|
initialAttachments?: Attachment[];
|
|
138
138
|
/**
|
|
139
139
|
* When `true`, the textarea always renders on its own row above the action bar
|
|
140
|
-
* (attach button
|
|
140
|
+
* (attach button at the start, footer actions at the end), instead of the
|
|
141
141
|
* compact single-row layout used when no attachments are present. Used by the
|
|
142
142
|
* edit-message UI, which always wants the stacked layout.
|
|
143
143
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-conversation-input",
|
|
3
3
|
"description": "Conversation message input with model selection, attachments, voice input, and edit mode",
|
|
4
|
-
"version": "1.0.0-dev.
|
|
4
|
+
"version": "1.0.0-dev.502",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@epam/ai-dial-attachment-input": "1.0.0-dev.
|
|
21
|
-
"@epam/ai-dial-chat-shared": "1.0.0-dev.
|
|
20
|
+
"@epam/ai-dial-attachment-input": "1.0.0-dev.502",
|
|
21
|
+
"@epam/ai-dial-chat-shared": "1.0.0-dev.502",
|
|
22
22
|
"@epam/ai-dial-ui-kit": "0.12.0-dev.28",
|
|
23
23
|
"@tabler/icons-react": "^3.44.0",
|
|
24
24
|
"react": "^19.0.0",
|
|
25
25
|
"react-dom": "^19.2.6",
|
|
26
|
-
"@epam/ai-dial-kit": "1.0.0-dev.
|
|
26
|
+
"@epam/ai-dial-kit": "1.0.0-dev.502"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"react-window": "^2.2.7"
|