@epam/ai-dial-conversation-stages 1.3.0-dev.118 → 1.3.0-dev.126

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 +37 -34
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -388,9 +388,9 @@ var ve = {
388
388
  onKeyDown: (e) => {
389
389
  e.target === e.currentTarget && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), F());
390
390
  }
391
- } : {};
391
+ } : {}, L = c(Ue, "group/attachment-tile", A && "cursor-pointer", Q.tile, u && Q.selected, E && Q.loading, M && Q.proxyFocus, We, v, Z.tile, u && Z.tileSelected);
392
392
  return /* @__PURE__ */ J("div", {
393
- className: c(Ue, "group/attachment-tile", A && "cursor-pointer", Q.tile, u && Q.selected, E && Q.loading, M && Q.proxyFocus, We, v, Z.tile, u && Z.tileSelected),
393
+ className: L,
394
394
  ...I,
395
395
  "aria-busy": E,
396
396
  style: o,
@@ -501,15 +501,18 @@ var ve = {
501
501
  contentType: t
502
502
  } : e;
503
503
  });
504
- }, rt = ({ children: e, codeClassName: t, blockClassName: n = "dial-code-text", copyAriaLabel: i, copiedLabel: a }) => /* @__PURE__ */ J(r, {
505
- language: t?.replace(/^language-/, "") ?? "",
506
- value: typeof e == "string" ? e : String(e ?? ""),
507
- codeClassName: n,
508
- containerClassName: c(X.codeBlock, n),
509
- copyLabel: i,
510
- copiedLabel: a,
511
- hideDownload: !0
512
- }), it = me(({ content: e, typography: t, copyAriaLabel: n = "Copy", copiedLabel: r, tableScrollRegionAriaLabel: a, mathScrollRegionAriaLabel: o }) => {
504
+ }, rt = ({ children: e, codeClassName: t, blockClassName: n = "dial-code-text", copyAriaLabel: i, copiedLabel: a }) => {
505
+ let o = t?.replace(/^language-/, "") ?? "";
506
+ return /* @__PURE__ */ J(r, {
507
+ language: o,
508
+ value: typeof e == "string" ? e : String(e ?? ""),
509
+ codeClassName: n,
510
+ containerClassName: c(X.codeBlock, n),
511
+ copyLabel: i,
512
+ copiedLabel: a,
513
+ hideDownload: !0
514
+ });
515
+ }, it = me(({ content: e, typography: t, copyAriaLabel: n = "Copy", copiedLabel: r, tableScrollRegionAriaLabel: a, mathScrollRegionAriaLabel: o }) => {
513
516
  let s = "mb-1.5 last:mb-0", l = c(t?.headingClassName ?? "dial-small-semi-text", X.stageContent, s);
514
517
  return /* @__PURE__ */ J(i, {
515
518
  content: e,
@@ -642,30 +645,30 @@ var ve = {
642
645
  }, ut = ({ row: e, depth: t, isStreaming: n, expansion: r, typography: i, labels: a, onAttachmentClick: s }) => {
643
646
  let { runningAriaLabel: l, failedAriaLabel: u, attemptLabel: f = (e) => `Attempt ${e}` } = a ?? {}, p = e.attempts ?? [], m = p.some((e) => e.stage.status == null), h = p.some((e) => e.stage.status === o.Failed), _ = o.Completed;
644
647
  m ? _ = null : h && (_ = o.Failed);
645
- let v = Ae(e.key), y = r.isExpanded(v), b = t + 1;
646
- return /* @__PURE__ */ J(d, {
647
- title: /* @__PURE__ */ Y("span", {
648
- className: "flex min-w-0 items-center gap-2",
649
- children: [
650
- /* @__PURE__ */ J("span", {
651
- className: "flex flex-none items-center",
652
- children: /* @__PURE__ */ J(Pe, {
653
- status: _,
654
- isLive: n && m,
655
- runningLabel: l,
656
- failedLabel: u
657
- })
658
- }),
659
- /* @__PURE__ */ J("span", {
660
- className: c("max-w-[22rem] min-w-0 truncate", i?.fontClassName ?? "dial-small-text", X.stageName, h && X.stageNameFailed),
661
- children: /* @__PURE__ */ J(g, { text: e.name })
662
- }),
663
- /* @__PURE__ */ Y("span", {
664
- className: c("flex-none", i?.countFontClassName ?? "dial-tiny-text", X.count),
665
- children: ["×", p.length]
648
+ let v = Ae(e.key), y = r.isExpanded(v), b = t + 1, x = /* @__PURE__ */ Y("span", {
649
+ className: "flex min-w-0 items-center gap-2",
650
+ children: [
651
+ /* @__PURE__ */ J("span", {
652
+ className: "flex flex-none items-center",
653
+ children: /* @__PURE__ */ J(Pe, {
654
+ status: _,
655
+ isLive: n && m,
656
+ runningLabel: l,
657
+ failedLabel: u
666
658
  })
667
- ]
668
- }),
659
+ }),
660
+ /* @__PURE__ */ J("span", {
661
+ className: c("max-w-[22rem] min-w-0 truncate", i?.fontClassName ?? "dial-small-text", X.stageName, h && X.stageNameFailed),
662
+ children: /* @__PURE__ */ J(g, { text: e.name })
663
+ }),
664
+ /* @__PURE__ */ Y("span", {
665
+ className: c("flex-none", i?.countFontClassName ?? "dial-tiny-text", X.count),
666
+ children: ["×", p.length]
667
+ })
668
+ ]
669
+ });
670
+ return /* @__PURE__ */ J(d, {
671
+ title: x,
669
672
  expanded: y,
670
673
  onToggle: (e) => r.onToggle(v, e),
671
674
  className: je,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-conversation-stages",
3
3
  "description": "Panel for displaying agent processing stages during LLM response streaming",
4
- "version": "1.3.0-dev.118",
4
+ "version": "1.3.0-dev.126",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@tabler/icons-react": "^3.44.0",
21
- "@epam/ai-dial-attachment-input": "1.3.0-dev.118"
21
+ "@epam/ai-dial-attachment-input": "1.3.0-dev.126"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "^19.2.8",
25
- "@epam/ai-dial-chat-shared": "1.3.0-dev.118",
25
+ "@epam/ai-dial-chat-shared": "1.3.0-dev.126",
26
26
  "@epam/ai-dial-ui-kit": "^0.16.0-dev.20"
27
27
  },
28
28
  "repository": {