@epam/ai-dial-source-panel 1.0.0-dev.533 → 1.0.0-dev.535

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":"ConversationSourcesPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationSourcesPanel/ConversationSourcesPanel.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAGnG,YAAY,EACV,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,8BAA8B,EAC9B,kCAAkC,GACnC,MAAM,+CAA+C,CAAC;;AA0JvD,wBAA8C"}
1
+ {"version":3,"file":"ConversationSourcesPanel.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationSourcesPanel/ConversationSourcesPanel.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAGnG,YAAY,EACV,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,8BAA8B,EAC9B,kCAAkC,GACnC,MAAM,+CAA+C,CAAC;;AAmJvD,wBAA8C"}
@@ -1,11 +1,5 @@
1
1
  import { QuotationSource } from '../../models/quotation-source';
2
- /** CSS custom-property overrides for the `SourcesSection` component. */
3
- interface SourcesSectionColors {
4
- /** Source link color. */
5
- link?: string;
6
- /** Source quote text color. */
7
- quote?: string;
8
- }
2
+ import { ConversationSourcesPanelColors, ConversationSourcesPanelTypography } from '../ConversationSourcesPanel/ConversationSourcesPanel';
9
3
  export interface SourcesSectionProps {
10
4
  /** Heading text for the sources section. */
11
5
  title: string;
@@ -17,14 +11,10 @@ export interface SourcesSectionProps {
17
11
  copiedLabel?: string;
18
12
  /** Current search query — used to highlight matches in source titles and quotes. */
19
13
  searchQuery?: string;
20
- /** CSS class applied to the section heading. Defaults to `'dial-body-semi-text'`. */
21
- titleClassName?: string;
22
- /** CSS class applied to each source link. Defaults to `'dial-small-text'`. */
23
- linkClassName?: string;
24
- /** CSS class applied to the quote text. Defaults to `'dial-tiny-text'`. */
25
- quoteClassName?: string;
14
+ /** Typography (font utility class) overrides for section headings and source text. */
15
+ typography?: ConversationSourcesPanelTypography;
26
16
  /** Color overrides applied as CSS custom properties. */
27
- colors?: SourcesSectionColors;
17
+ colors?: ConversationSourcesPanelColors;
28
18
  /** When provided, called on source link click instead of following the href. */
29
19
  onSourceClick?: (source: QuotationSource) => void;
30
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SourcesSection.d.ts","sourceRoot":"","sources":["../../../src/components/SourcesSection/SourcesSection.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGrE,wEAAwE;AACxE,UAAU,oBAAoB;IAC5B,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,0DAA0D;IAC1D,SAAS,EAAE,MAAM,CAAC;IAClB,yHAAyH;IACzH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oFAAoF;IACpF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qFAAqF;IACrF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8EAA8E;IAC9E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wDAAwD;IACxD,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,gFAAgF;IAChF,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;CACnD;;AAoGD,wBAAoC"}
1
+ {"version":3,"file":"SourcesSection.d.ts","sourceRoot":"","sources":["../../../src/components/SourcesSection/SourcesSection.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EACL,8BAA8B,EAC9B,kCAAkC,EACnC,MAAM,sDAAsD,CAAC;AAG9D,MAAM,WAAW,mBAAmB;IAClC,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,0DAA0D;IAC1D,SAAS,EAAE,MAAM,CAAC;IAClB,yHAAyH;IACzH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oFAAoF;IACpF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sFAAsF;IACtF,UAAU,CAAC,EAAE,kCAAkC,CAAC;IAChD,wDAAwD;IACxD,MAAM,CAAC,EAAE,8BAA8B,CAAC;IACxC,gFAAgF;IAChF,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;CACnD;;AAuGD,wBAAoC"}
package/index.js CHANGED
@@ -1,126 +1,122 @@
1
- import { PanelEmpty as e, PanelNoResults as t, SearchInput as n, SidebarOrientation as r, SidebarPanel as i } from "@epam/ai-dial-sidebar";
2
- import { DIAL_ICON_SIZE as a, DialGhostIconButton as o, ElementSize as s } from "@epam/ai-dial-ui-kit";
3
- import { IconCopy as c, IconDownload as l } from "@tabler/icons-react";
4
- import { memo as u, useLayoutEffect as d, useMemo as f, useState as p } from "react";
5
- import { AttachmentType as m, Highlight as h, buildCssVars as g, mergeClasses as _ } from "@epam/ai-dial-chat-shared";
6
- import { AttachmentCard as v } from "@epam/ai-dial-conversation-input";
7
- import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
8
- var S = u(({ attachments: e, title: t, searchQuery: n, titleClassName: r = "dial-body-semi-text", onAttachmentClick: i, attachmentClickLabel: a }) => e.length === 0 ? null : /* @__PURE__ */ x("section", {
1
+ import { AttachmentType as e, BASE_LG_ICON_PROPS as t, Highlight as n, buildCssVars as r, mergeClasses as i } from "@epam/ai-dial-chat-shared";
2
+ import { PanelEmpty as a, PanelNoResults as o, SearchInput as s, SidebarOrientation as c, SidebarPanel as l } from "@epam/ai-dial-sidebar";
3
+ import { DIAL_ICON_SIZE as u, DialGhostIconButton as d, ElementSize as f } from "@epam/ai-dial-ui-kit";
4
+ import { IconCopy as p, IconDownload as m } from "@tabler/icons-react";
5
+ import { memo as h, useLayoutEffect as g, useMemo as _, useState as v } from "react";
6
+ import { AttachmentCard as y } from "@epam/ai-dial-conversation-input";
7
+ import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
8
+ var C = h(({ attachments: t, title: n, searchQuery: r, titleClassName: a = "dial-body-semi-text", onAttachmentClick: o, attachmentClickLabel: s }) => t.length === 0 ? null : /* @__PURE__ */ S("section", {
9
9
  className: "mb-6",
10
- children: [/* @__PURE__ */ b("h2", {
11
- className: _(r, "mb-3"),
12
- children: t
13
- }), /* @__PURE__ */ b("div", {
10
+ children: [/* @__PURE__ */ x("h2", {
11
+ className: i(a, "mb-3"),
12
+ children: n
13
+ }), /* @__PURE__ */ x("div", {
14
14
  role: "list",
15
15
  className: "grid grid-cols-[repeat(auto-fill,minmax(100px,1fr))] gap-3",
16
- children: e.map((e) => /* @__PURE__ */ b("div", {
16
+ children: t.map((t) => /* @__PURE__ */ x("div", {
17
17
  role: "listitem",
18
- className: e.type === m.Audio ? "col-span-full" : void 0,
19
- children: /* @__PURE__ */ b(v, {
20
- attachment: e,
21
- searchQuery: n,
18
+ className: t.type === e.Audio ? "col-span-full" : void 0,
19
+ children: /* @__PURE__ */ x(y, {
20
+ attachment: t,
21
+ searchQuery: r,
22
22
  styles: { className: "w-full" },
23
- onClick: i ? () => i(e) : void 0,
24
- labels: { clickLabel: a }
23
+ onClick: o ? () => o(t) : void 0,
24
+ labels: { clickLabel: s }
25
25
  })
26
- }, e.id))
26
+ }, t.id))
27
27
  })]
28
- })), C = {
28
+ })), w = {
29
29
  link: "_link_1f4sp_1",
30
30
  quote: "_quote_1f4sp_5"
31
- }, w = u(({ title: e, sources: t, copyLabel: n, copiedLabel: r = "Link copied to clipboard", searchQuery: i = "", titleClassName: l = "dial-body-semi-text", linkClassName: u = "dial-small-text", quoteClassName: d = "dial-tiny-text", colors: m, onSourceClick: v }) => {
32
- let [y, S] = p(""), w = f(() => g({
33
- "--sp-source-link": m?.link,
34
- "--sp-source-quote": m?.quote
35
- }), [m]);
31
+ }, T = h(({ title: e, sources: t, copyLabel: a, copiedLabel: o = "Link copied to clipboard", searchQuery: s = "", typography: c, colors: l, onSourceClick: m }) => {
32
+ let [h, g] = v(""), y = c?.sectionTitleClassName ?? "dial-body-semi-text", b = c?.sourceLinkClassName ?? "dial-small-text", C = c?.sourceQuoteClassName ?? "dial-tiny-text", T = _(() => r({
33
+ "--sp-source-link": l?.sourceLink,
34
+ "--sp-source-quote": l?.sourceQuote
35
+ }), [l]);
36
36
  if (t.length === 0) return null;
37
- let T = async (e) => {
38
- await navigator.clipboard.writeText(e), S(r);
37
+ let E = async (e) => {
38
+ await navigator.clipboard.writeText(e), g(o);
39
39
  };
40
- return /* @__PURE__ */ x("section", {
40
+ return /* @__PURE__ */ S("section", {
41
41
  className: "mb-6",
42
- style: w,
42
+ style: T,
43
43
  children: [
44
- /* @__PURE__ */ b("h2", {
45
- className: _(l, "mb-3"),
44
+ /* @__PURE__ */ x("h2", {
45
+ className: i(y, "mb-3"),
46
46
  children: e
47
47
  }),
48
- /* @__PURE__ */ b("ul", {
48
+ /* @__PURE__ */ x("ul", {
49
49
  className: "flex flex-col gap-3",
50
- children: t.map((e) => /* @__PURE__ */ x("li", {
50
+ children: t.map((e) => /* @__PURE__ */ S("li", {
51
51
  className: "flex flex-col gap-1",
52
- children: [/* @__PURE__ */ x("div", {
52
+ children: [/* @__PURE__ */ S("div", {
53
53
  className: "flex min-w-0 items-center justify-between gap-2",
54
- children: [/* @__PURE__ */ b("a", {
54
+ children: [/* @__PURE__ */ x("a", {
55
55
  href: e.url,
56
56
  target: "_blank",
57
57
  rel: "noopener noreferrer",
58
- className: _(u, C.link, "min-w-0 flex-1 truncate"),
59
- onClick: v ? (t) => {
60
- t.preventDefault(), v(e);
58
+ className: i(b, w.link, "min-w-0 flex-1 truncate"),
59
+ onClick: m ? (t) => {
60
+ t.preventDefault(), m(e);
61
61
  } : void 0,
62
- children: i ? /* @__PURE__ */ b(h, {
62
+ children: s ? /* @__PURE__ */ x(n, {
63
63
  text: e.title,
64
- query: i,
64
+ query: s,
65
65
  maxLines: 1
66
66
  }) : e.title
67
- }), /* @__PURE__ */ b(o, {
68
- size: s.Small,
69
- icon: /* @__PURE__ */ b(c, {
70
- size: a.SM,
67
+ }), /* @__PURE__ */ x(d, {
68
+ size: f.Small,
69
+ icon: /* @__PURE__ */ x(p, {
70
+ size: u.SM,
71
71
  stroke: 1.5,
72
72
  "aria-hidden": !0
73
73
  }),
74
- "aria-label": n,
75
- onClick: () => void T(e.url)
74
+ "aria-label": a,
75
+ onClick: () => void E(e.url)
76
76
  })]
77
- }), e.quote && /* @__PURE__ */ b("p", {
78
- className: _(d, C.quote, "line-clamp-5 max-h-[80px] overflow-hidden"),
77
+ }), e.quote && /* @__PURE__ */ x("p", {
78
+ className: i(C, w.quote, "line-clamp-5 max-h-[80px] overflow-hidden"),
79
79
  children: e.quote
80
80
  })]
81
81
  }, e.url))
82
82
  }),
83
- /* @__PURE__ */ b("span", {
83
+ /* @__PURE__ */ x("span", {
84
84
  role: "status",
85
85
  "aria-live": "polite",
86
86
  className: "sr-only",
87
- children: y
87
+ children: h
88
88
  })
89
89
  ]
90
90
  });
91
- }), T = (e, t) => e.toLowerCase().includes(t.toLowerCase()), E = u(({ isOpen: s, onClose: c, uploaded: u, generated: m, sources: h, onAttachmentClick: g, onSourceClick: _, onDownloadAll: v, isMobile: C, defaultWidth: E, minWidth: D, maxWidth: O, onResizeStop: k, labels: A, styles: j }) => {
92
- let [M, N] = p("");
93
- d(() => {
94
- s || N("");
95
- }, [s]);
96
- let P = f(() => M ? u.filter((e) => T(e.name, M)) : u, [u, M]), F = f(() => M ? m.filter((e) => T(e.name, M)) : m, [m, M]), I = f(() => M ? h.filter((e) => T(e.title, M) || T(e.url, M) || e.quote != null && T(e.quote, M)) : h, [h, M]), L = u.length === 0 && m.length === 0 && h.length === 0, R = M !== "" && P.length === 0 && F.length === 0 && I.length === 0;
97
- return /* @__PURE__ */ x(i, {
98
- isOpen: s,
99
- orientation: r.Right,
91
+ }), E = (e, t) => e.toLowerCase().includes(t.toLowerCase()), D = h(({ isOpen: e, onClose: n, uploaded: r, generated: i, sources: u, onAttachmentClick: f, onSourceClick: p, onDownloadAll: h, isMobile: y, defaultWidth: w, minWidth: D, maxWidth: O, onResizeStop: k, labels: A, styles: j }) => {
92
+ let [M, N] = v("");
93
+ g(() => {
94
+ e || N("");
95
+ }, [e]);
96
+ let P = _(() => M ? r.filter((e) => E(e.name, M)) : r, [r, M]), F = _(() => M ? i.filter((e) => E(e.name, M)) : i, [i, M]), I = _(() => M ? u.filter((e) => E(e.title, M) || E(e.url, M) || e.quote != null && E(e.quote, M)) : u, [u, M]), L = r.length === 0 && i.length === 0 && u.length === 0, R = M !== "" && P.length === 0 && F.length === 0 && I.length === 0;
97
+ return /* @__PURE__ */ S(l, {
98
+ isOpen: e,
99
+ orientation: c.Right,
100
100
  styles: {
101
- className: s ? "mobile:w-full" : "w-0",
101
+ className: e ? "mobile:w-full" : "w-0",
102
102
  bodyClassName: "flex flex-col overflow-hidden p-0"
103
103
  },
104
104
  labels: A,
105
- onClose: c,
106
- resizable: !C,
107
- defaultWidth: E,
105
+ onClose: n,
106
+ resizable: !y,
107
+ defaultWidth: w,
108
108
  minWidth: D,
109
109
  maxWidth: O,
110
110
  onResizeStop: k,
111
- rightActions: !L && /* @__PURE__ */ b(o, {
112
- icon: /* @__PURE__ */ b(l, {
113
- size: a.LG,
114
- stroke: 1.5,
115
- "aria-hidden": !0
116
- }),
111
+ rightActions: !L && /* @__PURE__ */ x(d, {
112
+ icon: /* @__PURE__ */ x(m, { ...t }),
117
113
  "aria-label": A.downloadAllLabel,
118
114
  tooltipProps: { tooltip: A.downloadAllLabel },
119
- onClick: v,
120
- disabled: !v
115
+ onClick: h,
116
+ disabled: !h
121
117
  }),
122
118
  children: [
123
- !L && /* @__PURE__ */ b(n, {
119
+ !L && /* @__PURE__ */ x(s, {
124
120
  value: M,
125
121
  onChange: N,
126
122
  labels: {
@@ -128,44 +124,39 @@ var S = u(({ attachments: e, title: t, searchQuery: n, titleClassName: r = "dial
128
124
  clearLabel: A.searchClearLabel
129
125
  }
130
126
  }),
131
- /* @__PURE__ */ b("span", {
127
+ /* @__PURE__ */ x("span", {
132
128
  role: "status",
133
129
  "aria-live": "polite",
134
130
  className: "sr-only",
135
131
  children: R ? A.noResultsLabel : ""
136
132
  }),
137
- /* @__PURE__ */ b("div", {
133
+ /* @__PURE__ */ x("div", {
138
134
  className: "flex-1 overflow-y-auto p-4",
139
- children: L ? /* @__PURE__ */ b(e, { label: A.emptyLabel }) : R ? /* @__PURE__ */ b(t, { label: A.noResultsLabel }) : /* @__PURE__ */ x(y, { children: [
140
- /* @__PURE__ */ b(S, {
135
+ children: L ? /* @__PURE__ */ x(a, { label: A.emptyLabel }) : R ? /* @__PURE__ */ x(o, { label: A.noResultsLabel }) : /* @__PURE__ */ S(b, { children: [
136
+ /* @__PURE__ */ x(C, {
141
137
  attachments: P,
142
138
  title: A.uploadedSectionTitle,
143
139
  searchQuery: M,
144
140
  titleClassName: j?.typography?.sectionTitleClassName,
145
- onAttachmentClick: g,
141
+ onAttachmentClick: f,
146
142
  attachmentClickLabel: A.attachmentClickLabel
147
143
  }),
148
- /* @__PURE__ */ b(S, {
144
+ /* @__PURE__ */ x(C, {
149
145
  attachments: F,
150
146
  title: A.generatedSectionTitle,
151
147
  searchQuery: M,
152
148
  titleClassName: j?.typography?.sectionTitleClassName,
153
- onAttachmentClick: g,
149
+ onAttachmentClick: f,
154
150
  attachmentClickLabel: A.attachmentClickLabel
155
151
  }),
156
- /* @__PURE__ */ b(w, {
152
+ /* @__PURE__ */ x(T, {
157
153
  sources: I,
158
154
  title: A.sourcesSectionTitle,
159
155
  searchQuery: M,
160
- titleClassName: j?.typography?.sectionTitleClassName,
161
- linkClassName: j?.typography?.sourceLinkClassName,
162
- quoteClassName: j?.typography?.sourceQuoteClassName,
163
- colors: {
164
- link: j?.colors?.sourceLink,
165
- quote: j?.colors?.sourceQuote
166
- },
156
+ typography: j?.typography,
157
+ colors: j?.colors,
167
158
  copyLabel: A.copySourceLabel,
168
- onSourceClick: _
159
+ onSourceClick: p
169
160
  })
170
161
  ] })
171
162
  })
@@ -173,4 +164,4 @@ var S = u(({ attachments: e, title: t, searchQuery: n, titleClassName: r = "dial
173
164
  });
174
165
  });
175
166
  //#endregion
176
- export { E as ConversationSourcesPanel };
167
+ export { D as ConversationSourcesPanel };
@@ -38,9 +38,9 @@ export interface ConversationSourcesPanelColors {
38
38
  export interface ConversationSourcesPanelTypography {
39
39
  /** CSS class applied to each section heading (`<h2>`). Defaults to `'dial-body-semi-text'`. */
40
40
  sectionTitleClassName?: string;
41
- /** CSS class applied to each source link. Defaults to `'dial-small-text !text-accent-primary'`. */
41
+ /** CSS class applied to each source link. Defaults to `'dial-small-text'`. */
42
42
  sourceLinkClassName?: string;
43
- /** CSS class applied to each source quote paragraph. Defaults to `'dial-tiny-text text-secondary'`. */
43
+ /** CSS class applied to each source quote paragraph. Defaults to `'dial-tiny-text'`. */
44
44
  sourceQuoteClassName?: string;
45
45
  }
46
46
  /** Optional color and typography overrides for inner elements. */
@@ -1 +1 @@
1
- {"version":3,"file":"conversation-sources-panel-props.d.ts","sourceRoot":"","sources":["../../src/models/conversation-sources-panel-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAo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D;IACxD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,6DAA6D;IAC7D,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,mEAAmE;IACnE,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,gDAAgD;IAChD,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,yDAAyD;IACzD,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5D,4FAA4F;IAC5F,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAClD;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,wEAAwE;IACxE,QAAQ,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uEAAuE;IACvE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,gEAAgE;IAChE,MAAM,EAAE,8BAA8B,CAAC;IACvC,wEAAwE;IACxE,MAAM,CAAC,EAAE,8BAA8B,CAAC;CACzC"}
1
+ {"version":3,"file":"conversation-sources-panel-props.d.ts","sourceRoot":"","sources":["../../src/models/conversation-sources-panel-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,oFAAoF;AACpF,MAAM,WAAW,8BAA8B;IAC7C,qDAAqD;IACrD,SAAS,EAAE,MAAM,CAAC;IAClB,kCAAkC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0DAA0D;IAC1D,gBAAg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IACzD,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5D,4FAA4F;IAC5F,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAClD;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,wEAAwE;IACxE,QAAQ,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uEAAuE;IACvE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,gEAAgE;IAChE,MAAM,EAAE,8BAA8B,CAAC;IACvC,wEAAwE;IACxE,MAAM,CAAC,EAAE,8BAA8B,CAAC;CACzC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-source-panel",
3
3
  "description": "Panel for displaying conversation sources — uploaded files and generated citations",
4
- "version": "1.0.0-dev.533",
4
+ "version": "1.0.0-dev.535",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -19,10 +19,10 @@
19
19
  "peerDependencies": {
20
20
  "react": "^19.0.0",
21
21
  "@tabler/icons-react": "^3.0.0",
22
- "@epam/ai-dial-chat-shared": "1.0.0-dev.533",
23
- "@epam/ai-dial-ui-kit": "0.12.0-dev.28",
24
- "@epam/ai-dial-sidebar": "1.0.0-dev.533",
25
- "@epam/ai-dial-conversation-input": "1.0.0-dev.533"
22
+ "@epam/ai-dial-chat-shared": "1.0.0-dev.535",
23
+ "@epam/ai-dial-ui-kit": "0.12.0-dev.36",
24
+ "@epam/ai-dial-sidebar": "1.0.0-dev.535",
25
+ "@epam/ai-dial-conversation-input": "1.0.0-dev.535"
26
26
  },
27
27
  "repository": {
28
28
  "type": "git",