@epam/ai-dial-conversation-messages 1.1.0-dev.57 → 1.1.0-dev.59

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 (2) hide show
  1. package/index.js +3 -2
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -8,6 +8,7 @@ import { Fragment as K, jsx as q, jsxs as J } from "react/jsx-runtime";
8
8
  var Fe = "flex size-[84px] items-center justify-center rounded-xl border", Y = /* @__PURE__ */ function(e) {
9
9
  return e.None = "none", e.AllVisible = "all-visible", e.Collapsed = "collapsed", e;
10
10
  }({}), Ie = (e) => {
11
+ if (e == null) return "";
11
12
  let t = e.lastIndexOf(".");
12
13
  return t > 0 ? e.slice(0, t) : e;
13
14
  }, Le = (e) => {
@@ -463,7 +464,7 @@ var Fe = "flex size-[84px] items-center justify-center rounded-xl border", Y = /
463
464
  "aria-label": I,
464
465
  className: u("gap-3", N ? "grid grid-cols-[repeat(5,83px)] overflow-x-auto" : "flex flex-wrap"),
465
466
  children: [
466
- R.map((e) => /* @__PURE__ */ q("div", {
467
+ R.map((e, t) => /* @__PURE__ */ q("div", {
467
468
  role: "listitem",
468
469
  children: /* @__PURE__ */ q($e, {
469
470
  attachment: e,
@@ -479,7 +480,7 @@ var Fe = "flex size-[84px] items-center justify-center rounded-xl border", Y = /
479
480
  openInNewTabLabel: _
480
481
  }
481
482
  })
482
- }, e.id)),
483
+ }, `${e.id}-${t}`)),
483
484
  O.layout === Y.Collapsed && /* @__PURE__ */ q("div", {
484
485
  role: "listitem",
485
486
  children: /* @__PURE__ */ q(tt, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-conversation-messages",
3
3
  "description": "Message bubble components for rendering conversation history with actions and source citations",
4
- "version": "1.1.0-dev.57",
4
+ "version": "1.1.0-dev.59",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -19,8 +19,8 @@
19
19
  "peerDependencies": {
20
20
  "react": "^19.0.0",
21
21
  "@tabler/icons-react": "^3.0.0",
22
- "@epam/ai-dial-chat-shared": "1.1.0-dev.57",
23
- "@epam/ai-dial-conversation-input": "1.1.0-dev.57",
22
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.59",
23
+ "@epam/ai-dial-conversation-input": "1.1.0-dev.59",
24
24
  "react-markdown": "^10.1.0",
25
25
  "@epam/ai-dial-ui-kit": "^0.13.0-dev.17"
26
26
  },