@epam/ai-dial-conversation-input 1.0.0-dev.503 → 1.0.0-dev.509
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.
- package/index.js +16 -13
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -431,18 +431,21 @@ var Ee = (e, t) => {
|
|
|
431
431
|
tabContainer: "_tabContainer_rzv03_1",
|
|
432
432
|
tabActive: "_tabActive_rzv03_13"
|
|
433
433
|
};
|
|
434
|
-
he(({ tabs: e, activeTabId: t, onTabChange: n,
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
})
|
|
434
|
+
he(({ tabs: e, activeTabId: t, onTabChange: n, styles: r }) => {
|
|
435
|
+
let { tabClassName: i = "dial-tiny-semi-text" } = r?.typography ?? {};
|
|
436
|
+
return /* @__PURE__ */ R("div", {
|
|
437
|
+
className: "flex flex-nowrap gap-1",
|
|
438
|
+
children: e.map((e) => {
|
|
439
|
+
let r = t === e.id;
|
|
440
|
+
return /* @__PURE__ */ R(ee, {
|
|
441
|
+
label: e.label,
|
|
442
|
+
selected: r,
|
|
443
|
+
onClick: () => n(e.id),
|
|
444
|
+
className: s("box-border h-auto shrink-0 justify-center rounded-full p-2 text-center", i, G.tabContainer, r && G.tabActive)
|
|
445
|
+
}, e.id);
|
|
446
|
+
})
|
|
447
|
+
});
|
|
448
|
+
});
|
|
446
449
|
//#endregion
|
|
447
450
|
//#region ../ai-dial-kit/src/components/Button/Buttons.tsx
|
|
448
451
|
var Be = (e) => /* @__PURE__ */ R(x, { ...e }), Ve = (e) => /* @__PURE__ */ R(p, {
|
|
@@ -922,7 +925,7 @@ var Ke = ({ onAttachClick: e, attachLabel: t, addMenuTitle: n, menuTitle: r, men
|
|
|
922
925
|
}, it = (e, t, r, i = 18, a) => /* @__PURE__ */ R(n, {
|
|
923
926
|
src: e,
|
|
924
927
|
size: i,
|
|
925
|
-
tooltip: a,
|
|
928
|
+
labels: { tooltip: a },
|
|
926
929
|
initialsName: r
|
|
927
930
|
}), at = ({ deployments: e, selectedDeploymentId: t, onDeploymentChange: n, modelSelectorLabels: i, searchHeaderClassName: a = "bg-layer-0" }) => {
|
|
928
931
|
let [o, c] = I(""), l = P(() => e?.find((e) => e.id === t), [e, t]), u = i?.loading !== void 0, d = P(() => u ? /* @__PURE__ */ R($e, { size: f.LG }) : it(l?.iconUrl, l?.type, l?.displayName ?? l?.id ?? "", f.LG), [u, l]), p = l?.displayName ?? l?.id;
|
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.509",
|
|
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.509",
|
|
21
|
+
"@epam/ai-dial-chat-shared": "1.0.0-dev.509",
|
|
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.509"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"react-window": "^2.2.7"
|