@epam/ai-dial-skills 1.2.0-dev.284 → 1.2.0-dev.285

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.
@@ -4,11 +4,10 @@ export declare const SKILLS_CLASS: {
4
4
  /** The favorite-skills panel root, which carries the themed CSS variables. */
5
5
  readonly favoritesPanel: "dial-skills-favorites-panel";
6
6
  /**
7
- * The `/name` chip a `ChatSkill` renders inside the composer, additive to
8
- * the `dial-kit-base-button` that `@epam/ai-dial-ui-kit` draws. The chip's
9
- * height is its label line, so a host changing its padding should keep the
10
- * vertical padding at zero or the chip stops aligning with the input's first
11
- * text line.
7
+ * The inline `/name` span a `ChatSkill` renders in both the composer and
8
+ * conversation history. It is sized to the raw `/name` text so the composer
9
+ * mirror stays aligned with the textarea, so a host changing its padding
10
+ * should keep the net inline width and the vertical padding at zero.
12
11
  */
13
12
  readonly chip: "dial-skills-chip";
14
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"public-class-names.d.ts","sourceRoot":"","sources":["../../src/constants/public-class-names.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,YAAY;IACvB,+DAA+D;;IAE/D,8EAA8E;;IAE9E;;;;;;OAMG;;CAEK,CAAC"}
1
+ {"version":3,"file":"public-class-names.d.ts","sourceRoot":"","sources":["../../src/constants/public-class-names.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,YAAY;IACvB,+DAA+D;;IAE/D,8EAA8E;;IAE9E;;;;;OAKG;;CAEK,CAAC"}
@@ -7,5 +7,5 @@ import { UseSkillSelectorOverlayOptions, UseSkillSelectorOverlayResult } from '.
7
7
  * listing data, favorites state, labels, the deployment-support signal, and
8
8
  * the modal/panel components.
9
9
  */
10
- export declare const useSkillSelectorOverlay: ({ isSkillsSupported, skills, sharedWithMe, publicSkills, favoriteIds, viewerBucket, onToggleFavorite, labels, historyChipLabelClassName, activeMentionDetailsTrigger, renderCatalogContent, detailsPanelComponent: DetailsPanelComponent, }: UseSkillSelectorOverlayOptions) => UseSkillSelectorOverlayResult;
10
+ export declare const useSkillSelectorOverlay: ({ isSkillsSupported, skills, sharedWithMe, publicSkills, favoriteIds, viewerBucket, onToggleFavorite, labels, historyChipLabelClassName, activeMentionDetailsTrigger, historyDetailsTrigger, renderCatalogContent, detailsPanelComponent: DetailsPanelComponent, }: UseSkillSelectorOverlayOptions) => UseSkillSelectorOverlayResult;
11
11
  //# sourceMappingURL=useSkillSelectorOverlay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSkillSelectorOverlay.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSkillSelectorOverlay/useSkillSelectorOverlay.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,8BAA8B,EAC9B,6BAA6B,EAC9B,MAAM,qCAAqC,CAAC;AAmB7C;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,GAAI,6OAarC,8BAA8B,KAAG,6BA8gBnC,CAAC"}
1
+ {"version":3,"file":"useSkillSelectorOverlay.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSkillSelectorOverlay/useSkillSelectorOverlay.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,8BAA8B,EAC9B,6BAA6B,EAC9B,MAAM,qCAAqC,CAAC;AAmB7C;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,GAAI,oQAcrC,8BAA8B,KAAG,6BAuhBnC,CAAC"}
package/index.js CHANGED
@@ -4,17 +4,17 @@ import { Suspense as x, useCallback as S, useEffect as C, useId as w, useLayoutE
4
4
  import { IconBlocks as k, IconEye as A, IconLock as j, IconStarFilled as M, IconTrash as N } from "@tabler/icons-react";
5
5
  import { Fragment as P, jsx as F, jsxs as I } from "react/jsx-runtime";
6
6
  import { DialFileNodeType as L, DialFoldersTree as R } from "@epam/ai-dial-react-file-manager";
7
- import { CatalogContentNodeType as z, DetailsPanel as B } from "@epam/ai-dial-catalog";
7
+ import { CatalogContentNodeType as ee, DetailsPanel as z } from "@epam/ai-dial-catalog";
8
8
  //#region src/constants/public-class-names.ts
9
- var V = {
9
+ var B = {
10
10
  selectorField: "dial-skills-selector-field",
11
11
  favoritesPanel: "dial-skills-favorites-panel",
12
12
  chip: "dial-skills-chip"
13
- }, H = /* @__PURE__ */ function(e) {
13
+ }, V = /* @__PURE__ */ function(e) {
14
14
  return e.Deleted = "deleted", e.NotShared = "not-shared", e;
15
- }({}), U = ({ description: e, unsupportedMessage: t, unresolvedReason: n, deletedMessage: r, notSharedMessage: i, viewDetailsLabel: u = "View details", onViewDetails: d, viewDetailsTabIndex: f }) => {
15
+ }({}), H = ({ description: e, unsupportedMessage: t, unresolvedReason: n, deletedMessage: r, notSharedMessage: i, viewDetailsLabel: u = "View details", onViewDetails: d, viewDetailsTabIndex: f }) => {
16
16
  if (n != null) {
17
- let e = n === H.Deleted, t = e ? N : j, a = e ? r : i;
17
+ let e = n === V.Deleted, t = e ? N : j, a = e ? r : i;
18
18
  return /* @__PURE__ */ I("div", {
19
19
  className: "flex flex-row items-center gap-2",
20
20
  children: [/* @__PURE__ */ F(t, {
@@ -50,7 +50,7 @@ var V = {
50
50
  className: "text-start",
51
51
  children: t
52
52
  });
53
- }, W = ({ name: e, path: t, description: n, isUnsupported: i = !1, unresolvedReason: a, labelClassName: o = "dial-body-paragraph-text text-accent", unsupportedLabelClassName: s = "text-error", unsupportedClassName: c = "bg-error", detailsTrigger: l = "hover", onViewDetails: u, labels: d = {} }) => {
53
+ }, U = ({ name: e, path: t, description: n, isUnsupported: i = !1, unresolvedReason: a, labelClassName: o = "dial-body-paragraph-text text-accent", unsupportedLabelClassName: s = "text-error", unsupportedClassName: c = "bg-error", detailsTrigger: l = "hover", onViewDetails: u, labels: d = {} }) => {
54
54
  let { viewDetailsLabel: f = "View details", unsupportedTooltipLabel: m = "Selected model does not support skills. Remove the skill or select different model to proceed.", deletedTooltipLabel: h = "This skill has been deleted. Its details are no longer available.", notSharedTooltipLabel: g = "You don't have access to this skill, so its details aren't shown. Ask the chat owner to share it with you." } = d, [_, v] = O(0), [y, x] = O(!1), S = l === "click", C = () => {
55
55
  x(!1), v((e) => e + 1), u(t);
56
56
  }, w = (e) => {
@@ -64,18 +64,18 @@ var V = {
64
64
  open: S ? y : void 0,
65
65
  onOpenChange: S ? x : void 0,
66
66
  contentClassName: "max-w-[550px]",
67
- content: a == null ? i ? /* @__PURE__ */ F(U, { unsupportedMessage: m }) : /* @__PURE__ */ F(U, {
67
+ content: a == null ? i ? /* @__PURE__ */ F(H, { unsupportedMessage: m }) : /* @__PURE__ */ F(H, {
68
68
  description: n,
69
69
  viewDetailsLabel: f,
70
70
  onViewDetails: C
71
- }) : /* @__PURE__ */ F(U, {
71
+ }) : /* @__PURE__ */ F(H, {
72
72
  unresolvedReason: a,
73
73
  deletedMessage: h,
74
74
  notSharedMessage: g
75
75
  }),
76
76
  children: /* @__PURE__ */ I("span", {
77
77
  tabIndex: 0,
78
- className: r("relative -me-1 -ms-1 inline cursor-pointer select-text rounded-full pe-1 ps-1", i ? c : "hover:bg-info focus-visible:bg-info active:bg-info", i ? r(o, s) : o, V.chip),
78
+ className: r("relative -me-1 -ms-1 inline cursor-pointer select-text rounded-full pe-1 ps-1", i ? c : "hover:bg-info focus-visible:bg-info active:bg-info", i ? r(o, s) : o, B.chip),
79
79
  "aria-label": `/${e}`,
80
80
  onClick: S ? () => x(!0) : void 0,
81
81
  onKeyDown: w,
@@ -92,7 +92,7 @@ var V = {
92
92
  })]
93
93
  })
94
94
  }, _);
95
- }, G = {
95
+ }, W = {
96
96
  row: "_row_1v431_1",
97
97
  header: "_header_1v431_8",
98
98
  emptyHint: "_emptyHint_1v431_12",
@@ -103,67 +103,67 @@ var V = {
103
103
  rowLeaving: "_rowLeaving_1v431_32",
104
104
  rowFadeOut: "_rowFadeOut_1v431_1",
105
105
  listContent: "_listContent_1v431_60"
106
- }, ee = "px-3 pb-0.5 pt-2", K = 180, q = 288, J = ({ favorites: n, onSelect: i, onToggleFavorite: a, onBrowse: o, onViewDetails: s, className: l, rowClassName: u, searchQuery: m, listboxId: h, activeOptionId: g, isMenu: _ = !1, labels: y = {}, colors: b, nameClassName: x = "dial-small-text", headerClassName: S = "dial-tiny-lead-semi-text", emptyHintClassName: E = "dial-small-text" }) => {
106
+ }, G = "px-3 pb-0.5 pt-2", te = 180, ne = 288, K = ({ favorites: n, onSelect: i, onToggleFavorite: a, onBrowse: o, onViewDetails: s, className: l, rowClassName: u, searchQuery: m, listboxId: h, activeOptionId: g, isMenu: _ = !1, labels: y = {}, colors: b, nameClassName: x = "dial-small-text", headerClassName: S = "dial-tiny-lead-semi-text", emptyHintClassName: E = "dial-small-text" }) => {
107
107
  let { myCollectionLabel: k = "My Collection", emptyHintLabel: A = "Star a skill to pin it here", browseLabel: j = "Browse", removeFromFavoritesLabel: N = "Remove from favorites", viewDetailsLabel: P = "View details", noMatchingSkillsLabel: L = "No matching skills" } = y, R = t({
108
108
  "--fs-row-hover-bg": b?.rowHoverBackground,
109
109
  "--fs-header-text": b?.headerText,
110
110
  "--fs-empty-hint-text": b?.emptyHintText,
111
111
  "--fs-star-color": b?.starColor,
112
112
  "--fs-footer-border": b?.footerBorder
113
- }), [z, B] = O(/* @__PURE__ */ new Set()), H = D(/* @__PURE__ */ new Map());
113
+ }), [ee, z] = O(/* @__PURE__ */ new Set()), V = D(/* @__PURE__ */ new Map());
114
114
  C(() => {
115
- let e = H.current;
115
+ let e = V.current;
116
116
  return () => {
117
117
  e.forEach((e) => clearTimeout(e)), e.clear();
118
118
  };
119
119
  }, []);
120
- let W = h != null, J = _ && !W, Y = W || J ? "none" : void 0, X = "button";
121
- W ? X = "option" : J && (X = "menuitem");
122
- let te = w(), Z = m != null, Q = m?.toLowerCase() ?? "", ne = Z ? n.filter((e) => e.name.toLowerCase().includes(Q)) : n, $ = D(null), [re, ie] = O();
120
+ let U = h != null, K = _ && !U, q = U || K ? "none" : void 0, J = "button";
121
+ U ? J = "option" : K && (J = "menuitem");
122
+ let Y = w(), X = m != null, Z = m?.toLowerCase() ?? "", re = X ? n.filter((e) => e.name.toLowerCase().includes(Z)) : n, Q = D(null), [ie, ae] = O();
123
123
  T(() => {
124
- $.current && ie(Math.min($.current.scrollHeight, q));
124
+ Q.current && ae(Math.min(Q.current.scrollHeight, ne));
125
125
  }, [n, m]);
126
- let ae = (e, t) => {
126
+ let $ = (e, t) => {
127
127
  e.target === e.currentTarget && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), i(t));
128
128
  }, oe = (e) => {
129
- B((t) => new Set(t).add(e));
129
+ z((t) => new Set(t).add(e));
130
130
  let t = setTimeout(() => {
131
- a?.(e), B((t) => {
131
+ a?.(e), z((t) => {
132
132
  let n = new Set(t);
133
133
  return n.delete(e), n;
134
- }), H.current.delete(e);
135
- }, K);
136
- H.current.set(e, t);
134
+ }), V.current.delete(e);
135
+ }, te);
136
+ V.current.set(e, t);
137
137
  };
138
138
  return /* @__PURE__ */ I("div", {
139
- className: r("flex w-full flex-col desktop:w-[280px]", l, V.favoritesPanel),
139
+ className: r("flex w-full flex-col desktop:w-[280px]", l, B.favoritesPanel),
140
140
  style: R,
141
141
  children: [
142
142
  /* @__PURE__ */ F("p", {
143
- id: te,
144
- className: r(S, ee, G.header),
143
+ id: Y,
144
+ className: r(S, G, W.header),
145
145
  children: k
146
146
  }),
147
147
  /* @__PURE__ */ F("div", {
148
- className: r("max-h-72 min-h-0 flex-1 overflow-y-auto", G.listContent),
149
- style: { maxHeight: re },
148
+ className: r("max-h-72 min-h-0 flex-1 overflow-y-auto", W.listContent),
149
+ style: { maxHeight: ie },
150
150
  children: /* @__PURE__ */ F("div", {
151
- ref: $,
152
- children: ne.length > 0 ? /* @__PURE__ */ F("ul", {
151
+ ref: Q,
152
+ children: re.length > 0 ? /* @__PURE__ */ F("ul", {
153
153
  id: h,
154
- role: W ? "listbox" : Y,
155
- "aria-labelledby": W ? te : void 0,
154
+ role: U ? "listbox" : q,
155
+ "aria-labelledby": U ? Y : void 0,
156
156
  className: "flex flex-col gap-1 px-1 pb-1",
157
- children: ne.map((t) => {
158
- let n = W ? `${h}-${encodeURIComponent(t.id)}` : void 0, o = W ? -1 : void 0, l = /* @__PURE__ */ I("div", {
159
- role: X,
157
+ children: re.map((t) => {
158
+ let n = U ? `${h}-${encodeURIComponent(t.id)}` : void 0, o = U ? -1 : void 0, l = /* @__PURE__ */ I("div", {
159
+ role: J,
160
160
  id: n,
161
- "aria-selected": W ? n === g : void 0,
161
+ "aria-selected": U ? n === g : void 0,
162
162
  "aria-label": t.name,
163
163
  tabIndex: 0,
164
- className: r("flex cursor-pointer items-center gap-2 rounded-lg border border-transparent px-2 py-1.5 transition-colors", G.row, u),
164
+ className: r("flex cursor-pointer items-center gap-2 rounded-lg border border-transparent px-2 py-1.5 transition-colors", W.row, u),
165
165
  onClick: () => i(t),
166
- onKeyDown: (e) => ae(e, t),
166
+ onKeyDown: (e) => $(e, t),
167
167
  children: [
168
168
  /* @__PURE__ */ F(e, {
169
169
  size: c.MD,
@@ -181,7 +181,7 @@ var V = {
181
181
  a && /* @__PURE__ */ F(v, {
182
182
  icon: /* @__PURE__ */ F(M, {
183
183
  size: c.SM,
184
- className: G.star,
184
+ className: W.star,
185
185
  "aria-hidden": !0
186
186
  }),
187
187
  "aria-label": N,
@@ -194,12 +194,12 @@ var V = {
194
194
  ]
195
195
  });
196
196
  return /* @__PURE__ */ F("li", {
197
- role: Y,
198
- className: z.has(t.id) ? G.rowLeaving : G.rowEnter,
197
+ role: q,
198
+ className: ee.has(t.id) ? W.rowLeaving : W.rowEnter,
199
199
  children: s ? /* @__PURE__ */ F(p, {
200
200
  asChild: !0,
201
201
  contentClassName: "max-w-[550px]",
202
- content: /* @__PURE__ */ F(U, {
202
+ content: /* @__PURE__ */ F(H, {
203
203
  description: t.description,
204
204
  viewDetailsLabel: P,
205
205
  onViewDetails: () => s(t),
@@ -209,21 +209,21 @@ var V = {
209
209
  }) : l
210
210
  }, t.id);
211
211
  })
212
- }) : Z && Q !== "" ? /* @__PURE__ */ F("p", {
212
+ }) : X && Z !== "" ? /* @__PURE__ */ F("p", {
213
213
  role: "status",
214
214
  "aria-live": "polite",
215
- className: r(E, "px-4 py-4 text-start", G.emptyHint),
215
+ className: r(E, "px-4 py-4 text-start", W.emptyHint),
216
216
  children: L
217
217
  }) : /* @__PURE__ */ F("p", {
218
- className: r(E, "px-4 py-4 text-start", G.emptyHint),
218
+ className: r(E, "px-4 py-4 text-start", W.emptyHint),
219
219
  children: A
220
220
  })
221
221
  })
222
222
  }),
223
223
  /* @__PURE__ */ F("div", {
224
- className: r("border-t px-2 py-3", G.footer),
224
+ className: r("border-t px-2 py-3", W.footer),
225
225
  children: /* @__PURE__ */ F(d, {
226
- role: J ? "menuitem" : void 0,
226
+ role: K ? "menuitem" : void 0,
227
227
  label: j,
228
228
  className: "w-full justify-center",
229
229
  onClick: o
@@ -231,7 +231,7 @@ var V = {
231
231
  })
232
232
  ]
233
233
  });
234
- }, Y = ".zip,.md", X = ({ isOpen: e, errorText: t, isUploading: n = !1, accept: r = Y, labels: i, onClose: a, onFilesSelected: o, onFilesRejected: s }) => {
234
+ }, q = ".zip,.md", J = ({ isOpen: e, errorText: t, isUploading: n = !1, accept: r = q, labels: i, onClose: a, onFilesSelected: o, onFilesRejected: s }) => {
235
235
  let { dialogTitle: c = "Upload skill", dropZoneLabel: l = "Drag and drop it or click here to upload", dropZoneMobileLabel: d = "Click here to upload", formatsLabel: f = "File formats .zip and SKILL.md", fileInputAriaLabel: p = "Upload a skill ZIP archive or a SKILL.md file", closeAriaLabel: g = "Close", uploadingAriaLabel: v = "Uploading skill" } = i ?? {};
236
236
  return /* @__PURE__ */ F(m, {
237
237
  open: e,
@@ -259,7 +259,7 @@ var V = {
259
259
  }), n && /* @__PURE__ */ F(_, { ariaLabel: v })]
260
260
  })
261
261
  });
262
- }, te = ({ isOpen: e, onClose: t, onSelect: n, title: r, renderContent: i }) => /* @__PURE__ */ F(m, {
262
+ }, Y = ({ isOpen: e, onClose: t, onSelect: n, title: r, renderContent: i }) => /* @__PURE__ */ F(m, {
263
263
  open: e,
264
264
  header: r,
265
265
  size: h.Lg,
@@ -272,21 +272,21 @@ var V = {
272
272
  children: e && i(n, t)
273
273
  })
274
274
  })
275
- }), Z = (e, t = null) => e.map((e) => e.type === z.Folder ? {
275
+ }), X = (e, t = null) => e.map((e) => e.type === ee.Folder ? {
276
276
  path: e.id,
277
277
  name: e.name,
278
278
  nodeType: L.FOLDER,
279
279
  parentPath: t,
280
280
  folderId: e.id,
281
- items: Z(e.items, e.id)
281
+ items: X(e.items, e.id)
282
282
  } : {
283
283
  path: e.id,
284
284
  name: e.name,
285
285
  nodeType: L.ITEM,
286
286
  parentPath: t,
287
287
  folderId: t ?? ""
288
- }), Q = ({ nodes: e, selectedFileId: t, expandedFolderIds: n, onToggleFolder: r, onSelectFile: i, onClose: a, ariaLabel: o }) => /* @__PURE__ */ F(R, {
289
- items: E(() => Z(e), [e]),
288
+ }), Z = ({ nodes: e, selectedFileId: t, expandedFolderIds: n, onToggleFolder: r, onSelectFile: i, onClose: a, ariaLabel: o }) => /* @__PURE__ */ F(R, {
289
+ items: E(() => X(e), [e]),
290
290
  showFiles: !0,
291
291
  areHiddenFilesVisible: !0,
292
292
  selectedPath: t,
@@ -301,10 +301,10 @@ var V = {
301
301
  ariaLabel: o,
302
302
  autoFocus: !0,
303
303
  onEscape: a
304
- }), ne = (e) => /* @__PURE__ */ F(B, {
304
+ }), re = (e) => /* @__PURE__ */ F(z, {
305
305
  ...e,
306
- renderContentFileTree: (e) => /* @__PURE__ */ F(Q, { ...e })
307
- }), $ = (e) => e == null || /[\s/]/.test(e), re = (e, t, n) => {
306
+ renderContentFileTree: (e) => /* @__PURE__ */ F(Z, { ...e })
307
+ }), Q = (e) => e == null || /[\s/]/.test(e), ie = (e, t, n) => {
308
308
  let r = [], i = 0;
309
309
  return t.forEach((t, a) => {
310
310
  let o = `/${n(t.url)}`, s = i;
@@ -312,7 +312,7 @@ var V = {
312
312
  let t = e.indexOf(o, s);
313
313
  if (t === -1) return;
314
314
  let n = t + o.length;
315
- if ($(e[n])) {
315
+ if (Q(e[n])) {
316
316
  r.push({
317
317
  skillIndex: a,
318
318
  start: t,
@@ -323,7 +323,7 @@ var V = {
323
323
  s = t + 1;
324
324
  }
325
325
  }), r;
326
- }, ie = (e, t) => {
326
+ }, ae = (e, t) => {
327
327
  let n = Math.min(e.length, t.length), r = 0;
328
328
  for (; r < n && e[r] === t[r];) r += 1;
329
329
  let i = n - r, a = 0;
@@ -333,7 +333,7 @@ var V = {
333
333
  deletedLength: e.length - r - a,
334
334
  insertedLength: t.length - r - a
335
335
  };
336
- }, ae = (e, t) => {
336
+ }, $ = (e, t) => {
337
337
  let n = t.start + t.deletedLength, r = t.insertedLength - t.deletedLength;
338
338
  return e.reduce((e, i) => i.start + i.length <= t.start ? (e.push(i), e) : (i.start >= n && e.push({
339
339
  ...i,
@@ -366,8 +366,8 @@ var V = {
366
366
  let a = D(n);
367
367
  a.current = n;
368
368
  let o = S((e) => {
369
- let n = ie(i.current, e);
370
- r((e) => ae(e, n)), i.current = e, t(e);
369
+ let n = ae(i.current, e);
370
+ r((e) => $(e, n)), i.current = e, t(e);
371
371
  }, []), s = S((e, n, a) => {
372
372
  let o = i.current, s = !/^\s/.test(o.slice(a)), c = `/${n}${s ? " " : ""}`, l = o.slice(0, a) + c + o.slice(a);
373
373
  return i.current = l, t(l), r((t) => oe(t, a, e, n, s)), s;
@@ -379,7 +379,7 @@ var V = {
379
379
  }, [n]), d = S(() => {
380
380
  t(""), r([]);
381
381
  }, []), f = S((e, n, i) => {
382
- let a = n ?? [], o = re(e, a, i);
382
+ let a = n ?? [], o = ie(e, a, i);
383
383
  t(e), r(o.map((e) => {
384
384
  let t = a[e.skillIndex];
385
385
  return {
@@ -421,8 +421,8 @@ var V = {
421
421
  }, fe = (e) => {
422
422
  let t = e.split("/").filter((e) => e.length > 0);
423
423
  return t[0] !== "skills" || t.length < 3 ? null : t[1];
424
- }, pe = (e, t) => fe(e) === t ? H.Deleted : H.NotShared, me = "/", he = ({ isSkillsSupported: e, skills: t, sharedWithMe: n, publicSkills: r, favoriteIds: a, viewerBucket: o, onToggleFavorite: s, labels: c, historyChipLabelClassName: u, activeMentionDetailsTrigger: d, renderCatalogContent: f, detailsPanelComponent: p }) => {
425
- let { addMenuLabel: m = "Skills", backLabel: h = "Back", catalogModalTitleLabel: g = "Use skill", emptyQueryHintLabel: _ = "Type to filter", deletedTooltipLabel: v, notSharedTooltipLabel: y, panelLabels: b } = c ?? {}, [C, w] = O(!1), [T, A] = O(null), [j, M] = O(0), N = D(null), [P, I] = O(0), [L, R] = O(void 0), z = le(), B = E(() => [
424
+ }, pe = (e, t) => fe(e) === t ? V.Deleted : V.NotShared, me = "/", he = ({ isSkillsSupported: e, skills: t, sharedWithMe: n, publicSkills: r, favoriteIds: a, viewerBucket: o, onToggleFavorite: s, labels: c, historyChipLabelClassName: u, activeMentionDetailsTrigger: d, historyDetailsTrigger: f, renderCatalogContent: p, detailsPanelComponent: m }) => {
425
+ let { addMenuLabel: h = "Skills", backLabel: g = "Back", catalogModalTitleLabel: _ = "Use skill", emptyQueryHintLabel: v = "Type to filter", deletedTooltipLabel: y, notSharedTooltipLabel: b, unsupportedTooltipLabel: C, panelLabels: w } = c ?? {}, [T, A] = O(!1), [j, M] = O(null), [N, P] = O(0), I = D(null), [L, R] = O(0), [ee, z] = O(void 0), B = le(), V = E(() => [
426
426
  ...t,
427
427
  ...n ?? [],
428
428
  ...r ?? []
@@ -430,209 +430,217 @@ var V = {
430
430
  t,
431
431
  n,
432
432
  r
433
- ]), V = E(() => new Map(B.map((e) => [e.url, e])), [B]), H = S((e) => V.get(e)?.name ?? de(e), [V]), U = E(() => B.filter((e) => a.has(e.url)).map((e) => ue(e)), [B, a]), G = z.anchors.length > 0 && !e, ee = E(() => z.anchors.map((t) => ({
433
+ ]), H = E(() => new Map(V.map((e) => [e.url, e])), [V]), W = S((e) => H.get(e)?.name ?? de(e), [H]), G = E(() => V.filter((e) => a.has(e.url)).map((e) => ue(e)), [V, a]), te = B.anchors.length > 0 && !e, ne = E(() => B.anchors.map((t) => ({
434
434
  start: t.start,
435
435
  length: t.length,
436
436
  isUnsupported: !e,
437
- render: () => /* @__PURE__ */ F(W, {
437
+ render: () => /* @__PURE__ */ F(U, {
438
438
  name: t.name,
439
439
  path: t.url,
440
440
  labelClassName: u,
441
- description: V.get(t.url)?.description,
441
+ description: H.get(t.url)?.description,
442
442
  isUnsupported: !e,
443
443
  detailsTrigger: d,
444
- onViewDetails: A,
445
- labels: { viewDetailsLabel: b?.viewDetailsLabel }
444
+ onViewDetails: M,
445
+ labels: {
446
+ viewDetailsLabel: w?.viewDetailsLabel,
447
+ unsupportedTooltipLabel: C
448
+ }
446
449
  })
447
450
  })), [
448
- z.anchors,
451
+ B.anchors,
449
452
  e,
450
- V,
453
+ H,
451
454
  u,
452
455
  d,
453
- b
454
- ]), K = S((e, t, n) => {
455
- let r = z.insertMention(e, t, n);
456
- I((e) => e + 1), R(n + 1 + t.length + +!!r);
457
- }, [z]), q = S((e) => {
458
- let t = ce(z.draft, e, me);
459
- return t == null ? e : (z.onDraftChange(z.draft.slice(0, t.start) + z.draft.slice(t.end)), t.start);
460
- }, [z]), Y = S((e) => {
461
- let t = ce(z.draft, e, me);
456
+ w,
457
+ C
458
+ ]), q = S((e, t, n) => {
459
+ let r = B.insertMention(e, t, n);
460
+ R((e) => e + 1), z(n + 1 + t.length + +!!r);
461
+ }, [B]), J = S((e) => {
462
+ let t = ce(B.draft, e, me);
463
+ return t == null ? e : (B.onDraftChange(B.draft.slice(0, t.start) + B.draft.slice(t.end)), t.start);
464
+ }, [B]), X = S((e) => {
465
+ let t = ce(B.draft, e, me);
462
466
  if (t == null) return;
463
- let n = z.anchors.find((e) => e.start === t.start && e.start + e.length === t.end);
467
+ let n = B.anchors.find((e) => e.start === t.start && e.start + e.length === t.end);
464
468
  return {
465
469
  position: t.start,
466
- text: z.draft.slice(t.start, t.end),
470
+ text: B.draft.slice(t.start, t.end),
467
471
  mentionUrl: n?.url
468
472
  };
469
- }, [z]), X = S(() => {
470
- z.reset(), I((e) => e + 1), R(void 0);
471
- }, [z]), Z = S((e, t) => {
472
- z.seedFromMessage(e, t, H), I((e) => e + 1), R(void 0);
473
- }, [z, H]), Q = S((e, t) => {
473
+ }, [B]), Z = S(() => {
474
+ B.reset(), R((e) => e + 1), z(void 0);
475
+ }, [B]), re = S((e, t) => {
476
+ B.seedFromMessage(e, t, W), R((e) => e + 1), z(void 0);
477
+ }, [B, W]), Q = S((e, t) => {
474
478
  if (t == null || t.length === 0) return null;
475
- let n = re(e, t, H), r = [], i = 0;
479
+ let n = ie(e, t, W), r = [], i = 0;
476
480
  return n.forEach((n) => {
477
481
  n.start > i && r.push(e.slice(i, n.start));
478
- let a = t[n.skillIndex], s = V.get(a.url), c = s?.name ?? de(a.url), l = s == null ? pe(a.url, o) : void 0;
479
- r.push(/* @__PURE__ */ F(W, {
482
+ let a = t[n.skillIndex], s = H.get(a.url), c = s?.name ?? de(a.url), l = s == null ? pe(a.url, o) : void 0;
483
+ r.push(/* @__PURE__ */ F(U, {
480
484
  name: c,
481
485
  path: a.url,
482
486
  labelClassName: u,
483
487
  description: s?.description,
484
488
  unresolvedReason: l,
485
- onViewDetails: A,
489
+ detailsTrigger: f,
490
+ onViewDetails: M,
486
491
  labels: {
487
- viewDetailsLabel: b?.viewDetailsLabel,
488
- deletedTooltipLabel: v,
489
- notSharedTooltipLabel: y
492
+ viewDetailsLabel: w?.viewDetailsLabel,
493
+ deletedTooltipLabel: y,
494
+ notSharedTooltipLabel: b
490
495
  }
491
496
  }, `${a.url}-${n.start}`)), i = n.start + n.length;
492
497
  }), i < e.length && r.push(e.slice(i)), r;
493
498
  }, [
499
+ W,
494
500
  H,
495
- V,
496
501
  u,
497
- b,
502
+ f,
503
+ w,
498
504
  o,
499
- v,
500
- y
501
- ]), ne = S((e) => e == null || e.length === 0 ? null : e.map((e) => {
502
- let t = V.get(e.url), n = t?.name ?? de(e.url), r = t == null ? pe(e.url, o) : void 0;
503
- return /* @__PURE__ */ F(W, {
505
+ y,
506
+ b
507
+ ]), ae = S((e) => e == null || e.length === 0 ? null : e.map((e) => {
508
+ let t = H.get(e.url), n = t?.name ?? de(e.url), r = t == null ? pe(e.url, o) : void 0;
509
+ return /* @__PURE__ */ F(U, {
504
510
  name: n,
505
511
  path: e.url,
506
512
  labelClassName: u,
507
513
  description: t?.description,
508
514
  unresolvedReason: r,
509
- onViewDetails: A,
515
+ detailsTrigger: f,
516
+ onViewDetails: M,
510
517
  labels: {
511
- viewDetailsLabel: b?.viewDetailsLabel,
512
- deletedTooltipLabel: v,
513
- notSharedTooltipLabel: y
518
+ viewDetailsLabel: w?.viewDetailsLabel,
519
+ deletedTooltipLabel: y,
520
+ notSharedTooltipLabel: b
514
521
  }
515
522
  }, e.url);
516
523
  }), [
517
- V,
524
+ H,
518
525
  u,
519
- b,
526
+ f,
527
+ w,
520
528
  o,
521
- v,
522
- y
523
- ]), $ = S((e, t) => /* @__PURE__ */ F(J, {
524
- favorites: U,
529
+ y,
530
+ b
531
+ ]), $ = S((e, t) => /* @__PURE__ */ F(K, {
532
+ favorites: G,
525
533
  isMenu: !0,
526
534
  onSelect: (n) => {
527
- K(n.id, n.name, q(t)), e();
535
+ q(n.id, n.name, J(t)), e();
528
536
  },
529
537
  onToggleFavorite: s,
530
538
  onBrowse: () => {
531
- let n = Y(t);
532
- M(q(t)), N.current = n ?? null, e(), w(!0);
539
+ let n = X(t);
540
+ P(J(t)), I.current = n ?? null, e(), A(!0);
533
541
  },
534
542
  onViewDetails: (n) => {
535
- q(t), e(), A(n.id);
543
+ J(t), e(), M(n.id);
536
544
  },
537
- labels: b
545
+ labels: w
538
546
  }), [
539
- U,
540
- K,
547
+ G,
541
548
  q,
542
- Y,
549
+ J,
550
+ X,
543
551
  s,
544
- b
552
+ w
545
553
  ]);
546
554
  return {
547
555
  skillMenuOverlay: E(() => e ? {
548
556
  key: "skills",
549
- title: m,
557
+ title: h,
550
558
  icon: /* @__PURE__ */ F(k, {
551
559
  size: i,
552
560
  "aria-hidden": !0,
553
561
  stroke: l
554
562
  }),
555
563
  renderOverlay: $,
556
- backLabel: h
564
+ backLabel: g
557
565
  } : void 0, [
558
566
  e,
559
- m,
560
567
  h,
568
+ g,
561
569
  $
562
570
  ]),
563
571
  commandMenu: E(() => e ? {
564
572
  triggerPrefix: me,
565
- menuLabel: m,
566
- emptyQueryHint: _,
567
- renderMenu: ({ query: e, caretPosition: t, close: n, listboxId: r, activeOptionId: i }) => /* @__PURE__ */ F(J, {
568
- favorites: U,
573
+ menuLabel: h,
574
+ emptyQueryHint: v,
575
+ renderMenu: ({ query: e, caretPosition: t, close: n, listboxId: r, activeOptionId: i }) => /* @__PURE__ */ F(K, {
576
+ favorites: G,
569
577
  searchQuery: e,
570
578
  listboxId: r,
571
579
  activeOptionId: i,
572
580
  onSelect: (e) => {
573
- n({ consumeQuery: !0 }), K(e.id, e.name, t);
581
+ n({ consumeQuery: !0 }), q(e.id, e.name, t);
574
582
  },
575
583
  onToggleFavorite: s,
576
584
  onBrowse: () => {
577
- let r = `${me}${e}`, i = z.anchors.find((e) => e.start === t && e.length === r.length);
585
+ let r = `${me}${e}`, i = B.anchors.find((e) => e.start === t && e.length === r.length);
578
586
  n({
579
587
  consumeQuery: !0,
580
588
  returnFocus: !1
581
- }), M(t), N.current = {
589
+ }), P(t), I.current = {
582
590
  position: t,
583
591
  text: r,
584
592
  mentionUrl: i?.url
585
- }, w(!0);
593
+ }, A(!0);
586
594
  },
587
595
  onViewDetails: (e) => {
588
- n({ consumeQuery: !0 }), A(e.id);
596
+ n({ consumeQuery: !0 }), M(e.id);
589
597
  },
590
- labels: b
598
+ labels: w
591
599
  })
592
600
  } : void 0, [
593
601
  e,
594
- m,
595
- _,
596
- U,
597
- K,
598
- z.anchors,
602
+ h,
603
+ v,
604
+ G,
605
+ q,
606
+ B.anchors,
599
607
  s,
600
- b
608
+ w
601
609
  ]),
602
- skillCatalogModal: /* @__PURE__ */ F(te, {
603
- isOpen: C,
610
+ skillCatalogModal: /* @__PURE__ */ F(Y, {
611
+ isOpen: T,
604
612
  onClose: S(() => {
605
- w(!1);
606
- let e = N.current;
607
- if (N.current = null, e == null) return;
613
+ A(!1);
614
+ let e = I.current;
615
+ if (I.current = null, e == null) return;
608
616
  let { position: t, text: n, mentionUrl: r } = e;
609
- r == null ? z.onDraftChange(z.draft.slice(0, t) + n + z.draft.slice(t)) : z.restoreMention(r, n.slice(1), t), I((e) => e + 1), R(t + n.length);
610
- }, [z]),
617
+ r == null ? B.onDraftChange(B.draft.slice(0, t) + n + B.draft.slice(t)) : B.restoreMention(r, n.slice(1), t), R((e) => e + 1), z(t + n.length);
618
+ }, [B]),
611
619
  onSelect: (e) => {
612
- N.current = null, K(e, H(e), j), w(!1);
620
+ I.current = null, q(e, W(e), N), A(!1);
613
621
  },
614
- title: g,
615
- renderContent: f
622
+ title: _,
623
+ renderContent: p
616
624
  }),
617
625
  skillDetailsPanel: /* @__PURE__ */ F(x, {
618
626
  fallback: null,
619
- children: /* @__PURE__ */ F(p, {
620
- skillId: T,
621
- onClose: () => A(null)
627
+ children: /* @__PURE__ */ F(m, {
628
+ skillId: j,
629
+ onClose: () => M(null)
622
630
  })
623
631
  }),
624
- message: z.draft,
625
- messageRevision: P,
626
- activeMentions: ee,
627
- onDraftChange: z.onDraftChange,
628
- onBackspaceAtCaret: z.onBackspaceAtCaret,
629
- caretPositionOverride: L,
630
- isSkillUnsupported: G,
631
- selectedSkills: z.orderedSkills,
632
- resetSkillMentions: X,
633
- seedSkillMentions: Z,
632
+ message: B.draft,
633
+ messageRevision: L,
634
+ activeMentions: ne,
635
+ onDraftChange: B.onDraftChange,
636
+ onBackspaceAtCaret: B.onBackspaceAtCaret,
637
+ caretPositionOverride: ee,
638
+ isSkillUnsupported: te,
639
+ selectedSkills: B.orderedSkills,
640
+ resetSkillMentions: Z,
641
+ seedSkillMentions: re,
634
642
  renderHistorySkillSegments: Q,
635
- renderHistorySkills: ne
643
+ renderHistorySkills: ae
636
644
  };
637
645
  }, ge = {
638
646
  background: "_background_14zdf_1",
@@ -679,7 +687,7 @@ var V = {
679
687
  E
680
688
  ]), /* @__PURE__ */ I("div", {
681
689
  ref: S,
682
- className: r("min-w-0", m, V.selectorField),
690
+ className: r("min-w-0", m, B.selectorField),
683
691
  style: R,
684
692
  children: [/* @__PURE__ */ F(y, {
685
693
  tooltip: j,
@@ -721,4 +729,4 @@ var V = {
721
729
  });
722
730
  };
723
731
  //#endregion
724
- export { W as ChatSkill, J as FavoriteSkillsPanel, V as SKILLS_CLASS, X as SkillArchiveUploadDialog, te as SkillCatalogModal, Q as SkillContentFileTree, ne as SkillDetailsSidePanel, U as SkillInfoTooltipContent, ye as SkillSelectorField, H as SkillUnresolvedReason, ue as buildFavoriteSkillItem, ie as diffTextChange, se as findMentionAtCaret, de as getSkillFallbackName, oe as insertAnchor, re as matchSkillMentions, ae as reconcileAnchors, le as useSkillMentions, he as useSkillSelectorOverlay };
732
+ export { U as ChatSkill, K as FavoriteSkillsPanel, B as SKILLS_CLASS, J as SkillArchiveUploadDialog, Y as SkillCatalogModal, Z as SkillContentFileTree, re as SkillDetailsSidePanel, H as SkillInfoTooltipContent, ye as SkillSelectorField, V as SkillUnresolvedReason, ue as buildFavoriteSkillItem, ae as diffTextChange, se as findMentionAtCaret, de as getSkillFallbackName, oe as insertAnchor, ie as matchSkillMentions, $ as reconcileAnchors, le as useSkillMentions, he as useSkillSelectorOverlay };
@@ -41,6 +41,11 @@ export interface SkillSelectorOverlayLabels {
41
41
  * Defaults to `ChatSkill`'s own default text.
42
42
  */
43
43
  notSharedTooltipLabel?: string;
44
+ /**
45
+ * Tooltip message shown on an active `/name` mention while the selected
46
+ * model does not support skills. Defaults to `ChatSkill`'s own default text.
47
+ */
48
+ unsupportedTooltipLabel?: string;
44
49
  /** Labels forwarded to the favorites panel rendered as the overlay. */
45
50
  panelLabels?: FavoriteSkillsPanelLabels;
46
51
  }
@@ -93,6 +98,12 @@ export interface UseSkillSelectorOverlayOptions {
93
98
  * `ChatSkill`'s hover-and-focus default; history chips are unaffected.
94
99
  */
95
100
  activeMentionDetailsTrigger?: ChatSkillDetailsTrigger;
101
+ /**
102
+ * Trigger used by history chips (sent user and assistant messages). Unset
103
+ * retains `ChatSkill`'s hover-and-focus default; pass `'click'` on touch
104
+ * layouts, where hover never fires.
105
+ */
106
+ historyDetailsTrigger?: ChatSkillDetailsTrigger;
96
107
  /**
97
108
  * Renders the browse modal's picker content (e.g. a host catalog view);
98
109
  * receives the selection and close callbacks to wire into it, and is
@@ -1 +1 @@
1
- {"version":3,"file":"skill-selector-overlay.d.ts","sourceRoot":"","sources":["../../src/models/skill-selector-overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE/E;;;;;GAKG;AACH,MAAM,WAAW,+BAA+B;IAC9C,iFAAiF;IACjF,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,2EAA2E;IAC3E,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,qEAAqE;AACrE,MAAM,WAAW,0BAA0B;IACzC,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gFAAgF;IAChF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;;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E,SAAS,CAAC;IAC7B;;OAEG;IACH,iBAAiB,EAAE,SAAS,CAAC;IAC7B;;;;;;;;OAQG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,cAAc,EAAE,oBAAoB,EAAE,CAAC;IACvC;;;;;;OAMG;IACH,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C;;;;;;;OAOG;IACH,kBAAkB,EAAE,CAClB,aAAa,EAAE,MAAM,KAClB,oBAAoB,GAAG,SAAS,CAAC;IACtC;;;;;;OAMG;IACH,qBAAqB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C;;;;OAIG;IACH,kBAAkB,EAAE,OAAO,CAAC;IAC5B;;;;;OAKG;IACH,cAAc,EAAE,YAAY,EAAE,GAAG,SAAS,CAAC;IAC3C;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B;;;;;;OAMG;IACH,iBAAiB,EAAE,CACjB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAC/B,IAAI,CAAC;IACV;;;;;;;;;;;;;;OAcG;IACH,0BAA0B,EAAE,CAC1B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAC/B,SAAS,EAAE,GAAG,IAAI,CAAC;IACxB;;;;;;;OAOG;IACH,mBAAmB,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAAK,SAAS,CAAC;CACxE"}
1
+ {"version":3,"file":"skill-selector-overlay.d.ts","sourceRoot":"","sources":["../../src/models/skill-selector-overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAC1C,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EAAE,YAAY,EAAE,GAAG,SAAS,CAAC;IAC3C;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B;;;;;;OAMG;IACH,iBAAiB,EAAE,CACjB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAC/B,IAAI,CAAC;IACV;;;;;;;;;;;;;;OAcG;IACH,0BAA0B,EAAE,CAC1B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAC/B,SAAS,EAAE,GAAG,IAAI,CAAC;IACxB;;;;;;;OAOG;IACH,mBAAmB,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,SAAS,KAAK,SAAS,CAAC;CACxE"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-skills",
3
3
  "description": "Host-agnostic UI for picking a favorite skill to attach to a chat input",
4
- "version": "1.2.0-dev.284",
4
+ "version": "1.2.0-dev.285",
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-catalog": "1.2.0-dev.284",
22
- "@epam/ai-dial-conversation-input": "1.2.0-dev.284"
21
+ "@epam/ai-dial-catalog": "1.2.0-dev.285",
22
+ "@epam/ai-dial-conversation-input": "1.2.0-dev.285"
23
23
  },
24
24
  "peerDependencies": {
25
- "@epam/ai-dial-chat-shared": "1.2.0-dev.284",
25
+ "@epam/ai-dial-chat-shared": "1.2.0-dev.285",
26
26
  "@epam/ai-dial-react-file-manager": "^0.3.0-dev.25",
27
27
  "@epam/ai-dial-ui-kit": "^0.15.0-dev.36",
28
28
  "react": "^19.2.8"