@epam/ai-dial-publish-panel 1.1.0-dev.236 → 1.1.0-dev.238

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 +60 -51
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -49917,59 +49917,68 @@ var Mj = 2e3, Nj = (e, t = Mj) => {
49917
49917
  "--cm-code-block-scrollbar": m?.scrollbar
49918
49918
  }),
49919
49919
  className: Lr("my-4 max-w-full overflow-hidden rounded-xl border", Pj.container, _ && Pj.containerLight, c),
49920
- children: [/* @__PURE__ */ M("div", {
49921
- className: Lr("flex min-h-10 items-center justify-between border-b px-4", p == null ? "py-2" : "py-0", Pj.header, l),
49922
- children: [p ?? /* @__PURE__ */ j("span", {
49923
- className: Lr(Pj.languageLabel, d),
49924
- children: f ?? e
49925
- }), !n && /* @__PURE__ */ M("div", {
49926
- className: "flex items-center gap-1",
49927
- children: [!s && /* @__PURE__ */ j(xe, {
49928
- icon: /* @__PURE__ */ j(Gh, { size: T.SM }),
49929
- "aria-label": o,
49930
- size: ve.Small,
49931
- onClick: () => {
49932
- Th(t, `code.${xh(e)}`);
49933
- }
49934
- }), /* @__PURE__ */ j(xe, {
49935
- icon: h ? /* @__PURE__ */ j(Uh, {
49936
- size: T.SM,
49937
- className: Pj.copiedIcon,
49938
- "aria-hidden": !0
49939
- }) : /* @__PURE__ */ j(Wh, {
49940
- size: T.SM,
49941
- "aria-hidden": !0
49942
- }),
49943
- "aria-label": h ? a : i,
49944
- size: ve.Small,
49945
- onClick: g
49920
+ children: [
49921
+ /* @__PURE__ */ M("div", {
49922
+ className: Lr("flex min-h-10 items-center justify-between border-b px-4", p == null ? "py-2" : "py-0", Pj.header, l),
49923
+ children: [p ?? /* @__PURE__ */ j("span", {
49924
+ className: Lr(Pj.languageLabel, d),
49925
+ children: f ?? e
49926
+ }), !n && /* @__PURE__ */ M("div", {
49927
+ className: "flex items-center gap-1",
49928
+ children: [!s && /* @__PURE__ */ j(xe, {
49929
+ icon: /* @__PURE__ */ j(Gh, { size: T.SM }),
49930
+ "aria-label": o,
49931
+ size: ve.Small,
49932
+ onClick: () => {
49933
+ Th(t, `code.${xh(e)}`);
49934
+ }
49935
+ }), /* @__PURE__ */ j(xe, {
49936
+ icon: h ? /* @__PURE__ */ j(Uh, {
49937
+ size: T.SM,
49938
+ className: Pj.copiedIcon,
49939
+ "aria-hidden": !0
49940
+ }) : /* @__PURE__ */ j(Wh, {
49941
+ size: T.SM,
49942
+ "aria-hidden": !0
49943
+ }),
49944
+ "aria-label": i,
49945
+ size: ve.Small,
49946
+ onClick: g
49947
+ })]
49946
49948
  })]
49947
- })]
49948
- }), /* @__PURE__ */ j("div", {
49949
- className: Lr(Pj.scrollContainer, "max-h-[60vh] overflow-auto"),
49950
- dir: "ltr",
49951
- children: e ? /* @__PURE__ */ j(jj, {
49952
- language: e,
49953
- style: Bj[r] ?? zj,
49954
- customStyle: {
49955
- margin: 0,
49956
- borderRadius: 0,
49957
- background: "transparent",
49958
- fontSize: 14,
49959
- lineHeight: 1.5,
49960
- padding: "14px 16px",
49961
- letterSpacing: 0
49962
- },
49963
- codeTagProps: { className: u },
49964
- children: t
49965
- }) : /* @__PURE__ */ j("pre", {
49966
- className: "p-4",
49967
- children: /* @__PURE__ */ j("code", {
49968
- className: Lr("whitespace-pre", u),
49949
+ }),
49950
+ /* @__PURE__ */ j("div", {
49951
+ className: Lr(Pj.scrollContainer, "max-h-[60vh] overflow-auto"),
49952
+ dir: "ltr",
49953
+ children: e ? /* @__PURE__ */ j(jj, {
49954
+ language: e,
49955
+ style: Bj[r] ?? zj,
49956
+ customStyle: {
49957
+ margin: 0,
49958
+ borderRadius: 0,
49959
+ background: "transparent",
49960
+ fontSize: 14,
49961
+ lineHeight: 1.5,
49962
+ padding: "14px 16px",
49963
+ letterSpacing: 0
49964
+ },
49965
+ codeTagProps: { className: u },
49969
49966
  children: t
49967
+ }) : /* @__PURE__ */ j("pre", {
49968
+ className: "p-4",
49969
+ children: /* @__PURE__ */ j("code", {
49970
+ className: Lr("whitespace-pre", u),
49971
+ children: t
49972
+ })
49970
49973
  })
49974
+ }),
49975
+ /* @__PURE__ */ j("span", {
49976
+ role: "status",
49977
+ "aria-live": "polite",
49978
+ className: "sr-only",
49979
+ children: h ? a : ""
49971
49980
  })
49972
- })]
49981
+ ]
49973
49982
  });
49974
49983
  }), Hj = {
49975
49984
  thinking: "_thinking_vpwxq_9",
@@ -50212,7 +50221,7 @@ var Mj = 2e3, Nj = (e, t = Mj) => {
50212
50221
  link: "break-words [overflow-wrap:anywhere]",
50213
50222
  tableWrapper: "my-4"
50214
50223
  };
50215
- a(({ content: e, isStreaming: t, thinkingLabel: n, components: r, codeBlockCopyLabel: i, codeBlockCopiedLabel: a, codeBlockTheme: o }) => /* @__PURE__ */ j(tM, {
50224
+ ({ ...nM }), a(({ content: e, isStreaming: t, thinkingLabel: n, components: r, codeBlockCopyLabel: i, codeBlockCopiedLabel: a, codeBlockTheme: o, classNames: s = nM }) => /* @__PURE__ */ j(tM, {
50216
50225
  content: e,
50217
50226
  isStreaming: t,
50218
50227
  thinkingLabel: n,
@@ -50220,7 +50229,7 @@ a(({ content: e, isStreaming: t, thinkingLabel: n, components: r, codeBlockCopyL
50220
50229
  codeBlockCopyLabel: i,
50221
50230
  codeBlockCopiedLabel: a,
50222
50231
  codeBlockTheme: o,
50223
- classNames: nM
50232
+ classNames: s
50224
50233
  }));
50225
50234
  var rM = {
50226
50235
  dialog: "_dialog_17kdv_2",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-publish-panel",
3
3
  "description": "Publish-to-folder UI and state flow shared by catalog entity publish and conversation publish",
4
- "version": "1.1.0-dev.236",
4
+ "version": "1.1.0-dev.238",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -19,7 +19,7 @@
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.236",
22
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.238",
23
23
  "@epam/ai-dial-ui-kit": "^0.13.0-dev.64",
24
24
  "@epam/ai-dial-react-file-manager": "^0.1.0-dev.22"
25
25
  },