@epam/ai-dial-skills 1.2.0-dev.48 → 1.2.0-dev.58

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":"ChatSkill.d.ts","sourceRoot":"","sources":["../../../src/components/ChatSkill/ChatSkill.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAGpE;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAmFxC,CAAC"}
1
+ {"version":3,"file":"ChatSkill.d.ts","sourceRoot":"","sources":["../../../src/components/ChatSkill/ChatSkill.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAGpE;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CAmFxC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FavoriteSkillsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/FavoriteSkillsPanel/FavoriteSkillsPanel.tsx"],"names":[],"mappings":"AAaA,OAAO,EAKL,KAAK,EAAE,EAER,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AAYzF,sHAAsH;AACtH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CA2P5D,CAAC"}
1
+ {"version":3,"file":"FavoriteSkillsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/FavoriteSkillsPanel/FavoriteSkillsPanel.tsx"],"names":[],"mappings":"AAaA,OAAO,EAKL,KAAK,EAAE,EAER,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AAYzF,sHAAsH;AACtH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAiQ5D,CAAC"}
@@ -0,0 +1,13 @@
1
+ export declare const SKILLS_CLASS: {
2
+ /** The favorite-skills panel root, which carries the themed CSS variables. */
3
+ readonly favoritesPanel: "dial-skills-favorites-panel";
4
+ /**
5
+ * The `/name` chip a `ChatSkill` renders inside the composer, additive to
6
+ * the `dial-kit-base-button` that `@epam/ai-dial-ui-kit` draws. The chip's
7
+ * height is its label line, so a host changing its padding should keep the
8
+ * vertical padding at zero or the chip stops aligning with the input's first
9
+ * text line.
10
+ */
11
+ readonly chip: "dial-skills-chip";
12
+ };
13
+ //# sourceMappingURL=public-class-names.d.ts.map
@@ -0,0 +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,8EAA8E;;IAE9E;;;;;;OAMG;;CAEK,CAAC"}
package/index.d.ts CHANGED
@@ -12,4 +12,5 @@ export type { SkillCatalogModalProps } from './models/skill-catalog-modal-props'
12
12
  export type { SkillDetailsSidePanelProps } from './models/skill-details-side-panel-props';
13
13
  export type { SkillInfoTooltipContentProps } from './models/skill-info-tooltip-content-props';
14
14
  export type { SkillDetailsPanelComponentProps, SkillSelectorOverlayLabels, UseSkillSelectorOverlayOptions, UseSkillSelectorOverlayResult, } from './models/skill-selector-overlay';
15
+ export { SKILLS_CLASS } from './constants/public-class-names';
15
16
  //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AACjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,YAAY,EACV,eAAe,EACf,cAAc,GACf,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,sCAAsC,CAAC;AAC9C,YAAY,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,YAAY,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,YAAY,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AAC9F,YAAY,EACV,+BAA+B,EAC/B,0BAA0B,EAC1B,8BAA8B,EAC9B,6BAA6B,GAC9B,MAAM,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AACjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,YAAY,EACV,eAAe,EACf,cAAc,GACf,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,sCAAsC,CAAC;AAC9C,YAAY,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,YAAY,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,YAAY,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AAC9F,YAAY,EACV,+BAA+B,EAC/B,0BAA0B,EAC1B,8BAA8B,EAC9B,6BAA6B,GAC9B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC"}
package/index.js CHANGED
@@ -4,8 +4,11 @@ import { Suspense as g, useCallback as _, useEffect as v, useLayoutEffect as y,
4
4
  import { IconBlocks as C, IconEye as w, IconStarFilled as T } from "@tabler/icons-react";
5
5
  import { jsx as E, jsxs as D } from "react/jsx-runtime";
6
6
  import { DetailsPanel as O } from "@epam/ai-dial-catalog";
7
- //#region src/components/SkillInfoTooltipContent/SkillInfoTooltipContent.tsx
8
- var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View details", onViewDetails: r }) => t == null ? /* @__PURE__ */ D("div", {
7
+ //#region src/constants/public-class-names.ts
8
+ var k = {
9
+ favoritesPanel: "dial-skills-favorites-panel",
10
+ chip: "dial-skills-chip"
11
+ }, A = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View details", onViewDetails: r }) => t == null ? /* @__PURE__ */ D("div", {
9
12
  className: "flex flex-col gap-3",
10
13
  children: [e != null && e !== "" && /* @__PURE__ */ E("p", {
11
14
  className: "text-start",
@@ -25,13 +28,13 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
25
28
  }) : /* @__PURE__ */ E("p", {
26
29
  className: "text-start",
27
30
  children: t
28
- }), A = ({ name: e, path: t, description: r, isUnsupported: i = !1, labelClassName: a = "dial-body-paragraph-text", unsupportedLabelClassName: o = "text-error", unsupportedClassName: s = "bg-error", onViewDetails: c, labels: u = {} }) => {
31
+ }), j = ({ name: e, path: t, description: r, isUnsupported: i = !1, labelClassName: a = "dial-body-paragraph-text", unsupportedLabelClassName: o = "text-error", unsupportedClassName: s = "bg-error", onViewDetails: c, labels: u = {} }) => {
29
32
  let { viewDetailsLabel: f = "View details", unsupportedTooltipLabel: p = "Selected model does not support skills. Remove the skill or select different model to proceed." } = u, [m, g] = S(0);
30
33
  return /* @__PURE__ */ E(d, {
31
34
  asChild: !0,
32
35
  placement: h.Top,
33
36
  contentClassName: "max-w-[550px]",
34
- content: i ? /* @__PURE__ */ E(k, { unsupportedMessage: p }) : /* @__PURE__ */ E(k, {
37
+ content: i ? /* @__PURE__ */ E(A, { unsupportedMessage: p }) : /* @__PURE__ */ E(A, {
35
38
  description: r,
36
39
  viewDetailsLabel: f,
37
40
  onViewDetails: () => {
@@ -43,11 +46,11 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
43
46
  children: /* @__PURE__ */ E(l, {
44
47
  label: `/${e}`,
45
48
  textClassName: i ? n(a, o) : a,
46
- className: i ? n("h-auto px-2 py-0", s) : "h-auto px-2 py-0"
49
+ className: n("h-auto px-2 py-0", i && s, k.chip)
47
50
  })
48
51
  })
49
52
  }, m);
50
- }, j = {
53
+ }, M = {
51
54
  row: "_row_1ovug_1",
52
55
  header: "_header_1ovug_5",
53
56
  emptyHint: "_emptyHint_1ovug_9",
@@ -58,58 +61,58 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
58
61
  rowLeaving: "_rowLeaving_1ovug_29",
59
62
  rowFadeOut: "_rowFadeOut_1ovug_1",
60
63
  listContent: "_listContent_1ovug_57"
61
- }, M = "px-3 pb-0.5 pt-2", N = 180, P = 288, F = ({ favorites: r, onSelect: i, onToggleFavorite: a, onBrowse: o, onViewDetails: c, searchQuery: f, labels: p = {}, colors: h, nameClassName: g = "dial-small-text", headerClassName: _ = "dial-tiny-lead-semi-text", emptyHintClassName: b = "dial-small-text" }) => {
62
- let { myCollectionLabel: C = "My Collection", emptyHintLabel: w = "Star a skill to pin it here", browseLabel: O = "Browse", removeFromFavoritesLabel: A = "Remove from favorites", viewDetailsLabel: F = "View details", noMatchingSkillsLabel: I = "No matching skills" } = p, L = t({
64
+ }, N = "px-3 pb-0.5 pt-2", P = 180, F = 288, I = ({ favorites: r, onSelect: i, onToggleFavorite: a, onBrowse: o, onViewDetails: c, searchQuery: f, labels: p = {}, colors: h, nameClassName: g = "dial-small-text", headerClassName: _ = "dial-tiny-lead-semi-text", emptyHintClassName: b = "dial-small-text" }) => {
65
+ let { myCollectionLabel: C = "My Collection", emptyHintLabel: w = "Star a skill to pin it here", browseLabel: O = "Browse", removeFromFavoritesLabel: j = "Remove from favorites", viewDetailsLabel: I = "View details", noMatchingSkillsLabel: L = "No matching skills" } = p, R = t({
63
66
  "--fs-row-hover-bg": h?.rowHoverBackground,
64
67
  "--fs-header-text": h?.headerText,
65
68
  "--fs-empty-hint-text": h?.emptyHintText,
66
69
  "--fs-star-color": h?.starColor,
67
70
  "--fs-footer-border": h?.footerBorder
68
- }), [R, z] = S(/* @__PURE__ */ new Set()), B = x(/* @__PURE__ */ new Map());
71
+ }), [z, B] = S(/* @__PURE__ */ new Set()), V = x(/* @__PURE__ */ new Map());
69
72
  v(() => {
70
- let e = B.current;
73
+ let e = V.current;
71
74
  return () => {
72
75
  e.forEach((e) => clearTimeout(e)), e.clear();
73
76
  };
74
77
  }, []);
75
- let V = f != null, H = f?.toLowerCase() ?? "", U = V ? r.filter((e) => e.name.toLowerCase().includes(H)) : r, W = x(null), [G, K] = S();
78
+ let H = f != null, U = f?.toLowerCase() ?? "", W = H ? r.filter((e) => e.name.toLowerCase().includes(U)) : r, G = x(null), [K, q] = S();
76
79
  y(() => {
77
- W.current && K(Math.min(W.current.scrollHeight, P));
80
+ G.current && q(Math.min(G.current.scrollHeight, F));
78
81
  }, [r, f]);
79
- let q = (e, t) => {
82
+ let J = (e, t) => {
80
83
  e.target === e.currentTarget && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), i(t));
81
- }, J = (e) => {
82
- z((t) => new Set(t).add(e));
84
+ }, Y = (e) => {
85
+ B((t) => new Set(t).add(e));
83
86
  let t = setTimeout(() => {
84
- a(e), z((t) => {
87
+ a(e), B((t) => {
85
88
  let n = new Set(t);
86
89
  return n.delete(e), n;
87
- }), B.current.delete(e);
88
- }, N);
89
- B.current.set(e, t);
90
+ }), V.current.delete(e);
91
+ }, P);
92
+ V.current.set(e, t);
90
93
  };
91
94
  return /* @__PURE__ */ D("div", {
92
- className: "flex w-full flex-col desktop:w-[280px]",
93
- style: L,
95
+ className: n("flex w-full flex-col desktop:w-[280px]", k.favoritesPanel),
96
+ style: R,
94
97
  children: [
95
98
  /* @__PURE__ */ E("p", {
96
- className: n(_, M, j.header),
99
+ className: n(_, N, M.header),
97
100
  children: C
98
101
  }),
99
102
  /* @__PURE__ */ E("div", {
100
- className: n("max-h-72 min-h-0 flex-1 overflow-y-auto", j.listContent),
101
- style: { maxHeight: G },
103
+ className: n("max-h-72 min-h-0 flex-1 overflow-y-auto", M.listContent),
104
+ style: { maxHeight: K },
102
105
  children: /* @__PURE__ */ E("div", {
103
- ref: W,
104
- children: U.length > 0 ? /* @__PURE__ */ E("ul", {
106
+ ref: G,
107
+ children: W.length > 0 ? /* @__PURE__ */ E("ul", {
105
108
  className: "flex flex-col gap-1 px-1 pb-1",
106
- children: U.map((t) => {
109
+ children: W.map((t) => {
107
110
  let r = /* @__PURE__ */ D("div", {
108
111
  role: "button",
109
112
  tabIndex: 0,
110
- className: n("flex cursor-pointer items-center gap-2 rounded-lg border border-transparent px-2 py-1.5 transition-colors", j.row),
113
+ className: n("flex cursor-pointer items-center gap-2 rounded-lg border border-transparent px-2 py-1.5 transition-colors", M.row),
111
114
  onClick: () => i(t),
112
- onKeyDown: (e) => q(e, t),
115
+ onKeyDown: (e) => J(e, t),
113
116
  children: [
114
117
  /* @__PURE__ */ E(e, {
115
118
  size: s.MD,
@@ -127,44 +130,44 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
127
130
  /* @__PURE__ */ E(m, {
128
131
  icon: /* @__PURE__ */ E(T, {
129
132
  size: s.SM,
130
- className: j.star,
133
+ className: M.star,
131
134
  "aria-hidden": !0
132
135
  }),
133
- "aria-label": A,
136
+ "aria-label": j,
134
137
  isSelected: !0,
135
138
  onClick: (e) => {
136
- e.stopPropagation(), J(t.id);
139
+ e.stopPropagation(), Y(t.id);
137
140
  }
138
141
  })
139
142
  ]
140
143
  });
141
144
  return /* @__PURE__ */ E("li", {
142
- className: R.has(t.id) ? j.rowLeaving : j.rowEnter,
145
+ className: z.has(t.id) ? M.rowLeaving : M.rowEnter,
143
146
  children: /* @__PURE__ */ E(d, {
144
147
  asChild: !0,
145
148
  contentClassName: "max-w-[550px]",
146
- content: /* @__PURE__ */ E(k, {
149
+ content: /* @__PURE__ */ E(A, {
147
150
  description: t.description,
148
- viewDetailsLabel: F,
151
+ viewDetailsLabel: I,
149
152
  onViewDetails: () => c(t)
150
153
  }),
151
154
  children: r
152
155
  })
153
156
  }, t.id);
154
157
  })
155
- }) : V && H !== "" ? /* @__PURE__ */ E("p", {
158
+ }) : H && U !== "" ? /* @__PURE__ */ E("p", {
156
159
  role: "status",
157
160
  "aria-live": "polite",
158
- className: n(b, "px-4 py-4 text-start", j.emptyHint),
159
- children: I
161
+ className: n(b, "px-4 py-4 text-start", M.emptyHint),
162
+ children: L
160
163
  }) : /* @__PURE__ */ E("p", {
161
- className: n(b, "px-4 py-4 text-start", j.emptyHint),
164
+ className: n(b, "px-4 py-4 text-start", M.emptyHint),
162
165
  children: w
163
166
  })
164
167
  })
165
168
  }),
166
169
  /* @__PURE__ */ E("div", {
167
- className: n("border-t px-2 py-3", j.footer),
170
+ className: n("border-t px-2 py-3", M.footer),
168
171
  children: /* @__PURE__ */ E(l, {
169
172
  label: O,
170
173
  className: "w-full justify-center",
@@ -173,7 +176,7 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
173
176
  })
174
177
  ]
175
178
  });
176
- }, I = ({ isOpen: e, onClose: t, onSelect: n, title: r, renderContent: i }) => /* @__PURE__ */ E(f, {
179
+ }, L = ({ isOpen: e, onClose: t, onSelect: n, title: r, renderContent: i }) => /* @__PURE__ */ E(f, {
177
180
  open: e,
178
181
  header: r,
179
182
  size: p.Lg,
@@ -186,15 +189,15 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
186
189
  children: e && i(n, t)
187
190
  })
188
191
  })
189
- }), L = (e) => /* @__PURE__ */ E(O, { ...e }), R = (e) => ({
192
+ }), R = (e) => /* @__PURE__ */ E(O, { ...e }), z = (e) => ({
190
193
  id: e.url,
191
194
  name: e.name,
192
195
  description: e.description
193
- }), z = (e) => {
196
+ }), B = (e) => {
194
197
  let t = e.split("/").filter((e) => e.length > 0);
195
198
  return t[t.length - 1] ?? e;
196
- }, B = ({ isEnabled: e, isSkillsSupported: t, skills: n, sharedWithMe: i, publicSkills: a, favoriteIds: o, onToggleFavorite: s, labels: l, historyChipLabelClassName: u, renderCatalogContent: d, detailsPanelComponent: f }) => {
197
- let { addMenuLabel: p = "Skills", backLabel: m = "Back", catalogModalTitleLabel: h = "Use skill", emptyQueryHintLabel: v = "Type to filter", unsupportedTooltipLabel: y = "Selected model does not support skills. Remove the skill or select different model to proceed.", panelLabels: x } = l ?? {}, w = e && t, [T, D] = S(!1), [O, k] = S(null), [j, M] = S(null), N = b(() => [
199
+ }, V = ({ isEnabled: e, isSkillsSupported: t, skills: n, sharedWithMe: i, publicSkills: a, favoriteIds: o, onToggleFavorite: s, labels: l, historyChipLabelClassName: u, renderCatalogContent: d, detailsPanelComponent: f }) => {
200
+ let { addMenuLabel: p = "Skills", backLabel: m = "Back", catalogModalTitleLabel: h = "Use skill", emptyQueryHintLabel: v = "Type to filter", unsupportedTooltipLabel: y = "Selected model does not support skills. Remove the skill or select different model to proceed.", panelLabels: x } = l ?? {}, w = e && t, [T, D] = S(!1), [O, k] = S(null), [A, M] = S(null), N = b(() => [
198
201
  ...n,
199
202
  ...i ?? [],
200
203
  ...a ?? []
@@ -202,14 +205,14 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
202
205
  n,
203
206
  i,
204
207
  a
205
- ]), P = b(() => new Map(N.map((e) => [e.url, e])), [N]), L = b(() => N.filter((e) => o.has(e.url)).map((e) => R(e)), [N, o]), B = b(() => j == null ? null : P.get(j) ?? null, [P, j]), V = B != null && !t, H = _((e) => {
208
+ ]), P = b(() => new Map(N.map((e) => [e.url, e])), [N]), F = b(() => N.filter((e) => o.has(e.url)).map((e) => z(e)), [N, o]), R = b(() => A == null ? null : P.get(A) ?? null, [P, A]), V = R != null && !t, H = _((e) => {
206
209
  M(e);
207
210
  }, []), U = _(() => {
208
211
  M(null);
209
- }, []), W = j, G = b(() => j == null ? void 0 : [{ url: j }], [j]), K = b(() => B == null ? null : /* @__PURE__ */ E(A, {
210
- name: B.name,
211
- path: B.url,
212
- description: B.description,
212
+ }, []), W = A, G = b(() => A == null ? void 0 : [{ url: A }], [A]), K = b(() => R == null ? null : /* @__PURE__ */ E(j, {
213
+ name: R.name,
214
+ path: R.url,
215
+ description: R.description,
213
216
  isUnsupported: V,
214
217
  onViewDetails: k,
215
218
  labels: {
@@ -217,14 +220,14 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
217
220
  unsupportedTooltipLabel: y
218
221
  }
219
222
  }), [
220
- B,
223
+ R,
221
224
  V,
222
225
  x,
223
226
  y
224
227
  ]), q = _((e) => e == null || e.length === 0 ? null : e.map((e) => {
225
228
  let t = P.get(e.url);
226
- return /* @__PURE__ */ E(A, {
227
- name: t?.name ?? z(e.url),
229
+ return /* @__PURE__ */ E(j, {
230
+ name: t?.name ?? B(e.url),
228
231
  path: e.url,
229
232
  labelClassName: u,
230
233
  description: t?.description,
@@ -235,8 +238,8 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
235
238
  P,
236
239
  u,
237
240
  x
238
- ]), J = _((e) => /* @__PURE__ */ E(F, {
239
- favorites: L,
241
+ ]), J = _((e) => /* @__PURE__ */ E(I, {
242
+ favorites: F,
240
243
  onSelect: (t) => {
241
244
  H(t.id), e();
242
245
  },
@@ -249,7 +252,7 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
249
252
  },
250
253
  labels: x
251
254
  }), [
252
- L,
255
+ F,
253
256
  H,
254
257
  s,
255
258
  x
@@ -272,8 +275,8 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
272
275
  triggerPrefix: "/",
273
276
  menuLabel: p,
274
277
  emptyQueryHint: v,
275
- renderMenu: ({ query: e, close: t }) => /* @__PURE__ */ E(F, {
276
- favorites: L,
278
+ renderMenu: ({ query: e, close: t }) => /* @__PURE__ */ E(I, {
279
+ favorites: F,
277
280
  searchQuery: e,
278
281
  onSelect: (e) => {
279
282
  t({ consumeQuery: !0 }), H(e.id);
@@ -291,7 +294,7 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
291
294
  w,
292
295
  p,
293
296
  v,
294
- L,
297
+ F,
295
298
  H,
296
299
  s,
297
300
  x
@@ -299,7 +302,7 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
299
302
  return e ? {
300
303
  skillMenuOverlay: Y,
301
304
  commandMenu: X,
302
- skillCatalogModal: /* @__PURE__ */ E(I, {
305
+ skillCatalogModal: /* @__PURE__ */ E(L, {
303
306
  isOpen: T,
304
307
  onClose: () => D(!1),
305
308
  onSelect: (e) => {
@@ -337,4 +340,4 @@ var k = ({ description: e, unsupportedMessage: t, viewDetailsLabel: n = "View de
337
340
  };
338
341
  };
339
342
  //#endregion
340
- export { A as ChatSkill, F as FavoriteSkillsPanel, I as SkillCatalogModal, L as SkillDetailsSidePanel, k as SkillInfoTooltipContent, R as buildFavoriteSkillItem, B as useSkillSelectorOverlay };
343
+ export { j as ChatSkill, I as FavoriteSkillsPanel, k as SKILLS_CLASS, L as SkillCatalogModal, R as SkillDetailsSidePanel, A as SkillInfoTooltipContent, z as buildFavoriteSkillItem, V as useSkillSelectorOverlay };
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.48",
4
+ "version": "1.2.0-dev.58",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -18,12 +18,12 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@tabler/icons-react": "^3.44.0",
21
- "@epam/ai-dial-catalog": "1.2.0-dev.48",
22
- "@epam/ai-dial-conversation-input": "1.2.0-dev.48"
21
+ "@epam/ai-dial-catalog": "1.2.0-dev.58",
22
+ "@epam/ai-dial-conversation-input": "1.2.0-dev.58"
23
23
  },
24
24
  "peerDependencies": {
25
- "@epam/ai-dial-chat-shared": "1.2.0-dev.48",
26
- "@epam/ai-dial-ui-kit": "^0.15.0-dev.7",
25
+ "@epam/ai-dial-chat-shared": "1.2.0-dev.58",
26
+ "@epam/ai-dial-ui-kit": "^0.15.0-dev.9",
27
27
  "react": "^19.2.8"
28
28
  },
29
29
  "repository": {