@epam/ai-dial-prompts 1.1.0-dev.426 → 1.1.0-dev.430

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":"FavoritePromptsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/FavoritePromptsPanel/FavoritePromptsPanel.tsx"],"names":[],"mappings":"AAYA,OAAO,EAKL,KAAK,EAAE,EAER,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAW3F;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA+L9D,CAAC"}
1
+ {"version":3,"file":"FavoritePromptsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/FavoritePromptsPanel/FavoritePromptsPanel.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAgD,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAE9E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAQ3F;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAkL9D,CAAC"}
package/index.css CHANGED
@@ -1,2 +1,2 @@
1
- ._row_fggl0_1:hover,._row_fggl0_1:focus-visible{background:var(--fp-row-hover-bg,var(--bg-layer-sunken,#eef1f7))}._header_fggl0_5{color:var(--fp-header-text,var(--text-tertiary,#848e9c))}._emptyHint_fggl0_9{color:var(--fp-empty-hint-text,var(--text-icon-tertiary,#848e9c))}._star_fggl0_13{color:var(--fp-star-color,var(--text-warning-icon,#eec840))}._footer_fggl0_17{border-top-color:var(--fp-footer-border,var(--stroke-tertiary,#e0e6f0))}._rowEnter_fggl0_25{animation:.2s ease-out _rowFadeIn_fggl0_1}._rowLeaving_fggl0_29{pointer-events:none;animation:.18s ease-out forwards _rowFadeOut_fggl0_1}@keyframes _rowFadeIn_fggl0_1{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes _rowFadeOut_fggl0_1{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.96)}}._listContent_fggl0_57{transition:max-height .2s}@media (prefers-reduced-motion:reduce){._rowEnter_fggl0_25,._rowLeaving_fggl0_29{animation:none}._listContent_fggl0_57{transition:none}}._card_p8vwa_1{background:var(--pp-card-bg,var(--bg-layer-sunken,#eef1f7));border-color:var(--pp-card-border,var(--stroke-tertiary,#e0e6f0))}
1
+ ._header_1pyx6_3{color:var(--fp-header-text,var(--text-tertiary,#848e9c))}._emptyHint_1pyx6_7{color:var(--fp-empty-hint-text,var(--text-icon-tertiary,#848e9c))}._star_1pyx6_11{color:var(--fp-star-color,var(--text-warning-icon,#eec840))}._footer_1pyx6_15{border-top-color:var(--fp-footer-border,var(--stroke-tertiary,#e0e6f0))}._rowEnter_1pyx6_23{animation:.2s ease-out _rowFadeIn_1pyx6_1}._rowLeaving_1pyx6_27{pointer-events:none;animation:.18s ease-out forwards _rowFadeOut_1pyx6_1}@keyframes _rowFadeIn_1pyx6_1{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes _rowFadeOut_1pyx6_1{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.96)}}._listContent_1pyx6_55{transition:max-height .2s}@media (prefers-reduced-motion:reduce){._rowEnter_1pyx6_23,._rowLeaving_1pyx6_27{animation:none}._listContent_1pyx6_55{transition:none}}._card_p8vwa_1{background:var(--pp-card-bg,var(--bg-layer-sunken,#eef1f7));border-color:var(--pp-card-border,var(--stroke-tertiary,#e0e6f0))}
2
2
  /*$vite$:1*/
package/index.js CHANGED
@@ -1,180 +1,167 @@
1
- import { CatalogEntityType as e, DeploymentIcon as t, buildCssVars as n, mergeClasses as r } from "@epam/ai-dial-chat-shared";
2
- import { DIAL_ICON_SIZE as i, DIAL_KIT_ICON_STROKE as a, GhostButton as o, GhostIconButton as s, NeutralButton as c, Popup as l, PopupSize as u, PrimaryButton as d, Textarea as f, ToggleIconButton as p, Tooltip as m } from "@epam/ai-dial-ui-kit";
3
- import { IconChevronLeft as h, IconStarFilled as g } from "@tabler/icons-react";
4
- import { useEffect as _, useId as v, useLayoutEffect as y, useMemo as b, useRef as x, useState as S } from "react";
5
- import { jsx as C, jsxs as w } from "react/jsx-runtime";
6
- import { AppIdentity as T, ContentTab as E, DeploymentSize as D } from "@epam/ai-dial-catalog";
7
- var O = {
8
- row: "_row_fggl0_1",
9
- header: "_header_fggl0_5",
10
- emptyHint: "_emptyHint_fggl0_9",
11
- star: "_star_fggl0_13",
12
- footer: "_footer_fggl0_17",
13
- rowEnter: "_rowEnter_fggl0_25",
14
- rowFadeIn: "_rowFadeIn_fggl0_1",
15
- rowLeaving: "_rowLeaving_fggl0_29",
16
- rowFadeOut: "_rowFadeOut_fggl0_1",
17
- listContent: "_listContent_fggl0_57"
18
- }, k = "px-3 pb-0.5 pt-2", A = 180, j = 288, M = ({ favorites: e, onSelect: a, onToggleFavorite: s, onBrowse: c, labels: l = {}, colors: u, nameClassName: d = "dial-small-text", headerClassName: f = "dial-tiny-lead-semi-text", emptyHintClassName: h = "dial-small-text" }) => {
19
- let { myCollectionLabel: v = "My Collection", emptyHintLabel: b = "Star a prompt to pin it here", browseLabel: T = "Browse", removeFromFavoritesLabel: E = "Remove from favorites" } = l, D = n({
20
- "--fp-row-hover-bg": u?.rowHoverBackground,
21
- "--fp-header-text": u?.headerText,
22
- "--fp-empty-hint-text": u?.emptyHintText,
23
- "--fp-star-color": u?.starColor,
24
- "--fp-footer-border": u?.footerBorder
25
- }), [M, N] = S(/* @__PURE__ */ new Set()), P = x(/* @__PURE__ */ new Map());
26
- _(() => {
27
- let e = P.current;
1
+ import { CatalogEntityType as e, DeploymentIcon as t, SELECT_LIST_MAX_HEIGHT_CLASS_NAME as n, SELECT_LIST_MAX_HEIGHT_PX as r, buildCssVars as i, mergeClasses as a } from "@epam/ai-dial-chat-shared";
2
+ import { DIAL_ICON_SIZE as o, DIAL_KIT_ICON_STROKE as s, GhostButton as c, GhostIconButton as l, MenuItem as u, NeutralButton as d, Popup as f, PopupSize as p, PrimaryButton as m, Textarea as h, ToggleIconButton as g, Tooltip as _ } from "@epam/ai-dial-ui-kit";
3
+ import { IconChevronLeft as v, IconStarFilled as y } from "@tabler/icons-react";
4
+ import { useEffect as b, useId as x, useLayoutEffect as S, useMemo as C, useRef as w, useState as T } from "react";
5
+ import { jsx as E, jsxs as D } from "react/jsx-runtime";
6
+ import { AppIdentity as O, ContentTab as k, DeploymentSize as A } from "@epam/ai-dial-catalog";
7
+ var j = {
8
+ header: "_header_1pyx6_3",
9
+ emptyHint: "_emptyHint_1pyx6_7",
10
+ star: "_star_1pyx6_11",
11
+ footer: "_footer_1pyx6_15",
12
+ rowEnter: "_rowEnter_1pyx6_23",
13
+ rowFadeIn: "_rowFadeIn_1pyx6_1",
14
+ rowLeaving: "_rowLeaving_1pyx6_27",
15
+ rowFadeOut: "_rowFadeOut_1pyx6_1",
16
+ listContent: "_listContent_1pyx6_55"
17
+ }, M = "px-3 pb-0.5 pt-2", N = 180, P = ({ favorites: e, onSelect: s, onToggleFavorite: l, onBrowse: d, labels: f = {}, colors: p, nameClassName: m = "dial-small-text", headerClassName: h = "dial-tiny-lead-semi-text", emptyHintClassName: v = "dial-small-text" }) => {
18
+ let { myCollectionLabel: x = "My Collection", emptyHintLabel: C = "Star a prompt to pin it here", browseLabel: O = "Browse", removeFromFavoritesLabel: k = "Remove from favorites" } = f, A = i({
19
+ "--fp-header-text": p?.headerText,
20
+ "--fp-empty-hint-text": p?.emptyHintText,
21
+ "--fp-star-color": p?.starColor,
22
+ "--fp-footer-border": p?.footerBorder
23
+ }), [P, F] = T(/* @__PURE__ */ new Set()), I = w(/* @__PURE__ */ new Map());
24
+ b(() => {
25
+ let e = I.current;
28
26
  return () => {
29
27
  e.forEach((e) => clearTimeout(e)), e.clear();
30
28
  };
31
29
  }, []);
32
- let F = x(null), [I, L] = S();
33
- y(() => {
34
- F.current && L(Math.min(F.current.scrollHeight, j));
30
+ let L = w(null), [R, z] = T();
31
+ S(() => {
32
+ L.current && z(Math.min(L.current.scrollHeight, r));
35
33
  }, [e]);
36
- let R = (e, t) => {
37
- e.target === e.currentTarget && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), a(t));
38
- }, z = (e) => {
39
- N((t) => new Set(t).add(e));
34
+ let B = (e) => {
35
+ F((t) => new Set(t).add(e));
40
36
  let t = setTimeout(() => {
41
- s(e), N((t) => {
37
+ l(e), F((t) => {
42
38
  let n = new Set(t);
43
39
  return n.delete(e), n;
44
- }), P.current.delete(e);
45
- }, A);
46
- P.current.set(e, t);
40
+ }), I.current.delete(e);
41
+ }, N);
42
+ I.current.set(e, t);
47
43
  };
48
- return /* @__PURE__ */ w("div", {
44
+ return /* @__PURE__ */ D("div", {
49
45
  className: "flex min-w-[240px] flex-col",
50
- style: D,
46
+ style: A,
51
47
  children: [
52
- /* @__PURE__ */ C("p", {
53
- className: r(f, k, O.header),
54
- children: v
48
+ /* @__PURE__ */ E("p", {
49
+ className: a(h, M, j.header),
50
+ children: x
55
51
  }),
56
- /* @__PURE__ */ C("div", {
57
- className: r("max-h-72 min-h-0 flex-1 overflow-y-auto", O.listContent),
58
- style: { maxHeight: I },
59
- children: /* @__PURE__ */ C("div", {
60
- ref: F,
61
- children: e.length > 0 ? /* @__PURE__ */ C("ul", {
52
+ /* @__PURE__ */ E("div", {
53
+ className: a(n, "min-h-0 flex-1 overflow-y-auto", j.listContent),
54
+ style: { maxHeight: R },
55
+ children: /* @__PURE__ */ E("div", {
56
+ ref: L,
57
+ children: e.length > 0 ? /* @__PURE__ */ E("ul", {
62
58
  className: "flex flex-col gap-1 px-1 pb-1",
63
59
  children: e.map((e) => {
64
- let n = /* @__PURE__ */ w("div", {
65
- role: "button",
66
- tabIndex: 0,
67
- className: r("flex cursor-pointer items-center gap-2 rounded-lg border border-transparent px-2 py-1.5 transition-colors", O.row),
68
- onClick: () => a(e),
69
- onKeyDown: (t) => R(t, e),
70
- children: [
71
- /* @__PURE__ */ C(t, {
72
- size: i.MD,
73
- initialsName: e.name
60
+ let n = /* @__PURE__ */ E(u, {
61
+ className: "h-auto py-1.5",
62
+ icon: /* @__PURE__ */ E(t, {
63
+ size: o.MD,
64
+ initialsName: e.name
65
+ }),
66
+ label: e.name,
67
+ labelClassName: m,
68
+ onClick: () => s(e),
69
+ rightControl: /* @__PURE__ */ E(g, {
70
+ icon: /* @__PURE__ */ E(y, {
71
+ size: o.SM,
72
+ className: j.star,
73
+ "aria-hidden": !0
74
74
  }),
75
- /* @__PURE__ */ C("span", {
76
- className: r(d, "min-w-0 flex-1 truncate text-start"),
77
- children: e.name
78
- }),
79
- /* @__PURE__ */ C(p, {
80
- icon: /* @__PURE__ */ C(g, {
81
- size: i.SM,
82
- className: O.star,
83
- "aria-hidden": !0
84
- }),
85
- "aria-label": E,
86
- isSelected: !0,
87
- onClick: (t) => {
88
- t.stopPropagation(), z(e.id);
89
- }
90
- })
91
- ]
92
- }), o = e.description != null && e.description !== "";
93
- return /* @__PURE__ */ C("li", {
94
- className: M.has(e.id) ? O.rowLeaving : O.rowEnter,
95
- children: o ? /* @__PURE__ */ C(m, {
75
+ "aria-label": k,
76
+ isSelected: !0,
77
+ onClick: () => B(e.id)
78
+ })
79
+ }), r = e.description != null && e.description !== "";
80
+ return /* @__PURE__ */ E("li", {
81
+ className: P.has(e.id) ? j.rowLeaving : j.rowEnter,
82
+ children: r ? /* @__PURE__ */ E(_, {
96
83
  tooltip: e.description,
97
84
  triggerClassName: "block",
98
85
  children: n
99
86
  }) : n
100
87
  }, e.id);
101
88
  })
102
- }) : /* @__PURE__ */ C("p", {
103
- className: r(h, "px-4 py-4 text-start", O.emptyHint),
104
- children: b
89
+ }) : /* @__PURE__ */ E("p", {
90
+ className: a(v, "px-4 py-4 text-start", j.emptyHint),
91
+ children: C
105
92
  })
106
93
  })
107
94
  }),
108
- /* @__PURE__ */ C("div", {
109
- className: r("border-t px-2 py-3", O.footer),
110
- children: /* @__PURE__ */ C(o, {
111
- label: T,
95
+ /* @__PURE__ */ E("div", {
96
+ className: a("border-t px-2 py-3", j.footer),
97
+ children: /* @__PURE__ */ E(c, {
98
+ label: O,
112
99
  className: "w-full justify-center",
113
- onClick: c
100
+ onClick: d
114
101
  })
115
102
  })
116
103
  ]
117
104
  });
118
- }, N = { card: "_card_p8vwa_1" }, P = ({ open: t, promptName: i, content: o, description: p, parameters: m, onBack: g, onClose: _, onSubmit: y, onCancel: x, labels: O = {}, colors: k, titleClassName: A = "dial-h2-text", parametersLabelClassName: j = "dial-h2-text", detailsLabelClassName: M = "dial-h2-text" }) => {
119
- let { title: P = "Prompt parameters", closeLabel: F = "Close", backLabel: I = "Back", parametersLabel: L = "Parameters", detailsLabel: R = "Details", enterValuePlaceholder: z = "Enter value", cancelLabel: B = "Cancel", submitLabel: V = "Confirm" } = O, [H, U] = S({}), W = v(), G = n({
120
- "--pp-card-bg": k?.cardBackground,
121
- "--pp-card-border": k?.cardBorder
122
- }), K = b(() => m.some((e) => !H[e]?.trim()), [m, H]);
123
- return /* @__PURE__ */ C(l, {
105
+ }, F = { card: "_card_p8vwa_1" }, I = ({ open: t, promptName: n, content: r, description: o, parameters: c, onBack: u, onClose: g, onSubmit: _, onCancel: y, labels: b = {}, colors: S, titleClassName: w = "dial-h2-text", parametersLabelClassName: j = "dial-h2-text", detailsLabelClassName: M = "dial-h2-text" }) => {
106
+ let { title: N = "Prompt parameters", closeLabel: P = "Close", backLabel: I = "Back", parametersLabel: L = "Parameters", detailsLabel: R = "Details", enterValuePlaceholder: z = "Enter value", cancelLabel: B = "Cancel", submitLabel: V = "Confirm" } = b, [H, U] = T({}), W = x(), G = i({
107
+ "--pp-card-bg": S?.cardBackground,
108
+ "--pp-card-border": S?.cardBorder
109
+ }), K = C(() => c.some((e) => !H[e]?.trim()), [c, H]);
110
+ return /* @__PURE__ */ E(f, {
124
111
  open: t,
125
- header: /* @__PURE__ */ w("div", {
112
+ header: /* @__PURE__ */ D("div", {
126
113
  className: "flex items-center gap-2",
127
- children: [g != null && /* @__PURE__ */ C(s, {
128
- icon: /* @__PURE__ */ C(h, {
114
+ children: [u != null && /* @__PURE__ */ E(l, {
115
+ icon: /* @__PURE__ */ E(v, {
129
116
  className: "rtl:scale-x-[-1]",
130
117
  "aria-hidden": !0,
131
- stroke: a
118
+ stroke: s
132
119
  }),
133
120
  "aria-label": I,
134
- onClick: g
135
- }), /* @__PURE__ */ C("span", {
136
- className: A,
137
- children: P
121
+ onClick: u
122
+ }), /* @__PURE__ */ E("span", {
123
+ className: w,
124
+ children: N
138
125
  })]
139
126
  }),
140
- ariaLabel: P,
141
- size: u.Lg,
142
- closeAriaLabel: F,
143
- onClose: _,
144
- footer: /* @__PURE__ */ w("div", {
127
+ ariaLabel: N,
128
+ size: p.Lg,
129
+ closeAriaLabel: P,
130
+ onClose: g,
131
+ footer: /* @__PURE__ */ D("div", {
145
132
  className: "flex justify-end gap-2 px-6 py-4",
146
- children: [/* @__PURE__ */ C(c, {
133
+ children: [/* @__PURE__ */ E(d, {
147
134
  label: B,
148
- onClick: x
149
- }), /* @__PURE__ */ C(d, {
135
+ onClick: y
136
+ }), /* @__PURE__ */ E(m, {
150
137
  label: V,
151
138
  disabled: K,
152
139
  onClick: () => {
153
- K || y(H);
140
+ K || _(H);
154
141
  }
155
142
  })]
156
143
  }),
157
- children: /* @__PURE__ */ w("div", {
144
+ children: /* @__PURE__ */ D("div", {
158
145
  className: "flex flex-col gap-4 px-6 pb-4 pt-2",
159
- children: [/* @__PURE__ */ C("div", {
160
- className: r("flex h-[72px] w-full items-center rounded-lg border px-3", N.card),
146
+ children: [/* @__PURE__ */ E("div", {
147
+ className: a("flex h-[72px] w-full items-center rounded-lg border px-3", F.card),
161
148
  style: G,
162
- children: /* @__PURE__ */ C(T, {
149
+ children: /* @__PURE__ */ E(O, {
163
150
  type: e.Prompt,
164
- name: i,
165
- size: D.LG,
151
+ name: n,
152
+ size: A.LG,
166
153
  className: "w-full"
167
154
  })
168
- }), /* @__PURE__ */ w("div", {
155
+ }), /* @__PURE__ */ D("div", {
169
156
  className: "grid grid-cols-2 gap-4",
170
- children: [/* @__PURE__ */ w("div", {
157
+ children: [/* @__PURE__ */ D("div", {
171
158
  className: "flex flex-col gap-3",
172
- children: [/* @__PURE__ */ C("h2", {
173
- className: r(j, "m-0"),
159
+ children: [/* @__PURE__ */ E("h2", {
160
+ className: a(j, "m-0"),
174
161
  children: L
175
- }), m.map((e) => {
162
+ }), c.map((e) => {
176
163
  let t = `${W}-${e}`;
177
- return /* @__PURE__ */ C(f, {
164
+ return /* @__PURE__ */ E(h, {
178
165
  id: t,
179
166
  "aria-label": e,
180
167
  value: H[e] ?? "",
@@ -190,14 +177,14 @@ var O = {
190
177
  }))
191
178
  }, e);
192
179
  })]
193
- }), /* @__PURE__ */ w("div", {
180
+ }), /* @__PURE__ */ D("div", {
194
181
  className: "flex min-h-0 flex-col gap-3",
195
- children: [/* @__PURE__ */ C("h2", {
196
- className: r(M, "m-0"),
182
+ children: [/* @__PURE__ */ E("h2", {
183
+ className: a(M, "m-0"),
197
184
  children: R
198
- }), /* @__PURE__ */ C(E, {
199
- content: o,
200
- description: p
185
+ }), /* @__PURE__ */ E(k, {
186
+ content: r,
187
+ description: o
201
188
  })]
202
189
  })]
203
190
  })]
@@ -205,4 +192,4 @@ var O = {
205
192
  });
206
193
  };
207
194
  //#endregion
208
- export { M as FavoritePromptsPanel, P as PromptParametersPopup };
195
+ export { P as FavoritePromptsPanel, I as PromptParametersPopup };
@@ -12,8 +12,6 @@ export interface FavoritePromptsPanelLabels {
12
12
  }
13
13
  /** CSS custom-property overrides for the favorites panel. */
14
14
  export interface FavoritePromptsPanelColors {
15
- /** Background color of a row on hover. Defaults to `--bg-layer-sunken`. */
16
- rowHoverBackground?: string;
17
15
  /** Text color of the "My Collection" header. Defaults to `--text-tertiary`. */
18
16
  headerText?: string;
19
17
  /** Text color of the empty-favorites hint. Defaults to `--text-icon-tertiary`. */
@@ -1 +1 @@
1
- {"version":3,"file":"favorite-prompts-panel-props.d.ts","sourceRoot":"","sources":["../../src/models/favorite-prompts-panel-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,mFAAmF;AACnF,MAAM,WAAW,0BAA0B;IACzC,sEAAsE;IACtE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,4FAA4F;IAC5F,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6GAA6G;IAC7G,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,6DAA6D;AAC7D,MAAM,WAAW,0BAA0B;IACzC,2EAA2E;IAC3E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,+EAA+E;IAC/E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sFAAsF;IACtF,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,+CAA+C;AAC/C,MAAM,WAAW,yBAAyB;IACxC,kEAAkE;IAClE,SAAS,EAAE,kBAAkB,EAAE,CAAC;IAChC,+DAA+D;IAC/D,QAAQ,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC7C,mGAAmG;IACnG,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,kDAAkD;IAClD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,oCAAoC;IACpC,MAAM,CAAC,EAAE,0BAA0B,CAAC;IACpC,wDAAwD;IACxD,MAAM,CAAC,EAAE,0BAA0B,CAAC;IACpC,iFAAiF;IACjF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oIAAoI;IACpI,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sFAAsF;IACtF,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
1
+ {"version":3,"file":"favorite-prompts-panel-props.d.ts","sourceRoot":"","sources":["../../src/models/favorite-prompts-panel-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,mFAAmF;AACnF,MAAM,WAAW,0BAA0B;IACzC,sEAAsE;IACtE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,4FAA4F;IAC5F,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6GAA6G;IAC7G,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,6DAA6D;AAC7D,MAAM,WAAW,0BAA0B;IACzC,+EAA+E;IAC/E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sFAAsF;IACtF,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,+CAA+C;AAC/C,MAAM,WAAW,yBAAyB;IACxC,kEAAkE;IAClE,SAAS,EAAE,kBAAkB,EAAE,CAAC;IAChC,+DAA+D;IAC/D,QAAQ,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC7C,mGAAmG;IACnG,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,kDAAkD;IAClD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,oCAAoC;IACpC,MAAM,CAAC,EAAE,0BAA0B,CAAC;IACpC,wDAAwD;IACxD,MAAM,CAAC,EAAE,0BAA0B,CAAC;IACpC,iFAAiF;IACjF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oIAAoI;IACpI,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sFAAsF;IACtF,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-prompts",
3
3
  "description": "Host-agnostic UI for picking a favorite prompt and resolving its {{parameter}} placeholders before it is inserted into a chat message",
4
- "version": "1.1.0-dev.426",
4
+ "version": "1.1.0-dev.430",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -16,8 +16,8 @@
16
16
  }
17
17
  },
18
18
  "peerDependencies": {
19
- "@epam/ai-dial-catalog": "1.1.0-dev.426",
20
- "@epam/ai-dial-chat-shared": "1.1.0-dev.426",
19
+ "@epam/ai-dial-catalog": "1.1.0-dev.430",
20
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.430",
21
21
  "@epam/ai-dial-ui-kit": "*",
22
22
  "@tabler/icons-react": "^3.0.0",
23
23
  "react": "^19.0.0"