@epam/ai-dial-conversation-panel 1.3.0-rc.1 → 1.3.0-rc.2

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":"ConversationList.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationList/ConversationList.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,EAAE,EAQR,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAsC5E,wFAAwF;AACxF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA+nBtD,CAAC"}
1
+ {"version":3,"file":"ConversationList.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationList/ConversationList.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,EAAE,EAQR,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAsC5E,wFAAwF;AACxF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAkoBtD,CAAC"}
package/index.js CHANGED
@@ -1528,9 +1528,9 @@ var tt = /* @__PURE__ */ Object.assign(et, { displayName: "List" }), Y = /* @__P
1528
1528
  f
1529
1529
  ]);
1530
1530
  R(() => {
1531
- if (!u || Se.current === u) return;
1531
+ if (!u) return;
1532
1532
  let e = Q.findIndex((e) => (e.kind === Z.Item || e.kind === Z.ProjectConversation) && e.item.id === u);
1533
- e >= 0 && (xe.current?.scrollToRow({
1533
+ e < 0 ? Se.current = null : Se.current !== u && (xe.current?.scrollToRow({
1534
1534
  index: e,
1535
1535
  align: "smart",
1536
1536
  behavior: "smooth"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-conversation-panel",
3
3
  "description": "Virtualized sidebar panel for browsing conversation history with grouping, tabs, and search",
4
- "version": "1.3.0-rc.1",
4
+ "version": "1.3.0-rc.2",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -19,11 +19,11 @@
19
19
  "dependencies": {
20
20
  "react-window": "^2.5.3",
21
21
  "@tabler/icons-react": "^3.50.0",
22
- "@epam/ai-dial-sidebar": "1.3.0-rc.1"
22
+ "@epam/ai-dial-sidebar": "1.3.0-rc.2"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": "^19.2.8",
26
- "@epam/ai-dial-chat-shared": "1.3.0-rc.1",
26
+ "@epam/ai-dial-chat-shared": "1.3.0-rc.2",
27
27
  "@epam/ai-dial-ui-kit": "^0.16.0"
28
28
  },
29
29
  "repository": {